Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
59f121a
Invalidation script
grahamc Dec 24, 2025
16987d2
bad: 01rrgsg5zk3cds0xgdsq40zpk6g51dz9 -> klarszqikbvf6n70581w0381zb7r…
grahamc Dec 24, 2025
6f53b56
bad: 02iizgn86m42q905rddvg4ja975bk2i4 -> y6qa66l9h0pw161crnlk6y16rdrc…
grahamc Dec 24, 2025
7f85add
bad: 07a2bzxmzwz5hp58nf03pahrv2ygwgs3 -> z716h753s97jhnzvfank2srqbljs…
grahamc Dec 24, 2025
9a9d10e
bad: 0i2jd68mp5g6h2sa5k9c85rb80sn8hi9 -> qbhyj3blxpw2i6pb7c6grc9185nb…
grahamc Dec 24, 2025
80e8a10
bad: 0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj -> 21ymxxap3y8hb9ijcfah8ani9cjp…
grahamc Dec 24, 2025
287b575
bad: 0ma7c9wsbaxahwwl04gbw3fcd806ski4 -> f39x0q73rjdyvzm93y9wrkfr6x39…
grahamc Dec 24, 2025
e6f0bc1
bad: 0q783wnvixpqz6dxjp16nw296avgczam -> 30rva1kafnr6fyf8y5xxlpnwixvd…
grahamc Dec 24, 2025
8988a8d
bad: 0yxfdnfxbzczjxhgdpac81jnas194wfj -> 21yv6cysn8axxjyh7dbsnnmbp9np…
grahamc Dec 24, 2025
80e8d30
bad: 1qj29ipxl2fyi2b13l39hdircq17gnk0 -> l1sv43bafhkf2iikmdw9y62aybjd…
grahamc Dec 24, 2025
42c6836
bad: 260q5867crm1xjs4khgqpl6vr9kywql1 -> src1vzij2z0slnakrsbpqpk20389…
grahamc Dec 24, 2025
2f5f966
bad: 27324qvqhnxj3rncazmxc4mwy79kz8ha -> v40fjpq45135avrmnfm8klbvdhf0…
grahamc Dec 24, 2025
b7e3a16
bad: 31axcgrlbfsxzmfff1gyj1bf62hvkby2 -> 6gwmy5jcnwdlz6aqqhksz863f1l8…
grahamc Dec 24, 2025
a9d1db4
bad: 3x7dwzq014bblazs7kq20p9hyzz0qh8g -> 8alrpdaasjd1x6g1fczchmzbpqm9…
grahamc Dec 24, 2025
25ce374
bad: 4cf803y4vzfm3gyk3vzhzb2327v0kl8a -> sqzyx2l85i6j2a77pnyvglh3bvzw…
grahamc Dec 24, 2025
a1bf4bb
bad: 4xpfqf29z4m8vbhrqcz064wfmb46w5r7 -> qnlr7906z0mrl2syrkdbpicffq02…
grahamc Dec 24, 2025
db7cc27
bad: 4y1jj6cwvslmfh1bzkhbvhx77az6yf00 -> f671jqvjcz37fsprzqn5jjsmyjj6…
grahamc Dec 24, 2025
8b45977
bad: 570hmhmx3v57605cqg9yfvvyh0nnb8k8 -> x9j20hz6bln1crzn55qifk0bbsm8…
grahamc Dec 24, 2025
89ef9e9
bad: 6bqvbzjkcp9695dq0dpl5y43nvy37pq1 -> c5cxjywi66iwn9dcx5yvwjkvl559…
grahamc Dec 24, 2025
7c5d7bd
bad: 769s05vjydmc2lcf6b02az28wsa9ixh1 -> vdyf2s1pygcl4y3dn3bm9wy7mnl8…
grahamc Dec 24, 2025
d873c24
bad: 7crrmih8c52r8fbnqb933dxrsp44md93 -> vyrnv99qi410q82qp7nw7lcl37zm…
grahamc Dec 24, 2025
b249411
bad: 7dxhzymvy330i28ii676fl1pqwcahv2f -> 7pi45g541xa8ahwgpbpy7ggsl0xj…
grahamc Dec 24, 2025
3521b7d
bad: 7h1kwcj29ip8vk26rhmx6bfjraxp0g4l -> spc1m987vlibchdx369qwa391s73…
grahamc Dec 24, 2025
e4f1b19
bad: 7nmrrad8skxr47f9hfl3xc0pfqmwq51b -> l3nlzki957anyy7yb25qvwk6cqrn…
grahamc Dec 24, 2025
b54ff65
bad: 851dp95qqiisjifi639r0zzg5l465ny4 -> n2wnn3i47w6dbylh64hdjzgd5rrp…
grahamc Dec 24, 2025
742bb3c
bad: 8adzgnxs3s0pbj22qhk9zjxi1fqmz3xv -> 0v2jfvx71l1zn14l97pznvbqnhiq…
grahamc Dec 24, 2025
43aefea
bad: 8fv91097mbh5049i9rglc73dx6kjg3qk -> fvqsvk65d38p8qqir371ii0hyqxv…
grahamc Dec 24, 2025
53fbab3
bad: 8lz9yc6zgmc0vlqmn2ipcpkjlmbi51vv -> 1a6mdrjz4wn7b9sfmcw5ggbk1mi2…
grahamc Dec 24, 2025
6247a82
bad: 8qlfcic10lw5304gqm8q45nr7g7jl62b -> 2chwzswhhmpxbgc981i2vcz7xj4d…
grahamc Dec 24, 2025
47eb885
bad: 8rrzq23h2zq7sv5l2vhw44kls5w0f654 -> kgr5lnaiiv08wb7k324yv1i1npjm…
grahamc Dec 24, 2025
e570c12
bad: 8w718rm43x7z73xhw9d6vh8s4snrq67h -> iqlzcyc1z7nv804n9wc5k5i0l180…
grahamc Dec 24, 2025
e3fb981
bad: 9df65igwjmf2wbw0gbrrgair6piqjgmi -> q9mknq836i0kblq8g1hm9f3cv9qd…
grahamc Dec 24, 2025
2f0dca6
bad: 9l06v7fc38c1x3r2iydl15ksgz0ysb82 -> kmmr0ggkywxvnad4z1chqb6lsxi6…
grahamc Dec 24, 2025
6408424
bad: a040m110amc4h71lds2jmr8qrkj2jhxd -> jf6gn2dzna4nmsfbdxsd7kwhsk6g…
grahamc Dec 24, 2025
21a6314
bad: a07jqdrc8afnk8r6f3lnhh4gvab7chk4 -> vswlynn75s0bpba3vl6bi3wyzjym…
grahamc Dec 24, 2025
9b08631
bad: a7gvj343m05j2s32xcnwr35v31ynlypr -> 1542dip9i7k4f24y6hqgd04hmvid…
grahamc Dec 24, 2025
cc47a67
bad: adzfjjh8w25vdr0xdx9x16ah4f5rqrw5 -> jmwiq1bb3n47a0css8b1q7lhgf74…
grahamc Dec 24, 2025
8987c5c
bad: apab5i73dqa09wx0q27b6fbhd1r18ihl -> ypwfsaljwhzw9iffiysxmxnhjj8v…
grahamc Dec 24, 2025
fa412ba
bad: b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z -> q06x3jll2yfzckz2bzqak089p43i…
grahamc Dec 24, 2025
5656246
bad: bvdcihi8c88fw31cg6gzzmpnwglpn1jv -> iabzsa5c73p4f10zfmf5r2qsrn0h…
grahamc Dec 24, 2025
93420bc
bad: d8afh10z72n8l1cr5w42366abiblgn54 -> vxnmkc8l8d2ijjha4xwhkfgx9vvc…
grahamc Dec 24, 2025
ac5f5a7
bad: d8hnbm5hvbg2vza50garppb63y724i94 -> n7iwblclbrz20xinvy4cxrvippdh…
grahamc Dec 24, 2025
963644e
bad: ddfzjdykw67s20c35i7a6624by3iz5jv -> 85301indj7scg34spnfczkz72jgv…
grahamc Dec 24, 2025
98462ae
bad: dkm3gwl0xrx0wrw6zi5x3px3lpgjhlw4 -> hb4lb9n3gv855llky72hrs4pglpx…
grahamc Dec 24, 2025
0f514b0
bad: fibjb1bfbpm5mrsxc4mh2d8n37sxh91i -> 8la6y31fmm6i4wfmby6avly1wf71…
grahamc Dec 24, 2025
d7845e5
bad: fmzxmpjx2lh849ph0l36snfj9zdibw67 -> rn9776dy82n5qrgz7xbcl1iw4vfk…
grahamc Dec 24, 2025
ff66d25
bad: fxl9mrm5xvzam0lxi9ygdmksskx4qq8s -> jschy88crdk7jqqbk1p2b4l1c9gl…
grahamc Dec 24, 2025
b7811e5
bad: g02b1lpbddhymmcjb923kf0l7s9nww58 -> i2fn2mjgihz960bwa7ldab5ra5fh…
grahamc Dec 24, 2025
0e1867d
bad: g1n2vryg06amvcc1avb2mcq36faly0mh -> 0dklv59zppdsqdvgf0qdvjgzcs5w…
grahamc Dec 24, 2025
23af0b9
bad: gjqcvq47cmxazxga0cirspm3jywkmvfv -> zqmfrpxvcll69a2lyawnpvp15zh4…
grahamc Dec 24, 2025
7bbca30
bad: gm61h1y42pqyl6178g90x8zm22n6pyy5 -> imnwvn96lw355giswsk36hx105j4…
grahamc Dec 24, 2025
ab738b1
bad: gr73nf6sca9nyzl88x58y3qxrav04yhd -> ybagzhw2933fvgi95qgbyw6i4ava…
grahamc Dec 24, 2025
72f999a
bad: gvad6v0cmq1qccmc4wphsazqbj0xzjsl -> ah1slww3lfsj02w563wjf1xcz5fa…
grahamc Dec 24, 2025
65d8b97
bad: gzaflydcr6sb3567hap9q6srzx8ggdgg -> fpq78s2h8ffh66v2iy0q1838mhff…
grahamc Dec 24, 2025
767842b
bad: hang3792qwdmm2n0d9nsrs5n6bsws6kv -> l06r23gw4psl1f547il2hbnwnxap…
grahamc Dec 24, 2025
1530506
bad: hl5xwp9kdrd1zkm0idm3kkby9q66z404 -> zlnmjjbpv5pwwv911qp0grqi25y8…
grahamc Dec 24, 2025
f29502c
bad: i798sxl3j40wpdi1rgf391id1b5klw7g -> rlgr8vjhcv6v2rv7ljgl0pr6g74r…
grahamc Dec 24, 2025
f4ab5ce
bad: ijm5k0zqisvkdwjkc77mb9qzb35xfi4m -> cyxny9d1zjb9l9103fr6j6kavp3b…
grahamc Dec 24, 2025
969e4dc
bad: ilgm50plpmcgjhcp33z6n4qbnpqfhxym -> yaxvykk956vdrwrx9cxyw44mpqr1…
grahamc Dec 24, 2025
9318073
bad: indzcw5wvlhx6vwk7k4iq29q15chvr3d -> i6i08pl20rh0lm46g38wk3bfnvhd…
grahamc Dec 24, 2025
cb091e8
bad: j8dbv5w6jl34caywh2ygdy88knx1mdf7 -> byi37zv50wnfrpp4d81z3spswd5z…
grahamc Dec 24, 2025
2f56db2
bad: jh2pda7psaasq85b2rrigmkjdbl8d0a1 -> 96dqnv9v20fi7glzsah6qx5zypbk…
grahamc Dec 24, 2025
7ad11da
bad: kdgs3q6r7xdff1p7a9hnjr43xw2404z7 -> v7dyz518sbkzl8x2a1sgk1lwsfd3…
grahamc Dec 24, 2025
4ac05ea
bad: kmwd1hq55akdb9sc7l3finr175dajlby -> lrs9qfm60jcgsk83qhyypj3m4jqs…
grahamc Dec 24, 2025
1c4a34a
bad: lmngj4wcm9rkv3w4dfhzhcyij3195hiq -> vaph2hfdmnipqr90v6g5mcdn8h5p…
grahamc Dec 24, 2025
e3a83b9
bad: n4xa8h6pbmqmwnq0mmsz08l38abb06zc -> z4hv6ybyinqw9a3dwyl5k66a91ag…
grahamc Dec 24, 2025
afddf5d
bad: nrwkk6ak3rgkrxbqhsscb01jpzmslf2r -> h6q8sqsqfbd3252f9gixqn3z282w…
grahamc Dec 24, 2025
6a91e53
bad: p3srsbd8dx44v2pg6nbnszab5mcwx03v -> ajnn1mcm45wjvn0rlc22gvx2cwhj…
grahamc Dec 24, 2025
c8f64c4
bad: q6580lr01jpcsqs4r5arlh4ki2c1m9rv -> lrjirf0j1rjnvif6amyp9pfcqr2k…
grahamc Dec 24, 2025
1e0869b
bad: qfc8729nzpdln1h0hvi1ziclsl3m84sr -> 0my2p7psgdzqc5pq6dyl4ld9w6g0…
grahamc Dec 24, 2025
ff3b47d
bad: r2jd6ygnmirm2g803mksqqjm4y39yi6i -> nph9br6y2dmciy6q3dj3fwk2brdl…
grahamc Dec 24, 2025
37e39d6
bad: r7fng3kk3vlpdlh2idnrbn37vh4imlj2 -> scz72lskj03ihkcn42ias5mlp4i4…
grahamc Dec 24, 2025
d278f32
bad: rjxwxwv1fpn9wa2x5ssk5phzwlcv4mna -> vch71bhyi5akr5zs40k8h2wqxx69…
grahamc Dec 24, 2025
9680f4e
bad: rkfrm0z6x6jmi7d3gsmma4j53h15mg33 -> frzgk3v1ycnarpfc2rkynravng27…
grahamc Dec 24, 2025
d861c93
bad: rn0qyn3kmky26xgpr2n10vr787g57lff -> lf3lrf8bjfn8xvr0az9q96y989sx…
grahamc Dec 24, 2025
a34270b
bad: rr3y0c6zyk7kjjl8y19s4lsrhn4aiq1z -> xwjlac5ay8hw3djdm5llhjz79isg…
grahamc Dec 24, 2025
32f05de
bad: v5sv61sszx301i0x6xysaqzla09nksnd -> 10l19qifk7hjjq47px8m2prqk1gv…
grahamc Dec 24, 2025
5eb5a89
bad: v6x3cs394jgqfbi0a42pam708flxaphh -> xk05lkk4ij6pc7anhdbr81appiqb…
grahamc Dec 24, 2025
d89380c
bad: wkhdf9jinag5750mqlax6z2zbwhqb76n -> ikwkxz4wwlp2g1428n7dy729cg1d…
grahamc Dec 24, 2025
6c41b49
bad: x868j4ih7wqiivf6wr9m4g424jav0hpq -> hjlgp59nhxjj2y8ghf7mmqgbirqa…
grahamc Dec 24, 2025
d927dc1
bad: x9wnkly3k1gkq580m90jjn32q9f05q2v -> 2q71fdvr4h33g9832hiriwnf20fn…
grahamc Dec 24, 2025
445c4ae
bad: xfghy8ixrhz3kyy6p724iv3cxji088dx -> a724znygmd1cac856j3gfsyvih3l…
grahamc Dec 24, 2025
7b1c89e
bad: xp9hkw8nsw9p81d69yvcg1yr6f7vh71c -> sclapmhdj6i9h02y7s5a630kfy55…
grahamc Dec 24, 2025
0e49e43
bad: y1x7ng5bmc9s8lqrf98brcpk1a7lbcl5 -> q833p12cmm9qknyp1walqih941ms…
grahamc Dec 24, 2025
416ecae
bad: yb5q57zxv6hgqql42d5r8b5k5mcq6kay -> fdhrijyv3670djsgprx596nn89iw…
grahamc Dec 24, 2025
a75c3f9
bad: yg75achq89wgqn2fi3gglgsd77kjpi03 -> z71nwwni9dcxdmd3v3a7j24v70c7…
grahamc Dec 24, 2025
d9be06b
bad: zf5lbh336mnzf1nlswdn11g4n2m8zh3g -> l88brggg9hpy96ijds34dlq4n8fa…
grahamc Dec 24, 2025
491f58e
bad: zq0h41l75vlb4z45kzgjjmsjxvcv1qk7 -> gjak3al7lj61x4gj6rln4f5pc5v0…
grahamc Dec 24, 2025
1be0415
bad: zy9wbxwcygrwnh8n2w9qbbcr6zk87m26 -> gs7mh6q22l1ivxazxja2mjlsdwhw…
grahamc Dec 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/manual/source/advanced-topics/eval-profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ site](https://en.wikipedia.org/wiki/Call_site) position and the name of the
function being called (when available). For example:

```
/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2v-source/pkgs/top-level/default.nix:167:5:primop import
/nix/store/2q71fdvr4h33g9832hiriwnf20fn630l-source/pkgs/top-level/default.nix:167:5:primop import
```

Here `import` primop is called at `/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2v-source/pkgs/top-level/default.nix:167:5`.
Here `import` primop is called at `/nix/store/2q71fdvr4h33g9832hiriwnf20fn630l-source/pkgs/top-level/default.nix:167:5`.
4 changes: 2 additions & 2 deletions doc/manual/source/command-ref/files/manifest.nix.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ Here is an example of how this file might look like after installing `hello` fro
};
name = "hello-2.12.1";
out = {
outPath = "/nix/store/260q5867crm1xjs4khgqpl6vr9kywql1-hello-2.12.1";
outPath = "/nix/store/src1vzij2z0slnakrsbpqpk20389z0k6-hello-2.12.1";
};
outPath = "/nix/store/260q5867crm1xjs4khgqpl6vr9kywql1-hello-2.12.1";
outPath = "/nix/store/src1vzij2z0slnakrsbpqpk20389z0k6-hello-2.12.1";
outputs = [ "out" ];
system = "x86_64-linux";
type = "derivation";
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/source/command-ref/files/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ dr-xr-xr-x 4 root root 4096 Jan 1 1970 share

