1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-05 20:15:26 +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
niv-version = niv.version;
in
pkgs.writeScript "cabal-upload"
pkgs.writeShellScript "cabal-upload"
''
#!${pkgs.stdenv.shell}
cabal upload "$@" "${niv-sdist}/niv-${niv-version}.tar.gz"
'';