mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nitrogen: patchShebangs instead of patchfile + /usr/bin/env
This hopefully fixes the build on Hydra.
This commit is contained in:
parent
05402bc7c8
commit
b5ca04f4a8
2 changed files with 1 additions and 11 deletions
|
@ -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";
|
||||
|
|
|
@ -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 a new issue