Skip to content

Commit a2413d4

Browse files
committed
Amended NixOS install
1 parent 005f700 commit a2413d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ mozart2-release$ cmake -DCMAKE_BUILD_TYPE=Release [OtherOptions...] ../../mozart
138138
On distros like Arch Linux and Nixos, Boost static libraries have been removed.
139139
Please add `-DMOZART_BOOST_USE_STATIC_LIBS=OFF` to your cmake command.
140140

141-
Here is a complete Nixos example cmake command to build Mozart2:
142-
`cmake -DCMAKE_BUILD_TYPE=Release -DGTEST_SRC_DIR=../../externals/gtest -DGTEST_BUILD_DIR=../gtest-debug -DLLVM_SRC_DIR=~/.nix-profile/include/llvm -DLLVM_BUILD_DIR=~/.nix-profile/ -DCLANG_BUILD_DIR=~/.nix-profile/include -DCLANG_SRC_DIR=~/.nix-profile/ -DMOZART_BOOST_USE_STATIC_LIBS=OFF -DBOOST_INCLUDEDIR=~/.nix-profile/include -DBOOST_LIBRARYDIR=~/.nix-profile/lib -DMOZART_GENERATOR_FLAGS="-I/home/stewart/.nix-profile/include/c++/4.7.3;-I/home/stewart/.nix-profile/include/c++/4.7.3/x86_64-unknown-linux-gnu;-I/home/stewart/.nix-profile/include" -DCMAKE_INSTALL_PREFIX=~/oz ../../mozart2`
141+
Here is a NixOS expression to install the Mozart2 binary:
142+
`nix-env -i mozart-binary`
143143

144144
The options must be given with the form `-DOPTION=Value`. The table below
145145
lists the options you need.

0 commit comments

Comments
 (0)