Open sellout opened 9 months ago
This is just using the branch for NixOS/nix#8892. Merging that would make this issue redundant (once a new nix
is released).
Yeah that's elegant, for sure. However, having various versions of Nix is, IMHO, not the most practical ways of using it.
Yeah that's elegant, for sure. However, having various versions of Nix is, IMHO, not the most practical ways of using it.
Absolutely – this is just a workaround until 🤞🏼 NixOS/nix#8892 is merged. If there’s a better workaround, I’m open to it. I wanted to avoid using that branch as my default nix
to avoid any compatibility issues.
I tried
nix run github:DeterminateSystems/nix/flake-schemas -- flake show
, but that fails in the check phase. I got it integrated in my flake with a bit of jiggering:But that seems like more work than a user should have to do. Maybe it's as simple as fixing the PR and mentioning
nix run …
in the README, but something where users can trust their schemas are reasonable before pushing to FlakeHub would be great.