Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed Apr 10, 2023
1 parent a363b05 commit d0996c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ let
flake = projectModules: self.flakeWith { inherit projectModules; };

auto = projectModules:
self.flake ([{ auto = true; ifd = false; }] ++ toList projectModules);
self.flakeWith { extraModules = [{ auto = true; ifd = false; }]; modules = toList projectModules; };

pro = projectModules:
self.flakeWith { extraModules = [(import ./modules/pro.nix)]; projectModules = toList projectModules; };

overrides = import ./lib/overrides.nix { inherit (inputs.nixpkgs) lib; };

spec = import ./lib/deps/spec.nix { inherit (self) lib; };
});

Expand Down
3 changes: 1 addition & 2 deletions test/deps/dep2/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

inputs.hix.url = path:HIX;

outputs = { hix, ... }:
hix.lib.flake {
outputs = { hix, ... }: hix.lib.flake {
packages.dep2 = {
src = ./.;
library.enable = true;
Expand Down
3 changes: 1 addition & 2 deletions test/deps/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
inputs.dep1.url = path:BASE/dep1;
inputs.dep2.url = path:BASE/dep2;

outputs = { hix, dep1, dep2, ... }:
hix.lib.flake ({ config, lib, ... }: {
outputs = { hix, dep1, dep2, ... }: hix.lib.flake ({ config, lib, ... }: {
main = "root";
packages = {
root = {
Expand Down

0 comments on commit d0996c1

Please sign in to comment.