diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 11:31:39 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 13:36:04 +0700 |
commit | 2e34288f0d8cf01eea228c7dbc50af9589b885f3 (patch) | |
tree | 90b3e8c3181614a7a884130ccbee41d34f514cb7 /pkgs/games/keeperrl | |
parent | 93e5d99592cea45837867ca2a379093aaec3fbe8 (diff) |
pkgs/games: stdenv.lib -> lib
Diffstat (limited to 'pkgs/games/keeperrl')
-rw-r--r-- | pkgs/games/keeperrl/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/keeperrl/default.nix b/pkgs/games/keeperrl/default.nix index 568a0449ac282..bd49b821f9e1b 100644 --- a/pkgs/games/keeperrl/default.nix +++ b/pkgs/games/keeperrl/default.nix @@ -33,9 +33,9 @@ stdenv.mkDerivation rec { sourceRoot = "source"; - srcs = [ free-src ] ++ stdenv.lib.optional unfree_assets assets; + srcs = [ free-src ] ++ lib.optional unfree_assets assets; - postUnpack = stdenv.lib.optionalString unfree_assets '' + postUnpack = lib.optionalString unfree_assets '' mv data $sourceRoot ''; @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { cp -r data_free $out/share cp -r data_contrib $out/share - ${stdenv.lib.optionalString unfree_assets "cp -r data $out/share"} + ${lib.optionalString unfree_assets "cp -r data $out/share"} ''; meta = with lib; { |