Skip to content

Commit

Permalink
Merge pull request NixOS#8 from Pamplemousse/flake_with_meson
Browse files Browse the repository at this point in the history
Add `meson` to the flake
  • Loading branch information
polar authored Jul 26, 2021
2 parents 2db6428 + 1ad66ea commit 9c60e6a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
buildPackages.flex
(lib.getBin buildPackages.lowdown)
buildPackages.mdbook
buildPackages.meson
buildPackages.ninja
buildPackages.autoconf-archive
buildPackages.autoreconfHook
buildPackages.pkgconfig
Expand Down Expand Up @@ -618,6 +620,11 @@
PATH=$prefix/bin:$PATH
unset PYTHONPATH
export MANPATH=$out/share/man:$MANPATH
# Needed for `meson` to pick up Boost.
# https://github.com/NixOS/nixpkgs/issues/86131#issuecomment-620155616
export BOOST_INCLUDEDIR="${stdenv.lib.getDev boost}/include";
export BOOST_LIBRARYDIR="${stdenv.lib.getLib boost}/lib";
'';
});

Expand Down

0 comments on commit 9c60e6a

Please sign in to comment.