Merge pull request #194204 from herberteuler/fix/sil-q-user-dir
sil-q: use .sil-q to avoid clashing with sil's data
This commit is contained in:
commit
82051748eb
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp sil $out/bin/sil-q
|
cp sil $out/bin/sil-q
|
||||||
wrapProgram $out/bin/sil-q \
|
wrapProgram $out/bin/sil-q \
|
||||||
--run "export ANGBAND_PATH=\$HOME/.sil" \
|
--run "export ANGBAND_PATH=\$HOME/.sil-q" \
|
||||||
--run "${setup} ${src}/lib"
|
--run "${setup} ${src}/lib"
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
saveDirCreation = pkgs.runCommand "save-dir-creation" {} ''
|
saveDirCreation = pkgs.runCommand "save-dir-creation" {} ''
|
||||||
HOME=$(pwd) ${lib.getExe pkgs.sil-q} --help
|
HOME=$(pwd) ${lib.getExe pkgs.sil-q} --help
|
||||||
test -d .sil && touch $out
|
test -d .sil-q && touch $out
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue