Merge bscpkgs into jungle #189

Manually merged
rarias merged 1013 commits from merge-bscpkgs into master 2025-10-07 16:12:34 +02:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 8bc5656461 - Show all commits

View File

@@ -24,6 +24,8 @@ stdenv.mkDerivation {
dontPatchShebangs = true;
inherit units;
isExperiment = true;
installPhase = ''
cat > $out << EOF
#!/bin/sh

View File

@@ -40,7 +40,9 @@ let
else "${stage}";
/* Given a trebuchet, returns the experiment */
getExperimentStage = drv: drv.nextStage.nextStage.nextStage;
getExperimentStage = drv:
if (drv ? isExperiment) && drv.isExperiment then drv
else getExperimentStage drv.nextStage;
# Computes the exponentiation operation
pow = x: n: fold (a: b: a*b) 1 (map (a: x) (range 1 n));