Compare commits

...

2 commits

Author SHA1 Message Date
c8d1b23d71
fix LD_LIBRARY_PATH
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-15 23:29:43 -05:00
06adad3aaa
mess with LD_LIBRARY_PATH 2023-04-15 23:08:34 -05:00
2 changed files with 7 additions and 3 deletions

View file

@ -4,9 +4,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: docker.io/jcollie/nixos-runner:14-9b8a7bca
container: docker.io/jcollie/nixos-runner:latest
steps:
- run: ldd /__e/node16/bin/node
- run: echo "ld-library-path=${LD_LIBRARY_PATH}" >> $GITHUB_OUTPUT
id: ld-library-path
- uses: actions/checkout@v3
env:
LD_LIBRARY_PATH: ${{ steps.ld-library-path.outputs.ld-library-path }}
- run: nix -L build .#nixos-runner
- run: nix run .#push-container -- result --registry ghcr.io --repository jcollie/nixos-runner

View file

@ -31,7 +31,7 @@
pkgs.coreutils-full
pkgs.gawk
pkgs.git
pkgs.glibc.bin
pkgs.glibc
pkgs.gnugrep
pkgs.gnused
pkgs.nix
@ -359,7 +359,7 @@
"/root/.nix-profile/share/man"
"/nix/var/nix/profiles/default/share/man"
]}"
"LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib"
"LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath defaultPkgs}"
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
"GIT_SSL_CAINFO=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
"NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"