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
|
||||
cp sil $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"
|
||||
|
||||
runHook postInstall
|
||||
|
@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
|
|||
passthru.tests = {
|
||||
saveDirCreation = pkgs.runCommand "save-dir-creation" {} ''
|
||||
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