[Nix-dev] "nix-env -i sdl-env" trouble

Bjørn Forsman bjorn.forsman at gmail.com
Sat Feb 23 10:51:23 CET 2013


Hi,

I cannot get "nix-env -i sdl-env" to work. I have this:

[bfo at nixos:~]$ cat .nixpkgs/config.nix
# ~/.nixpkgs/config.nix

# Example from nixpkgs/pkgs/misc/my-env/default.nix
{
  packageOverrides = pkgs : with pkgs; {
    sdlEnv = pkgs.myEnvFun {
        name = "sdl";
        buildInputs = [ stdenv SDL SDL_image SDL_ttf SDL_gfx cmake
SDL_net  pkgconfig];
    };
  };
}

And then this happens:

[bfo at nixos:~]$ nix-env -i sdl-env
error: selector `sdl-env' matches no derivations

Why doesn't this work? I believe it did before. Also, it is copied
directly from the current nixpkgs.git repo...

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list