Compare commits
No commits in common. "ccb4c9e373f7b53dbfda4cc735bba50864e2406a" and "39eaf9834ae364290ef7e583e81c2dd6771ba707" have entirely different histories.
ccb4c9e373
...
39eaf9834a
8
flake.lock
generated
8
flake.lock
generated
@ -379,17 +379,17 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744440957,
|
"lastModified": 1743784303,
|
||||||
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=",
|
"narHash": "sha256-IlAPw8Hlwhy3xGOos7ji0W/O/oqWLhNtff84daWi1P0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d",
|
"rev": "95e38bac46071545b324dcb5932940f844d598f4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
|
"ref": "release-24.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/26d499fc9f1d567283d5d56fcf367edd815dba1d";
|
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
|
||||||
nixos-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixos-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
nixos-master.url = "github:NixOS/nixpkgs/master";
|
nixos-master.url = "github:NixOS/nixpkgs/master";
|
||||||
local-unstable.url = "path:///home/giulio/dev/nixpkgs";
|
local-unstable.url = "path:///home/giulio/dev/nixpkgs";
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# this guy updates the hash of the last
|
|
||||||
# successful build of nixpkgs on hydra
|
|
||||||
# (so we don't have to rebuild EVERYTHING)
|
|
||||||
RELEASE=24.11
|
|
||||||
|
|
||||||
new=$(curl -sL "https://monitoring.nixos.org/prometheus/api/v1/query?query=channel_revision" | jq -r ".data.result[] | select(.metric.channel==\"nixos-${RELEASE}\") | .metric.revision")
|
|
||||||
old=$(jq -r ".nodes.nixpkgs.locked.rev" flake.lock)
|
|
||||||
|
|
||||||
echo "Old hash: ${old}"
|
|
||||||
echo "New hash: ${new}"
|
|
||||||
|
|
||||||
sed -i s/"${old}"/"${new}"/ flake.nix
|
|
Loading…
x
Reference in New Issue
Block a user