From 864e3ff38e8323a9ac48ad67c41bae85f77baf4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Thu, 26 May 2016 23:58:52 -0300 Subject: [PATCH] paper-icon-theme: fix installation directory --- pkgs/data/icons/paper-icon-theme/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/data/icons/paper-icon-theme/default.nix b/pkgs/data/icons/paper-icon-theme/default.nix index 93ce97d2e5b541..93c39b9eddd5e9 100644 --- a/pkgs/data/icons/paper-icon-theme/default.nix +++ b/pkgs/data/icons/paper-icon-theme/default.nix @@ -14,8 +14,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; - installPhase = '' - make install DESTDIR="$out" + postPatch = '' + substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out ''; meta = with stdenv.lib; {