Commit graph

10 commits

Author SHA1 Message Date
Jakub Beránek
d3473f0741
Generalize branch references to HEAD 2025-11-02 11:15:55 +01:00
Waffle Lapkin
43e535947b
fixup nix dev shell again 2025-08-31 18:17:50 +02:00
Waffle Lapkin
1d00627966
add static glibc to the nix dev shell
this fixes `tests/ui/process/nofile-limit.rs` which fails to link on
nixos for me without this change
2025-08-15 16:16:25 +02:00
Ross Smyth
5a38550a39 Deduplicate nix code
And clean it up a little.
2025-04-17 00:01:04 -04:00
Horu
4c279fb7af chore: fix typos 2024-12-30 14:56:21 +07:00
Waffle Lapkin
05d83185c3
provide libz.so.1 in the nix-dev-shell
`libz.so.1` is needed for some (?) things...

i personally found myself in need of it when running `x t linkchecker`,
which failed when running cargo build script or something.

although there are also mentions of rustc itself needing it:
<https://github.com/NixOS/nixpkgs/issues/92946>
2024-12-10 00:24:21 +01:00
Waffle Lapkin
6058cdcccc
remove instructions to git exclude files in src/nix-dev-shell/envrc-*
this is no longer needed as `.gitignore` contains both `/.envrc` and
`flake.lock` (and also `/.direnv/`)
2024-12-10 00:11:27 +01:00
Maybe Lapkin
c52d952a6a
add instructions for generating flake.lock to envrc-flake
Previous setup instructions did not work without. (i.e. the envrc would
not do anything, `nix flake show..` would provide unhelpful error)
2024-11-28 21:52:18 +01:00
Maybe Lapkin
002a6b134f Add an option of using nix-shell instead of nix flake 2024-09-21 11:44:38 +02:00
Maybe Lapkin
a31ef1059f Add flake.nix and .envrc 2024-09-20 11:43:36 +02:00