Hi,

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

[bfo@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@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
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to