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:
parent
49157afd22
commit
7970bd7770
@ -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"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user