Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
bc,
|
|
version,
|
|
src,
|
|
eulaDate,
|
|
outputHash ? null,
|
|
}:
|
|
stdenv.mkDerivation (
|
|
{
|
|
inherit version src;
|
|
pname = "houdini-runtime";
|
|
|
|
buildInputs = [ bc ];
|
|
installPhase = ''
|
|
patchShebangs houdini.install
|
|
mkdir -p $out
|
|
./houdini.install --install-houdini \
|
|
--install-license \
|
|
--no-install-menus \
|
|
--no-install-bin-symlink \
|
|
--auto-install \
|
|
--no-root-check \
|
|
--accept-EULA ${eulaDate} \
|
|
$out
|
|
echo "licensingMode = localValidator" >> $out/houdini/Licensing.opt # does not seem to do anything any more. not sure, official docs do not say anything about it
|
|
sed -i 's@'"$out"'@$HFS@g' $out/packages/package_dirs.json # this seem to be internal houdini tools unavailable to users anyway, but they break fixed-derivation
|
|
'';
|
|
|
|
dontFixup = true;
|
|
}
|
|
// (
|
|
if isNull outputHash then
|
|
{ }
|
|
else
|
|
{
|
|
inherit outputHash;
|
|
outputHashAlgo = "sha256";
|
|
outputHashMode = "recursive";
|
|
}
|
|
)
|
|
)
|