From 91c27d24998488031d6484c5a46c659a4b2b42cf Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 10 May 2019 00:09:17 +0200 Subject: [PATCH] nix/fetchcargo: fix touch --- nix/adc2tcp.nix | 6 +++--- nix/fetchcargo.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/adc2tcp.nix b/nix/adc2tcp.nix index a98c981..1eeaf6b 100644 --- a/nix/adc2tcp.nix +++ b/nix/adc2tcp.nix @@ -1,10 +1,10 @@ -{ stdenv, rustPlatform, cacert, git, cargo-vendor, coreutils }: +{ stdenv, rustPlatform, cacert, git, cargo-vendor }: with rustPlatform; let - sha256 = "19cdc0lkm9247n6kf23ki66gysz530j1x2lfnzq7n0cpcs53q3h3"; + sha256 = "1i9p5d5n01ajbp8lmavyway6vr1mmy107qnccff9glvr91rqx352"; fetchcargo = import ./fetchcargo.nix { - inherit stdenv cacert git cargo-vendor coreutils; + inherit stdenv cacert git cargo-vendor; inherit (rust) cargo; }; adc2tcpDeps = fetchcargo { diff --git a/nix/fetchcargo.nix b/nix/fetchcargo.nix index 0f5d722..656049e 100644 --- a/nix/fetchcargo.nix +++ b/nix/fetchcargo.nix @@ -1,4 +1,4 @@ -{ stdenv, cacert, git, cargo, cargo-vendor, coreutils }: +{ stdenv, cacert, git, cargo, cargo-vendor }: { name, src, sha256 }: let # `src` restricted to the two files that define dependencies @@ -10,7 +10,7 @@ let mkdir $out cp ${src}/Cargo.{toml,lock} $out/ mkdir $out/src - ${coreutils}/bin/touch src/main.rs + touch $out/src/main.rs ''; }; in