Lookup gzdoom pk3 files in the installed directory in addition to the path that is stored in ~/.config/gzdoom/. Simply replacing the hardcoded /usr/share would leave the configfile pointing to outdated guix builds, which could get garbage collected and break the gzdoom installation. This ensures that the files installed with the corresponding build will be used. --- /src/d_main.cpp 2018-01-16 22:13:09.700602781 +0200 +++ /src/d_main.cpp 2018-01-16 22:22:36.560617961 +0200 @@ -1716,6 +1716,11 @@ return wad; } + mysnprintf (wad, countof(wad), "%s/%s", GUIX_OUT_PK3, file); + if (DirEntryExists (wad)) { + return wad; + } + if (GameConfig != NULL && GameConfig->SetSection ("FileSearch.Directories")) { const char *key; oszko-scripts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
AgeCommit message (Expand)Author
2022-07-12guix: Really export 'define-public'....This is a followup to 3858275962f1ac567b5dce2355035f9eddea0a05, which didn't have any effect. * guix.scm: Explicitly use (guix packages) so #:re-export-and-replace is effective. Ludovic Courtès
2021-09-14guix: Replace 'define-public'....This is a followup to 8531997d2a1e10d574a6e9ab70bc86ade6af4733. * guix.scm: Use #:re-export-and-replace for 'define-public'. Ludovic Courtès
2021-06-29(guix) no longer pulls in (guix ftp-client)....That choice was made in 2014 and never made much sense. * guix.scm (%public-modules): Remove 'ftp-client'. Ludovic Courtès