Created
March 29, 2018 16:45
-
-
Save LnL7/58d687c58948e71acd7fd4d410f3cdd1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self: super: | |
let | |
# Import unstable channel. | |
# $ sudo nix-channel --add http://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable | |
# $ sudo nix-channel --update nixpkgs-unstable | |
unstable = import <nixpkgs-unstable> {}; | |
in | |
{ | |
unstable = super.unstable or {} // { | |
foo = unstable.hello.override { inherit (super) stdenv fetchurl; }; | |
bar = super.callPackage <nixpkgs-unstable/pkgs/applications/misc/hello> { }; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment