Skip to content

Commit

Permalink
chore: update flops
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Nov 8, 2023
1 parent a7ba8ce commit 29f9cff
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
13 changes: 7 additions & 6 deletions flake.lock

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

2 changes: 2 additions & 0 deletions src/pops/data.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ flops.haumea.pops.default.setInit {
loader = with haumea; [
matchers.json
matchers.toml
(matchers.nix loaders.scoped)
(matchers.nix loaders.default)
];
}
18 changes: 14 additions & 4 deletions src/pops/std.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
{
root,
haumea,
projectDir,
}:
load:
let
inherit (root.errors.requiredInputs inputs "omnibus.pops.self" [ "std" ]) std;
inherit
(root.errors.requiredInputs load.inputs.inputs "omnibus.pops.std" [ "std" ])
std
;
in
super.load {
(super.load {
loader = with haumea; [ (matchers.nix loaders.scoped) ];
src = projectDir + "/units/std";
inputs.inputs = {
inpputs.inputs = {
inherit std;
};
}
}).addLoadExtender
{ inherit load; }
15 changes: 1 addition & 14 deletions tests/flake-parts/expr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,7 @@
let
system = "x86_64-linux";
flake.inputs =
let
flake = omnibus.pops.flake.setInitInputs ./__lock;
in
((flake.addInputsExtender (
POP.extendPop flops.flake.pops.inputsExtender (
self: super: {
inputs = {
nixpkgs = flake.inputs.nixpkgs.legacyPackages;
};
}
)
)).setSystem
system
).inputs;
((omnibus.pops.flake.setInitInputs ./__lock).setSystem system).inputs;

flakeProfiles =
(omnibus.pops.flake-parts.profiles.addLoadExtender {
Expand Down

0 comments on commit 29f9cff

Please sign in to comment.