Fix update-nix-files.sh to run correctly
This commit is contained in:
parent
a265fd31a0
commit
e4ce3b95e5
1 changed files with 3 additions and 1 deletions
|
@ -38,8 +38,10 @@ write-package-shell-nix () {
|
|||
|
||||
update-nix-files () {
|
||||
for s in ${SOURCES[@]} ; do
|
||||
cd "$s" && cabal2nix . > default.nix
|
||||
pushd "$s" > /dev/null
|
||||
cabal2nix . > default.nix
|
||||
write-package-shell-nix $s
|
||||
popd > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue