Move into finished executable
This commit is contained in:
30
flake.nix
30
flake.nix
@@ -119,24 +119,24 @@
|
||||
newalan = pkgs.runCommand "New Alan Deployscript" {
|
||||
nativeBuildInputs = builtins.attrValues checks;
|
||||
} ''
|
||||
export tmp=$(mktemp -d)
|
||||
pushd $tmp
|
||||
${pkgs.wget}/bin/wget \
|
||||
https://git.syzygial.cc/Syzygial/New-Alan/archive/${self.rev}.bundle
|
||||
git clone * src
|
||||
${pkgs.tree}/bin/tree
|
||||
cd src
|
||||
sops -i -d secrets/config.nix
|
||||
echo << 'DOC'
|
||||
#!${pkgs.runtimeShell}
|
||||
export flake="$tmp/src/deploy"
|
||||
# ${pkgs.runtimeShell} ./secrets/deploy.sh
|
||||
#!${pkgs.runtimeShell}
|
||||
export tmp=$(mktemp -d)
|
||||
pushd $tmp
|
||||
${pkgs.wget}/bin/wget \
|
||||
https://git.syzygial.cc/Syzygial/New-Alan/archive/${self.rev}.bundle
|
||||
git clone * src
|
||||
${pkgs.tree}/bin/tree
|
||||
cd src
|
||||
sops -i -d secrets/config.nix
|
||||
export flake="$tmp/src/deploy"
|
||||
# ${pkgs.runtimeShell} ./secrets/deploy.sh
|
||||
popd
|
||||
rm -rf $tmp
|
||||
echo Listing $tmp
|
||||
ls $tmp
|
||||
DOC >> $out
|
||||
chmod +x $out
|
||||
popd
|
||||
rm -rf $tmp
|
||||
echo Listing $tmp
|
||||
ls $tmp
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user