1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00

Use writeShellScript in cabal-upload

This commit is contained in:
Nicolas Mattia 2020-01-31 16:51:21 +01:00
parent 49157afd22
commit 7970bd7770

View File

@ -68,9 +68,8 @@ with rec
let let
niv-version = niv.version; niv-version = niv.version;
in in
pkgs.writeScript "cabal-upload" pkgs.writeShellScript "cabal-upload"
'' ''
#!${pkgs.stdenv.shell}
cabal upload "$@" "${niv-sdist}/niv-${niv-version}.tar.gz" cabal upload "$@" "${niv-sdist}/niv-${niv-version}.tar.gz"
''; '';