File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ pkgs-glibc = import
17+ ( builtins . fetchTarball {
18+ url = "https://github.com/NixOS/nixpkgs/archive/b6f505c60a2417d4fad4dc5245754e4e33eb4d40.tar.gz" ;
19+ sha256 = "sha256:0hhb8sar8qxi179d6c5h6n8f7nm71xxqqbynjv8pldvpsmsxxzh9" ;
20+ } )
21+ { inherit system ; } ;
1622 in
1723 {
1824 packages = {
1925 default = pkgs . gnumake ;
2026 } ;
2127 formatter = pkgs . nixpkgs-fmt ;
2228
23- devShell = pkgs . mkShell {
29+ devShell = pkgs . mkShellNoCC {
2430 buildInputs = with pkgs ; [
2531 # build dependencies
2632 sqlite
2935
3036 pkg-config
3137 ncurses
32- stdenv . cc . cc . lib
38+ glibc
3339
3440 git
35- ] ;
41+ ] ++ [ pkgs-glibc . glibc ] ;
3642
3743 shellHook = ''
3844 # FIXME: this need to go in a build task
You can’t perform that action at this time.
0 commit comments