Regenerate spago-packages.nix with bash script fixes.

This commit is contained in:
Drew Hess 2020-10-13 16:47:01 +01:00
parent 76e3fa87e3
commit aae0e1a51d
No known key found for this signature in database
GPG Key ID: 4DC0BBFBE3FEF428

View File

@ -808,21 +808,21 @@ in {
inherit inputs;
installSpagoStyle = pkgs.writeShellScriptBin "install-spago-style" ''
#!/usr/bin/env bash -e
set -e
echo installing dependencies...
${builtins.toString (builtins.map cpPackage (builtins.attrValues inputs))}
echo "echo done."
'';
buildSpagoStyle = pkgs.writeShellScriptBin "build-spago-style" ''
#!/usr/bin/env bash -e
set -e
echo building project...
purs compile ${builtins.toString (builtins.map getGlob (builtins.attrValues inputs))} "$@"
echo done.
'';
buildFromNixStore = pkgs.writeShellScriptBin "build-from-store" ''
#!/usr/bin/env bash -e
set -e
echo building project using sources from nix store...
purs compile ${builtins.toString (
builtins.map getStoreGlob (builtins.attrValues inputs))} "$@"