Add "-debug" suffix to rust debug derivation name
@@ -2,11 +2,13 @@ self: super: {
dfinity-sdk = rec {
packages = rec {
rust-workspace = super.callPackage ../rust-workspace.nix {};
- rust-workspace-debug = rust-workspace.override (_: {
+ rust-workspace-debug = (rust-workspace.override (_: {
release = false;
doClippy = true;
doFmt = true;
doDoc = true;
+ })).overrideAttrs (oldAttrs: {
+ name = "${oldAttrs.name}-debug";
});
rust-workspace-doc = rust-workspace-debug.doc;
};
