keeperrl: cleanup expression

This commit is contained in:
Jan Malakhovski 2023-08-08 17:39:02 +00:00 committed by Anderson Torres
parent 0e38454027
commit 7eefa92432

View File

@ -17,7 +17,7 @@ let
pname = "keeperrl";
version = "alpha34";
free-src = fetchFromGitHub {
free_src = fetchFromGitHub {
owner = "miki151";
repo = pname;
rev = version;
@ -45,12 +45,9 @@ in
stdenv.mkDerivation {
inherit pname version;
srcs = [ free-src ] ++ lib.optional unfree_assets assets;
srcs = [ free_src ] ++ lib.optional unfree_assets assets;
sourceRoot = free-src.name;
inherit free-src;
assets = if unfree_assets then assets else null;
sourceRoot = free_src.name;
postUnpack = lib.optionalString unfree_assets ''
mv data $sourceRoot