Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansi-wl-pprint build failing #1850

Closed
dhess opened this issue Feb 19, 2023 · 12 comments
Closed

ansi-wl-pprint build failing #1850

dhess opened this issue Feb 19, 2023 · 12 comments
Assignees

Comments

@dhess
Copy link
Contributor

dhess commented Feb 19, 2023

Hi,

Recently, ansi-wl-pprint started failing in our builds:

error: builder for '/nix/store/mqnf8ckk3kb3gznf87kdm6242d2hqbmm-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9.drv' failed with exit code 1;
--
  | last 10 log lines:
  | > setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file ansi-wl-pprint-0.6.9/src-exe/Example.hs
  | > patching sources
  | > updateAutotoolsGnuConfigScriptsPhase
  | > configuring
  | > Configure flags:
  | > --prefix=/nix/store/lfwljwyqqxykwc05zln9vchczbgvl7vr-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9 lib:ansi-wl-pprint --package-db=clear --package-db=/nix/store/0frk6mwwj64j2mbbmpq4fk6kmxc8qipm-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9-config/lib/ghc-9.0.2/package.conf.d --flags=-example --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-coverage --enable-library-for-ghci --datadir=/nix/store/x61azrig5axjcmz7ryilsf7a90y76j0n-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9-data/share/ghc-9.0.2 --ghc-option=-fPIC --gcc-option=-fPIC
  | > Configuring library for ansi-wl-pprint-0.6.9..
  | > Error: Setup: Encountered missing or private dependencies:
  | > ansi-terminal >=0.9.1 && <0.10
  | >
  | For full logs, run 'nix log /nix/store/mqnf8ckk3kb3gznf87kdm6242d2hqbmm-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9.drv'.
  | error: 1 dependencies of derivation '/nix/store/k7pj9pf90f4w735f78kvgw0ahsbimj7b-optparse-applicative-lib-optparse-applicative-0.16.1.0-config.drv' failed to build
  | error: 1 dependencies of derivation '/nix/store/lvch274zxyv2iyr8pfhhhicrg702d305-optparse-applicative-lib-optparse-applicative-0.16.1.0.drv' failed to build

The bounds on the ansi-terminal dependency that are causing the problem are from the original Hackage upload of ansi-wl-pprint, but the latest revision of ansi-wl-pprint has updated bounds, so I'm not sure why haskell.nix is picking up the original package.

Nothing has changed on our end. I've tried ghc925 and now ghc926.

Any ideas?

@andreabedini
Copy link
Member

andreabedini commented Feb 20, 2023

I tried to reproduce the problem but haskell.nix master seems to be able to build ansi-terminal without any problem.

E.g.

$ mkdir test && cd test
$ cabal init -n -m -d ansi-wl-pprint
$ nix run github:input-output-hk/haskell.nix#hix-build -- --argstr compiler-nix-name ghc925
... bla bla ...

Few thoughts:

  • Are you setting a index-state somewhere? either in nix or in cabal.project. Haskell.nix should log what index state it is using, like
Using index-state 2023-02-20T00:00:00Z
  • If your Haskell.nix is not recent enough to include the revision you are interested in, you need to either bump haskell.nix or override its hackage source.
  • Haskell.nix has recently got a more robust support for revisions, one more reason to try to bump haskell.nix.

Let me know how you go!

PS: in case you don't have any custom nix configuration, you can build your cabal project with the latest version of haskell.nix using nix run github:input-output-hk/haskell.nix#hix-build -- --argstr compiler-nix-name ghc925.

@dhess
Copy link
Contributor Author

dhess commented Feb 20, 2023

Thanks for the reply. We're using yesterday's haskell.nix (9a06294) and index-state: 2023-02-19T00:00:00Z. In any case, the last revision of ansi-wl-pprint-0.6.9 is from well over a year ago and the revision that bumped the ansi-terminal bounds is from 2020-08. This has only started happening with the last few weeks' haskell.nix, by the way.

Is there a way to force haskell.nix to rebuild/rematerialize a particular package? If our ansi-wl-pprint is cached and is an older rev, that might explain it. I think this occasionally happens with nixpkgs haskellPackages.

@andreabedini
Copy link
Member

Could you check it you still have the problem using 0d3dea7 ? That would be right before we merged #1775.

Also, could you share the complete log message (of the failing derivation)?

@dhess
Copy link
Contributor Author

dhess commented Feb 20, 2023

Sorry if I've been unclear, or if I'm misunderstanding. We've been using haskell.nix for several years with this particular project. Our use of ansi-wl-pprint (via optparse-applicative) predates 0d3dea7. This issue has only come up since upgrading from 78aed6a, which works fine with index-state: 2023-02-02T00:00:00Z.

Sorry, my mistake. I see that 0d3dea7 is recent. I was confused by the date on #1775.

