mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
tests: attemp to fix _d2n-extended
This commit is contained in:
parent
14a56a8d43
commit
0bac3a3476
@ -17,7 +17,7 @@
|
||||
(builtins.toFile "cargo-toml-new.nix" ''
|
||||
{
|
||||
translators.cargo-toml-new = {
|
||||
imports = ["${inp.dream2nix}/src/subsystems/rust/translators/cargo-toml"];
|
||||
imports = [(attrs: import "${inp.dream2nix}/src/subsystems/rust/translators/cargo-toml" attrs.framework)];
|
||||
name = "cargo-toml-new";
|
||||
subsystem = "rust";
|
||||
};
|
||||
@ -26,7 +26,7 @@
|
||||
(builtins.toFile "brp-new.nix" ''
|
||||
{
|
||||
builders.brp-new = {
|
||||
imports = ["${inp.dream2nix}/src/subsystems/rust/builders/build-rust-package"];
|
||||
imports = [(attrs: import "${inp.dream2nix}/src/subsystems/rust/builders/build-rust-package" attrs.framework)];
|
||||
name = "brp-new";
|
||||
subsystem = "rust";
|
||||
};
|
||||
@ -35,7 +35,7 @@
|
||||
(builtins.toFile "cargo-new.nix" ''
|
||||
{
|
||||
discoverers.cargo-new = {
|
||||
imports = ["${inp.dream2nix}/src/subsystems/rust/discoverers/cargo"];
|
||||
imports = [(attrs: import "${inp.dream2nix}/src/subsystems/rust/discoverers/cargo" attrs.framework)];
|
||||
name = "cargo-new";
|
||||
subsystem = "rust";
|
||||
};
|
||||
@ -44,7 +44,7 @@
|
||||
(builtins.toFile "crates-io-new.nix" ''
|
||||
{config, ...}: {
|
||||
fetchers.crates-io = config.lib.mkForce {
|
||||
imports = ["${inp.dream2nix}/src/fetchers/crates-io"];
|
||||
imports = [(attrs: import "${inp.dream2nix}/src/fetchers/crates-io" attrs.framework)];
|
||||
};
|
||||
}
|
||||
'')
|
||||
|
Loading…
Reference in New Issue
Block a user