Skip to content

Commit

Permalink
update Nix and Nixpkgs releases
Browse files Browse the repository at this point in the history
  • Loading branch information
fricklerhandwerk committed Nov 7, 2024
1 parent ac38abe commit 64f9f0b
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 35 deletions.
9 changes: 7 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
let
lib = pkgs.lib;
releases = import ./nix/releases.nix { inherit lib inputs system; };
pkgs-unstable = import inputs.main.nixpkgs-rolling {
config = { };
overlays = [ ];
inherit system;
};

nix-dev =
pkgs.stdenv.mkDerivation {
Expand Down Expand Up @@ -111,8 +116,8 @@ let
python ${pkgs.writeText "live.py" script}
'';
};
update-nix-releases = pkgs.callPackage ./nix/update-nix-releases.nix { };
update-nixpkgs-releases = pkgs.callPackage ./nix/update-nixpkgs-releases.nix { };
update-nix-releases = pkgs-unstable.callPackage ./nix/update-nix-releases.nix { };
update-nixpkgs-releases = pkgs-unstable.callPackage ./nix/update-nixpkgs-releases.nix { };
in
{
# build with `nix-build -A build`
Expand Down
43 changes: 21 additions & 22 deletions nix/nix-versions.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"2.24": {
"url": "https://github.com/nixos/nix/tarball/1b076b4f84a74a47d4f4eeb14c7d1e485a754c87",
"version": "2.24.7",
"sha256": "0r2n0mq992lva4jn03a0rx6jsn2k87xqji67ph810dq8f56g7hsk"
"url": "https://github.com/nixos/nix/tarball/6e095ddef9bc12ebde519ee1985d687b5ad2ca4f",
"version": "2.24.11",
"sha256": "0zxjfd2iq2sjk5pr92xdkydsy19jalxsfgh0x26d7qp4q2cx1wyy"
},
"2.23": {
"url": "https://github.com/nixos/nix/tarball/e873d00bda0162c54bdd5009e7a4d8025cfb17b9",
"version": "2.23.4",
"sha256": "1zrpmw19nl1phw043xbq8myn67ci338xxvvdnwpf2d8azvhm8v5n"
"url": "https://github.com/nixos/nix/tarball/f50d7186917b441c3165fe85fc5d703c04ad41a4",
"version": "2.23.5",
"sha256": "004qmr3an365vh9h8swmmhm9hd4zwz0brcsckxi847svnijcxr1v"
},
"2.22": {
"url": "https://github.com/nixos/nix/tarball/e67d6b6447b062d53ad646c665dfe053720bc58b",
"version": "2.22.4",
"sha256": "0r4lg9jn83lhddi4r5504rj3hsdj6s2ylij5ii3wa10zs1qdbdn0"
"url": "https://github.com/nixos/nix/tarball/278e02c0efc83bdaec0c93bb8315560528516ab0",
"version": "2.22.5",
"sha256": "11kbrq2q57hchiglkgnrck619xnxiyc3sdka88kbly4ks69rc0bv"
},
"2.21": {
"url": "https://github.com/nixos/nix/tarball/16591ff737dea5af56fa01d0efdc0cc0cb36fa4e",
"version": "2.21.5",
"sha256": "05vswykvvgli2rwy05hc6rx7lmm39n5xnb3caxg9rn8jd9h7r6nd"
"url": "https://github.com/nixos/nix/tarball/2c6c438f436c019ad7340faa31c6f0603b2b9b46",
"version": "2.21.6",
"sha256": "10b9n0gzf5h3bcmx7zwnkb31iwanyfjzpif3vzp9gcwfngr6ikrn"
},
"2.20": {
"url": "https://github.com/nixos/nix/tarball/1da3fd549e33a2f1cb1539efc71ea4abd17eb02b",
"version": "2.20.9",
"sha256": "092sla5mxr13nzzdnd6v9hyw82vkfq2g27b19sr5vbnmjlp4q7my"
"url": "https://github.com/nixos/nix/tarball/28627c839f90b1dd158a0ceab9109839e6996d23",
"version": "2.20.10",
"sha256": "11xdcbm4slrcqcyr2jz49wkns4iq49z6p2b6i00chv0c7k8q92hm"
},
"2.19": {
"url": "https://github.com/nixos/nix/tarball/0446f7be8c3a2bcbbc90546472befd22ea600383",
"version": "2.19.7",
"sha256": "15qy56xhwkijp2ha52f9dayd5swq3mcw2rg9nz3dqgrx7wxihwbc"
"url": "https://github.com/nixos/nix/tarball/99a7cbdb6b6becd8717fd47339aa1200f0ac938c",
"version": "2.19.8",
"sha256": "1vljpsa4vmzp0k72psdl1w41jsidm1phrj7f2ld6vsfs79wyyg5y"
},
"2.18": {
"url": "https://github.com/nixos/nix/tarball/a8196707ada639e5b3d70d21d104b95611c004f6",
"version": "2.18.6",
"sha256": "1gk2v0rss8w50p04is3g34x3y5c8b6cbxcvzpwb95h84sb3c141r"
"url": "https://github.com/nixos/nix/tarball/266d76cf99cb82c96c91231f7a9a554ec69b67fb",
"version": "2.18.10",
"sha256": "0nnv36bwv1amk5c73ji1c2cpf2bglxiz1an9r9fgnbm7v9chbfsz"
},
"2.17": {
"url": "https://github.com/nixos/nix/tarball/800f9c6dbac71594e2c250ff2b5f900268c4e522",
Expand Down Expand Up @@ -105,4 +105,3 @@
"sha256": "0kzn3ggmir8iv1nk4yds6676x8y4q72xv06ks5p2nrvazhdarl8y"
}
}

