File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 let pkgs = import nixpkgs {
77 system = "x86_64-linux" ;
88 } ;
9+ package = pkgs . stdenv . mkDerivation {
10+ pname = "replit_rtld_loader" ;
11+ version = "1" ;
12+ src = ./. ;
13+ buildInputs = [ pkgs . python310 ] ;
14+ installPhase = ''
15+ mkdir $out
16+ mv rtld_loader.so $out/
17+ '' ;
18+ } ;
919 in
1020 {
11- packages . x86_64-linux . default = pkgs . stdenv . mkDerivation {
12- pname = "replit_rtld_loader" ;
13- version = "1" ;
14- src = ./. ;
15- buildInputs = [ pkgs . python310 ] ;
16- installPhase = ''
17- mkdir $out
18- mv rtld_loader.so $out/
19- '' ;
20- } ;
21+ packages . x86_64-linux . default = package ;
2122 devShells . x86_64-linux . default = pkgs . mkShell {
2223 packages = with pkgs ; [
2324 python310
2425 gnumake
2526 ] ;
2627 } ;
28+ overlays . default = final : prev : {
29+ replit-rtld-loader = package ;
30+ } ;
2731 } ;
2832}
You can’t perform that action at this time.
0 commit comments