Skip to content

Commit efaf73e

Browse files
committed
upgrade to nixos 23.11
Uses timbertson/nixpkgs#22-11-musl to workaround NixOS/nixpkgs#285141
1 parent e66a223 commit efaf73e

File tree

3 files changed

+18
-24
lines changed

3 files changed

+18
-24
lines changed

nix/runix.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ let
145145
in {
146146
inherit fenix-rust;
147147
rustc = self.fenix-rust;
148-
cargo = self.fenix-rust;
149148
runix-extractors = extractors;
150149
runix = {
151150
inherit makeSelection selection root commonPkgOverrides isDarwin;

nix/shell.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ let
55
(import "${sources.fenix}/overlay.nix")
66
];
77
};
8-
cachixList = if (builtins.getEnv "USE_SYSTEM_CACHIX" == 1) then [ pkgs.cachix ] else [];
9-
commonInputs = cachixList ++ (with pkgs; [
10-
# gup # TODO: use upstream when v0.8.2 is released
11-
(let base = callPackage "${sources.gup}/nix/gup-python.nix" {};
12-
in base.overrideAttrs (_: { src = sources.gup; })
13-
)
14-
]);
8+
cachixList = if (builtins.getEnv "USE_SYSTEM_CACHIX" == "1") then [] else [ pkgs.cachix ];
9+
commonInputs = cachixList ++ (with pkgs; [ gup ]);
1510

1611
fenix-toolchain = pkgs.fenix.stable.withComponents [ "cargo" "rustc" "rust-src" ];
1712

nix/sources.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"homepage": "",
66
"owner": "nix-community",
77
"repo": "fenix",
8-
"rev": "dca822b67ddf0af52f9b63feaeefc1668c8635c0",
9-
"sha256": "07qnvv42h6ri1vv4rczc4ys2nll4n0l13x19jrgxn065hip3nfiy",
8+
"rev": "2fccc3f4ab4f1853e56f858a969b85f48005a2a8",
9+
"sha256": "0y0v0lzb4hxv4p0m34mqcqik4qwn7bz94kcaf8ddnmnz22d7asm0",
1010
"type": "tarball",
11-
"url": "https://github.com/nix-community/fenix/archive/dca822b67ddf0af52f9b63feaeefc1668c8635c0.tar.gz",
11+
"url": "https://github.com/nix-community/fenix/archive/2fccc3f4ab4f1853e56f858a969b85f48005a2a8.tar.gz",
1212
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
1313
},
1414
"fetlock": {
@@ -23,28 +23,28 @@
2323
"url": "https://github.com/timbertson/fetlock/archive/a66cc86ce240575ddba6fbb70621bdec167361d9.tar.gz",
2424
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
2525
},
26-
"gup": {
27-
"branch": "master",
28-
"description": "A better make, inspired by djb's redo.",
29-
"homepage": null,
26+
"nixpkgs": {
27+
"branch": "22-11-musl",
28+
"description": "Nix Packages collection",
29+
"homepage": "",
3030
"owner": "timbertson",
31-
"repo": "gup",
32-
"rev": "version-0.8.3",
33-
"sha256": "0yprgqwrjq8kvcgkwy80h5497f4b6zgl1pa8nh8zcjv2xhnnn0gs",
31+
"repo": "nixpkgs",
32+
"rev": "6a2d1048c38fa37c257dc6fbebaf8af2cc8721a9",
33+
"sha256": "15m7i0dvg153lw5hl1614n0rcrbdmq7kjdyc38hpzszaw1m4xw0l",
3434
"type": "tarball",
35-
"url": "https://github.com/timbertson/gup/archive/version-0.8.3.tar.gz",
35+
"url": "https://github.com/timbertson/nixpkgs/archive/6a2d1048c38fa37c257dc6fbebaf8af2cc8721a9.tar.gz",
3636
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
3737
},
38-
"nixpkgs": {
39-
"branch": "release-22.05",
38+
"nixpkgs-upstrem-tmp-rename": {
39+
"branch": "release-23.11",
4040
"description": "Nix Packages collection",
4141
"homepage": "",
4242
"owner": "NixOS",
4343
"repo": "nixpkgs",
44-
"rev": "e9bd3d0616382fdf7a3b4d1416935c5dbdf366f8",
45-
"sha256": "05gw1xfzm2pi2pqak0g3dj8cmqz8i9aiwk3gy1bil0r3if1pgq1a",
44+
"rev": "0ea23c2c3792b92fe97535ef62d9a911eac9f250",
45+
"sha256": "1zi8hf8ljzl911z42lxmg01il619q95vhad4j6ngygk9qf33mfj0",
4646
"type": "tarball",
47-
"url": "https://github.com/NixOS/nixpkgs/archive/e9bd3d0616382fdf7a3b4d1416935c5dbdf366f8.tar.gz",
47+
"url": "https://github.com/NixOS/nixpkgs/archive/0ea23c2c3792b92fe97535ef62d9a911eac9f250.tar.gz",
4848
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
4949
}
5050
}

0 commit comments

Comments
 (0)