Commit 40156654 authored by sternenseemann's avatar sternenseemann
Browse files

spago-legacy: 0.21.0 -> 0.21.1, rename from spago

parent 14c85cbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,4 +50,4 @@ echo
echo "Finished.  Make sure you run the following commands to confirm PureScript builds correctly:"
echo ' - `nix build -L -f ./. purescript`'
echo ' - `nix build -L -f ./. purescript.passthru.tests.minimal-module`'
echo ' - `sudo nix build -L -f ./. spago.passthru.tests --option sandbox relaxed`'
echo ' - `sudo nix build -L -f ./. spago-legacy.passthru.tests --option sandbox relaxed`'
+0 −1
Original line number Diff line number Diff line
@@ -2769,7 +2769,6 @@ with haskellLib;
      let
        # We need to build purescript with these dependencies and thus also its reverse
        # dependencies to avoid version mismatches in their dependency closure.
        # TODO: maybe unify with the spago overlay in configuration-nix.nix?
        purescriptOverlay = self: super: {
          # As of 2021-11-08, the latest release of `language-javascript` is 0.7.1.0,
          # but it has a problem with parsing the `async` keyword.  It doesn't allow
+0 −2
Original line number Diff line number Diff line
@@ -61,7 +61,6 @@ extra-packages:
  - extensions == 0.1.0.1               # 2025-09-21: needed for Cabal 3.10 (fourmolo/ormolu with ghc 9.8)
  - fourmolu == 0.14.0.0                # 2023-11-13: for ghc-lib-parser 9.6 compat
  - fourmolu == 0.15.0.0                # 2025-09-21: for ghc-lib-parser 9.8 compat
  - fsnotify < 0.4                      # 2024-04-22: required by spago-0.21
  - fuzzyset == 0.2.4                   # 2023-12-20: Needed for building postgrest > 10
  - ghc-exactprint == 0.6.*             # 2022-12-12: needed for GHC < 9.2
  - ghc-exactprint == 1.5.*             # 2023-03-30: needed for GHC == 9.2
@@ -116,7 +115,6 @@ extra-packages:
  - text-builder < 1                    # 2025-08-27: Needed for building postgrest
  - text-builder-dev < 0.4              # 2025-08-27: Needed for building postgrest
  - text-metrics < 0.3.3                # 2025-02-08: >= 0.3.3 uses GHC2021
  - versions < 6                        # 2024-04-22: required by spago-0.21
  - weeder == 2.3.*                     # 2022-05-31: preserve for GHC 9.0.2
  - weeder == 2.4.*                     # 2023-02-02: preserve for GHC 9.2.*
# keep-sorted end
+35 −41
Original line number Diff line number Diff line
@@ -1081,7 +1081,7 @@ builtins.intersectAttrs super {
    addBuildTool self.buildHaskellPackages.gtk2hs-buildtools super.pango
  );

  spago =
  spago-legacy =
    let
      docsSearchApp_0_0_10 = pkgs.fetchurl {
        url = "https://github.com/purescript/purescript-docs-search/releases/download/v0.0.10/docs-search-app.js";
@@ -1103,13 +1103,7 @@ builtins.intersectAttrs super {
        sha256 = "1hjdprm990vyxz86fgq14ajn0lkams7i00h8k2i2g1a0hjdwppq6";
      };
    in
    lib.pipe
      (super.spago.override {
        # base <4.19, text <2.1
        versions = doJailbreak self.versions_5_0_5;
        fsnotify = self.fsnotify_0_3_0_1;
      })
      [
    lib.pipe super.spago-legacy [
      (overrideCabal (drv: {
        postUnpack = (drv.postUnpack or "") + ''
          # Spago includes the following two files directly into the binary
@@ -1140,7 +1134,7 @@ builtins.intersectAttrs super {
      # Tests require network access.
      dontCheck

        # Overly strict upper bound on text
      # Overly strict upper bound on text (<1.3)
      doJailbreak

      # Generate shell completion for spago
+0 −100
Original line number Diff line number Diff line
@@ -245191,63 +245191,6 @@ self: {
    }
  ) { };
  fsnotify_0_3_0_1 = callPackage (
    {
      mkDerivation,
      async,
      base,
      bytestring,
      containers,
      directory,
      filepath,
      hinotify,
      random,
      shelly,
      tasty,
      tasty-hunit,
      temporary,
      text,
      time,
      unix,
      unix-compat,
    }:
    mkDerivation {
      pname = "fsnotify";
      version = "0.3.0.1";
      sha256 = "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny";
      revision = "3";
      editedCabalFile = "0n5p6ljx8i5mmalkw05izjgzbqg08y7rxxn2gk8ghxlqldgqgix9";
      libraryHaskellDepends = [
        async
        base
        bytestring
        containers
        directory
        filepath
        hinotify
        shelly
        text
        time
        unix
        unix-compat
      ];
      testHaskellDepends = [
        async
        base
        directory
        filepath
        random
        tasty
        tasty-hunit
        temporary
        unix-compat
      ];
      description = "Cross platform library for file change notification";
      license = lib.licenses.bsd3;
      hydraPlatforms = lib.platforms.none;
    }
  ) { };
  fsnotify = callPackage (
    {
      mkDerivation,
@@ -706659,49 +706602,6 @@ self: {
    }
  ) { };
  versions_5_0_5 = callPackage (
    {
      mkDerivation,
      base,
      deepseq,
      hashable,
      megaparsec,
      microlens,
      parser-combinators,
      QuickCheck,
      tasty,
      tasty-hunit,
      tasty-quickcheck,
      text,
    }:
    mkDerivation {
      pname = "versions";
      version = "5.0.5";
      sha256 = "01kn3ilizzm5n05nz0qry1vjb6bj8dzinyqn3mbshds298acn70c";
      libraryHaskellDepends = [
        base
        deepseq
        hashable
        megaparsec
        parser-combinators
        text
      ];
      testHaskellDepends = [
        base
        megaparsec
        microlens
        QuickCheck
        tasty
        tasty-hunit
        tasty-quickcheck
        text
      ];
      description = "Types and parsers for software version numbers";
      license = lib.licenses.bsd3;
      hydraPlatforms = lib.platforms.none;
    }
  ) { };
  versions = callPackage (
    {
      mkDerivation,
Loading