Open
Description
When parsing content addressed derivations I receive the following none descriptive error:
➜ pretty-derivation < /nix/store/bch6405vvxyvmh9kwp32446fyqv3i474-hello-2.12.1.drv
pretty-derivation: user error (string)
Derive([("out","","r:sha256","")],[("/nix/store/6bbyjh7jjmjsn882wbbzqcc4lmh9js2g-version-check-hook.drv",["out"]),("/nix/store/9idvhy5nlgx9fjkxydgacmlk34yxh6sb-hello-2.12.1.tar.gz.drv",["out"]),("/nix/store/diappn3n1z5acaqnk6kw0mj53pzwbw47-stdenv-linux.drv",["out"]),("/nix/store/nkj6x4ajnxz1w80mhi7sspjpkvgp3bpk-bash-5.2p32.drv",["out"])],["/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],"x86_64-linux","/nix/store/717iy55ncqs0wmhdkwc5fg2vci5wbmq8-bash-5.2p32/bin/bash",["-e","/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],[("__structuredAttrs",""),("buildInputs",""),("builder","/nix/store/717iy55ncqs0wmhdkwc5fg2vci5wbmq8-bash-5.2p32/bin/bash"),("cmakeFlags",""),("configureFlags",""),("depsBuildBuild",""),("depsBuildBuildPropagated",""),("depsBuildTarget",""),("depsBuildTargetPropagated",""),("depsHostHost",""),("depsHostHostPropagated",""),("depsTargetTarget",""),("depsTargetTargetPropagated",""),("doCheck","1"),("doInstallCheck","1"),("mesonFlags",""),("name","hello-2.12.1"),("nativeBuildInputs","/nix/store/hl9vz7pgy2v5vylqh175yn2nxfs0bcgp-version-check-hook"),("out","/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9"),("outputHashAlgo","sha256"),("outputHashMode","recursive"),("outputs","out"),("patches",""),("pname","hello"),("postInstallCheck","stat \"${!outputBin}/bin/hello\"\n"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("src","/nix/store/pa10z4ngm0g83kx9mssrqzz30s84vq7k-hello-2.12.1.tar.gz"),("stdenv","/nix/store/ncv68hjnidcd2bm5abkhklrijhn0cgn6-stdenv-linux"),("strictDeps",""),("system","x86_64-linux"),("version","2.12.1")])
without ca:
Derive([("out","/nix/store/26xbg1ndr7hbcncrlf9nhx5is2b25d13-hello-2.12.1","","")],[("/nix/store/6bbyjh7jjmjsn882wbbzqcc4lmh9js2g-version-check-hook.drv",["out"]),("/nix/store/9idvhy5nlgx9fjkxydgacmlk34yxh6sb-hello-2.12.1.tar.gz.drv",["out"]),("/nix/store/diappn3n1z5acaqnk6kw0mj53pzwbw47-stdenv-linux.drv",["out"]),("/nix/store/nkj6x4ajnxz1w80mhi7sspjpkvgp3bpk-bash-5.2p32.drv",["out"])],["/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],"x86_64-linux","/nix/store/717iy55ncqs0wmhdkwc5fg2vci5wbmq8-bash-5.2p32/bin/bash",["-e","/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],[("__structuredAttrs",""),("buildInputs",""),("builder","/nix/store/717iy55ncqs0wmhdkwc5fg2vci5wbmq8-bash-5.2p32/bin/bash"),("cmakeFlags",""),("configureFlags",""),("depsBuildBuild",""),("depsBuildBuildPropagated",""),("depsBuildTarget",""),("depsBuildTargetPropagated",""),("depsHostHost",""),("depsHostHostPropagated",""),("depsTargetTarget",""),("depsTargetTargetPropagated",""),("doCheck","1"),("doInstallCheck","1"),("mesonFlags",""),("name","hello-2.12.1"),("nativeBuildInputs","/nix/store/hl9vz7pgy2v5vylqh175yn2nxfs0bcgp-version-check-hook"),("out","/nix/store/26xbg1ndr7hbcncrlf9nhx5is2b25d13-hello-2.12.1"),("outputs","out"),("patches",""),("pname","hello"),("postInstallCheck","stat \"${!outputBin}/bin/hello\"\n"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("src","/nix/store/pa10z4ngm0g83kx9mssrqzz30s84vq7k-hello-2.12.1.tar.gz"),("stdenv","/nix/store/ncv68hjnidcd2bm5abkhklrijhn0cgn6-stdenv-linux"),("strictDeps",""),("system","x86_64-linux"),("version","2.12.1")])
diff <(nix derivation show /nix/store/161hd6k485dvr9cx02ccnc1x4n9fzix6-hello-2.12.1.drv) <(nix derivation show /nix/store/bch6405vvxyvmh9kwp32446fyqv3i474-hello-2.12.1.drv) | c
--- /dev/fd/63 2024-10-23 15:17:55.279486571 +0200
+++ /dev/fd/62 2024-10-23 15:17:55.279486571 +0200
@@ -1,5 +1,5 @@
{
- "/nix/store/161hd6k485dvr9cx02ccnc1x4n9fzix6-hello-2.12.1.drv": {
+ "/nix/store/bch6405vvxyvmh9kwp32446fyqv3i474-hello-2.12.1.drv": {
"args": [
"-e",
"/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"
@@ -24,7 +24,9 @@
"mesonFlags": "",
"name": "hello-2.12.1",
"nativeBuildInputs": "/nix/store/hl9vz7pgy2v5vylqh175yn2nxfs0bcgp-version-check-hook",
- "out": "/nix/store/26xbg1ndr7hbcncrlf9nhx5is2b25d13-hello-2.12.1",
+ "out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9",
+ "outputHashAlgo": "sha256",
+ "outputHashMode": "recursive",
"outputs": "out",
"patches": "",
"pname": "hello",
@@ -69,7 +71,8 @@
"name": "hello-2.12.1",
"outputs": {
"out": {
- "path": "/nix/store/26xbg1ndr7hbcncrlf9nhx5is2b25d13-hello-2.12.1"
+ "hashAlgo": "sha256",
+ "method": "nar"
}
},
"system": "x86_64-linux"
Metadata
Assignees
Labels
No labels