mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
cwiid: move NIX_CFLAGS_COMPILE into env for structuredAttrs
This commit is contained in:
@@ -45,8 +45,10 @@ stdenv.mkDerivation {
|
||||
flex
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
||||
NIX_LDFLAGS = "-lbluetooth";
|
||||
env = {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
||||
NIX_LDFLAGS = "-lbluetooth";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
# Some programs (for example, cabal-install) have problems with the double 0
|
||||
|
||||
Reference in New Issue
Block a user