I have a reproducer:
clone this repo: https://github.com/shivaraj-bh/haskell-rust-ffi-template/tree/master
nix develop
just run
Now, update haskell-flake nix flake lock —update-input haskell-flake
and it fails with (while trying to enter the devshell):
error: attribute 'hello_rust' missing
Which is a setting : https://github.com/shivaraj-bh/haskell-rust-ffi-template/blob/1038ca8a87aae4e448bbd7ea6e1c41ee4e7acb2d/haskell/default.nix#L6-L8
I'll take a look later today. Actually, this may be related to the ordering of settings,
FTR,
• Updated input 'haskell-flake':
'github:srid/haskell-flake/f9d17c3aa68e65529f424816c8b9346ae602d1de' (2024-02-06)
→ 'github:srid/haskell-flake/5dcb739e9cc4e0edf5267de665fa7a905a543baa' (2024-03-27)
nixci build
=>
error: attribute 'hello_rust' missing
at /nix/store/lz0159maimglzlpd6gmn0f02047mmih0-source/nix/modules/project/settings/default.nix:75:20:
74| in
75| lib.pipe super.${name} (
| ^
76| # TODO: Do we care about the *order* of overrides?
Error: devour-flake failed to run (exited: 1)
Last updated: Nov 21 2024 at 08:50 UTC