We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b70882c commit 19610ebCopy full SHA for 19610eb
1 file changed
upload.nix
@@ -1,4 +1,8 @@
1
with (import ./default.nix {});
2
with pkgs.haskell.lib;
3
-buildFromSdist language-ecmascript
4
-
+let
+ tarball = sdistTarball language-ecmascript;
5
+in
6
+pkgs.writeScriptBin "upload" ''
7
+ ${pkgs.cabal-install}/bin/cabal upload ${tarball}/*.tar.gz --publish
8
+''
0 commit comments