tests: fix _d2n-extended test

This commit is contained in:
Yusuf Bera Ertan 2022-09-25 22:54:05 +03:00
parent 3a6ebd75ef
commit 15b8621648
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -23,10 +23,18 @@
};
}
'')
(builtins.toFile "brp-new.nix" ''
{
builders.brp-new = {
imports = ["${inp.dream2nix}/src/subsystems/rust/builders/build-rust-package"];
name = "brp-new";
subsystem = "rust";
};
}
'')
];
config.extra = {
subsystems.rust = {
builders.brp-new = "${inp.dream2nix}/src/subsystems/rust/builders/build-rust-package";
discoverers.default = "${inp.dream2nix}/src/subsystems/rust/discoverers/default";
};
fetchers.crates-io = "${inp.dream2nix}/src/fetchers/crates-io";