nmattia / niv

Easy dependency management for Nix projects
https://github.com/nmattia/niv
MIT License
1.55k stars 77 forks source link

sources.nix: bootstrap with a custom system #270

Closed zimbatm closed 4 years ago

zimbatm commented 4 years ago

When combining Nix Flakes with niv, builtins.currentSystem is disabled. This allows to bootstrap nixpkgs by passing the system from the flake evaluation.

nmattia commented 4 years ago

Thanks!