mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-31 04:04:55 +00:00
Use inputs.nixpkgs
This commit is contained in:
parent
84986d2b88
commit
b1264a2255
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{inputs, flake-parts-lib, ...}: {
|
||||
{inputs, ...}: {
|
||||
options.perSystem = mkPerSystemOption ({ pkgs, system, ... }: {
|
||||
imports = [
|
||||
"${inputs.nixpkgs or (flake-parts-lib.findInputByOutPath ./. inputs).nixpkgs}/nixos/modules/misc/nixpkgs.nix"
|
||||
"${inputs.nixpkgs}/nixos/modules/misc/nixpkgs.nix"
|
||||
];
|
||||
nixpkgs.hostPlatform = system;
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue