diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-10 03:37:38 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-10 03:37:38 +0100 |
commit | 120f8eef67ad725aebdbf439bc90e873a106585e (patch) | |
tree | d8fcac8cc07a66e4265d1cfc7d774ceff48efc20 /pkgs/applications/graphics/simple-scan | |
parent | 2ce24737c8b4772beb7f904efd886d295b8ead23 (diff) | |
download | nixlib-120f8eef67ad725aebdbf439bc90e873a106585e.tar nixlib-120f8eef67ad725aebdbf439bc90e873a106585e.tar.gz nixlib-120f8eef67ad725aebdbf439bc90e873a106585e.tar.bz2 nixlib-120f8eef67ad725aebdbf439bc90e873a106585e.tar.lz nixlib-120f8eef67ad725aebdbf439bc90e873a106585e.tar.xz nixlib-120f8eef67ad725aebdbf439bc90e873a106585e.tar.zst nixlib-120f8eef67ad725aebdbf439bc90e873a106585e.zip |
simple-scan: makeWrapper -> wrapGAppsHook
Diffstat (limited to 'pkgs/applications/graphics/simple-scan')
-rw-r--r-- | pkgs/applications/graphics/simple-scan/default.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/applications/graphics/simple-scan/default.nix b/pkgs/applications/graphics/simple-scan/default.nix index 1943d24382ae..4b42e27d063b 100644 --- a/pkgs/applications/graphics/simple-scan/default.nix +++ b/pkgs/applications/graphics/simple-scan/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool, libusb -, libxml2, makeWrapper, pkgconfig, saneBackends, systemd, vala }: +, libxml2, pkgconfig, saneBackends, systemd, vala, wrapGAppsHook }: let version = "3.19.2"; in stdenv.mkDerivation rec { @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { buildInputs = [ cairo colord glib gusb gtk3 libusb libxml2 saneBackends systemd vala ]; - nativeBuildInputs = [ intltool itstool makeWrapper pkgconfig ]; + nativeBuildInputs = [ intltool itstool pkgconfig wrapGAppsHook ]; configureFlags = [ "--disable-packagekit" ]; @@ -25,11 +25,6 @@ stdenv.mkDerivation rec { doCheck = true; - preFixup = '' - wrapProgram "$out/bin/simple-scan" \ - --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" - ''; - meta = with stdenv.lib; { inherit version; description = "Simple scanning utility"; |