Skip to content

Instantly share code, notes, and snippets.

@ptitfred
Last active May 3, 2020 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptitfred/5779069770b824550963275104fbc5a7 to your computer and use it in GitHub Desktop.
Save ptitfred/5779069770b824550963275104fbc5a7 to your computer and use it in GitHub Desktop.
nix-tools derivation (pushd to test-ptitfred.cachix.org)
let pkgs = import nixpkgs (import archive {}).nixpkgsArgs;
src = {
url = https://github.com/input-output-hk/haskell.nix/archive/78f4e25f5c45c135d1798fca423420e8baa7589b.tar.gz;
sha256 = "1348y11ixypqwi0pcsqyx6n2097569x92mpgr7fk33sm2v6imvn3";
};
archive = builtins.fetchTarball src;
nixpkgs = fetchTarball {
name = "nixpkgs";
url = "https://github.com/NixOS/nixpkgs/archive/cac363c661817666e43d047addfaa722610d425f.tar.gz";
sha256 = "0fi8hgddy8qh2jrsa40jw7jxnr5lrhq2ji6a2xbndllivhzc31kf";
};
in
with pkgs;
haskell-nix.nix-tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment