diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-16 09:49:38 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-16 09:49:38 +0100 |
commit | 75f706aca1739202e6e1d05d269f7838f8462d21 (patch) | |
tree | aee7a6b1b37d209046b8a47d1d9c0faa05577372 /pkgs/larbs/dwmblocks/default.nix | |
parent | 9bd9de93e1c9e7aa960881e5b578064f9bae16d5 (diff) | |
download | pnpkgs-75f706aca1739202e6e1d05d269f7838f8462d21.tar.gz pnpkgs-75f706aca1739202e6e1d05d269f7838f8462d21.zip |
Fix boolean
Diffstat (limited to 'pkgs/larbs/dwmblocks/default.nix')
-rw-r--r-- | pkgs/larbs/dwmblocks/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/larbs/dwmblocks/default.nix b/pkgs/larbs/dwmblocks/default.nix index 3277cc0..2718b6d 100644 --- a/pkgs/larbs/dwmblocks/default.nix +++ b/pkgs/larbs/dwmblocks/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, libX11, config_h ? null, patches ? [] }: +{ stdenv, lib, fetchgit, libX11, config_h ? null, patches ? [] }: with stdenv.lib; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { buildInputs = [ libX11 ]; prePatch = '' - ${stdenv.lib.optionalString (config_h) "cp ${config_h} config.h"} + ${lib.optionalString (config_h != null) "cp ${config_h} config.h"} ''; installPhase = '' |