Remove bootstrap argument from default.nix

This commit is contained in:
Brian Picciano 2024-10-15 21:45:27 +02:00
parent f639d460cf
commit 9e9e98584f

View File

@ -5,9 +5,6 @@
revision ? "dev",
releaseName ? "dev",
bootstrap ? null, # TODO remove this
}: let
pkgs = pkgsNix.default {
@ -93,30 +90,16 @@ in rec {
};
rootedBootstrap = pkgs.stdenv.mkDerivation {
name = "isle-rooted-bootstrap";
src = bootstrap;
builder = builtins.toFile "builder.sh" ''
source $stdenv/setup
mkdir -p "$out"/share
cp "$src" "$out"/share/bootstrap.json
'';
};
appDirBase = pkgs.buildEnv {
name = "isle-AppDir-base";
paths = [
./AppDir
version
dnsmasq
nebula
garage
pkgs.minio-client
] ++ (if bootstrap != null then [ rootedBootstrap ] else []);
];
};
appDir = pkgs.stdenv.mkDerivation {