guix: move to finalAttrs

This commit is contained in:
Adam C. Stephens
2026-01-23 12:51:15 -05:00
parent c252d7916a
commit 755dde68a3
+4 -4
View File
@@ -41,7 +41,7 @@
let
rev = "30a5d140aa5a789a362749d057754783fea83dde";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "guix";
version = "1.4.0-unstable-2025-06-24";
@@ -127,7 +127,7 @@ stdenv.mkDerivation rec {
];
preAutoreconf = ''
echo ${version} > .tarball-version
echo ${finalAttrs.version} > .tarball-version
./bootstrap
'';
@@ -161,7 +161,7 @@ stdenv.mkDerivation rec {
Guix is based on the Nix package manager.
'';
homepage = "https://guix.gnu.org/";
changelog = "https://codeberg.org/guix/guix/raw/commit/${rev}/NEWS";
changelog = "https://codeberg.org/guix/guix/raw/commit/${finalAttrs.version}/NEWS";
license = lib.licenses.gpl3Plus;
mainProgram = "guix";
maintainers = with lib.maintainers; [
@@ -170,4 +170,4 @@ stdenv.mkDerivation rec {
];
platforms = lib.platforms.linux;
};
}
})