mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
53cf60c83c
This should daily updates which are failing with: ``` error: unrecognised flag '--accept-flake-config' ``` See https://buildkite.com/input-output-hk/haskell-dot-nix-nightly-updates/builds/1318#0182f20e-bd2b-4840-a930-af2815df793c This change also updates to the newer mkdocs in nixpkgs 22.05 and updates the check-path-support to use a combination of nixpkgs and ghc that should be in the hydra cache.
14 lines
432 B
Nix
14 lines
432 B
Nix
{ stdenv, lib, writeScript, coreutils, gnutar, gzip, nix, gitMinimal, compiler-nix-name }:
|
|
|
|
with lib;
|
|
|
|
writeScript "check-path-supprot.sh" ''
|
|
#!${stdenv.shell}
|
|
|
|
set -euo pipefail
|
|
|
|
export PATH="${makeBinPath [ coreutils gnutar gzip nix gitMinimal ]}"
|
|
|
|
nix-build -E '((import ./. {}).pkgs.haskell-nix.cabalProject { compiler-nix-name = "${compiler-nix-name}"; src = ./test/cabal-simple; }).cabal-simple.components.library'
|
|
''
|