Skip to content

Commit

Permalink
Use inputs.nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed May 7, 2023
1 parent 84986d2 commit b1264a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -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;
});
Expand Down

0 comments on commit b1264a2

Please sign in to comment.