mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2024-11-23 20:19:16 +01:00
9 lines
208 B
Text
9 lines
208 B
Text
|
#! /usr/bin/env bash
|
||
|
set -eo pipefail
|
||
|
|
||
|
workdir="$(mktemp -d)"
|
||
|
trap 'rm -rf "$workdir"' EXIT
|
||
|
echo "${INPUT_RUN}" >"${workdir}/run.sh"
|
||
|
|
||
|
nix develop "${INPUT_FLAKE}#${INPUT_PACKAGE}" -c bash "${workdir}/run.sh"
|