/home/eelco/.local/state/nix/profiles/profile-7-link/bin:
total 20
lrwxrwxrwx 5 root root 79 Jan 1 1970 chromium -> /nix/store/ijm5k0zqisvkdwjkc77mb9qzb35xfi4m-chromium-86.0.4240.111/bin/chromium
lrwxrwxrwx 5 root root 79 Jan 1 1970 chromium -> /nix/store/cyxny9d1zjb9l9103fr6j6kavp3bqjxf-chromium-86.0.4240.111/bin/chromium
lrwxrwxrwx 7 root root 87 Jan 1 1970 spotify -> /nix/store/w9182874m1bl56smps3m5zjj36jhp3rn-spotify-1.1.26.501.gbe11e53b-15/bin/spotify
lrwxrwxrwx 3 root root 79 Jan 1 1970 zoom-us -> /nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxl-zoom-us-5.3.469451.0927/bin/zoom-us

/home/eelco/.local/state/nix/profiles/profile-7-link/share/applications:
total 12
lrwxrwxrwx 4 root root 120 Jan 1 1970 chromium-browser.desktop -> /nix/store/4cf803y4vzfm3gyk3vzhzb2327v0kl8a-chromium-unwrapped-86.0.4240.111/share/applications/chromium-browser.desktop
lrwxrwxrwx 4 root root 120 Jan 1 1970 chromium-browser.desktop -> /nix/store/sqzyx2l85i6j2a77pnyvglh3bvzwmjjp-chromium-unwrapped-86.0.4240.111/share/applications/chromium-browser.desktop
lrwxrwxrwx 7 root root 110 Jan 1 1970 spotify.desktop -> /nix/store/w9182874m1bl56smps3m5zjj36jhp3rn-spotify-1.1.26.501.gbe11e53b-15/share/applications/spotify.desktop
lrwxrwxrwx 3 root root 107 Jan 1 1970 us.zoom.Zoom.desktop -> /nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxl-zoom-us-5.3.469451.0927/share/applications/us.zoom.Zoom.desktop

