diff options
Diffstat (limited to 'pkgs/tools/X11/nitrogen')
-rw-r--r-- | pkgs/tools/X11/nitrogen/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/X11/nitrogen/nitrogen-env-bash.patch | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/pkgs/tools/X11/nitrogen/default.nix b/pkgs/tools/X11/nitrogen/default.nix index beecffd4b06f..182c058e1c12 100644 --- a/pkgs/tools/X11/nitrogen/default.nix +++ b/pkgs/tools/X11/nitrogen/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { NIX_LDFLAGS = "-lX11"; - patches = [ ./nitrogen-env-bash.patch ]; + patchPhase = "patchShebangs data/icon-theme-installer"; meta = { description = "A wallpaper browser and setter for X11"; diff --git a/pkgs/tools/X11/nitrogen/nitrogen-env-bash.patch b/pkgs/tools/X11/nitrogen/nitrogen-env-bash.patch deleted file mode 100644 index dd8574dcd628..000000000000 --- a/pkgs/tools/X11/nitrogen/nitrogen-env-bash.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/data/icon-theme-installer b/data/icon-theme-installer -index 328cf73..ca5d226 100755 ---- a/data/icon-theme-installer -+++ b/data/icon-theme-installer -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/usr/bin/env bash - - # icon-theme-installer - # Copyright (C) 2006 Novell, Inc. |