Skip to content

Commit

Permalink
Use root nixpkgs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed May 7, 2023
1 parent b131a1a commit ba16b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{inputs, flake-parts-lib, ...}: {
options.perSystem = mkPerSystemOption ({ pkgs, system, ... }: {
imports = [
"${(flake-parts-lib.findInputByOutPath ./. inputs).nixpkgs}/nixos/modules/misc/nixpkgs.nix"
"${inputs.nixpkgs or (flake-parts-lib.findInputByOutPath ./. inputs).nixpkgs}/nixos/modules/misc/nixpkgs.nix"
];
nixpkgs.hostPlatform = system;
});
Expand Down

0 comments on commit ba16b90

Please sign in to comment.