Expand Down
10 changes: 5 additions & 5 deletions doc/manual/source/command-ref/nix-copy-closure.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ When using public key authentication, you can avoid typing the passphrase with `
> $ storePath="$(nix-build '<nixpkgs>' -I nixpkgs=channel:nixpkgs-unstable -A hello --no-out-link)"
> $ nix-copy-closure --to [email protected] "$storePath"
> copying 5 paths...
> copying path '/nix/store/nrwkk6ak3rgkrxbqhsscb01jpzmslf2r-xgcc-13.2.0-libgcc' to 'ssh://[email protected]'...
> copying path '/nix/store/gm61h1y42pqyl6178g90x8zm22n6pyy5-libunistring-1.1' to 'ssh://[email protected]'...
> copying path '/nix/store/ddfzjdykw67s20c35i7a6624by3iz5jv-libidn2-2.3.7' to 'ssh://[email protected]'...
> copying path '/nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31' to 'ssh://[email protected]'...
> copying path '/nix/store/g1n2vryg06amvcc1avb2mcq36faly0mh-hello-2.12.1' to 'ssh://[email protected]'...
> copying path '/nix/store/h6q8sqsqfbd3252f9gixqn3z282wds7m-xgcc-13.2.0-libgcc' to 'ssh://[email protected]'...
> copying path '/nix/store/imnwvn96lw355giswsk36hx105j4wnpj-libunistring-1.1' to 'ssh://[email protected]'...
> copying path '/nix/store/85301indj7scg34spnfczkz72jgv8wa9-libidn2-2.3.7' to 'ssh://[email protected]'...
> copying path '/nix/store/ypwfsaljwhzw9iffiysxmxnhjj8v7np0-glibc-2.39-31' to 'ssh://[email protected]'...
> copying path '/nix/store/0dklv59zppdsqdvgf0qdvjgzcs5wbwxa-hello-2.12.1' to 'ssh://[email protected]'...
> ```

