summaryrefslogtreecommitdiff
path: root/gup/cabal2nix.gup
diff options
context:
space:
mode:
Diffstat (limited to 'gup/cabal2nix.gup')
-rw-r--r--gup/cabal2nix.gup4
1 files changed, 4 insertions, 0 deletions
diff --git a/gup/cabal2nix.gup b/gup/cabal2nix.gup
new file mode 100644
index 00000000..ce623eee
--- /dev/null
+++ b/gup/cabal2nix.gup
@@ -0,0 +1,4 @@
1#!/usr/bin/env zsh
2
3gup -u ${2:h}/package.yaml ${2:r}.cabal
4env -C ${2:h} -- nix run nixos#cabal2nix -- . > $1 \ No newline at end of file