You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I plan to update this issue with more context, but basically my goal was to use the nixbuild.net remote builder to generate and backup build artifacts to cachix for aarch64-linux and aarch64-darwin daily.
The issue is that nixbuild.net runs nix flake check and my first roadblock was because of IFD's and nix flake check not working well (related: #1097 and NixOS/nix#4265).
I tried to disable checks since they aren't explicitly necessary for this here, but perhaps I just did that wrong and need to explore more here.
Ideally I'd be able to get the checks to work though, since in my future projects soon I will want to use nix flake check and have a working nix flake show.
This is not entirely true. nix flake show only evaluates a few attributes of the derivation (name, type) in order to list it. Therefore the issue can be fixed by constructing a derivation which does not draw name and type from an IFD operation.
I plan to update this issue with more context, but basically my goal was to use the nixbuild.net remote builder to generate and backup build artifacts to cachix for aarch64-linux and aarch64-darwin daily.
The issue is that nixbuild.net runs
nix flake check
and my first roadblock was because of IFD's and nix flake check not working well (related: #1097 and NixOS/nix#4265).I tried to disable checks since they aren't explicitly necessary for this here, but perhaps I just did that wrong and need to explore more here.
Ideally I'd be able to get the checks to work though, since in my future projects soon I will want to use
nix flake check
and have a workingnix flake show
.Perhaps this comment about makign IFDs compatible with nix-flake check haskell.nix can generally fix
nix flake show
with the information posted recently in this comment. Here's a snippet from that comment:Finally here is my repo attempting this:
https://github.com/ParetoOptimalDev/test-haskell-nix-template/
Here are the github actions failures which have the commits linked showing changes I tried from workarounds in linked issues:
https://github.com/ParetoOptimalDev/test-haskell-nix-template/actions
The text was updated successfully, but these errors were encountered: