3
0
Fork 0
forked from mirrors/nixpkgs

nitrogen: patchShebangs instead of patchfile + /usr/bin/env

This hopefully fixes the build on Hydra.
This commit is contained in:
Mateusz Kowalczyk 2014-06-15 07:49:25 +02:00 committed by Bjørn Forsman
parent 05402bc7c8
commit b5ca04f4a8
2 changed files with 1 additions and 11 deletions

View file

@ -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";

View file

@ -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.