Closed NobbZ closed 2 years ago
When I try to build statix via flakes, I get the following error (with trace):
$ nix run github:nerdypepper/statix --show-trace -- check --format json error (ignored): error: end of string reached error: the path '~/.gitconfig' can not be resolved in pure mode … while evaluating 'filter' at /nix/store/jkdijyvqw24byf8k8l1slc4h7dj8hzas-source/lib/sources.nix:106:22: 105| inherit (orig) origSrc; 106| filter = path: type: filter path type && orig.filter path type; | ^ 107| name = if name != null then name else orig.name; … from call site at /nix/store/jkdijyvqw24byf8k8l1slc4h7dj8hzas-source/lib/sources.nix:261:17: 260| inherit origSrc filter name; 261| outPath = builtins.path { inherit filter name; path = origSrc; }; | ^ 262| }; … while adding path '/nix/store/nhwshgm7cd9pjwbczmzfaz1n1f2ark3n-source' at /nix/store/jkdijyvqw24byf8k8l1slc4h7dj8hzas-source/lib/sources.nix:261:17: 260| inherit origSrc filter name; 261| outPath = builtins.path { inherit filter name; path = origSrc; }; | ^ 262| }; … while evaluating the attribute 'src' of the derivation 'statix-0.5.6' at /nix/store/jkdijyvqw24byf8k8l1slc4h7dj8hzas-source/pkgs/stdenv/generic/make-derivation.nix:205:7: 204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 205| name = | ^ 206| let
I am using nix 2.10.0pre20220625_49c4a37. It works with 2.9.0.
2.10.0pre20220625_49c4a37
When I try to build statix via flakes, I get the following error (with trace):
I am using nix
2.10.0pre20220625_49c4a37
. It works with 2.9.0.