mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
systemd: point to commit id instead of branch name
branch names are mutable, and with https://github.com/NixOS/systemd/pull/29 being merged in, the nixos-v242 branch advanced from 5c20aab77900f478fd380ab189787d80e4a35963 to 40eb070cb309ec09def0ecdeaf7514c702200835, causing systemd's fetchFromGitHub to fail with a sha256sum mismatch (when not relying on the cache). Fix this, by pointing systemd.src to the commit id before the branch advancement. This won't cause a rebuild, as the sha256 stayed the same. Fast-forwarding systemd to 40eb070cb309ec09def0ecdeaf7514c702200835 will be done in https://github.com/NixOS/nixpkgs/pull/63784 , which also uses the commit id, and not a branch name for rev.
This commit is contained in:
parent
c49b7f64d1
commit
06b7c4abcc
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "systemd";
|
||||
rev = "nixos-v${version}";
|
||||
rev = "5c20aab77900f478fd380ab189787d80e4a35963";
|
||||
sha256 = "0ldyhfxdy4qlgygvpc92wp0qp6p1c9y3rnm77zwbkga48x60d9i8";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue