CI: Nix-dev-env-{main,macOS}: pin Nixpkgs rev
To avoid contribution loop problems, since we pin Nixpkgs in default.nix - it is logical by default CI to follow the supported way of building. The downside is - the maintainer would need to solve Nix issus when one tries to update the Nixpkgs revision.
This commit is contained in:
parent
2cd2db93d0
commit
245594db87
|
@ -13,7 +13,7 @@ on:
|
||||||
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
rev: "nixos-unstable"
|
# rev: "nixos-unstable" # 2020-09-29: NOTE: HNix default.nix currently pins the rev
|
||||||
cachixAccount: "hnix"
|
cachixAccount: "hnix"
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ env:
|
||||||
### and the other part of keys explained in `build.sh`, since those address external procedures aound the builds.
|
### and the other part of keys explained in `build.sh`, since those address external procedures aound the builds.
|
||||||
### Additional documentation is in Nixpkgs Haskell.lib: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix
|
### Additional documentation is in Nixpkgs Haskell.lib: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix
|
||||||
###
|
###
|
||||||
rev: "nixos-unstable"
|
# rev: "nixos-unstable" # 2020-09-29: NOTE: HNix default.nix currently pins the rev
|
||||||
cachixAccount: "hnix"
|
cachixAccount: "hnix"
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
allowInconsistentDependencies: "false"
|
allowInconsistentDependencies: "false"
|
||||||
|
@ -56,7 +56,6 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
# NOTE: Basic example
|
|
||||||
build10:
|
build10:
|
||||||
name: "NixOS-unstable channel, strict build, default GHC (8.8)"
|
name: "NixOS-unstable channel, strict build, default GHC (8.8)"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -76,7 +75,6 @@ jobs:
|
||||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
- name: Determined Nix-build
|
- name: Determined Nix-build
|
||||||
env:
|
env:
|
||||||
rev: "nixos-unstable"
|
|
||||||
buildStrictly: "true"
|
buildStrictly: "true"
|
||||||
run: ./build.sh
|
run: ./build.sh
|
||||||
|
|
||||||
|
@ -99,7 +97,6 @@ jobs:
|
||||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
- name: Determined Nix-build
|
- name: Determined Nix-build
|
||||||
env:
|
env:
|
||||||
rev: "nixos-unstable"
|
|
||||||
compiler: "ghc8101"
|
compiler: "ghc8101"
|
||||||
buildFromSdist: "true"
|
buildFromSdist: "true"
|
||||||
linkWithGold: "true"
|
linkWithGold: "true"
|
||||||
|
|
Loading…
Reference in a new issue