Clean up a bit and remove patches
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
8c55f225dc
commit
c8a98a05ee
3 changed files with 16 additions and 42 deletions
|
|
@ -40,20 +40,6 @@ craneLib.buildPackage (
|
|||
// {
|
||||
inherit cargoArtifacts;
|
||||
|
||||
patches = [ ./cargo-dylint-patch-rustup.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace dylint/build.rs \
|
||||
--replace-fail @DRIVER_DIR@ ${src}/driver
|
||||
|
||||
substituteInPlace internal/src/cargo.rs \
|
||||
--replace-fail @STABLE_CARGO@ ${craneLib.cargo}/bin/cargo
|
||||
|
||||
substituteInPlace internal/src/rustup.rs \
|
||||
--replace-fail @RUST_TOOLCHAIN@ $RUSTUP_TOOLCHAIN \
|
||||
--replace-fail @RUST_TOOLCHAIN_PATH@ ${craneLib.rustc}
|
||||
'';
|
||||
|
||||
doNotRemoveReferencesToRustToolchain = true;
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue