diff options
author | Vincent Ambo <mail@tazj.in> | 2022-06-03T12·58+0000 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-06-03T23·27+0000 |
commit | 837560c846eeeb6867402042f047a5224626211e (patch) | |
tree | 162384d281b2fe5fcf5199df832fec1664f8b1e1 /nix/emptyDerivation/emptyDerivation.nix | |
parent | 6cfa6bb59e541175204b37ccb42baabfa7e49204 (diff) |
fix(nix/emptyDerivation): Use system from readTree parameters r/4208
Change-Id: Ia7f9f4d0e7c06fa5433213a315c3354a83e94545 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5833 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'nix/emptyDerivation/emptyDerivation.nix')
-rw-r--r-- | nix/emptyDerivation/emptyDerivation.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nix/emptyDerivation/emptyDerivation.nix b/nix/emptyDerivation/emptyDerivation.nix index 772df9635214..d7de7ccfbc4c 100644 --- a/nix/emptyDerivation/emptyDerivation.nix +++ b/nix/emptyDerivation/emptyDerivation.nix @@ -1,4 +1,4 @@ -{ stdenv, pkgs, getBins }: +{ stdenv, system, pkgs, getBins }: # The empty derivation. All it does is touch $out. # Basically the unit value for derivations. @@ -15,9 +15,7 @@ let emptiness = { name = "empty-derivation"; - - # TODO(Profpatsch): can we get system from tvl? - inherit (stdenv) system; + inherit system; builder = bins.exec; args = [ |