4 # The following are only needed for the passthru.tests:
15 haskell.packages.ghc90.spago
16 [ haskell.lib.compose.justStaticExecutables
17 (haskell.lib.compose.overrideCabal (oldAttrs: {
18 changelog = "https://github.com/purescript/spago/releases/tag/${oldAttrs.version}";
23 spago.overrideAttrs (oldAttrs: {
24 passthru = (oldAttrs.passthru or {}) // {
25 updateScript = ./update.sh;
27 # These tests can be run with the following command. The tests access the
28 # network, so they cannot be run in the nix sandbox. sudo is needed in
29 # order to change the sandbox option.
31 # $ sudo nix-build -A spago.passthru.tests --option sandbox relaxed
47 # spago expects HOME to be set because it creates a cache file under
58 meta = (oldAttrs.meta or {}) // {
59 mainProgram = "spago";