Created
November 16, 2020 11:02
-
-
Save Pitometsu/dd06ce66c5eaa48daa9c2d848923574b to your computer and use it in GitHub Desktop.
./nix/channel/default.nix
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
let | |
channel = with builtins; fromJSON | |
(readFile ./lock); | |
in fetchTarball { | |
url = "https://github.com/NixOS/nixpkgs-channels/archive/" + | |
"${channel.rev}.tar.gz"; | |
inherit (channel) sha256; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment