diff --git a/pkgs/ags/default.nix b/pkgs/ags/default.nix index f34482e3..9b7ab34e 100644 --- a/pkgs/ags/default.nix +++ b/pkgs/ags/default.nix @@ -14,21 +14,26 @@ , networkmanager , upower , wrapGAppsHook +, linux-pam }: buildNpmPackage rec { pname = "ags"; - version = "1.6.3-beta"; + version = "1.7.4"; src = fetchFromGitHub { owner = "Aylur"; repo = "ags"; rev = "v${version}"; - hash = "sha256-SflyLMJyp9mtivTHGMpvdhSfVp3p8gVznsCvt61vLUk="; + hash = "sha256-n/NHEME+kCUIsvQhwEqqtIi14qd+/QsKFz+Bw7bEr8w="; fetchSubmodules = true; }; - npmDepsHash = "sha256-xTeidwd9VTpuAXoKo8zp26JSV1e9KPJElHztS8DpTvQ="; + npmDepsHash = "sha256-ucWdADdMqAdLXQYKGOXHNRNM9bhjKX4vkMcQ8q/GZ20="; + + mesonFlags = [ + (lib.mesonBool "build_types" true) + ]; nativeBuildInputs = [ meson @@ -47,6 +52,7 @@ buildNpmPackage rec { gtk-layer-shell libpulseaudio libsoup_3 + linux-pam networkmanager upower ]; @@ -58,6 +64,10 @@ buildNpmPackage rec { addToSearchPath PATH $PWD/node_modules/.bin ''; + postPatch = '' + chmod u+x ./post_install.sh && patchShebangs ./post_install.sh + ''; + meta = with lib; { homepage = "https://github.com/Aylur/ags"; description = "A EWW-inspired widget system as a GJS library";