1
0
Fork 0
mirror of https://git.madhouse-project.org/actions/nix.git synced 2024-11-24 04:29:17 +01:00
nix/develop/bin/nix-develop

9 lines
208 B
Text
Raw Normal View History

#! /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"