mirror of
https://github.com/justinwoo/spago2nix.git
synced 2024-11-25 10:03:17 +03:00
Regenerate spago-packages.nix with bash script fixes.
This commit is contained in:
parent
76e3fa87e3
commit
aae0e1a51d
@ -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))} "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user