Skip to content

Commit

Permalink
rang: Replace with bundled version
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Mar 17, 2021
1 parent 4e1ded2 commit d138fb8
Show file tree
Hide file tree
Showing 9 changed files with 504 additions and 53 deletions.
2 changes: 0 additions & 2 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
fmtlib = callPackage ./pkgs/fmtlib/fmt.nix { };
# Package for testing
yamlCpp = callPackage ./pkgs/yaml-cpp/yaml-cpp.nix { };
# Package for testing
rang = callPackage ./pkgs/rang/rang.nix { };
# Program expression
yodaStruct = callPackage ./yodaStruct.nix { };
}; in
Expand Down
26 changes: 0 additions & 26 deletions nix/pkgs/rang.nix

This file was deleted.

12 changes: 0 additions & 12 deletions nix/pkgs/rang/rang.nix

This file was deleted.

7 changes: 0 additions & 7 deletions nix/pkgs/rang/rang.src.json

This file was deleted.

2 changes: 0 additions & 2 deletions nix/yodaStruct.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@
, lib
, boost
, gsl
, rang
, cmake }:
clangStdenv.mkDerivation {
name = "yodaStruct";
src = lib.cleanSource ../.;
enableParallelBuilding=true;
nativeBuildInputs = [
fmtlib
rang
cmake
lua
luaPackages.luafilesystem
Expand Down
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ find_package(
"GSL" REQUIRED
"Boost" REQUIRED COMPONENTS system filesystem
"yaml-cpp"
"fmt"
"rang")
"fmt")

link_directories(${Boost_LIBRARY_DIRS})
# Link everything
Expand Down
Loading

0 comments on commit d138fb8

Please sign in to comment.