summaryrefslogtreecommitdiff
path: root/gup/cabal2nix.gup
blob: ce623eeeff83e14b62a860125ccffc0fadad05a8 (plain)
1
2
3
4
#!/usr/bin/env zsh

gup -u ${2:h}/package.yaml ${2:r}.cabal
env -C ${2:h} -- nix run nixos#cabal2nix -- . > $1