> **Example**
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/source/command-ref/nix-env/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ To install a specific [store derivation] (typically created by
`nix-instantiate`):

```console
$ nix-env --install /nix/store/fibjb1bfbpm5mrsxc4mh2d8n37sxh91i-gcc-3.4.3.drv
$ nix-env --install /nix/store/8la6y31fmm6i4wfmby6avly1wf718xnj-gcc-3.4.3.drv
```

To install a specific output path:
Expand Down Expand Up @@ -231,7 +231,7 @@ $ nix-env --file '<nixpkgs>' --install --attr hello --dry-run
(dry run; not doing anything)
installing ‘hello-2.10’
this path will be fetched (0.04 MiB download, 0.19 MiB unpacked):
/nix/store/wkhdf9jinag5750mqlax6z2zbwhqb76n-hello-2.10
/nix/store/ikwkxz4wwlp2g1428n7dy729cg1d9hin-hello-2.10
...
```

Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-prefetch-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $ nix-prefetch-url ftp://ftp.gnu.org/pub/gnu/hello/hello-2.10.tar.gz
```console
$ nix-prefetch-url --print-path mirror://gnu/hello/hello-2.10.tar.gz
0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i
/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz
/nix/store/8alrpdaasjd1x6g1fczchmzbpqm936a3-hello-2.10.tar.gz
```

```console
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-store/add-fixed.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ This operation has the following options:

