From 023678dc00bcc5ebb93a33cec762f48cb9cf80ff Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 23 Jan 2017 16:06:52 +0100 Subject: Autogenerate .nix files via gup & cabal2nix --- gup/cabal2nix.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 gup/cabal2nix.sh (limited to 'gup/cabal2nix.sh') diff --git a/gup/cabal2nix.sh b/gup/cabal2nix.sh new file mode 100755 index 0000000..ba23c4e --- /dev/null +++ b/gup/cabal2nix.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +gup -u ${2:r}.cabal + +cd ${2:h} +cabal2nix ./. >! ${1} -- cgit v1.2.3