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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: docker.io/jcollie/nixos-runner:13-daa4f8d9
|
container: docker.io/jcollie/nixos-runner:14-9b8a7bca
|
||||||
steps:
|
steps:
|
||||||
- run: ldd /__e/node16/bin/node
|
- run: ldd /__e/node16/bin/node
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
14
flake.nix
14
flake.nix
|
@ -39,6 +39,8 @@
|
||||||
pkgs.nushell
|
pkgs.nushell
|
||||||
pkgs.podman
|
pkgs.podman
|
||||||
pkgs.stdenv.cc.cc.lib
|
pkgs.stdenv.cc.cc.lib
|
||||||
|
|
||||||
|
self.packages.${system}.push-container
|
||||||
];
|
];
|
||||||
|
|
||||||
flake-registry = null;
|
flake-registry = null;
|
||||||
|
@ -365,12 +367,20 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
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 = {
|
apps = {
|
||||||
push-container =
|
push-container =
|
||||||
let
|
let
|
||||||
script = pkgs.writeTextFile
|
script = pkgs.writeTextFile {
|
||||||
{
|
|
||||||
name = "push-container";
|
name = "push-container";
|
||||||
text = lib.concatStringsSep "\n" [
|
text = lib.concatStringsSep "\n" [
|
||||||
"#!${pkgs.nushell}/bin/nu"
|
"#!${pkgs.nushell}/bin/nu"
|
||||||
|
|
Loading…
Reference in a new issue