```console
$ nix-store --add-fixed sha256 ./hello-2.10.tar.gz
/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz
/nix/store/8alrpdaasjd1x6g1fczchmzbpqm936a3-hello-2.10.tar.gz
```

4 changes: 2 additions & 2 deletions doc/manual/source/command-ref/nix-store/delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ paths in the store that refer to it (i.e., depend on it).
# Example

```console
$ nix-store --delete /nix/store/zq0h41l75vlb4z45kzgjjmsjxvcv1qk7-mesa-6.4
$ nix-store --delete /nix/store/gjak3al7lj61x4gj6rln4f5pc5v0f67n-mesa-6.4
0 bytes freed (0.00 MiB)
error: cannot delete path `/nix/store/zq0h41l75vlb4z45kzgjjmsjxvcv1qk7-mesa-6.4' since it is still alive
error: cannot delete path `/nix/store/gjak3al7lj61x4gj6rln4f5pc5v0f67n-mesa-6.4' since it is still alive
```
14 changes: 7 additions & 7 deletions doc/manual/source/command-ref/nix-store/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ Print the build-time dependencies of `svn`:

```console
$ nix-store --query --requisites $(nix-store --query --deriver $(which svn))
/nix/store/02iizgn86m42q905rddvg4ja975bk2i4-grep-2.5.1.tar.bz2.drv
/nix/store/07a2bzxmzwz5hp58nf03pahrv2ygwgs3-gcc-wrapper.sh
/nix/store/0ma7c9wsbaxahwwl04gbw3fcd806ski4-glibc-2.3.4.drv
/nix/store/y6qa66l9h0pw161crnlk6y16rdrcljx4-grep-2.5.1.tar.bz2.drv
/nix/store/z716h753s97jhnzvfank2srqbljswpgm-gcc-wrapper.sh
/nix/store/f39x0q73rjdyvzm93y9wrkfr6x39lb7f-glibc-2.3.4.drv
... lots of other paths ...
```

