I Am trying to get a simple haskell setup with the defalt.nix:
let
pkgs = import <nixpkgs> { };
in
pkgs.haskellPackages.developPackage {
root = ./.;
modifier = drv:
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
[ cabal-install
ghcid
]);
}
when I start the shell I get this output
building '/nix/store/64lj39759am0v4c67pblb4srndlr5wff-cabal2nix-nixosTest.drv'...
installing
cabal2nix: nix-prefetch-url: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
builder for '/nix/store/64lj39759am0v4c67pblb4srndlr5wff-cabal2nix-nixosTest.drv' failed with exit code 1
error: build of '/nix/store/64lj39759am0v4c67pblb4srndlr5wff-cabal2nix-nixosTest.drv' failed
cabal2nix is installed as a package in the configuration.nix of my system. I had other Problems after a garbage collection, many programs didn’t find their default programs like their default browser etc. because the hash had changed. How can I restore or remap the libraries of packages after a garbage. collection