Magnus pushed to branch wip/mangoiv/ci-stages at Glasgow Haskell Compiler / GHC

Commits:

3 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -68,8 +68,8 @@ stages:
    68 68
       - tool-lint      # Source linting of the tools
    
    69 69
       - quick-build    # A very quick smoke-test to weed out broken commits
    
    70 70
       - full-build     # Build all the things
    
    71
    -  - packaging      # Source distribution, etc.
    
    72 71
       - testing        # head.hackage correctness and compiler performance testing
    
    72
    +  - packaging      # Source distribution, etc.
    
    73 73
       - deploy         # push documentation
    
    74 74
     
    
    75 75
     # Note [The CI Story]
    

  • flake.lock
    1
    +{
    
    2
    +  "nodes": {
    
    3
    +    "flake-parts": {
    
    4
    +      "inputs": {
    
    5
    +        "nixpkgs-lib": "nixpkgs-lib"
    
    6
    +      },
    
    7
    +      "locked": {
    
    8
    +        "lastModified": 1778716662,
    
    9
    +        "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
    
    10
    +        "owner": "hercules-ci",
    
    11
    +        "repo": "flake-parts",
    
    12
    +        "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
    
    13
    +        "type": "github"
    
    14
    +      },
    
    15
    +      "original": {
    
    16
    +        "owner": "hercules-ci",
    
    17
    +        "repo": "flake-parts",
    
    18
    +        "type": "github"
    
    19
    +      }
    
    20
    +    },
    
    21
    +    "nixpkgs": {
    
    22
    +      "locked": {
    
    23
    +        "lastModified": 1781607440,
    
    24
    +        "narHash": "sha256-rxO+uc/KFbSJp+pgyXRuAX6QlG9hJdnt0BXpEQRXY+U=",
    
    25
    +        "owner": "nixos",
    
    26
    +        "repo": "nixpkgs",
    
    27
    +        "rev": "3e41b24abd260e8f71dbe2f5737d24122f972158",
    
    28
    +        "type": "github"
    
    29
    +      },
    
    30
    +      "original": {
    
    31
    +        "owner": "nixos",
    
    32
    +        "ref": "nixpkgs-unstable",
    
    33
    +        "repo": "nixpkgs",
    
    34
    +        "type": "github"
    
    35
    +      }
    
    36
    +    },
    
    37
    +    "nixpkgs-lib": {
    
    38
    +      "locked": {
    
    39
    +        "lastModified": 1777168982,
    
    40
    +        "narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
    
    41
    +        "owner": "nix-community",
    
    42
    +        "repo": "nixpkgs.lib",
    
    43
    +        "rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
    
    44
    +        "type": "github"
    
    45
    +      },
    
    46
    +      "original": {
    
    47
    +        "owner": "nix-community",
    
    48
    +        "repo": "nixpkgs.lib",
    
    49
    +        "type": "github"
    
    50
    +      }
    
    51
    +    },
    
    52
    +    "root": {
    
    53
    +      "inputs": {
    
    54
    +        "flake-parts": "flake-parts",
    
    55
    +        "nixpkgs": "nixpkgs"
    
    56
    +      }
    
    57
    +    }
    
    58
    +  },
    
    59
    +  "root": "root",
    
    60
    +  "version": 7
    
    61
    +}

  • flake.nix
    1
    +{
    
    2
    +  inputs = {
    
    3
    +    flake-parts.url = "github:hercules-ci/flake-parts";
    
    4
    +    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
    
    5
    +  };
    
    6
    +
    
    7
    +  outputs = inputs:
    
    8
    +    inputs.flake-parts.lib.mkFlake {inherit inputs;} {
    
    9
    +      systems = ["x86_64-linux" "aarch64-linux"];
    
    10
    +      perSystem = {
    
    11
    +        config,
    
    12
    +        pkgs,
    
    13
    +        ...
    
    14
    +      }: {
    
    15
    +        devShells.default = pkgs.mkShell {
    
    16
    +          nativeBuildInputs = [
    
    17
    +            pkgs.haskell.compiler.ghc910
    
    18
    +            pkgs.haskell.packages.ghc910.haskell-language-server
    
    19
    +            pkgs.haskellPackages.happy
    
    20
    +            pkgs.haskellPackages.alex
    
    21
    +            pkgs.cabal-install
    
    22
    +            pkgs.autoconf
    
    23
    +            pkgs.mold
    
    24
    +            pkgs.automake
    
    25
    +            pkgs.m4
    
    26
    +            pkgs.python3
    
    27
    +            pkgs.less
    
    28
    +            pkgs.llvmPackages_20.llvm
    
    29
    +            pkgs.llvmPackages_20.clang
    
    30
    +            pkgs.gmp
    
    31
    +            pkgs.sphinx
    
    32
    +            (pkgs.texliveSmall.withPackages (ps: with ps; [termes-otf
    
    33
    +                scheme-medium collection-xetex fncychap titlesec tabulary varwidth
    
    34
    +            framed capt-of wrapfig needspace dejavu-otf helvetic upquote
    
    35
    +             ]))
    
    36
    +          ];
    
    37
    +        };
    
    38
    +      };
    
    39
    +      flake = {};
    
    40
    +    };
    
    41
    +}