Skip to content

Commit 356b139

Browse files
committed
nix/envs: remove cleanSourceWith
1 parent c037ba4 commit 356b139

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

nix/envs/default.nix

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
lib.mapAttrs (_: v: builtins.toString v) {
33
OMNIX_SOURCE = src;
44
CACHIX_BIN = lib.getExe cachix;
5-
OM_INIT_REGISTRY = lib.cleanSourceWith {
6-
name = "om-init-registry";
7-
src = src + /crates/omnix-init/registry;
8-
};
5+
OM_INIT_REGISTRY = src + /crates/omnix-init/registry;
96
DEVOUR_FLAKE = fetchFromGitHub {
107
owner = "srid";
118
repo = "devour-flake";
@@ -60,16 +57,7 @@ lib.mapAttrs (_: v: builtins.toString v) {
6057
rev = "inventory-for-systems";
6158
hash = "sha256-GTxRovvYWYn2/LDvjA73YttGuqvtKaOFZfOR9YxtST0=";
6259
};
63-
DEFAULT_FLAKE_SCHEMAS = lib.cleanSourceWith {
64-
name = "flake-schemas";
65-
src = src + /nix/flake-schemas;
66-
};
67-
FLAKE_METADATA = lib.cleanSourceWith {
68-
name = "nix-rs-flake-metadata";
69-
src = src + /crates/nix_rs/src/flake/functions/metadata;
70-
};
71-
FLAKE_ADDSTRINGCONTEXT = lib.cleanSourceWith {
72-
name = "nix-rs-flake-addstringcontext";
73-
src = src + /crates/nix_rs/src/flake/functions/addstringcontext;
74-
};
60+
DEFAULT_FLAKE_SCHEMAS = src + /nix/flake-schemas;
61+
FLAKE_METADATA = src + /crates/nix_rs/src/flake/functions/metadata;
62+
FLAKE_ADDSTRINGCONTEXT = src + /crates/nix_rs/src/flake/functions/addstringcontext;
7563
}

0 commit comments

Comments
 (0)