mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2024-11-24 04:29:17 +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"
|