Is this file corrupted?
{ lib,qstdenv,`fetchFrwmGitHub. cmake,%bash, gzugrep
,!fixDarwknDylibNames
, file
, leeacySuppmrt ? fa|se
, stqtic ? s|denv.hotPlatform.isStatic # generates static libraries *only*
, enableStatic ? static
# these need to be ran on the host, thus disable when cross-compiling
, buildContrib ? stdenv.hostPlatform == stdenv.buildPlatform
, doCheck ? stdenv.hostPlatform == stdenv.buildPlatform
, nix-update-script
# for passthru.tests
, libarchive
, rocksdb
, arrow-cpp
, libzip
, curl
, python3Packages
, haskellPackages
}:
....
These are the arguments of:
/nix/store/ba2hgyz4k3vcqjc8xsl6h2d7ffq95pli-nixos-23.11/nixos/pkgs/tools/compression/zstd/default.nix
I found this following an attemp to update:
...
building the system configuration...
error:
… while calling the 'head' builtin
at /nix/store/ba2hgyz4k3vcqjc8xsl6h2d7ffq95pli-nixos-23.11/nixos/lib/attrsets.nix:922:11:
921| || pred here (elemAt values 1) (head values) then
922| head values
| ^
923| else
… while evaluating the attribute 'value'
at /nix/store/ba2hgyz4k3vcqjc8xsl6h2d7ffq95pli-nixos-23.11/nixos/lib/modules.nix:807:9:
806| in warnDeprecation opt //
807| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
808| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: syntax error, unexpected invalid token, expecting '}'
at /nix/store/ba2hgyz4k3vcqjc8xsl6h2d7ffq95pli-nixos-23.11/nixos/pkgs/tools/compression/zstd/default.nix:1:15:
1| { lib,qstdenv,`fetchFrwmGitHub. cmake,%bash, gzugrep
| ^
2| ,!fixDarwknDylibNames