From 58aba363ae22ed94f795858080e44d85f1641d80 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 18 Mar 2024 13:36:12 -0700 Subject: [PATCH] Nixpkgs Update --- flake.lock | 6 +- modules/systemd-manager_sovran_systems.nix | 66 +++++++++++----------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/flake.lock b/flake.lock index 830308b..48f34e9 100755 --- a/flake.lock +++ b/flake.lock @@ -157,11 +157,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1710451336, - "narHash": "sha256-pP86Pcfu3BrAvRO7R64x7hs+GaQrjFes+mEPowCfkxY=", + "lastModified": 1710631334, + "narHash": "sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d691274a972b3165335d261cc4671335f5c67de9", + "rev": "c75037bbf9093a2acb617804ee46320d6d1fea5a", "type": "github" }, "original": { diff --git a/modules/systemd-manager_sovran_systems.nix b/modules/systemd-manager_sovran_systems.nix index 792c15f..2fdb975 100755 --- a/modules/systemd-manager_sovran_systems.nix +++ b/modules/systemd-manager_sovran_systems.nix @@ -1,41 +1,41 @@ { lib, stdenv, fetchzip, buildPackages }: - stdenv.mkDerivation rec { - pname = "systemd-manager"; - version = "16"; +stdenv.mkDerivation rec { + pname = "systemd-manager"; + version = "16"; - src = fetchzip { - url = "https://github.com/hardpixel/systemd-manager/releases/download/v${version}/systemd-manager-v${version}.zip"; - hash = "sha256-mbo0kSLkFpT71f/E4AJ0rMFLVtsks7u9snc8maMib4U="; - stripRoot = false; - }; + src = fetchzip { + url = "https://github.com/hardpixel/systemd-manager/releases/download/v${version}/systemd-manager-v${version}.zip"; + hash = "sha256-mbo0kSLkFpT71f/E4AJ0rMFLVtsks7u9snc8maMib4U="; + stripRoot = false; + }; - passthru = { - extensionUuid = "systemd-manager@hardpixel.eu"; - extensionPortalSlug = "systemd-manager"; - }; + passthru = { + extensionUuid = "systemd-manager@hardpixel.eu"; + extensionPortalSlug = "systemd-manager"; + }; - nativeBuildInputs = [ buildPackages.glib ]; + nativeBuildInputs = [ buildPackages.glib ]; - buildPhase = '' - runHook preBuild - if [ -d schemas ]; then - glib-compile-schemas --strict schemas - fi - runHook postBuild - ''; + buildPhase = '' + runHook preBuild + if [ -d schemas ]; then + glib-compile-schemas --strict schemas + fi + runHook postBuild + ''; - installPhase = '' - runHook preInstall - mkdir -p $out/share/gnome-shell/extensions - cp -r -T . $out/share/gnome-shell/extensions/${passthru.extensionUuid} - runHook postInstall - ''; + installPhase = '' + runHook preInstall + mkdir -p $out/share/gnome-shell/extensions + cp -r -T . $out/share/gnome-shell/extensions/${passthru.extensionUuid} + runHook postInstall + ''; - meta = with lib; { - description = "GNOME Shell extension to manage systemd services"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ]; - homepage = "https://github.com/hardpixel/systemd-manager"; - }; - } \ No newline at end of file + meta = with lib; { + description = "GNOME Shell extension to manage systemd services"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ ]; + homepage = "https://github.com/hardpixel/systemd-manager"; + }; +} \ No newline at end of file