I'll try this and get back to you.

@dhess
Copy link
Contributor Author

dhess commented Feb 20, 2023

OK, yes, the problem is with 7075077.

On 0d3dea7 with ghc925 and index-state: 2023-02-08T00:00:00Z, the build works.

On 7075077 and with no other changes, the build fails on ansi-wl-pprint. The full log for the failing derivation is:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/swvami08dvmv9ph62r565xsw8446n2il-ansi-wl-pprint-0.6.9.tar.gz
source root is ansi-wl-pprint-0.6.9
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file ansi-wl-pprint-0.6.9/src-exe/Example.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
Configure flags:
--prefix=/nix/store/kzgrnj7spnj7g49v3vyxc60lcvbkngg1-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9 lib:ansi-wl-pprint --package-db=clear --package-db=/nix/store/g3hnccsdd2dirrrwpazchhmhif4gcsy9-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9-config/lib/ghc-9.0.2/package.conf.d --flags=-example --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-coverage --enable-library-for-ghci --datadir=/nix/store/1856bbq0jiw0601dyp125d51smi2x53f-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9-data/share/ghc-9.0.2 --ghc-option=-fPIC --gcc-option=-fPIC 
Configuring library for ansi-wl-pprint-0.6.9..
Error: Setup: Encountered missing or private dependencies:
ansi-terminal >=0.9.1 && <0.10

ansi-wl-pprint is being dragged into our project via optparse-applicative, so that might be a good place to start.

@angerman
Copy link
Collaborator

@dhess any chance you have a reproducer for this?

@dhess
Copy link
Contributor Author

dhess commented Feb 22, 2023

@angerman Not at the moment. The repo will be public sometime in the next few months but we're not quite ready for that yet. I'll try to put something together that I can share in the meantime.

@angerman
Copy link
Collaborator

@angerman Not at the moment. The repo will be public sometime in the next few months but we're not quite ready for that yet. I'll try to put something together that I can share in the meantime.

Great! We haven't been able to reproduce this yet. We are probably holding it wrong somehow :-(

@brprice
Copy link

brprice commented Feb 22, 2023

We now have a reproducer we can share: https://github.com/hackworthltd/repro-haskell.nix-1850. Running nix build .#repro:test:repro-test fails in the same way as above.

It does not appear to be a problem with ansi-wl-pprint itself, but with revisions generally (I have seen similar failures for the unix package). It also appears to be a bad interaction with our workaround for #839:
if the following line in flake.nix is commented out packages.repro.components.tests.repro-test.build-tools = [ final.haskell-nix.snapshots."lts-19.9".tasty-discover ]; then nix builds work fine, but cabal builds in a nix-develop shell cannot find tasty-discover. (Using a newer snapshot does not fix the problem.)

I have not yet attempted to minimise the reproducer. Let me know if that would be helpful and I'll try to find some time to do so.

@hamishmack
Copy link
Collaborator

Please try:

packages.repro.components.tests.repro-test.build-tools = [ (final.haskell-nix.tool ghcVersion "tasty-discover" {}) ];

@andreabedini
Copy link
Member

