Skip to content

Commit

Permalink
update flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
foolnotion committed Nov 27, 2024
1 parent 72df9d5 commit 6402e86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@
})
];
};
stdenv = pkgs.llvmPackages_18.stdenv;
stdenv = pkgs.llvmPackages_19.stdenv;
#stdenv = pkgs.gcc12Stdenv;
operon = import ./operon.nix { inherit stdenv pkgs system; };
in
rec
{
packages = {
default = operon.overrideAttrs (old: {
cmakeFlags = old.cmakeFlags ++ [ "-DBUILD_CLI_PROGRAMS=ON" ];
cmakeFlags = old.cmakeFlags ++ [ "-DBUILD_CLI_PROGRAMS=ON" "-DCPM_USE_LOCAL_PACKAGES=ON" ];
});

library = operon.overrideAttrs (old: {
Expand All @@ -59,15 +60,14 @@
name = "operon";

nativeBuildInputs = operon.nativeBuildInputs ++ (with pkgs; [
clang-tools_18
clang-tools_19
cppcheck
include-what-you-use
cmake-language-server
]);

buildInputs = operon.buildInputs ++ (with pkgs; [
gdb
gcc13
graphviz
hyperfine
linuxPackages_latest.perf
Expand Down
5 changes: 2 additions & 3 deletions operon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
"x86_64-linux" = "build-linux";
"x86_64-darwin" = "build-linux";
"aarch64-darwin" = "build-osx";
}."${system}";
}."${system}";

cmakeFlags = [
"--preset ${cmakePreset}"
Expand All @@ -27,9 +27,8 @@ stdenv.mkDerivation rec {
doctest
eigen
eve
fast-float
(fast-float.overrideAttrs({ version = "6.1.6"; }))
fmt
icu
jemalloc
cpptrace
libassert
Expand Down

0 comments on commit 6402e86

Please sign in to comment.