Pinetab-v: rope in config
This commit is contained in:
37
machines/ptv/native-bootstrap.nix
Normal file
37
machines/ptv/native-bootstrap.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ config, pkgs, lib, ...}: let
|
||||
stdenvStages = curStage:
|
||||
[ curStage ]
|
||||
++
|
||||
(if curStage.hasCC
|
||||
then [curStage.cc] ++ (stdenvStages curStage.__bootPackages.stdenv)
|
||||
else []);
|
||||
in {
|
||||
system.includeBuildDependencies = true;
|
||||
system.extraDependencies = with pkgs;
|
||||
lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform)
|
||||
((stdenvStages stdenv) ++ [
|
||||
stdenvNoCC
|
||||
clangStdenv
|
||||
clangStdenv.cc
|
||||
clang
|
||||
libllvm
|
||||
gcc
|
||||
rustc
|
||||
cargo
|
||||
coreutils
|
||||
curl
|
||||
wget
|
||||
python3
|
||||
# Other common build tools
|
||||
zip
|
||||
unzip
|
||||
cmake
|
||||
meson
|
||||
bison
|
||||
perl
|
||||
zlib
|
||||
busybox
|
||||
xz
|
||||
binutils
|
||||
]);
|
||||
}
|
||||
Reference in New Issue
Block a user