diff options
author | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-07-17 22:15:13 -0400 |
---|---|---|
committer | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-07-27 19:39:15 -0400 |
commit | 0e707034b574946e7cd36fc57315b3e1e969a262 (patch) | |
tree | 023d250add400f45b1f806826594fd1529eeeb78 /pkgs/applications/misc/st | |
parent | d14dedfa2a54dc63b9d35f8ebadf1ebef8dc4c31 (diff) | |
download | nixlib-0e707034b574946e7cd36fc57315b3e1e969a262.tar nixlib-0e707034b574946e7cd36fc57315b3e1e969a262.tar.gz nixlib-0e707034b574946e7cd36fc57315b3e1e969a262.tar.bz2 nixlib-0e707034b574946e7cd36fc57315b3e1e969a262.tar.lz nixlib-0e707034b574946e7cd36fc57315b3e1e969a262.tar.xz nixlib-0e707034b574946e7cd36fc57315b3e1e969a262.tar.zst nixlib-0e707034b574946e7cd36fc57315b3e1e969a262.zip |
st: fix patches passing
Diffstat (limited to 'pkgs/applications/misc/st')
-rw-r--r-- | pkgs/applications/misc/st/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/misc/st/default.nix b/pkgs/applications/misc/st/default.nix index 3562a4f9b168..5ed8b81eabb5 100644 --- a/pkgs/applications/misc/st/default.nix +++ b/pkgs/applications/misc/st/default.nix @@ -3,8 +3,7 @@ with stdenv.lib; -let patches' = if patches == null then [] else patches; -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { name = "st-0.8.1"; src = fetchurl { @@ -12,7 +11,7 @@ in stdenv.mkDerivation rec { sha256 = "09k94v3n20gg32xy7y68p96x9dq5msl80gknf9gbvlyjp3i0zyy4"; }; - patches = patches'; + inherit patches; configFile = optionalString (conf!=null) (writeText "config.def.h" conf); preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; |