Add aarch64-linux installer app
This commit is contained in:
@@ -156,9 +156,10 @@
|
|||||||
# Installer Script
|
# Installer Script
|
||||||
# ============================================
|
# ============================================
|
||||||
|
|
||||||
apps.${defaultSystem}.installer = {
|
apps = let
|
||||||
|
mkInstaller = system: {
|
||||||
type = "app";
|
type = "app";
|
||||||
program = toString (pkgs.writeShellScript "installer" ''
|
program = toString ((mkPkgs system).writeShellScript "installer" ''
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
@@ -189,6 +190,10 @@
|
|||||||
fi
|
fi
|
||||||
'');
|
'');
|
||||||
};
|
};
|
||||||
|
in {
|
||||||
|
x86_64-linux.installer = mkInstaller "x86_64-linux";
|
||||||
|
aarch64-linux.installer = mkInstaller "aarch64-linux";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user