mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 12:54:03 +00:00
Restore .nixpacks so deploy-dev2 can build master again (#217)
PR #216 deleted .nixpacks/ and git-ignored it; both dev2 deploy workflows
build from .nixpacks/Dockerfile, so every deploy of master since has failed
before the build (lstat app/.nixpacks: no such file or directory). Restored
from f478025.
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
587c073f72
commit
c535aaa32c
4 changed files with 58 additions and 1 deletions
|
|
@ -0,0 +1,21 @@
|
|||
{ }:
|
||||
|
||||
let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.tar.gz") { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz")) ]; };
|
||||
in with pkgs;
|
||||
let
|
||||
APPEND_LIBRARY_PATH = "${lib.makeLibraryPath [ gcc-unwrapped ] }";
|
||||
myLibraries = writeText "libraries" ''
|
||||
export LD_LIBRARY_PATH="${APPEND_LIBRARY_PATH}:$LD_LIBRARY_PATH"
|
||||
|
||||
'';
|
||||
in
|
||||
buildEnv {
|
||||
name = "ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env";
|
||||
paths = [
|
||||
(runCommand "ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env" { } ''
|
||||
mkdir -p $out/etc/profile.d
|
||||
cp ${myLibraries} $out/etc/profile.d/ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env.sh
|
||||
'')
|
||||
nodejs_22 npm-9_x
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue