Loading pkgs/development/tools/build-managers/buck2/default.nix +18 −3 Original line number Diff line number Diff line { fetchurl, lib, stdenv, zstd , testers, buck2 # for passthru.tests { fetchurl, lib, stdenv, zstd, installShellFiles, testers, buck2, # for passthru.tests }: # NOTE (aseipp): buck2 uses a precompiled binary build for good reason — the Loading Loading @@ -74,7 +80,10 @@ in stdenv.mkDerivation { version = "unstable-${version}"; # TODO (aseipp): kill 'unstable' once a non-prerelease is made inherit src; nativeBuildInputs = [ zstd ]; nativeBuildInputs = [ installShellFiles zstd ]; doCheck = true; dontConfigure = true; Loading @@ -87,6 +96,12 @@ in stdenv.mkDerivation { mkdir -p $out/bin install -D buck2 $out/bin/buck2 ''; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd buck2 \ --bash <( $out/bin/buck2 completion bash ) \ --fish <( $out/bin/buck2 completion fish ) \ --zsh <( $out/bin/buck2 completion zsh ) ''; passthru = { prelude = prelude-src; Loading pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -8165,7 +8165,7 @@ with pkgs; python3 = python311; }; buck2 = callPackage ../development/tools/build-managers/buck2 { }; buck2 = callPackage ../development/tools/build-managers/buck2 { stdenv = stdenvNoCC; }; build2 = callPackage ../development/tools/build-managers/build2 { # Break cycle by using self-contained toolchain for bootstrapping Loading Loading
pkgs/development/tools/build-managers/buck2/default.nix +18 −3 Original line number Diff line number Diff line { fetchurl, lib, stdenv, zstd , testers, buck2 # for passthru.tests { fetchurl, lib, stdenv, zstd, installShellFiles, testers, buck2, # for passthru.tests }: # NOTE (aseipp): buck2 uses a precompiled binary build for good reason — the Loading Loading @@ -74,7 +80,10 @@ in stdenv.mkDerivation { version = "unstable-${version}"; # TODO (aseipp): kill 'unstable' once a non-prerelease is made inherit src; nativeBuildInputs = [ zstd ]; nativeBuildInputs = [ installShellFiles zstd ]; doCheck = true; dontConfigure = true; Loading @@ -87,6 +96,12 @@ in stdenv.mkDerivation { mkdir -p $out/bin install -D buck2 $out/bin/buck2 ''; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd buck2 \ --bash <( $out/bin/buck2 completion bash ) \ --fish <( $out/bin/buck2 completion fish ) \ --zsh <( $out/bin/buck2 completion zsh ) ''; passthru = { prelude = prelude-src; Loading
pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -8165,7 +8165,7 @@ with pkgs; python3 = python311; }; buck2 = callPackage ../development/tools/build-managers/buck2 { }; buck2 = callPackage ../development/tools/build-managers/buck2 { stdenv = stdenvNoCC; }; build2 = callPackage ../development/tools/build-managers/build2 { # Break cycle by using self-contained toolchain for bootstrapping Loading