File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 22 description = "Server equivalent of the popular Phoenix wallet" ;
33
44 inputs = {
5- nixpkgs . url = "github:NixOS/nixpkgs/nixpkgs -24.05" ;
5+ nixpkgs . url = "github:NixOS/nixpkgs/nixos -24.05" ;
66 flake-utils . url = "github:numtide/flake-utils" ;
77 } ;
88
1313 inherit system ;
1414 overlays = [ ] ;
1515 } ;
16+ # Importing glibc 2.19
17+ pkgs-glibc = import
18+ ( builtins . fetchTarball {
19+ url = "https://github.com/NixOS/nixpkgs/archive/b6f505c60a2417d4fad4dc5245754e4e33eb4d40.tar.gz" ;
20+ sha256 = "sha256:0hhb8sar8qxi179d6c5h6n8f7nm71xxqqbynjv8pldvpsmsxxzh9" ;
21+ } )
22+ { inherit system ; } ;
1623 in
1724 {
1825 packages = {
1926 default = pkgs . gnumake ;
2027 } ;
2128 formatter = pkgs . nixpkgs-fmt ;
2229
23- devShell = pkgs . mkShell {
30+ devShell = pkgs . mkShellNoCC {
2431 buildInputs = with pkgs ; [
2532 # build dependencies
26- sqlite
2733 curl
28- jdk
2934
3035 pkg-config
3136 ncurses
32- stdenv . cc . cc . lib
3337
3438 git
35- ] ;
39+ ] ++ [ pkgs-glibc . glibc pkgs-glibc . sqlite pkgs-glibc . jdk ] ;
3640
3741 shellHook = ''
3842 # FIXME: this need to go in a build task
You can’t perform that action at this time.
0 commit comments