mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
17 lines
330 B
Nix
17 lines
330 B
Nix
|
with import ../../../. { };
|
||
|
|
||
|
rustPlatform.buildRustPackage {
|
||
|
name = "convert-to-import-cargo-lock";
|
||
|
|
||
|
src = lib.cleanSourceWith {
|
||
|
src = ./.;
|
||
|
filter = name: type:
|
||
|
let
|
||
|
name' = builtins.baseNameOf name;
|
||
|
in
|
||
|
name' != "default.nix" && name' != "target";
|
||
|
};
|
||
|
|
||
|
cargoLock.lockFile = ./Cargo.lock;
|
||
|
}
|