From 319e70637ecf171fd36e455aa386159b6d0123cb Mon Sep 17 00:00:00 2001 From: Evan Relf Date: Wed, 13 Jul 2022 11:57:29 -0700 Subject: [PATCH] Fix incorrect Cabal option for `-std=c++17` (#4) `cpp-options` is for the C preprocessor (`-XCPP`). `cxx-options` is for the C++ compiler. --- nix-serve-ng.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix-serve-ng.cabal b/nix-serve-ng.cabal index be2f190..9ed76dc 100644 --- a/nix-serve-ng.cabal +++ b/nix-serve-ng.cabal @@ -36,7 +36,7 @@ executable nix-serve cxx-sources: cbits/nix.cpp - cpp-options: -std=c++17 + cxx-options: -std=c++17 build-depends: base < 5 , base16