diff options
Diffstat (limited to 'pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix deleted file mode 100644 index 547790835c5d..000000000000 --- a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ lib -, derivationWithMeta -, writeText -, kaem -, kaem-unwrapped -, mescc-tools -, mescc-tools-extra -, version -, platforms -}: - -# Once mescc-tools-extra is available we can install kaem at /bin/kaem -# to make it findable in environments -derivationWithMeta { - inherit version kaem-unwrapped; - pname = "kaem"; - builder = kaem-unwrapped; - args = [ - "--verbose" - "--strict" - "--file" - (builtins.toFile "kaem-wrapper.kaem" '' - mkdir -p ''${out}/bin - cp ''${kaem-unwrapped} ''${out}/bin/kaem - chmod 555 ''${out}/bin/kaem - '') - ]; - PATH = lib.makeBinPath [ mescc-tools-extra ]; - - passthru.runCommand = name: env: buildCommand: - derivationWithMeta ({ - inherit name; - - builder = "${kaem}/bin/kaem"; - args = [ - "--verbose" - "--strict" - "--file" - (writeText "${name}-builder" buildCommand) - ]; - - PATH = lib.makeBinPath ((env.nativeBuildInputs or []) ++ [ kaem mescc-tools mescc-tools-extra ]); - } // (builtins.removeAttrs env [ "nativeBuildInputs" ])); - - meta = with lib; { - description = "Minimal build tool for running scripts on systems that lack any shell"; - homepage = "https://github.com/oriansj/mescc-tools"; - license = licenses.gpl3Plus; - maintainers = teams.minimal-bootstrap.members; - inherit platforms; - }; -} |