6 # The following are only needed for the passthru.tests:
15 lib.pipe haskellPackages.spago [
16 haskell.lib.compose.justStaticExecutables
18 (haskell.lib.compose.overrideCabal (oldAttrs: {
19 changelog = "https://github.com/purescript/spago/releases/tag/${oldAttrs.version}";
21 passthru = (oldAttrs.passthru or { }) // {
22 updateScript = ./update.sh;
24 # These tests can be run with the following command. The tests access the
25 # network, so they cannot be run in the nix sandbox. sudo is needed in
26 # order to change the sandbox option.
28 # $ sudo nix-build -A spago.passthru.tests --option sandbox relaxed
31 runCommand "spago-tests"
43 # spago expects HOME to be set because it creates a cache file under