add vm run package
This commit is contained in:
parent
f895e65660
commit
11b719f429
19
flake.nix
19
flake.nix
@ -37,6 +37,25 @@
|
||||
devShells.x86_64-linux.default =
|
||||
clan-core.inputs.nixpkgs.legacyPackages.x86_64-linux.mkShellNoCC
|
||||
{ packages = [ inputs.clan-core.packages.x86_64-linux.clan-cli ]; };
|
||||
packages.x86_64-linux.default =
|
||||
clan-core.inputs.nixpkgs.legacyPackages.x86_64-linux.writeScriptBin "clan"
|
||||
''
|
||||
set -euo pipefail
|
||||
${
|
||||
clan-core.inputs.nixpkgs.legacyPackages.x86_64-linux.lib.getExe
|
||||
inputs.clan-core.packages.x86_64-linux.clan-cli
|
||||
} vms run $@
|
||||
'';
|
||||
packages.aarch64-linux.default =
|
||||
clan-core.inputs.nixpkgs.legacyPackages.aarch64-linux.writeScriptBin "clan"
|
||||
''
|
||||
set -euo pipefail
|
||||
${
|
||||
clan-core.inputs.nixpkgs.legacyPackages.aarch64-linux.lib.getExe
|
||||
inputs.clan-core.packages.aarch64-linux.clan-cli
|
||||
} vms run $@
|
||||
'';
|
||||
|
||||
devShells.aarch64-linux.default =
|
||||
clan-core.inputs.nixpkgs.legacyPackages.aarch64-linux.mkShellNoCC
|
||||
{ packages = [ inputs.clan-core.packages.aarch64-linux.clan-cli ]; };
|
||||
|
Loading…
Reference in New Issue
Block a user