mirror of
https://github.com/nmattia/niv.git
synced 2024-09-16 01:47:08 +03:00
Use writeShellScript in cabal-upload
This commit is contained in:
parent
49157afd22
commit
7970bd7770
@ -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"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user