Expand All @@ -206,10 +206,10 @@ Show the build-time dependencies as a tree:
```console
$ nix-store --query --tree $(nix-store --query --deriver $(which svn))
/nix/store/7i5082kfb6yjbqdbiwdhhza0am2xvh6c-subversion-1.1.4.drv
+---/nix/store/d8afh10z72n8l1cr5w42366abiblgn54-builder.sh
+---/nix/store/fmzxmpjx2lh849ph0l36snfj9zdibw67-bash-3.0.drv
| +---/nix/store/570hmhmx3v57605cqg9yfvvyh0nnb8k8-bash
| +---/nix/store/p3srsbd8dx44v2pg6nbnszab5mcwx03v-builder.sh
+---/nix/store/vxnmkc8l8d2ijjha4xwhkfgx9vvc3q4c-builder.sh
+---/nix/store/rn9776dy82n5qrgz7xbcl1iw4vfkcrkk-bash-3.0.drv
| +---/nix/store/x9j20hz6bln1crzn55qifk0bbsm8v5ac-bash
| +---/nix/store/ajnn1mcm45wjvn0rlc22gvx2cwhjnazx-builder.sh
...
```

Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-store/realise.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This operation is typically used to build [store derivation]s produced by

```console
$ nix-store --realise $(nix-instantiate ./test.nix)
/nix/store/31axcgrlbfsxzmfff1gyj1bf62hvkby2-aterm-2.3.1
/nix/store/6gwmy5jcnwdlz6aqqhksz863f1l8xc2w-aterm-2.3.1
```

This is essentially what [`nix-build`](@docroot@/command-ref/nix-build.md) does.
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

> **Example**
>
> `/nix/store/a040m110amc4h71lds2jmr8qrkj2jhxd-git-2.38.1`
> `/nix/store/jf6gn2dzna4nmsfbdxsd7kwhsk6gnnlr-git-2.38.1`

See [Store Path](@docroot@/store/store-path.md) for details.

Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stores packages in the _Nix store_, usually the directory
`/nix/store`, where each package has its own unique subdirectory such
as

/nix/store/b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z-firefox-33.1/
/nix/store/q06x3jll2yfzckz2bzqak089p43ixkkq-firefox-33.1/

