Open anijatsu opened 1 year ago
I'm getting an error when trying to build the program on macOS 12.6 as per the instructions https://github.com/jappeace/cut-the-crap#from-source
~/Syncthing/git/cut-the-crap% nix-build . --show-trace error: cannot coerce null to a string at /nix/store/d4pz7qqdiq3747rkcvk72z4rmqpaj97c-nixos-pin-10.10.2020/pkgs/stdenv/generic/make-derivation.nix:192:34: 191| // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) { 192| name = "${attrs.pname}-${attrs.version}"; | ^ 193| } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) { … while evaluating the derivation attribute 'name' (...)
Full log is here: nix_build_2022-10-24 10-03.txt Please tell me what troubleshooting info can I provide.
for whatever reason version isn't set. can you run cabal2nix by hand?
I'm getting an error when trying to build the program on macOS 12.6 as per the instructions https://github.com/jappeace/cut-the-crap#from-source
Full log is here: nix_build_2022-10-24 10-03.txt Please tell me what troubleshooting info can I provide.