about summary refs log tree commit diff
path: root/pkgs/development/interpreters/falcon
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2021-05-08 11:12:52 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-08 10:31:28 -0700
commit9c6dd168d75322feeeaad557998f71a15f0fedcb (patch)
tree38c6399b1544da6ac984074e0c7b122552addc35 /pkgs/development/interpreters/falcon
parentb2544d1ad274a342620a07b3c795552fab2cc479 (diff)
falcon: fix the build
Diffstat (limited to 'pkgs/development/interpreters/falcon')
-rw-r--r--pkgs/development/interpreters/falcon/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/falcon/default.nix b/pkgs/development/interpreters/falcon/default.nix
index ecac643f1ea96..2b14c9b489d29 100644
--- a/pkgs/development/interpreters/falcon/default.nix
+++ b/pkgs/development/interpreters/falcon/default.nix
@@ -11,12 +11,16 @@ stdenv.mkDerivation {
     sha256 = "1x3gdcz1gqhi060ngqi0ghryf69v8bn50yrbzfad8bhblvhzzdlf";
   };
 
+  # -Wnarrowing is enabled by default in recent GCC versions,
+  # causing compilation to fail.
+  NIX_CFLAGS_COMPILE = "-Wno-narrowing";
+
   nativeBuildInputs = [ cmake pkg-config ];
   buildInputs = [ pcre zlib sqlite ];
 
   meta = with lib; {
     description = "Programming language with macros and syntax at once";
-    license = licenses.gpl2;
+    license = licenses.gpl2Only;
     maintainers = with maintainers; [ pSub ];
     platforms = with platforms; linux;
   };