From f3fd8aa61454d9d9bdde60fee726d272bc8c80ae Mon Sep 17 00:00:00 2001 From: Aaron Kaiser Date: Tue, 15 Oct 2024 13:51:59 +0200 Subject: [PATCH] remove build dependency --- default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/default.nix b/default.nix index 4f53b42..518a15c 100644 --- a/default.nix +++ b/default.nix @@ -1,18 +1,9 @@ -{ pkgs ? import { - overlays = [ - (import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz")) - ]; - } -}: +{ pkgs ? import { } }: with pkgs; rustPlatform.buildRustPackage { name = "wireguard-client"; src = nix-gitignore.gitignoreSource [ ] ./.; - nativeBuildInputs = [ - (rust-bin.fromRustupToolchainFile ./rust-toolchain.toml) - ]; - - cargoSha256 = "sha256-3FnWeoFeD9/q16J0CpXL4/lIlP34jf1aUN6I8fBFZ0g="; + cargoLock.lockFile = ./Cargo.lock; }