Compare commits
2 commits
9b8a7bcafb
...
26bac0b55b
Author | SHA1 | Date | |
---|---|---|---|
26bac0b55b | |||
0a71dd39a3 |
2 changed files with 20 additions and 10 deletions
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -4,7 +4,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: docker.io/jcollie/nixos-runner:13-daa4f8d9
|
||||
container: docker.io/jcollie/nixos-runner:14-9b8a7bca
|
||||
steps:
|
||||
- run: ldd /__e/node16/bin/node
|
||||
- uses: actions/checkout@v3
|
||||
|
|
28
flake.nix
28
flake.nix
|
@ -39,6 +39,8 @@
|
|||
pkgs.nushell
|
||||
pkgs.podman
|
||||
pkgs.stdenv.cc.cc.lib
|
||||
|
||||
self.packages.${system}.push-container
|
||||
];
|
||||
|
||||
flake-registry = null;
|
||||
|
@ -365,19 +367,27 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
push-container = pkgs.writeTextFile {
|
||||
name = "push-container";
|
||||
destination = "/bin/push-container";
|
||||
text = lib.concatStringsSep "\n" [
|
||||
"#!${pkgs.nushell}/bin/nu"
|
||||
(builtins.readFile ./push-container.nu)
|
||||
];
|
||||
executable = true;
|
||||
};
|
||||
};
|
||||
apps = {
|
||||
push-container =
|
||||
let
|
||||
script = pkgs.writeTextFile
|
||||
{
|
||||
name = "push-container";
|
||||
text = lib.concatStringsSep "\n" [
|
||||
"#!${pkgs.nushell}/bin/nu"
|
||||
(builtins.readFile ./push-container.nu)
|
||||
];
|
||||
executable = true;
|
||||
};
|
||||
script = pkgs.writeTextFile {
|
||||
name = "push-container";
|
||||
text = lib.concatStringsSep "\n" [
|
||||
"#!${pkgs.nushell}/bin/nu"
|
||||
(builtins.readFile ./push-container.nu)
|
||||
];
|
||||
executable = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
type = "app";
|
||||
|
|
Loading…
Reference in a new issue