remove build dependency
This commit is contained in:
13
default.nix
13
default.nix
@@ -1,18 +1,9 @@
|
|||||||
{ pkgs ? import <nixpkgs> {
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
overlays = [
|
|
||||||
(import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
|
|
||||||
];
|
|
||||||
}
|
|
||||||
}:
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
rustPlatform.buildRustPackage
|
rustPlatform.buildRustPackage
|
||||||
{
|
{
|
||||||
name = "wireguard-client";
|
name = "wireguard-client";
|
||||||
src = nix-gitignore.gitignoreSource [ ] ./.;
|
src = nix-gitignore.gitignoreSource [ ] ./.;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
(rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoSha256 = "sha256-3FnWeoFeD9/q16J0CpXL4/lIlP34jf1aUN6I8fBFZ0g=";
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user