nitrogen: patchShebangs instead of patchfile + /usr/bin/env
This hopefully fixes the build on Hydra.
This commit is contained in:
parent
05402bc7c8
commit
b5ca04f4a8
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
NIX_LDFLAGS = "-lX11";
|
NIX_LDFLAGS = "-lX11";
|
||||||
|
|
||||||
patches = [ ./nitrogen-env-bash.patch ];
|
patchPhase = "patchShebangs data/icon-theme-installer";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A wallpaper browser and setter for X11";
|
description = "A wallpaper browser and setter for X11";
|
||||||
|
@ -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.
|
|
Loading…
Reference in New Issue
Block a user