9 changes: 4 additions & 5 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,10 @@
"repo": "nixpkgs"
},
"branch": "nixos-24.05",
"revision": "f4c846aee8e1e29062aa8514d5e0ab270f4ec2f9",
"url": "https://github.com/nixos/nixpkgs/archive/f4c846aee8e1e29062aa8514d5e0ab270f4ec2f9.tar.gz",
"hash": "1h9q8vrbxm9hf0vjvd5fxw9fxdly3jmigzl1yxf7g5abpbb0vbig"
"revision": "dba414932936fde69f0606b4f1d87c5bc0003ede",
"url": "https://github.com/nixos/nixpkgs/archive/dba414932936fde69f0606b4f1d87c5bc0003ede.tar.gz",
"hash": "0lbnsjq251kalw9p1sxq1pjzl795f8h19sbxy57p55649cbwa2lv"
}
},
"version": 3
}

}
2 changes: 1 addition & 1 deletion nix/update-nix-releases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ writeShellApplication {
git clone --quiet --filter=tree:0 --bare https://github.com/nixos/nix "$tmp/nix"
echo >&2 "Going through all *-maintenance branches"
git -C "$tmp/nix" branch --list '*-maintenance' --format '%(refname)' \
git -C "$tmp/nix" branch --list '[0-9]*.[0-9]*-maintenance' --format '%(refname)' \
| rg 'refs/heads/(.*)-maintenance' -or '$1' \
| sort --reverse --version-sort \
| while read -r version; do
Expand Down
9 changes: 4 additions & 5 deletions npins/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"repo": "nixpkgs"
},
"branch": "nixpkgs-unstable",
"revision": "5775c2583f1801df7b790bf7f7d710a19bac66f4",
"url": "https://github.com/nixos/nixpkgs/archive/5775c2583f1801df7b790bf7f7d710a19bac66f4.tar.gz",
"hash": "0vq01gfy9qlwsqmh6v8r1r8zqkp4w93bh31wk5nipllr66vl5nlz"
"revision": "8c4dc69b9732f6bbe826b5fbb32184987520ff26",
"url": "https://github.com/nixos/nixpkgs/archive/8c4dc69b9732f6bbe826b5fbb32184987520ff26.tar.gz",
"hash": "1x9qqhvk2d3139v9szw0pj7563v4bkj19a7vd5z8miaih700fbfr"
},
"poetry2nix": {
"type": "Git",
Expand All @@ -26,5 +26,4 @@
}
},
"version": 3
}

}

0 comments on commit 64f9f0b

Please sign in to comment.