Skip to content

Commit

Permalink
Update flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
Force67 committed Aug 21, 2024
1 parent e69e52a commit ebd71bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
xmake
gnumake
stdenv.cc.cc.lib
mold
#msvc-toolchain
];

Expand All @@ -46,6 +47,10 @@
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [
pkgs.stdenv.cc.cc
]}
export CC="${pkgs.gcc14}/bin/gcc"
export CXX="${pkgs.gcc14}/bin/g++"
export LD="${pkgs.mold}/bin/mold"
echo "C++ development environment loaded"
'';
};
Expand Down

0 comments on commit ebd71bd

Please sign in to comment.