@brprice @dhess Thank you. The reprocible example let us understood exactly where the problem was (#1775 broke stackage 😬 🙀 ). Hamish workaround above should fix the problem for you. Let us know whether this is the case. I'll open a separate issue for the problem we have discovered.

dhess pushed a commit to hackworthltd/primer that referenced this issue Feb 23, 2023
Also, add a fix for
input-output-hk/haskell.nix#1850 which has
kept this commit from building for the past few weeks.

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/bf53492df08f3178ce85e0c9df8ed8d03c030c9f' (2023-02-01)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'haskell-nix':
    'github:input-output-hk/haskell.nix/78aed6a7b53aa824cadae67c2ec4b8c75ea008f8' (2023-02-04)
  → 'github:input-output-hk/haskell.nix/9bc8625f18ed1aa633f5f3a52ee03d1718eaeebe' (2023-02-23)
• Updated input 'haskell-nix/cabal-34':
    'github:haskell/cabal/942639c18c0cd8ec53e0a6f8d120091af35312cd' (2021-12-24)
  → 'github:haskell/cabal/5ff598c67f53f7c4f48e31d722ba37172230c462' (2022-02-26)
• Updated input 'haskell-nix/cabal-36':
    'github:haskell/cabal/f27667f8ec360c475027dcaee0138c937477b070' (2022-01-08)
  → 'github:haskell/cabal/8fd619e33d34924a94e691c5fea2c42f0fc7f144' (2022-11-22)
• Updated input 'haskell-nix/flake-utils':
    'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
  → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
• Updated input 'haskell-nix/hackage':
    'github:input-output-hk/hackage.nix/19988e9964a2d9192f8cb05537fc96f0ce591c73' (2023-02-04)
  → 'github:input-output-hk/hackage.nix/897c1249791993dec81a293f54c59fb2c9b68f17' (2023-02-23)
• Updated input 'haskell-nix/hydra':
    'github:NixOS/hydra/28b682b85b7efc5cf7974065792a1f22203a5927' (2022-03-10)
  → 'github:NixOS/hydra/f48f00ee6d5727ae3e488cbf9ce157460853fea8' (2022-12-23)
• Updated input 'haskell-nix/hydra/nix':
    'github:NixOS/nix/a1cd7e58606a41fcf62bf8637804cf8306f17f62' (2022-01-24)
  → 'github:NixOS/nix/11e45768b34fdafdcf019ddbd337afa16127ff0f' (2022-08-27)
• Updated input 'haskell-nix/hydra/nix/nixpkgs':
    'github:NixOS/nixpkgs/82891b5e2c2359d7e58d08849e4c89511ab94234' (2021-09-28)
  → 'github:NixOS/nixpkgs/365e1b3a859281cf11b94f87231adeabbdd878a2' (2022-07-13)
• Updated input 'haskell-nix/nixpkgs-2205':
    'github:NixOS/nixpkgs/309faedb8338d3ae8ad8f1043b3ccf48c9cc2970' (2022-09-24)
  → 'github:NixOS/nixpkgs/0874168639713f547c05947c76124f78441ea46c' (2023-01-01)
• Updated input 'haskell-nix/nixpkgs-2211':
    'github:NixOS/nixpkgs/6f87491a54d8d64d30af6663cb3bf5d2ee7db958' (2022-12-02)
  → 'github:NixOS/nixpkgs/b7ce17b1ebf600a72178f6302c77b6382d09323f' (2023-02-07)
• Updated input 'haskell-nix/nixpkgs-unstable':
    'github:NixOS/nixpkgs/e14f9fb57315f0d4abde222364f19f88c77d2b79' (2022-09-23)
  → 'github:NixOS/nixpkgs/747927516efcb5e31ba03b7ff32f61f6d47e7d87' (2023-02-07)
• Updated input 'haskell-nix/stackage':
    'github:input-output-hk/stackage.nix/15d23950aec4a0cd4358a69d6cdfda2f031e444a' (2023-02-03)
  → 'github:input-output-hk/stackage.nix/fcc80ab92acab030d0c7e7da0dacf0edd78af48e' (2023-02-15)
• Updated input 'haskell-nix/tullia':
    'github:input-output-hk/tullia/ead1f515c251f0e060060ef0e2356a51d3dfe4b0' (2022-11-17)
  → 'github:input-output-hk/tullia/621365f2c725608f381b3ad5b57afef389fd4c31' (2023-02-06)
• Updated input 'haskell-nix/tullia/std':
    'github:divnix/std/94a90eedb9cfc115b12ae8f6622d9904788559e4' (2022-10-11)
  → 'github:divnix/std/516387e3d8d059b50e742a2ff1909ed3c8f82826' (2023-01-24)
• Added input 'haskell-nix/tullia/std/arion':
    follows 'haskell-nix/tullia/std/blank'
• Added input 'haskell-nix/tullia/std/incl':
    'github:divnix/incl/ce7bebaee048e4cd7ebdb4cee7885e00c4e2abca' (2022-11-24)
• Added input 'haskell-nix/tullia/std/incl/nixlib':
    follows 'haskell-nix/tullia/std/nixpkgs'
• Removed input 'haskell-nix/tullia/std/mdbook-kroki-preprocessor'
• Updated input 'haskell-nix/tullia/std/n2c/flake-utils':
    'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
  → follows 'haskell-nix/tullia/std/flake-utils'
• Added input 'haskell-nix/tullia/std/nosys':
    'github:divnix/nosys/2d0d5207f6a230e9d0f660903f8db9807b54814f' (2022-11-08)
• Updated input 'haskell-nix/tullia/std/yants':
    'github:divnix/yants/0b895ca02a8fa72bad50b454cb3e7d8a66407c96' (2022-08-14)
  → 'github:divnix/yants/d18f356ec25cb94dc9c275870c3a7927a10f8c3c' (2022-10-30)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/5668d079583a5b594cb4e0cc0e6d84f1b93da7ae' (2023-02-02)
  → 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
@dhess
Copy link
Contributor Author

dhess commented Feb 23, 2023

Hi all, I can confirm that @hamishmack's fix does the trick for us — everything is building again.

FYI, there was no good reason we were using Stackage snapshots for this in the first place, and we'll now stick with this fix until #839 is resolved. In any case, we're good to go now and there's no urgency to fix the Stackage issue in #1857 on our behalf.

Thank you for all the help, everyone! And thanks again for this fantastic project.

@dhess dhess closed this as completed Feb 23, 2023
dhess pushed a commit to hackworthltd/primer that referenced this issue Feb 23, 2023
Additionally:

* Unpin hacknix, as haskell.nix now uses a compatible
`nixpkgs-unstable` pin.

* Undo the `hostPkgs` hack/workaround that was needed for
dfc4ca1.

* add a fix for
input-output-hk/haskell.nix#1850 which has
kept this commit from building for the past few weeks.

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/bf53492df08f3178ce85e0c9df8ed8d03c030c9f' (2023-02-01)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'haskell-nix':
    'github:input-output-hk/haskell.nix/78aed6a7b53aa824cadae67c2ec4b8c75ea008f8' (2023-02-04)
  → 'github:input-output-hk/haskell.nix/9bc8625f18ed1aa633f5f3a52ee03d1718eaeebe' (2023-02-23)
• Updated input 'haskell-nix/cabal-34':
    'github:haskell/cabal/942639c18c0cd8ec53e0a6f8d120091af35312cd' (2021-12-24)
  → 'github:haskell/cabal/5ff598c67f53f7c4f48e31d722ba37172230c462' (2022-02-26)
• Updated input 'haskell-nix/cabal-36':
    'github:haskell/cabal/f27667f8ec360c475027dcaee0138c937477b070' (2022-01-08)
  → 'github:haskell/cabal/8fd619e33d34924a94e691c5fea2c42f0fc7f144' (2022-11-22)
• Updated input 'haskell-nix/flake-utils':
    'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
  → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
• Updated input 'haskell-nix/hackage':
    'github:input-output-hk/hackage.nix/19988e9964a2d9192f8cb05537fc96f0ce591c73' (2023-02-04)
  → 'github:input-output-hk/hackage.nix/897c1249791993dec81a293f54c59fb2c9b68f17' (2023-02-23)
• Updated input 'haskell-nix/hydra':
    'github:NixOS/hydra/28b682b85b7efc5cf7974065792a1f22203a5927' (2022-03-10)
  → 'github:NixOS/hydra/f48f00ee6d5727ae3e488cbf9ce157460853fea8' (2022-12-23)
• Updated input 'haskell-nix/hydra/nix':
    'github:NixOS/nix/a1cd7e58606a41fcf62bf8637804cf8306f17f62' (2022-01-24)
  → 'github:NixOS/nix/11e45768b34fdafdcf019ddbd337afa16127ff0f' (2022-08-27)
• Updated input 'haskell-nix/hydra/nix/nixpkgs':
    'github:NixOS/nixpkgs/82891b5e2c2359d7e58d08849e4c89511ab94234' (2021-09-28)
  → 'github:NixOS/nixpkgs/365e1b3a859281cf11b94f87231adeabbdd878a2' (2022-07-13)
• Updated input 'haskell-nix/nixpkgs-2205':
    'github:NixOS/nixpkgs/309faedb8338d3ae8ad8f1043b3ccf48c9cc2970' (2022-09-24)
  → 'github:NixOS/nixpkgs/0874168639713f547c05947c76124f78441ea46c' (2023-01-01)
• Updated input 'haskell-nix/nixpkgs-2211':
    'github:NixOS/nixpkgs/6f87491a54d8d64d30af6663cb3bf5d2ee7db958' (2022-12-02)
  → 'github:NixOS/nixpkgs/b7ce17b1ebf600a72178f6302c77b6382d09323f' (2023-02-07)
• Updated input 'haskell-nix/nixpkgs-unstable':
    'github:NixOS/nixpkgs/e14f9fb57315f0d4abde222364f19f88c77d2b79' (2022-09-23)
  → 'github:NixOS/nixpkgs/747927516efcb5e31ba03b7ff32f61f6d47e7d87' (2023-02-07)
• Updated input 'haskell-nix/stackage':
    'github:input-output-hk/stackage.nix/15d23950aec4a0cd4358a69d6cdfda2f031e444a' (2023-02-03)
  → 'github:input-output-hk/stackage.nix/fcc80ab92acab030d0c7e7da0dacf0edd78af48e' (2023-02-15)
• Updated input 'haskell-nix/tullia':
    'github:input-output-hk/tullia/ead1f515c251f0e060060ef0e2356a51d3dfe4b0' (2022-11-17)
  → 'github:input-output-hk/tullia/621365f2c725608f381b3ad5b57afef389fd4c31' (2023-02-06)
• Updated input 'haskell-nix/tullia/std':
    'github:divnix/std/94a90eedb9cfc115b12ae8f6622d9904788559e4' (2022-10-11)
  → 'github:divnix/std/516387e3d8d059b50e742a2ff1909ed3c8f82826' (2023-01-24)
• Added input 'haskell-nix/tullia/std/arion':
    follows 'haskell-nix/tullia/std/blank'
• Added input 'haskell-nix/tullia/std/incl':
    'github:divnix/incl/ce7bebaee048e4cd7ebdb4cee7885e00c4e2abca' (2022-11-24)
• Added input 'haskell-nix/tullia/std/incl/nixlib':
    follows 'haskell-nix/tullia/std/nixpkgs'
• Removed input 'haskell-nix/tullia/std/mdbook-kroki-preprocessor'
• Updated input 'haskell-nix/tullia/std/n2c/flake-utils':
    'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
  → follows 'haskell-nix/tullia/std/flake-utils'
• Added input 'haskell-nix/tullia/std/nosys':
    'github:divnix/nosys/2d0d5207f6a230e9d0f660903f8db9807b54814f' (2022-11-08)
• Updated input 'haskell-nix/tullia/std/yants':
    'github:divnix/yants/0b895ca02a8fa72bad50b454cb3e7d8a66407c96' (2022-08-14)
  → 'github:divnix/yants/d18f356ec25cb94dc9c275870c3a7927a10f8c3c' (2022-10-30)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/5668d079583a5b594cb4e0cc0e6d84f1b93da7ae' (2023-02-02)
  → 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
• Updated input 'hacknix':
    'github:hackworthltd/hacknix/a7f4ac0d42c185d753ed4ad193876da08e0e2a03' (2023-01-22)
  → 'github:hackworthltd/hacknix/eb135774c0462efaf86d72458485c61f57ca873f' (2023-02-17)
• Updated input 'hacknix/flake-parts':
    'github:hercules-ci/flake-parts/82c16f1682cf50c01cb0280b38a1eed202b3fe9f' (2023-01-10)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'hacknix/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6?dir=lib' (2022-12-29)
  → 'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
• Updated input 'hacknix/nixos-generators':
    'github:nix-community/nixos-generators/30516cb2b01896e14ce66893e414b6e3eec71cac' (2023-01-02)
  → 'github:nix-community/nixos-generators/1e0a05219f2a557d4622bc38f542abb360518795' (2023-02-13)
• Updated input 'hacknix/nixpkgs':
    'github:NixOS/nixpkgs/cfb43ad7b941d9c3606fb35d91228da7ebddbfc5' (2023-01-20)
  → 'github:NixOS/nixpkgs/8c66bd1b68f4708c90dcc97c6f7052a5a7b33257' (2023-02-16)
• Updated input 'hacknix/pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/53e766957b73298fa68b47478c48cbcc005cc18a' (2023-01-19)
  → 'github:cachix/pre-commit-hooks.nix/5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798' (2023-02-16)
• Updated input 'hacknix/sops-nix':
    'github:Mic92/sops-nix/51fdbd2d6fc2a7ba318e823a12609276bcc4dbe9' (2023-01-22)
  → 'github:Mic92/sops-nix/c5dab21d8706afc7ceb05c23d4244dcb48d6aade' (2023-02-12)
• Updated input 'hacknix/sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/918b760070bb8f48cb511300fcd7e02e13058a2e' (2023-01-22)
  → 'github:NixOS/nixpkgs/d863ca850a06d91365c01620dcac342574ecf46f' (2023-02-12)
dhess pushed a commit to hackworthltd/primer that referenced this issue Feb 23, 2023
Additionally:

* Unpin hacknix, as haskell.nix now uses a compatible
`nixpkgs-unstable` pin.

* Undo the `hostPkgs` hack/workaround that was needed for
dfc4ca1.

* add a fix for
input-output-hk/haskell.nix#1850 which has
kept this commit from building for the past few weeks.

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/bf53492df08f3178ce85e0c9df8ed8d03c030c9f' (2023-02-01)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'haskell-nix':
    'github:input-output-hk/haskell.nix/78aed6a7b53aa824cadae67c2ec4b8c75ea008f8' (2023-02-04)
  → 'github:input-output-hk/haskell.nix/9bc8625f18ed1aa633f5f3a52ee03d1718eaeebe' (2023-02-23)
• Updated input 'haskell-nix/cabal-34':
    'github:haskell/cabal/942639c18c0cd8ec53e0a6f8d120091af35312cd' (2021-12-24)
  → 'github:haskell/cabal/5ff598c67f53f7c4f48e31d722ba37172230c462' (2022-02-26)
• Updated input 'haskell-nix/cabal-36':
    'github:haskell/cabal/f27667f8ec360c475027dcaee0138c937477b070' (2022-01-08)
  → 'github:haskell/cabal/8fd619e33d34924a94e691c5fea2c42f0fc7f144' (2022-11-22)
• Updated input 'haskell-nix/flake-utils':
    'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
  → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
• Updated input 'haskell-nix/hackage':
    'github:input-output-hk/hackage.nix/19988e9964a2d9192f8cb05537fc96f0ce591c73' (2023-02-04)
  → 'github:input-output-hk/hackage.nix/897c1249791993dec81a293f54c59fb2c9b68f17' (2023-02-23)
• Updated input 'haskell-nix/hydra':
    'github:NixOS/hydra/28b682b85b7efc5cf7974065792a1f22203a5927' (2022-03-10)
  → 'github:NixOS/hydra/f48f00ee6d5727ae3e488cbf9ce157460853fea8' (2022-12-23)
• Updated input 'haskell-nix/hydra/nix':
    'github:NixOS/nix/a1cd7e58606a41fcf62bf8637804cf8306f17f62' (2022-01-24)
  → 'github:NixOS/nix/11e45768b34fdafdcf019ddbd337afa16127ff0f' (2022-08-27)
• Updated input 'haskell-nix/hydra/nix/nixpkgs':
    'github:NixOS/nixpkgs/82891b5e2c2359d7e58d08849e4c89511ab94234' (2021-09-28)
  → 'github:NixOS/nixpkgs/365e1b3a859281cf11b94f87231adeabbdd878a2' (2022-07-13)
• Updated input 'haskell-nix/nixpkgs-2205':
    'github:NixOS/nixpkgs/309faedb8338d3ae8ad8f1043b3ccf48c9cc2970' (2022-09-24)
  → 'github:NixOS/nixpkgs/0874168639713f547c05947c76124f78441ea46c' (2023-01-01)
• Updated input 'haskell-nix/nixpkgs-2211':
    'github:NixOS/nixpkgs/6f87491a54d8d64d30af6663cb3bf5d2ee7db958' (2022-12-02)
  → 'github:NixOS/nixpkgs/b7ce17b1ebf600a72178f6302c77b6382d09323f' (2023-02-07)
• Updated input 'haskell-nix/nixpkgs-unstable':
    'github:NixOS/nixpkgs/e14f9fb57315f0d4abde222364f19f88c77d2b79' (2022-09-23)
  → 'github:NixOS/nixpkgs/747927516efcb5e31ba03b7ff32f61f6d47e7d87' (2023-02-07)
• Updated input 'haskell-nix/stackage':
    'github:input-output-hk/stackage.nix/15d23950aec4a0cd4358a69d6cdfda2f031e444a' (2023-02-03)
  → 'github:input-output-hk/stackage.nix/fcc80ab92acab030d0c7e7da0dacf0edd78af48e' (2023-02-15)
• Updated input 'haskell-nix/tullia':
    'github:input-output-hk/tullia/ead1f515c251f0e060060ef0e2356a51d3dfe4b0' (2022-11-17)
  → 'github:input-output-hk/tullia/621365f2c725608f381b3ad5b57afef389fd4c31' (2023-02-06)
• Updated input 'haskell-nix/tullia/std':
    'github:divnix/std/94a90eedb9cfc115b12ae8f6622d9904788559e4' (2022-10-11)
  → 'github:divnix/std/516387e3d8d059b50e742a2ff1909ed3c8f82826' (2023-01-24)
• Added input 'haskell-nix/tullia/std/arion':
    follows 'haskell-nix/tullia/std/blank'
• Added input 'haskell-nix/tullia/std/incl':
    'github:divnix/incl/ce7bebaee048e4cd7ebdb4cee7885e00c4e2abca' (2022-11-24)
• Added input 'haskell-nix/tullia/std/incl/nixlib':
    follows 'haskell-nix/tullia/std/nixpkgs'
• Removed input 'haskell-nix/tullia/std/mdbook-kroki-preprocessor'
• Updated input 'haskell-nix/tullia/std/n2c/flake-utils':
    'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
  → follows 'haskell-nix/tullia/std/flake-utils'
• Added input 'haskell-nix/tullia/std/nosys':
    'github:divnix/nosys/2d0d5207f6a230e9d0f660903f8db9807b54814f' (2022-11-08)
• Updated input 'haskell-nix/tullia/std/yants':
    'github:divnix/yants/0b895ca02a8fa72bad50b454cb3e7d8a66407c96' (2022-08-14)
  → 'github:divnix/yants/d18f356ec25cb94dc9c275870c3a7927a10f8c3c' (2022-10-30)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/5668d079583a5b594cb4e0cc0e6d84f1b93da7ae' (2023-02-02)
  → 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
• Updated input 'hacknix':
    'github:hackworthltd/hacknix/a7f4ac0d42c185d753ed4ad193876da08e0e2a03' (2023-01-22)
  → 'github:hackworthltd/hacknix/eb135774c0462efaf86d72458485c61f57ca873f' (2023-02-17)
• Updated input 'hacknix/flake-parts':
    'github:hercules-ci/flake-parts/82c16f1682cf50c01cb0280b38a1eed202b3fe9f' (2023-01-10)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'hacknix/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6?dir=lib' (2022-12-29)
  → 'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
• Updated input 'hacknix/nixos-generators':
    'github:nix-community/nixos-generators/30516cb2b01896e14ce66893e414b6e3eec71cac' (2023-01-02)
  → 'github:nix-community/nixos-generators/1e0a05219f2a557d4622bc38f542abb360518795' (2023-02-13)
• Updated input 'hacknix/nixpkgs':
    'github:NixOS/nixpkgs/cfb43ad7b941d9c3606fb35d91228da7ebddbfc5' (2023-01-20)
  → 'github:NixOS/nixpkgs/8c66bd1b68f4708c90dcc97c6f7052a5a7b33257' (2023-02-16)
• Updated input 'hacknix/pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/53e766957b73298fa68b47478c48cbcc005cc18a' (2023-01-19)
  → 'github:cachix/pre-commit-hooks.nix/5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798' (2023-02-16)
• Updated input 'hacknix/sops-nix':
    'github:Mic92/sops-nix/51fdbd2d6fc2a7ba318e823a12609276bcc4dbe9' (2023-01-22)
  → 'github:Mic92/sops-nix/c5dab21d8706afc7ceb05c23d4244dcb48d6aade' (2023-02-12)
• Updated input 'hacknix/sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/918b760070bb8f48cb511300fcd7e02e13058a2e' (2023-01-22)
  → 'github:NixOS/nixpkgs/d863ca850a06d91365c01620dcac342574ecf46f' (2023-02-12)
dhess pushed a commit to hackworthltd/primer that referenced this issue Feb 23, 2023
Additionally:

* Unpin hacknix, as haskell.nix now uses a compatible
`nixpkgs-unstable` pin.

* Undo the `hostPkgs` hack/workaround that was needed for
dfc4ca1.

* add a fix for
input-output-hk/haskell.nix#1850 which has
kept this commit from building for the past few weeks.

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/bf53492df08f3178ce85e0c9df8ed8d03c030c9f' (2023-02-01)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'haskell-nix':
    'github:input-output-hk/haskell.nix/78aed6a7b53aa824cadae67c2ec4b8c75ea008f8' (2023-02-04)
  → 'github:input-output-hk/haskell.nix/9bc8625f18ed1aa633f5f3a52ee03d1718eaeebe' (2023-02-23)
• Updated input 'haskell-nix/cabal-34':
    'github:haskell/cabal/942639c18c0cd8ec53e0a6f8d120091af35312cd' (2021-12-24)
  → 'github:haskell/cabal/5ff598c67f53f7c4f48e31d722ba37172230c462' (2022-02-26)
• Updated input 'haskell-nix/cabal-36':
    'github:haskell/cabal/f27667f8ec360c475027dcaee0138c937477b070' (2022-01-08)
  → 'github:haskell/cabal/8fd619e33d34924a94e691c5fea2c42f0fc7f144' (2022-11-22)
• Updated input 'haskell-nix/flake-utils':
    'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
  → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
• Updated input 'haskell-nix/hackage':
    'github:input-output-hk/hackage.nix/19988e9964a2d9192f8cb05537fc96f0ce591c73' (2023-02-04)
  → 'github:input-output-hk/hackage.nix/897c1249791993dec81a293f54c59fb2c9b68f17' (2023-02-23)
• Updated input 'haskell-nix/hydra':
    'github:NixOS/hydra/28b682b85b7efc5cf7974065792a1f22203a5927' (2022-03-10)
  → 'github:NixOS/hydra/f48f00ee6d5727ae3e488cbf9ce157460853fea8' (2022-12-23)
• Updated input 'haskell-nix/hydra/nix':
    'github:NixOS/nix/a1cd7e58606a41fcf62bf8637804cf8306f17f62' (2022-01-24)
  → 'github:NixOS/nix/11e45768b34fdafdcf019ddbd337afa16127ff0f' (2022-08-27)
• Updated input 'haskell-nix/hydra/nix/nixpkgs':
    'github:NixOS/nixpkgs/82891b5e2c2359d7e58d08849e4c89511ab94234' (2021-09-28)
  → 'github:NixOS/nixpkgs/365e1b3a859281cf11b94f87231adeabbdd878a2' (2022-07-13)
• Updated input 'haskell-nix/nixpkgs-2205':
    'github:NixOS/nixpkgs/309faedb8338d3ae8ad8f1043b3ccf48c9cc2970' (2022-09-24)
  → 'github:NixOS/nixpkgs/0874168639713f547c05947c76124f78441ea46c' (2023-01-01)
• Updated input 'haskell-nix/nixpkgs-2211':
    'github:NixOS/nixpkgs/6f87491a54d8d64d30af6663cb3bf5d2ee7db958' (2022-12-02)
  → 'github:NixOS/nixpkgs/b7ce17b1ebf600a72178f6302c77b6382d09323f' (2023-02-07)
• Updated input 'haskell-nix/nixpkgs-unstable':
    'github:NixOS/nixpkgs/e14f9fb57315f0d4abde222364f19f88c77d2b79' (2022-09-23)
  → 'github:NixOS/nixpkgs/747927516efcb5e31ba03b7ff32f61f6d47e7d87' (2023-02-07)
• Updated input 'haskell-nix/stackage':
    'github:input-output-hk/stackage.nix/15d23950aec4a0cd4358a69d6cdfda2f031e444a' (2023-02-03)
  → 'github:input-output-hk/stackage.nix/fcc80ab92acab030d0c7e7da0dacf0edd78af48e' (2023-02-15)
• Updated input 'haskell-nix/tullia':
    'github:input-output-hk/tullia/ead1f515c251f0e060060ef0e2356a51d3dfe4b0' (2022-11-17)
  → 'github:input-output-hk/tullia/621365f2c725608f381b3ad5b57afef389fd4c31' (2023-02-06)
• Updated input 'haskell-nix/tullia/std':
    'github:divnix/std/94a90eedb9cfc115b12ae8f6622d9904788559e4' (2022-10-11)
  → 'github:divnix/std/516387e3d8d059b50e742a2ff1909ed3c8f82826' (2023-01-24)
• Added input 'haskell-nix/tullia/std/arion':
    follows 'haskell-nix/tullia/std/blank'
• Added input 'haskell-nix/tullia/std/incl':
    'github:divnix/incl/ce7bebaee048e4cd7ebdb4cee7885e00c4e2abca' (2022-11-24)
• Added input 'haskell-nix/tullia/std/incl/nixlib':
    follows 'haskell-nix/tullia/std/nixpkgs'
• Removed input 'haskell-nix/tullia/std/mdbook-kroki-preprocessor'
• Updated input 'haskell-nix/tullia/std/n2c/flake-utils':
    'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
  → follows 'haskell-nix/tullia/std/flake-utils'
• Added input 'haskell-nix/tullia/std/nosys':
    'github:divnix/nosys/2d0d5207f6a230e9d0f660903f8db9807b54814f' (2022-11-08)
• Updated input 'haskell-nix/tullia/std/yants':
    'github:divnix/yants/0b895ca02a8fa72bad50b454cb3e7d8a66407c96' (2022-08-14)
  → 'github:divnix/yants/d18f356ec25cb94dc9c275870c3a7927a10f8c3c' (2022-10-30)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/5668d079583a5b594cb4e0cc0e6d84f1b93da7ae' (2023-02-02)
  → 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
• Updated input 'hacknix':
    'github:hackworthltd/hacknix/a7f4ac0d42c185d753ed4ad193876da08e0e2a03' (2023-01-22)
  → 'github:hackworthltd/hacknix/eb135774c0462efaf86d72458485c61f57ca873f' (2023-02-17)
• Updated input 'hacknix/flake-parts':
    'github:hercules-ci/flake-parts/82c16f1682cf50c01cb0280b38a1eed202b3fe9f' (2023-01-10)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'hacknix/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6?dir=lib' (2022-12-29)
  → 'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
• Updated input 'hacknix/nixos-generators':
    'github:nix-community/nixos-generators/30516cb2b01896e14ce66893e414b6e3eec71cac' (2023-01-02)
  → 'github:nix-community/nixos-generators/1e0a05219f2a557d4622bc38f542abb360518795' (2023-02-13)
• Updated input 'hacknix/nixpkgs':
    'github:NixOS/nixpkgs/cfb43ad7b941d9c3606fb35d91228da7ebddbfc5' (2023-01-20)
  → 'github:NixOS/nixpkgs/8c66bd1b68f4708c90dcc97c6f7052a5a7b33257' (2023-02-16)
• Updated input 'hacknix/pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/53e766957b73298fa68b47478c48cbcc005cc18a' (2023-01-19)
  → 'github:cachix/pre-commit-hooks.nix/5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798' (2023-02-16)
• Updated input 'hacknix/sops-nix':
    'github:Mic92/sops-nix/51fdbd2d6fc2a7ba318e823a12609276bcc4dbe9' (2023-01-22)
  → 'github:Mic92/sops-nix/c5dab21d8706afc7ceb05c23d4244dcb48d6aade' (2023-02-12)
• Updated input 'hacknix/sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/918b760070bb8f48cb511300fcd7e02e13058a2e' (2023-01-22)
  → 'github:NixOS/nixpkgs/d863ca850a06d91365c01620dcac342574ecf46f' (2023-02-12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants