ormolu/shell.nix
zimbatm 0b92af2a7f nix: allow to pass the system attribute
This allows to build ormolu for another system as the machine's,
combined with Nix remote builders. It is also useful in a context of a
pure evaluation (like Flakes).
2020-08-21 14:51:37 +02:00

6 lines
147 B
Nix

{ pkgs ? (import ./nix/nixpkgs { inherit system; })
, system ? builtins.currentSystem
}:
(import ./default.nix { inherit pkgs; }).dev.ormoluShell