From ffac1727b92167ca6847b7ae3adc71f091d8048f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 10 Jul 2022 11:51:34 +0200 Subject: ... --- gup/Gupfile | 2 ++ gup/cabal2nix.gup | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 gup/Gupfile create mode 100644 gup/cabal2nix.gup (limited to 'gup') diff --git a/gup/Gupfile b/gup/Gupfile new file mode 100644 index 00000000..0c9b6b80 --- /dev/null +++ b/gup/Gupfile @@ -0,0 +1,2 @@ +cabal2nix.gup: + hosts/surtr/email/spm/spm.nix \ No newline at end of file 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 @@ +#!/usr/bin/env zsh + +gup -u ${2:h}/package.yaml ${2:r}.cabal +env -C ${2:h} -- nix run nixos#cabal2nix -- . > $1 \ No newline at end of file -- cgit v1.2.3