File tree Expand file tree Collapse file tree 5 files changed +13
-12
lines changed
Expand file tree Collapse file tree 5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 5555 wadcvt = final . callPackage d2dfPkgs . wadcvt {
5656 inherit Doom2D-Forever ;
5757 } ;
58- dfwad = final . callPackage d2dfPkgs . dfwad { } ;
58+ dfw-rs = final . callPackage d2dfPkgs . dfw-rs { } ;
59+ dfwad = lib . warn "dfwad is an alias of dfw-rs, so use that!" final . dfw-rs ;
5960 cctools = osxcross . packages . ${ system } . cctools ;
6061 macdylibbundler = prev . macdylibbundler . overrideAttrs ( prevAttrs : let
6162 otool = final . writeShellScriptBin "otool" ''
120121
121122 assets = import ./packages/assets.nix {
122123 inherit lib ;
123- inherit ( pkgs ) callPackage stdenv writeText dfwad ;
124+ inherit ( pkgs ) callPackage stdenv writeText dfw-rs ;
124125 inherit DF-Assets d2df-editor ;
125126 inherit ( d2dfPkgs ) buildWad ;
126127 inherit ( assetsLib ) mkAssetsPath ;
151152 lib . recursiveUpdate cross aux ;
152153
153154 packages = {
154- inherit ( pkgs ) wadcvt dfwad ;
155+ inherit ( pkgs ) wadcvt dfw-rs dfwad ;
155156 } ;
156157
157158 forPrebuild = let
164165 acc
165166 // {
166167 "${ cur } " =
167- pkgs . closureInfo { rootPaths = [ ( pkgs . linkFarmFromDrvs "cache-${ cur } " drvs ) pkgs . dfwad ] ; } ;
168+ pkgs . closureInfo { rootPaths = [ ( pkgs . linkFarmFromDrvs "cache-${ cur } " drvs ) pkgs . dfw-rs ] ; } ;
168169 } ) { }
169170 arches ;
170171
Original file line number Diff line number Diff line change 1818 util-linux ,
1919 bash ,
2020 dos2unix ,
21- dfwad ,
21+ dfw-rs ,
2222 dfwadCompression ? "none" ,
2323 shouldNormalize ? true ,
2424 normalizeBlacklist ? [ ] ,
4040 dontFixup = true ;
4141
4242 nativeBuildInputs =
43- [ bash gawk gnused convmv dfwad coreutils util-linux dos2unix ]
43+ [ bash gawk gnused convmv dfw-rs coreutils util-linux dos2unix ]
4444 ++ lib . optionals shouldNormalize [
4545 parallel
4646 findutils
8585 + ''
8686 mkdir -p temp
8787 chmod -R 777 temp
88- echo "Moving files from ${ lstPath } to dfwad suitable directory"
88+ echo "Moving files from ${ lstPath } to dfw-rs suitable directory"
8989 ${ gawk } /bin/awk -f ${ buildWadScript } -v prefix="temp" ${ lstPath }
9090 # For some reason, this AWK script sets wrong perms
9191 chmod -R 777 temp
9797 echo "moving $1 to $(dirname $1)/$WITHOUT_EXT";
9898 mv "$1" "$(dirname $1)/$WITHOUT_EXT";
9999 ' bash {} \;
100- echo "Calling ${ lib . getExe dfwad } "
101- ${ lib . getExe dfwad } -v -z "${ dfwadCompression } " temp/ ${ outName } .wad pack
100+ echo "Calling dfw-rs "
101+ dfw-rs -v -z "${ dfwadCompression } " temp/ ${ outName } .wad pack
102102 '' ;
103103
104104 installPhase = ''
Original file line number Diff line number Diff line change 44 doom2d-multiplayer-game-data = import ./d2dmpData.nix ;
55 editor = import ./editor ;
66 wadcvt = import ./utils/wadcvt.nix ;
7- dfwad = import ./utils/dfwad .nix ;
7+ dfw-rs = import ./utils/dfw-rs .nix ;
88 doom2df-bundle = import ./bundle ;
99 buildWad = ( import ./buildWad ) . buildWad ;
1010 buildWadScript = ( import ./buildWad ) . buildWadScript ;
File renamed without changes.
Original file line number Diff line number Diff line change 66 DF-Assets ,
77 d2df-editor ,
88 buildWad ,
9- dfwad ,
9+ dfw-rs ,
1010 mkAssetsPath ,
1111} : rec {
1212 wads = lib . listToAttrs ( lib . map ( wad : {
1818 lstPath = "${ wad . out } .lst" ;
1919 dfwadCompression = "best" ;
2020 inherit DF-Assets ;
21- inherit dfwad ;
21+ inherit dfw-rs ;
2222 } ;
2323 } ) [
2424 {
You can’t perform that action at this time.
0 commit comments