Skip to content

Commit cca3bd9

Browse files
committed
refactor: remove __std.nixConfig
the goal is to make std-action independent of this marker
1 parent f3b73fa commit cca3bd9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

flake.nix

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,6 @@
7373
inputs.paisano.growOn args' {
7474
# standard-specific quality-of-life assets
7575
__std.direnv_lib = ./direnv_lib.sh;
76-
__std.nixConfig = let
77-
# FIXME: refactor when merged NixOS/nixpkgs#203999
78-
nixConfig = l.generators.toKeyValue {
79-
mkKeyValue = l.generators.mkKeyValueDefault {
80-
mkValueString = v:
81-
if l.isList v
82-
then l.concatStringsSep " " v
83-
else if (l.isPath v || v ? __toString)
84-
then toString v
85-
else l.generators.mkValueStringDefault {} v;
86-
} " = ";
87-
};
88-
in
89-
nixConfig (import "${args.inputs.self}/flake.nix").nixConfig or {};
9076
};
9177
grow = args: l.removeAttrs (growOn args) ["__functor"];
9278
flakeModule = import ./src/flakeModule.nix {

0 commit comments

Comments
 (0)