mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
gnomeExtensions.system-monitor: Use upstream Makefile to fix version
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
966b98f945
commit
daa0d0d265
@ -11,10 +11,9 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-JuRRlvqlqneqUdgezKGl2yg7wFYGCCo51q9CBwrxTBY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [
|
||||
glib
|
||||
glib-networking
|
||||
libgtop
|
||||
gnome.gnome-shell
|
||||
];
|
||||
|
||||
patches = [
|
||||
@ -26,18 +25,11 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
glib-compile-schemas --targetdir="system-monitor@paradoxxx.zero.gmail.com/schemas" "system-monitor@paradoxxx.zero.gmail.com/schemas"
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/gnome-shell/extensions
|
||||
cp -r "system-monitor@paradoxxx.zero.gmail.com" $out/share/gnome-shell/extensions
|
||||
runHook postInstall
|
||||
'';
|
||||
makeFlags = [
|
||||
"VERSION=${version}"
|
||||
"INSTALLBASE=$(out)/share/gnome-shell/extensions"
|
||||
"SUDO="
|
||||
];
|
||||
|
||||
passthru = {
|
||||
extensionUuid = "system-monitor@paradoxxx.zero.gmail.com";
|
||||
|
Loading…
Reference in New Issue
Block a user