Skip to content

Commit

Permalink
remove relative path input
Browse files Browse the repository at this point in the history
  • Loading branch information
elikoga committed Nov 2, 2023
1 parent 434df54 commit 8e0e8bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
23 changes: 11 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,17 @@
nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware";
systems.url = "path:./flake.systems.nix";
systems.flake = false;
flake-utils.url = "github:numtide/flake-utils";
flake-utils.inputs.systems.follows = "systems";
poetry2nix = {
url = "github:nix-community/poetry2nix/1.42.1";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
};

outputs = inputs@{ self, nixpkgs, home-manager, poetry2nix, flake-utils, systems, ... }:
outputs = inputs@{ self, nixpkgs, home-manager, poetry2nix, flake-utils, ... }:
let
eachSystem = nixpkgs.lib.genAttrs (import systems);
eachSystem = nixpkgs.lib.genAttrs (import ./flake.systems.nix);
in
rec {
formatter = eachSystem (system: nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
Expand Down

0 comments on commit 8e0e8bc

Please sign in to comment.