forked from gnzlbg/jemallocator
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't pass CFLAGS and fix _FORTIFY_SOURCE errors
Signed-off-by: Konrad Stepniak <[email protected]>
- Loading branch information
Konrad Stepniak
committed
Jan 31, 2025
1 parent
876bc11
commit 7abada8
Showing
2 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | ||
rust-overlay = { | ||
url = "github:oxalica/rust-overlay"; | ||
inputs = { | ||
nixpkgs.follows = "nixpkgs"; | ||
}; | ||
}; | ||
}; | ||
outputs = { self, nixpkgs, flake-utils, rust-overlay, zombienet }: | ||
flake-utils.lib.eachDefaultSystem (system: | ||
let | ||
overlays = [ (import rust-overlay) ]; | ||
pkgs = import nixpkgs { | ||
inherit system overlays; | ||
}; | ||
rustToolchain = pkgs.pkgsBuildHost.rust-bin.stable.latest.default; | ||
buildInputs = with pkgs; [ | ||
rustToolchain | ||
]; | ||
in | ||
with pkgs; | ||
{ | ||
devShells.default = mkShell { | ||
inherit buildInputs; | ||
}; | ||
} | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters