Adding poc-helm-complex

This commit is contained in:
2025-03-02 10:19:46 +01:00
parent 78894bd3b1
commit 2c99773126
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{
pkgs ? import <nixpkgs> {},
src
}:
let
# patched contains path to store of this command's out
# use patched
patched = pkgs.runCommand "test0" {
src = src;
} ''
mkdir $out;
echo ${pkgs.lib.strings.concatStringsSep ":" src}
date > $out/bla
'';
in
pkgs.runCommand "test1" {
src2 = patched;
} ''
echo "step 2!!"
mkdir $out;
echo "src2 is $src2"
echo ${patched}
''