haskell-te: 477875051ed9eac92d90b02b4b9d7f01540e9e33
1: { bash, haskellPackages, jq, mkBin, runCommand, utillinux, writeScript }:
2:
3: runCommand "GetDepsScript"
4: {
5: buildInputs = [ (haskellPackages.ghcWithPackages (h: [
6: h.GetDeps h.lens-aeson h.validation
7: ])) ];
8: script = ./getDepsScript.hs;
9: }
10: ''
11: set -e
12: mkdir -p "$out/bin"
13:
14: # Copy here rather than trying to build directly in /nix/store
15: cp "$script" getDepsScript.hs
16:
17: ghc --make -o "$out/bin/getDepsScript" getDepsScript.hs
18: ''
Generated by git2html.