Unverified Commit 61c6ed24 authored by Adam C. Stephens's avatar Adam C. Stephens
Browse files
parent 755dde68
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -38,17 +38,14 @@
  storeDir ? "/gnu/store",
  confDir ? "/etc",
}:
let
  rev = "30a5d140aa5a789a362749d057754783fea83dde";
in
stdenv.mkDerivation (finalAttrs: {
  pname = "guix";
  version = "1.4.0-unstable-2025-06-24";
  version = "1.5.0";

  src = fetchgit {
    url = "https://codeberg.org/guix/guix.git";
    inherit rev;
    hash = "sha256-QsOYApnwA2hb1keSv6p3EpMT09xCs9uyoSeIdXzftF0=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-/g8JMUGM5GaZjtPLnl4vlrBNYMxSTjsHUDdhKLtHaQA=";
  };

  patches = [
@@ -124,6 +121,9 @@ stdenv.mkDerivation (finalAttrs: {
    "--localstatedir=${stateDir}"
    "--sysconfdir=${confDir}"
    "--with-bash-completion-dir=$(out)/etc/bash_completion.d"
    "--with-zsh-completion-dir=$(out)/share/zsh/site-functions"
    "--with-fish-completion-dir=$(out)/share/fish/vendor_completions.d"
    "--with-apparmor-profile-dir=$(out)/etc/apparmor.d"
  ];

  preAutoreconf = ''
@@ -161,7 +161,7 @@ stdenv.mkDerivation (finalAttrs: {
      Guix is based on the Nix package manager.
    '';
    homepage = "https://guix.gnu.org/";
    changelog = "https://codeberg.org/guix/guix/raw/commit/${finalAttrs.version}/NEWS";
    changelog = "https://codeberg.org/guix/guix/raw/tag/v${finalAttrs.version}/NEWS";
    license = lib.licenses.gpl3Plus;
    mainProgram = "guix";
    maintainers = with lib.maintainers; [