where `b6gvzjyb2pg0…` is a unique identifier for the package that
captures all its dependencies (it’s a cryptographic hash of the
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/source/language/string-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ String context elements come in different forms:
> [`builtins.storePath`] creates a string with a single constant string context element:
>
> ```nix
> builtins.getContext (builtins.storePath "/nix/store/wkhdf9jinag5750mqlax6z2zbwhqb76n-hello-2.10")
> builtins.getContext (builtins.storePath "/nix/store/ikwkxz4wwlp2g1428n7dy729cg1d9hin-hello-2.10")
> ```
> evaluates to
> ```nix
> {
> "/nix/store/wkhdf9jinag5750mqlax6z2zbwhqb76n-hello-2.10" = {
> "/nix/store/ikwkxz4wwlp2g1428n7dy729cg1d9hin-hello-2.10" = {
> path = true;
> };
> }
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/language/string-interpolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ A derivation interpolates to the [store path] of its first [output](./derivation
> "${pkgs.hello}"
> ```
>
> "/nix/store/4xpfqf29z4m8vbhrqcz064wfmb46w5r7-hello-2.12.1"
> "/nix/store/qnlr7906z0mrl2syrkdbpicffq02nw07-hello-2.12.1"

An attribute set interpolates to the return value of the function in the `__toString` applied to the attribute set itself.

Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/release-notes-determinate/rl-3.7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ For example:
error: Cannot delete path '/nix/store/6fcrjgfjip2ww3sx51rrmmghfsf60jvi-patchelf-0.14.3'
because it's referenced by the GC root '/home/eelco/Dev/nix-master/build/result'.

error: Cannot delete path '/nix/store/rn0qyn3kmky26xgpr2n10vr787g57lff-cowsay-3.8.4'
error: Cannot delete path '/nix/store/lf3lrf8bjfn8xvr0az9q96y989sxs5r9-cowsay-3.8.4'
because it's referenced by the GC root '/proc/3600568/environ'.

error: Cannot delete path '/nix/store/klyng5rpdkwi5kbxkncy4gjwb490dlhb-foo.drv'
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/release-notes/rl-0.12.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
...
the following paths will be downloaded/copied (30.02 MiB):
/nix/store/4m8pvgy2dcjgppf5b4cj5l6wyshjhalj-samba-3.2.4
/nix/store/7h1kwcj29ip8vk26rhmx6bfjraxp0g4l-libunwind-0.98.6
/nix/store/spc1m987vlibchdx369qwa391s738s7l-libunwind-0.98.6
...

- Language features:
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/release-notes/rl-0.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Nix 0.8 has the following improvements:
can query all paths that directly or indirectly use a certain Glibc:

$ nix-store -q --referrers-closure \
/nix/store/8lz9yc6zgmc0vlqmn2ipcpkjlmbi51vv-glibc-2.3.4
/nix/store/1a6mdrjz4wn7b9sfmcw5ggbk1mi281mh-glibc-2.3.4

- The concept of fixed-output derivations has been formalised.
Previously, functions such as `fetchurl` in Nixpkgs used a hack
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/source/release-notes/rl-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ This release has the following new features:

nix copy --to ssh://machine nixpkgs.hello

nix copy --to ssh://machine /nix/store/0i2jd68mp5g6h2sa5k9c85rb80sn8hi9-hello-2.10
nix copy --to ssh://machine /nix/store/qbhyj3blxpw2i6pb7c6grc9185nbnpvy-hello-2.10

nix copy --to ssh://machine '(with import <nixpkgs> {}; hello)'

Expand Down Expand Up @@ -187,7 +187,7 @@ This release has the following new features:
former is primarily useful in conjunction with remote stores,
e.g.

nix ls-store --store https://cache.nixos.org/ -lR /nix/store/0i2jd68mp5g6h2sa5k9c85rb80sn8hi9-hello-2.10
nix ls-store --store https://cache.nixos.org/ -lR /nix/store/qbhyj3blxpw2i6pb7c6grc9185nbnpvy-hello-2.10

lists the contents of path in a binary cache.

Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/release-notes/rl-2.13.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Allow explicitly selecting outputs in a store derivation installable, just like we can do with other sorts of installables.
For example,
```shell-session
# nix build /nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv^dev
# nix build /nix/store/fpq78s2h8ffh66v2iy0q1838mhff06y8-glibc-2.33-78.drv^dev
```
now works just as
```shell-session
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/source/release-notes/rl-2.15.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@

For example,
```shell-session
$ nix path-info /nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv
$ nix path-info /nix/store/fpq78s2h8ffh66v2iy0q1838mhff06y8-glibc-2.33-78.drv
```

now gives info about the derivation itself, while

```shell-session
$ nix path-info /nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv^*
$ nix path-info /nix/store/fpq78s2h8ffh66v2iy0q1838mhff06y8-glibc-2.33-78.drv^*
```
provides information about each of its outputs.

Expand Down
4 changes: 2 additions & 2 deletions doc/manual/source/release-notes/rl-2.19.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
```json5
[
{
"path": "/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15",
"path": "/nix/store/fvqsvk65d38p8qqir371ii0hyqxvjcw6-bash-5.2-p15",
"valid": true,
// ...
},
Expand All @@ -60,7 +60,7 @@

```json5
{
"/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15": {
"/nix/store/fvqsvk65d38p8qqir371ii0hyqxvjcw6-bash-5.2-p15": {
// ...
},
"/nix/store/wffw7l0alvs3iw94cbgi1gmmbmw99sqb-home-manager-path": null,
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/release-notes/rl-2.20.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
«partially applied primop map»

nix-repl> builtins.trace lib.id "my-value"
trace: «lambda id @ /nix/store/8rrzq23h2zq7sv5l2vhw44kls5w0f654-source/lib/trivial.nix:26:5»
trace: «lambda id @ /nix/store/kgr5lnaiiv08wb7k324yv1i1npjmrvjc-source/lib/trivial.nix:26:5»
"my-value"
```

Expand Down
6 changes: 3 additions & 3 deletions doc/manual/source/store/store-path.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> **Example**
>
> `/nix/store/a040m110amc4h71lds2jmr8qrkj2jhxd-git-2.38.1`
> `/nix/store/jf6gn2dzna4nmsfbdxsd7kwhsk6gnnlr-git-2.38.1`
>
> A rendered store path

Expand All @@ -22,7 +22,7 @@ Store paths are pairs of

> **Example**
>
> - Digest: `b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z`
> - Digest: `q06x3jll2yfzckz2bzqak089p43ixkkq`
> - Name: `firefox-33.1`

To make store objects accessible to operating system processes, stores have to expose store objects through the file system.
Expand All @@ -38,7 +38,7 @@ A store path is rendered to a file system path as the concatenation of
> **Example**
>
> ```
> /nix/store/b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z-firefox-33.1
> /nix/store/q06x3jll2yfzckz2bzqak089p43ixkkq-firefox-33.1
> |--------| |------------------------------| |----------|
> store directory digest name
> ```
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/store/types/index.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Stores are specified using a URL-like syntax. For example, the command

```console
# nix path-info --store https://cache.nixos.org/ --json \
/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1
/nix/store/1542dip9i7k4f24y6hqgd04hmvid9hr5-coreutils-9.1
```

fetches information about a store path in the HTTP binary cache
Expand Down
32 changes: 32 additions & 0 deletions maintainers/invalidate-store-paths.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
set -euo pipefail
set -x

git ls-files -z \
| xargs -0 grep -o '[0123456789abcdfghijklmnpqrsvwxyz]\{32\}' 2> /dev/null \
| rev \
| cut -d: -f1 \
| rev \
| sort \
| uniq \
| while read -r oldhash; do
if ! curl --fail -I "https://cache.nixos.org/$oldhash.narinfo" > /dev/null 2>&1; then
continue
fi

newhash=$(
nix eval --expr "builtins.toFile \"006c6ssvddri1sg34wnw65mzd05pcp3qliylxlhv49binldajba5\" \"$oldhash\"" \
| cut -d- -f1 \
| cut -d/ -f4
)

msg=$(printf "bad: %s -> %s" "$oldhash" "$newhash")
echo "$msg"
git ls-files -z \
| xargs -0 grep -a -l "$oldhash" 2> /dev/null \
| while read -r file; do
[ -L "$file" ] && continue
perl -pi -e "s/$oldhash/$newhash/g" "$file" || true
done || true
git commit -am "$msg"
done
4 changes: 2 additions & 2 deletions scripts/install-multi-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ readonly PROFILE_NIX_FILE_FISH="$NIX_ROOT/var/nix/profiles/default/etc/profile.d

readonly NIX_INSTALLED_NIX="@nix@"
readonly NIX_INSTALLED_CACERT="@cacert@"
#readonly NIX_INSTALLED_NIX="/nix/store/j8dbv5w6jl34caywh2ygdy88knx1mdf7-nix-2.3.6"
#readonly NIX_INSTALLED_CACERT="/nix/store/7dxhzymvy330i28ii676fl1pqwcahv2f-nss-cacert-3.49.2"
#readonly NIX_INSTALLED_NIX="/nix/store/byi37zv50wnfrpp4d81z3spswd5zva37-nix-2.3.6"
#readonly NIX_INSTALLED_CACERT="/nix/store/7pi45g541xa8ahwgpbpy7ggsl0xj1jj6-nss-cacert-3.49.2"
EXTRACTED_NIX_PATH="$(dirname "$0")"
readonly EXTRACTED_NIX_PATH

Expand Down
8 changes: 4 additions & 4 deletions src/libexpr/primops/fetchClosure.cc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ static RegisterPrimOp primop_fetchClosure({
```nix
builtins.fetchClosure {
fromStore = "https://cache.nixos.org";
fromPath = /nix/store/r2jd6ygnmirm2g803mksqqjm4y39yi6i-git-2.33.1;
fromPath = /nix/store/nph9br6y2dmciy6q3dj3fwk2brdlr4gh-git-2.33.1;
toPath = /nix/store/ldbhlwhh39wha58rm61bkiiwm6j7211j-git-2.33.1;
}
```
Expand All @@ -258,8 +258,8 @@ static RegisterPrimOp primop_fetchClosure({
use [`nix store make-content-addressed`](@docroot@/command-ref/new-cli/nix3-store-make-content-addressed.md):

```console
# nix store make-content-addressed --from https://cache.nixos.org /nix/store/r2jd6ygnmirm2g803mksqqjm4y39yi6i-git-2.33.1
rewrote '/nix/store/r2jd6ygnmirm2g803mksqqjm4y39yi6i-git-2.33.1' to '/nix/store/ldbhlwhh39wha58rm61bkiiwm6j7211j-git-2.33.1'
# nix store make-content-addressed --from https://cache.nixos.org /nix/store/nph9br6y2dmciy6q3dj3fwk2brdlr4gh-git-2.33.1
rewrote '/nix/store/nph9br6y2dmciy6q3dj3fwk2brdlr4gh-git-2.33.1' to '/nix/store/ldbhlwhh39wha58rm61bkiiwm6j7211j-git-2.33.1'
```

Alternatively, set `toPath = ""` and find the correct `toPath` in the error message.
Expand All @@ -271,7 +271,7 @@ static RegisterPrimOp primop_fetchClosure({
```nix
builtins.fetchClosure {
fromStore = "https://cache.nixos.org";
fromPath = /nix/store/r2jd6ygnmirm2g803mksqqjm4y39yi6i-git-2.33.1;
fromPath = /nix/store/nph9br6y2dmciy6q3dj3fwk2brdlr4gh-git-2.33.1;
inputAddressed = true;
}
```
Expand Down
Loading