If I point my <nixpkgs> to nixpkgs-unstable or change np = import <nixpkgs> {}; to np = import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {}; in ghc-artefact-nix/default.nix, the above Nix shell derivation fails with:
error: anonymous function at ghc-artefact-nix/artifact.nix:1:1
called without required argument 'llvm_39',
at /nix/store/dyca73pcc7d9zmmdnrcf35ycjg1gl4x6-source/lib/customisation.nix:69:16
I've fixed it by applying this patch to ghc-artefact-nix/default.nix:
I'm not making a pull request because this was a result of lot Googling and I don't fully understand what's going on here. It's working for me now but do you think ghc-artefact-nix/default.nix needs to be patched?
I'm using the derivation from this repository in another Nix shell derivation as:
If I point my
<nixpkgs>
tonixpkgs-unstable
or changenp = import <nixpkgs> {};
tonp = import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {};
inghc-artefact-nix/default.nix
, the above Nix shell derivation fails with:I've fixed it by applying this patch to
ghc-artefact-nix/default.nix
:I'm not making a pull request because this was a result of lot Googling and I don't fully understand what's going on here. It's working for me now but do you think
ghc-artefact-nix/default.nix
needs to be patched?