forked from mad-star-studio/Voxelis
mrrp
This commit is contained in:
parent
18e0963d89
commit
ea726ced89
6 changed files with 46 additions and 26 deletions
25
flake.nix
25
flake.nix
|
@ -9,19 +9,16 @@
|
|||
outputs = { self, nixpkgs, ...}:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit self; };
|
||||
supportedSystems = [ "x86_64-linux" ];
|
||||
in {
|
||||
devShells = builtins.map(system:
|
||||
${system}.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
# Run CI/CD actions locally
|
||||
pkgs.act
|
||||
];
|
||||
shellHook = ''
|
||||
alias run_workflows='act -W $PWD/.forgejo/workflows -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --pull=false'
|
||||
echo "Run 'run_workflows' to run the workflows locally"
|
||||
'';
|
||||
}
|
||||
) ${supportedSystems};
|
||||
}
|
||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
# Run CI/CD actions locally
|
||||
pkgs.act
|
||||
];
|
||||
shellHook = ''
|
||||
alias run_workflows='act -W $PWD/.forgejo/workflows -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --pull=false'
|
||||
echo "Run 'run_workflows' to run the workflows locally"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue