Compare commits

...

337 Commits

Author SHA1 Message Date
Robin Gloster
4bc5fbef9d Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-05-24 09:55:24 -05:00
Robin Gloster
7c3a400378 jq: fix build with structured-attrs on darwin 2021-05-01 09:57:56 -05:00
Robin Gloster
813e2d3a2e imag: fix build with structured-attrs 2021-04-30 14:15:01 -05:00
Robin Gloster
78d7576958 darwin: fix build with structured-attrs 2021-04-30 14:02:43 -05:00
Robin Gloster
5b1fc03bee Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-04-29 20:50:03 -05:00
Robin Gloster
ab2b6bfd2e httplz: structured-attrs build fix 2021-04-28 14:58:50 -05:00
Robin Gloster
7aa6979ca9 indicator-application-gtk3: structured-attrs build fix 2021-04-28 14:55:10 -05:00
Robin Gloster
89883afaf5 innernet: structured-attrs build fix 2021-04-28 14:55:01 -05:00
Robin Gloster
c3ce3da5be irods: structured-attrs build fix 2021-04-28 14:50:29 -05:00
Robin Gloster
0652bd26ab ipe: structured-attrs build fix 2021-04-28 14:48:35 -05:00
Robin Gloster
15cab9e9c4 perlPackages.TermReadLineGnu: structured-attrs build fix 2021-04-28 14:33:26 -05:00
Robin Gloster
b5a367df2f ripgrep: structured-attrs build fix 2021-04-28 14:32:55 -05:00
Robin Gloster
3215bb5930 plan9port: structured-attrs build fix 2021-04-28 14:32:42 -05:00
Robin Gloster
85e4faf38b gorilla-bin: structured-attrs build fix 2021-04-28 14:32:31 -05:00
Robin Gloster
d63e12c335 bitwarden_rs: structured-attrs build fix 2021-04-28 14:32:21 -05:00
Robin Gloster
1b1546a235 usbmuxd: structured-attrs build fix 2021-04-28 14:32:05 -05:00
Robin Gloster
add2fb5f9e mysql_jdbc: structured-attrs build fix 2021-04-28 14:31:55 -05:00
Robin Gloster
0d5df55692 jboss_mysql_jdbc: structured-attrs build fix 2021-04-28 14:31:10 -05:00
Robin Gloster
ff1efab80f jool-cli: structured-attrs build fix 2021-04-28 14:30:38 -05:00
Robin Gloster
ce124432db hyperrogue: structured-attrs build fix 2021-04-28 14:30:27 -05:00
Robin Gloster
e4c37edae4 gup: structured-attrs build fix 2021-04-28 14:30:02 -05:00
Robin Gloster
57e27f873a python.pkgs.notebook: structured-attrs build fix 2021-04-28 14:29:45 -05:00
Robin Gloster
84e2bc14d7 ifcopenshell: structured-attrs build fix 2021-04-28 14:29:32 -05:00
Robin Gloster
0c409d57ea jdom: structured-attrs build fix 2021-04-28 14:29:19 -05:00
Robin Gloster
e0cddfabe9 gwtwidgets: structured-attrs build fix 2021-04-28 14:29:05 -05:00
Robin Gloster
c0b788e97f gwtdragdrop: structured-attrs build fix 2021-04-28 14:28:48 -05:00
Robin Gloster
a548768d6f incrtcl: structured-attrs build fix 2021-04-28 14:28:31 -05:00
Robin Gloster
9c1fff6655 hunspellDicts: structured-attrs build fix 2021-04-28 14:28:12 -05:00
Robin Gloster
42da0065a0 guile-ncurses: structured-attrs build fix 2021-04-28 14:27:52 -05:00
Robin Gloster
9833ad7fc3 gitlab: structured-attrs build fix 2021-04-28 14:27:22 -05:00
Robin Gloster
42d2c9f581 uhd3_5: structured-attrs build fix 2021-04-28 14:27:07 -05:00
Robin Gloster
bdf5192578 jupyter: structured-attrs build fix 2021-04-28 14:26:43 -05:00
Robin Gloster
909c377fb9 grandorgue: structured-attrs build fix 2021-04-28 14:26:18 -05:00
Robin Gloster
79475166ff mkYarnPackage: structured-attrs build fix 2021-04-27 21:41:09 -05:00
Robin Gloster
3f1e6e8496 buildRubyGem: structured-attrs build fix 2021-04-27 21:40:51 -05:00
Robin Gloster
5d23c1cf5b mono: structured-attrs build fix 2021-04-27 21:40:07 -05:00
Robin Gloster
b3771bafb9 git-review: structured-attrs build fix 2021-04-27 20:50:53 -05:00
Robin Gloster
3e015912f8 gibo: structured-attrs build fix 2021-04-27 20:50:18 -05:00
Robin Gloster
aefb18b16e gamenetworkingsockets: structured-attrs build fix 2021-04-27 20:31:55 -05:00
Robin Gloster
28b9bcd52e freesweep: structured-attrs build fix 2021-04-27 20:24:07 -05:00
Robin Gloster
7e74a74968 enigma: structured-attrs build fix 2021-04-27 20:23:46 -05:00
Robin Gloster
481c8d590a facedetect: structured-attrs build fix 2021-04-27 20:21:20 -05:00
Robin Gloster
9a8da1056f qwt6_qt4: structured-attrs build fix 2021-04-27 20:19:14 -05:00
Robin Gloster
4754e01052 shellcheck: structured-attrs build fix 2021-04-27 19:53:02 -05:00
Robin Gloster
3cd9ef0122 qwt: structured-attrs build fix 2021-04-27 19:42:44 -05:00
Robin Gloster
c12d2fb78d mixRelease: structured-attrs build fix 2021-04-27 19:38:12 -05:00
Robin Gloster
cf588259ee fetchHex: structured-attrs build fix 2021-04-27 19:37:59 -05:00
Robin Gloster
f51e26853b electrs: structured-attrs build fix 2021-04-27 19:27:43 -05:00
Robin Gloster
c6dfbee09f eksctl: structured-attrs build fix 2021-04-27 19:20:56 -05:00
Robin Gloster
f2564d809c elan: structured-attrs build fix 2021-04-27 19:16:43 -05:00
Robin Gloster
28ec447cb8 edbrowse: structured-attrs build fix 2021-04-27 19:07:04 -05:00
Robin Gloster
d2d882a2bd dolphinEmuMaster: structured-attrs build fix 2021-04-27 19:05:14 -05:00
Robin Gloster
e1ecc2fb4e dunst: structured-attrs build fix 2021-04-27 19:05:02 -05:00
Robin Gloster
ac630e8d26 driversi686Linux.vaapiIntel: structured-attrs build fix 2021-04-27 19:04:35 -05:00
Robin Gloster
9cf1b3d4f0 doas: structured-attrs build fix 2021-04-27 18:54:02 -05:00
Robin Gloster
0d80dc580c chipsec: structured-attrs build fix 2021-04-27 18:53:53 -05:00
Robin Gloster
ba31f056f5 azureus: structured-attrs build fix 2021-04-27 18:53:45 -05:00
Robin Gloster
6f70eb003a clash: structured-attrs build fix 2021-04-27 18:53:36 -05:00
Robin Gloster
8e99a30ad6 bukubrow: structured-attrs build fix 2021-04-27 18:53:21 -05:00
Robin Gloster
ca12cb1380 directx-shader-compiler: structured-attrs build fix 2021-04-27 18:53:00 -05:00
Robin Gloster
a482410e0b ncompress: structured-attrs build fix 2021-04-27 18:52:47 -05:00
Robin Gloster
56a79eb9bd duplicity: structured-attrs build fix 2021-04-27 18:52:31 -05:00
Robin Gloster
0212e111ba dictDBs.wordnet: structured-attrs build fix 2021-04-27 18:52:15 -05:00
Robin Gloster
e0a56e1d93 formats.{json,toml}: structured-attrs build fix 2021-04-27 18:51:45 -05:00
Robin Gloster
d971efbb71 cryptodev: structured-attrs build fix 2021-04-27 18:50:45 -05:00
Robin Gloster
be3edc7113 clojure-lsp: structured-attrs build fix 2021-04-27 18:50:31 -05:00
Robin Gloster
9aab708ade devpi-client: structured-attrs build fix 2021-04-27 18:50:20 -05:00
Robin Gloster
50f7f72375 conftest: structured-attrs build fix 2021-04-27 18:50:05 -05:00
Robin Gloster
8f3165cf8c python.pkgs.tqdm: structured-attrs build fix 2021-04-27 18:49:48 -05:00
Robin Gloster
be56e81a05 certbot: structured-attrs build fix 2021-04-27 18:49:34 -05:00
Robin Gloster
32757f6149 clwrapper: structured-attrs build fix 2021-04-27 18:49:21 -05:00
Robin Gloster
42543e20ad clearsilver: structured-attrs build fix 2021-04-27 18:49:05 -05:00
Robin Gloster
54a11fa4b5 buildDhallPackage: structured-attrs build fix 2021-04-27 18:48:52 -05:00
Robin Gloster
e2c79cdf15 buildGoPackage: structured-attrs build fix 2021-04-27 18:48:36 -05:00
Robin Gloster
1aab2eb997 buildGoModule: structured-attrs build fix 2021-04-27 18:48:19 -05:00
Robin Gloster
4fec6e0418 arduino-core: structured-attrs build fix 2021-04-27 18:48:05 -05:00
Robin Gloster
aa9891af60 arduino-cli: structured-attrs build fix 2021-04-27 18:47:51 -05:00
Robin Gloster
3c4933d5d7 wrapGappsHook: structured-attrs build fix 2021-04-27 18:47:33 -05:00
Robin Gloster
f474eb9425 buildRustPackage: structured-attrs build fix 2021-04-27 18:47:12 -05:00
Robin Gloster
52710db034 commitizen: structured-attrs build fix 2021-04-27 18:46:51 -05:00
Robin Gloster
3fc0b969c4 cloudfoundry-cli: structured-attrs build fix 2021-04-27 18:46:32 -05:00
Robin Gloster
df7293e2a2 digitalbitbox: structured-attrs build fix 2021-04-27 18:46:17 -05:00
Robin Gloster
8a4cec796f clipcat: structured-attrs build fix 2021-04-27 18:46:04 -05:00
Robin Gloster
f8c1d39b92 birdtray: structured-attrs build fix 2021-04-27 18:45:48 -05:00
Robin Gloster
4d277317b5 dosage: structured-attrs build fix 2021-04-27 18:45:26 -05:00
Robin Gloster
4d4f48a250 gnupg1compat: structured-attrs build fix 2021-04-26 16:57:07 -05:00
Robin Gloster
72b3c05545 DisnixWebService: structured-attrs build fix 2021-04-26 16:56:54 -05:00
Robin Gloster
4ef8740edd agate: structured-attrs build fix 2021-04-26 16:56:41 -05:00
Robin Gloster
fa98abb859 gomplate: structured-attrs build fix 2021-04-26 16:56:17 -05:00
Robin Gloster
473e5b67c6 python.pkgs.jaraco_classes: structured-attrs build fix 2021-04-26 16:56:04 -05:00
Robin Gloster
431cd92f10 python.pkgs.ansible-lint: structured-attrs build fix 2021-04-26 16:55:46 -05:00
Robin Gloster
982390dad3 spice-gtk: structured-attrs build fix 2021-04-26 16:55:33 -05:00
Robin Gloster
465b4dd7e0 haskellPackage.mkDerivation: structured-attrs build fix 2021-04-26 16:53:39 -05:00
Robin Gloster
d0cfdf3fbd gnome3.mutter: structured-attrs build fix 2021-04-26 16:53:22 -05:00
Robin Gloster
93978b37e9 gnome3.gdm: structured-attrs build fix 2021-04-26 16:53:14 -05:00
Robin Gloster
8d602a0674 gogs: structured-attrs build fix 2021-04-26 16:52:41 -05:00
Robin Gloster
41358258fb treewide: structured-attrs eval fixes 2021-04-24 17:10:30 -05:00
Jan Tojnar
c447fb4879 tracker: 3.0.3 → 3.1.1
Also reverts #118823

Co-Authored-By: Bastian Köcher <info@kchr.de>
Co-Authored-By: Stefan Frijters <sfrijters@gmail.com>
2021-04-24 10:56:02 -05:00
Stefan Frijters
e62cfc97ad pythonPackages.tappy: init at 3.0 2021-04-24 10:55:23 -05:00
Robin Gloster
2524d3ca89 treewide: fix structured-attrs eval failures 2021-04-23 18:31:57 -05:00
Robin Gloster
14dc2646c0 wrapPythonPrograms: handle pythonPath correctly 2021-04-23 14:14:37 -05:00
Robin Gloster
2e2462abf8 Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-04-23 12:35:37 -05:00
Robin Gloster
c416823817 Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-04-23 12:34:29 -05:00
Robin Gloster
f40274db34 treewide: fix package builds with structured-attrs 2021-04-21 19:59:36 -05:00
Robin Gloster
74890f439c treewide: fix package builds with structured-attrs 2021-03-22 09:49:59 -06:00
Robin Gloster
995e50f6b7 crystal: fix package builds with structured-attrs 2021-03-20 16:42:25 -06:00
Robin Gloster
1f2c2a3680 uhd: fix cmake flags with structured-attrs 2021-03-20 16:39:16 -06:00
Robin Gloster
7989a10f29 treewide: fix structured-attrs related failures 2021-03-20 14:25:14 -06:00
Robin Gloster
6c35335b36 Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-03-16 16:42:03 -06:00
Robin Gloster
d9af113571 treewide: structured-attrs eval fixes 2021-03-16 14:55:37 -06:00
Robin Gloster
db58cb0e86 openldap: fix {make,install}Flags handling 2021-03-11 16:25:15 -06:00
Robin Gloster
567cbce2dc treewide: eval fixes 2021-03-08 16:00:19 -06:00
Robin Gloster
ee073888cf Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-03-08 13:49:26 -06:00
Robin Gloster
d7ae8cb808 treewide: eval fixes 2021-03-08 13:49:13 -06:00
Robin Gloster
05fabbbcfb treewide: stdenv.lib -> lib 2021-03-04 18:22:19 -06:00
Robin Gloster
ba4244bbb0 Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-03-04 08:14:33 -06:00
Robin Gloster
7431bd0e00 Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-03-04 08:13:18 -06:00
Robin Gloster
5672a1d46b Merge remote-tracking branch 'upstream/master' into structured-attrs 2021-02-28 19:23:12 -06:00
Robin Gloster
26704dd989 qmake: fix hook quoting 2020-04-30 17:33:40 +02:00
Robin Gloster
ca28500d27 bolt: fix build 2020-04-30 17:30:34 +02:00
Robin Gloster
53c7cefae4 python.pkgs.python-dbusmock: fix build 2020-04-30 17:29:59 +02:00
Robin Gloster
2f1ba315f4 python.buildPython*: fix env handling 2020-04-30 17:29:27 +02:00
Robin Gloster
b11b4a8fea ns-3: fix build 2020-04-30 17:03:56 +02:00
Robin Gloster
879260e7cc waf: fix for structured-attrs 2020-04-28 23:53:03 +02:00
Robin Gloster
9d6f7fdc77 objc4-osx: fix build 2020-04-28 23:23:24 +02:00
Robin Gloster
01144006a1 dmd: fix build 2020-04-28 23:23:08 +02:00
Robin Gloster
1e21d7bcd5 treewide: fix structured-attrs related failures 2020-04-19 16:36:22 +02:00
Robin Gloster
bc15f27ad9 texlive.dvisvgm: fix build 2020-04-17 21:53:25 +02:00
Robin Gloster
f9cf8a5307 base16-builder: fix eval 2020-04-17 21:53:08 +02:00
Robin Gloster
b2531b3860 sword: fix eval 2020-04-17 21:52:51 +02:00
Robin Gloster
1ad6dea3c1 kinit: fix eval 2020-04-17 21:52:32 +02:00
Robin Gloster
cb7feb310d qm-dsp: fix eval 2020-04-17 21:52:21 +02:00
Robin Gloster
f83a0722cb guile: fix eval 2020-04-17 21:52:08 +02:00
Robin Gloster
6ec22bccb6 llvm6.compiler-rt: fix eval 2020-04-17 21:51:49 +02:00
Robin Gloster
3119af3536 gnustep-make: fix build 2020-04-17 21:51:33 +02:00
Robin Gloster
5a91b086f4 evolution-data-server: fix build 2020-04-17 21:51:20 +02:00
Robin Gloster
04ce99995e evolution: fix build 2020-04-17 21:51:06 +02:00
Robin Gloster
0e61d42df5 ardour: fix eval 2020-04-17 21:50:49 +02:00
Robin Gloster
fef6d50f19 azureus: fix build 2020-04-17 21:50:28 +02:00
Robin Gloster
3a42179402 libvpx: fix eval 2020-04-17 01:46:55 +02:00
Robin Gloster
e67383f012 libdv: fix eval 2020-04-17 01:46:44 +02:00
Robin Gloster
0d5a35b51e php: fix eval 2020-04-17 01:46:29 +02:00
Jan Tojnar
2aadcc5dfb gst_all_1.gstreamer: fix build 2020-04-17 01:39:25 +02:00
Jan Tojnar
e5c8f881ab dconf: fix build 2020-04-17 01:39:24 +02:00
Jan Tojnar
8265278103 dconf: format with nixpkgs-fmt
Also:

* use pname + version instead of name
* reorder attributes
* change platforms linux + darwin → unix
2020-04-17 01:39:24 +02:00
Robin Gloster
01bda6d9de python.pkgs.cryptography: fix merge 2020-04-15 06:11:26 +02:00
Robin Gloster
1ada23e3fb librsvg: fix eval 2020-04-15 06:04:55 +02:00
Robin Gloster
2d44535f6e Merge remote-tracking branch 'upstream/staging' into structured-attrs 2020-04-15 06:03:32 +02:00
Robin Gloster
a424d880c3 Merge remote-tracking branch 'upstream/master' into structured-attrs 2020-04-15 05:52:33 +02:00
Robin Gloster
e03fbb457e transfig: fix array quoting 2020-04-15 05:35:04 +02:00
Robin Gloster
143f390875 python.pkgs.cryptography: fix missing dep 2020-04-15 05:34:37 +02:00
Robin Gloster
ef6447d407 pytest-check-hoo: fix array quoting 2020-04-15 05:34:02 +02:00
Robin Gloster
3d8d0f53ba nodePackages: fix build 2020-04-15 01:32:29 +02:00
Robin Gloster
4e944c591d treewide: fix passAsFile occurences 2020-04-14 18:11:24 +02:00
Robin Gloster
5428f06b9e youtube-dl: fix build 2020-04-14 04:38:27 +02:00
Robin Gloster
c0d015e372 borg: fix build 2020-04-14 04:35:57 +02:00
Robin Gloster
77197d872b luarocks: fix build 2020-04-14 04:35:13 +02:00
Robin Gloster
245d2f3725 phonon: fix build 2020-04-14 04:35:00 +02:00
Robin Gloster
b4e85bd1c0 docker: fix build 2020-04-14 04:33:16 +02:00
Robin Gloster
c0f47104e3 containerd: fix build 2020-04-14 04:32:59 +02:00
Robin Gloster
daaffb152e mariadb: fix build 2020-04-14 01:39:24 +02:00
Robin Gloster
9191139d0f python.pkgs.paramiko: fix build 2020-04-14 01:22:19 +02:00
Robin Gloster
ebab7e9dde python.pkgs.cryptography: fix build 2020-04-14 01:03:52 +02:00
Robin Gloster
485957e579 zathura: fix plugin builds 2020-04-13 23:24:37 +02:00
Robin Gloster
4f17f7ceb4 lemon: fix build 2020-04-13 19:17:57 +02:00
Robin Gloster
8f7dab9932 buildPythonPackage: fix LANG handling 2020-04-13 18:21:55 +02:00
Robin Gloster
81f4dfaac6 anki: fix build 2020-04-13 18:16:58 +02:00
Robin Gloster
e2e8e1aaf0 perlPackages.Mozilla-LDAP: fix build 2020-04-13 18:16:43 +02:00
Robin Gloster
9f60b1e441 qtwebengine: fix build 2020-04-13 18:16:28 +02:00
Robin Gloster
db60e6205e libf2c: fix build 2020-04-13 18:16:15 +02:00
Robin Gloster
c1d2266024 mplayer: fix build 2020-04-13 18:15:39 +02:00
Robin Gloster
d251320f31 acd_cli: fix build 2020-04-13 18:15:20 +02:00
Robin Gloster
c94243f8cd nx-libs: fix build 2020-04-12 21:43:50 +02:00
Robin Gloster
2b6bc1a00a gtk-sharp: fix build 2020-04-12 21:35:39 +02:00
Robin Gloster
2b3e68c84f monoDllFixer: fix build 2020-04-12 20:37:07 +02:00
Robin Gloster
7ca4297b3e httpunit: fix build 2020-04-12 20:20:37 +02:00
Robin Gloster
5c1086ff55 fpc: fix build 2020-04-12 20:16:31 +02:00
Robin Gloster
53cab74ff3 aspellDicts: fix buildTxtDict 2020-04-12 19:49:57 +02:00
Robin Gloster
5a4fb8d501 stdenv: properly fix sourceRoot=. 2020-04-11 12:55:44 +02:00
Robin Gloster
ff5baf8c00 treewide: structured-attrs eval fixes 2020-04-11 12:52:58 +02:00
Robin Gloster
374284ed17 fetchurl: use read correctly 2020-04-11 12:52:12 +02:00
Robin Gloster
0d7c433ab3 rxvt-unicode: fix eval 2020-04-09 08:49:13 +02:00
Robin Gloster
ddc0bf288a stdenv.mkDerivation: disallow LDFLAGS outside env 2020-04-09 08:48:54 +02:00
Robin Gloster
7acb003fcc symlinkJoin: replace passAsFile 2020-04-09 08:48:03 +02:00
Robin Gloster
482ee582ba fetchurl: fix mirrorsFile 2020-04-09 08:47:33 +02:00
Robin Gloster
e754ee6023 kdeFrameworks.*: fix setupHooks 2020-04-09 01:17:25 +02:00
Robin Gloster
3c173269fa treewide: fix eval 2020-04-09 01:17:04 +02:00
Robin Gloster
0523429ff6 treewide: add C{,XX}FLAGS to env attrs 2020-04-07 23:38:23 +02:00
Robin Gloster
c609fbeb07 Merge remote-tracking branch 'upstream/staging' into structured-attrs 2020-04-07 23:11:35 +02:00
Robin Gloster
2ef8d668a3 qt3: remove, no refences left 2020-04-07 23:09:36 +02:00
Robin Gloster
35e4ad64fd lprof: remove ancient, dead package
last reference to qt3
2020-04-07 23:09:36 +02:00
Robin Gloster
8b8568804d taskjuggler: remove unreferenced files 2020-04-07 23:09:36 +02:00
Robin Gloster
cead219349 fluid: temporary sourceRoot=. fix 2020-04-07 23:09:36 +02:00
Robin Gloster
c9038c050f qt5.qtbase: fix for structured attrs 2020-04-07 23:09:36 +02:00
Robin Gloster
a08512f5ef qt4: fix for structured attrs 2020-04-07 23:09:36 +02:00
Robin Gloster
6860f87ae6 treewide: fix CFLAGS for structured attrs 2020-04-07 23:09:35 +02:00
Robin Gloster
64b344d7c9 fetchurl: fix for structured attrs 2020-04-07 23:09:35 +02:00
Robin Gloster
c3a54ba969 treewide: cleanup prefixKey logic 2020-04-07 23:09:35 +02:00
Robin Gloster
9040bc0117 metaocaml_3_09: remove unused and broken package 2020-04-07 23:09:35 +02:00
Robin Gloster
5f962038f2 ocaml: remove unused 4.04 2020-04-07 23:09:35 +02:00
Robin Gloster
fbfbb1db02 ocaml: remove unused 4.03 2020-04-07 23:09:35 +02:00
Robin Gloster
e82c2fc878 ocaml: remove unused 4.00.1 2020-04-07 23:09:34 +02:00
Robin Gloster
25add836a5 ocaml: remove unreferenced files 2020-04-07 23:09:34 +02:00
Matthieu Coudron
041d756a70 upx: add CXXFLAGS to env 2020-04-06 15:58:31 +02:00
Matthieu Coudron
f1dfebe55b desmume: add CXXFLAGS to env 2020-04-06 15:58:31 +02:00
Matthieu Coudron
537df49ce8 xmoto: add CXXFLAGS to env 2020-04-06 15:58:31 +02:00
Matthieu Coudron
ff6b7b09b9 libpar2: add CXXFLAGS to env 2020-04-06 15:58:31 +02:00
Matthieu Coudron
903d5aac52 libfolia: add CXXFLAGS to env 2020-04-06 15:58:31 +02:00
Linus Heckemann
88927d408b unifont: fix build with structuredAttrs 2020-04-05 21:19:15 +02:00
Linus Heckemann
6771c1fa40 linux/firmware: misc structuredAttrs fixes 2020-04-05 21:19:15 +02:00
Linus Heckemann
db02491b5b libunistring: only provide libiconv-prefix on non-linux 2020-04-05 21:19:15 +02:00
Linus Heckemann
ea9ad7e38f make-initrd: fix for structuredAttrs
no more "!!! should use XML" :)
2020-04-05 21:18:19 +02:00
Linus Heckemann
59d6f2a1f8 nixos/etc: fix building etc with structuredAttrs
Yay, no more should-use-XML todo!
2020-04-05 21:18:19 +02:00
Linus Heckemann
eb26c487f3 stdenv: improve error message when env contains a bad type 2020-04-05 21:18:18 +02:00
Linus Heckemann
609ef4045f linux: fix build with structuredAttrs (really this time) 2020-04-05 21:18:18 +02:00
Linus Heckemann
86e1a96d27 modules-closure: fix for structuredAttrs 2020-04-05 21:18:18 +02:00
Robin Gloster
502513ef1c texlive: fix with structured attrs 2020-04-05 18:48:26 +02:00
Robin Gloster
fc0604eeec stdenv: assert CXXFLAGS -> env 2020-04-05 18:47:54 +02:00
Robin Gloster
bc348d0e3b apcupsd: fix configureFlags handling 2020-04-05 18:47:19 +02:00
Robin Gloster
417aea1709 lvm2: fix build with structured attrs 2020-04-05 18:46:55 +02:00
Robin Gloster
942d915637 wxGTK: add SEARCH_INCLUDE and SEARCH_LIB to env 2020-04-05 18:46:19 +02:00
Robin Gloster
76b88d9a6e libcdr: add CXXFLAGS to env 2020-04-05 18:45:53 +02:00
Robin Gloster
e68239a005 hspell: add PERL_USE_UNSAFE_INC to env 2020-04-05 18:45:26 +02:00
Robin Gloster
668174f038 goocanvas: add PKG_CONFIG_* to env 2020-04-05 18:44:38 +02:00
Robin Gloster
7d6f7dcade aegisub: add FLAGS and CRYSTAL_LIBRARY_PATH to env 2020-04-05 18:44:11 +02:00
Robin Gloster
5bed43a629 aegisub: add CXXFLAGS to env 2020-04-05 18:43:47 +02:00
Robin Gloster
30d6ad3304 afew: fix makeWrapperArgs handling 2020-04-05 18:43:24 +02:00
Robin Gloster
ac1c294387 akonadi: add CXXFLAGS to env 2020-04-05 18:42:45 +02:00
Robin Gloster
7bac61638f treewide: fix structured-attrs build errors 2020-04-05 18:42:31 +02:00
Matthieu Coudron
1b29d05007 Use env. for environment variables 2020-04-05 18:23:51 +02:00
Frederik Rietdijk
15a0499028 Revert "Use env. for environment variables"
env. cannot handle list of strings.

This reverts commit e256a20a48.
2020-04-05 13:27:55 +02:00
Frederik Rietdijk
9063bff845 zenpower: makeFlags is a list 2020-04-05 13:03:35 +02:00
Frederik Rietdijk
742ae57968 ssh validationPackage is a single value, not a list 2020-04-05 13:03:22 +02:00
Frederik Rietdijk
e256a20a48 Use env. for environment variables 2020-04-05 13:02:56 +02:00
Robin Gloster
476067a873 treewide: fix structured-attrs eval errors 2020-04-04 21:50:27 +02:00
Robin Gloster
25fcd7b25a ghc883: fix structuredAttrs build 2020-04-04 19:22:15 +02:00
Robin Gloster
c829aab57c go_1_14: fix structuredAttrs build 2020-04-04 19:17:15 +02:00
Linus Heckemann
7b4ac78035 sudo: fix structuredAttrs build 2020-04-04 16:01:51 +02:00
Linus Heckemann
d8d10e520f linux: fix build with structuredAttrs 2020-04-04 16:01:14 +02:00
Linus Heckemann
e5276c7fd9 makeFontsCache: fix for structuredAttrs 2020-04-04 15:58:05 +02:00
Linus Heckemann
24df1f0d06 rubyPackages.nokogiri: fix build 2020-04-04 15:56:47 +02:00
Linus Heckemann
cbfdbbfdf8 perl-modules: fix building 2020-04-04 15:46:08 +02:00
Linus Heckemann
7d80da31c7 stdenv/linux: fix iconv support in libunistring 2020-04-03 17:21:33 +02:00
Robin Gloster
c1854d8616 treewide: fix sconsFlags handling 2020-04-01 14:34:45 +02:00
Robin Gloster
df715ebb43 Revert "ruby: workaround __toString issue with toJSON"
This reverts commit ceb5346aae.

Fixed in nix
2020-04-01 12:27:01 +02:00
Robin Gloster
36bd1a6dbb Merge remote-tracking branch 'upstream/master' into structured-attrs 2020-04-01 12:07:22 +02:00
Robin Gloster
8e85d27304 audiofile: use env. with a string 2020-01-23 14:25:06 +01:00
Robin Gloster
6b8babf181 Merge remote-tracking branch 'upstream/master' into structured-attrs 2020-01-21 13:31:51 +01:00
Jan Tojnar
5239aeda52 fixup! ninja: fix for structured attrs 2019-12-31 04:26:53 +01:00
Jan Tojnar
3383f6bdec fixup! treewide: configureFlags is a flat list 2019-12-31 03:40:19 +01:00
John Ericson
f508397dab gcc: Clean up and minimize differences 2019-12-31 03:32:25 +01:00
Robin Gloster
58d5dc4161 treewide: structured-attrs fixes 2019-12-31 03:32:25 +01:00
John Ericson
89d28e9c3b WIP: gcc-*: Start to merge and fix differences 2019-12-31 03:32:24 +01:00
Robin Gloster
e890a42d6e treewide: configureFlags is a flat list 2019-12-31 03:32:24 +01:00
Robin Gloster
bab34c101b treewide: configureFlags is a flat list 2019-12-31 03:32:24 +01:00
Maximilian Bosch
1e993f3838 v8: fix build 2019-12-31 03:32:23 +01:00
Maximilian Bosch
d2031a938d cargo: fix build 2019-12-31 03:32:23 +01:00
Maximilian Bosch
e6763a26e9 buildGoPackage: fix builds
Packages built with `buildGoPackage` provide a `bin` and an
`out`-output. The first one for build artifacts, the second one for
propagated build outputs. This caused a `failed to produce
output-path`-error since the new implementation to determine the
`propagaterOutput` used `dev` by default or the first listed output
(which is `bin` for go packages), hence `$out` was never created which
broke the build.

However the old implementation in `multiple-outputs.sh` didn't check for
`dev`, but for `$outputDev` which was either `dev` or `out`.

Providing `out` as fallback if `dev` doesn't exist as propagaterOutput
fixes the issue.
2019-12-31 03:32:23 +01:00
Maximilian Bosch
79fc41ab3f go: fix build
Please note that this won't fix too much leaf-pkgs, those appear to be
pretty broken as those don't have an `out`-output.
2019-12-31 03:32:22 +01:00
Maximilian Bosch
41df050276 make-derivation: assert that configureFlags is a flat list
Otherwise, flags will be passed improperly to configure scripts (see
also 62d375e3d7bbe752e24eb54a5bbef439021b9903 and https://hydra.nixos.org/build/106303610)
2019-12-31 03:32:22 +01:00
Maximilian Bosch
c375951e6a rustc: fix build 2019-12-31 03:32:22 +01:00
Robin Gloster
8fb17e3285 libfaketime: fix build 2019-12-31 03:32:21 +01:00
Robin Gloster
b33a1c0f4e xorg.imake: fix build 2019-12-31 03:32:21 +01:00
Robin Gloster
e51ad14dd7 stdenv: fix fixupOutput hooks
$output has to actually refer to the name of the output as it is used in
the hooks
2019-12-31 03:32:20 +01:00
Robin Gloster
dd47dd9caa Revert "glib: patch python3 shebangs for gdbus-codegen"
This reverts commit 326a1e0cd460cca6eec393dd6aa4bbf6bac28103.
2019-12-31 03:32:20 +01:00
Robin Gloster
73b5b80459 Revert "glib: fix all shebangs of scripts in $dev output"
This reverts commit 123172b656a099b2850bae6f2ab3ee62a7142cd6.
2019-12-31 03:32:20 +01:00
Maximilian Bosch
4057a65a8d treewide: mv NIX_LDFLAGS to env. 2019-12-31 03:32:19 +01:00
Maximilian Bosch
a7c1c3a7de glib: fix all shebangs of scripts in $dev output 2019-12-31 03:32:19 +01:00
Maximilian Bosch
860f0577b3 glib: patch python3 shebangs for gdbus-codegen
Fixes at least `gnome3.dconf` since `/usr/bin/env` is missing in the
build sandbox. Tbh I'm not entirely sure what caused this (building
`gnome3.dconf` from master works just fine), but this should fix a lot
of stuff for now.
2019-12-31 03:32:19 +01:00
Robin Gloster
0c6af8b788 treewide: fix types for mkDerivation params 2019-12-31 03:32:18 +01:00
Maximilian Bosch
18d41f1945 treewide: use flat lists for *Inputs, fix env usage 2019-12-31 03:32:18 +01:00
Maximilian Bosch
9aa2d5df87 treewide: fix usage of env in several packages 2019-12-31 03:32:17 +01:00
Robin Gloster
0de930ae8d treewide: *inputs are lists 2019-12-31 03:17:51 +01:00
Maximilian Bosch
fb24d729d0 weechat: fix eval 2019-12-31 03:17:51 +01:00
Robin Gloster
4f56d6a45b stdenv: fix buildInputs etc. assertion logic 2019-12-31 03:17:50 +01:00
Robin Gloster
081aa3f3d1 stdenv: buildInputs etc. has to be a list of drvs 2019-12-31 03:17:50 +01:00
Maximilian Bosch
0faceb49fd darwin.system_cmds: fix eval 2019-12-31 03:17:50 +01:00
Maximilian Bosch
2ac2c2188d zfs: fix eval 2019-12-31 03:17:50 +01:00
Maximilian Bosch
0f4acfdf39 poly2tri-c: fix eval 2019-12-31 03:17:49 +01:00
Maximilian Bosch
3bcd39af4b ronn: fix eval 2019-12-31 03:17:49 +01:00
Maximilian Bosch
906c4fab84 openjdk{8,11,12}: fix eval 2019-12-31 03:17:48 +01:00
Robin Gloster
f7471e3cef wireguard: fix eval 2019-12-31 03:17:48 +01:00
Robin Gloster
d01d6a1002 buildRubyGem: fix for structured attrs 2019-12-31 03:17:48 +01:00
John Ericson
4c4e1b33e6 tdesktop: Fix evl 2019-12-31 03:17:48 +01:00
John Ericson
c492beebc9 perlPackages: Use env for many for NIX_* env vars 2019-12-31 03:17:47 +01:00
John Ericson
624dd8286c treewide: Use env for many for environment variables 2019-12-31 03:17:47 +01:00
John Ericson
054a803581 darwin stdenv: Get rid of some rec { .. }
While they weren't causing a problem per-se, it's just another footgun
with already super complex bootstrapping. Better to be explicit with
some `let`s.
2019-12-31 03:17:47 +01:00
John Ericson
f90ca1e0da mkDerivation: Push env assertions deeper onto just that attribute
The increased laziness fixes some infinite recursions.
2019-12-31 03:17:46 +01:00
Robin Gloster
e6630e6ec8 treewide: use env.* for vars to be exported in ENV 2019-12-31 03:17:46 +01:00
Robin Gloster
eda7168ff9 stdenv: fix env assertion logic 2019-12-31 03:17:46 +01:00
Robin Gloster
55442b8bd3 treewide: structured attrs fixes 2019-12-31 03:17:45 +01:00
Robin Gloster
c168f128af stdenv: introduce env dict exporting vars 2019-12-31 03:17:45 +01:00
Robin Gloster
12b0ee200c stdenv: installFlags is a list 2019-12-31 03:17:44 +01:00
Robin Gloster
8ecdc39968 ninja: fix for structured attrs 2019-12-31 03:17:43 +01:00
Robin Gloster
e36332b754 cmake: fix for structured attrs 2019-12-31 03:17:42 +01:00
Robin Gloster
49b60c2015 ghc8XX-binary: temporary export hack 2019-12-31 03:17:42 +01:00
Robin Gloster
6a2c8c0606 meson: fix for structured attrs 2019-12-31 03:17:41 +01:00
Robin Gloster
64037516db python: temporary export hack 2019-12-31 03:17:41 +01:00
Robin Gloster
097d586203 bootstrapped-pip: fix with structured-attrs 2019-12-31 03:17:41 +01:00
Robin Gloster
f443ee2964 treewide: remove some unneeded phases 2019-12-31 03:17:40 +01:00
Robin Gloster
15cc5faba5 pythonImportsCheck: fix for structured attrs 2019-12-31 03:17:40 +01:00
Robin Gloster
088ad200fe python: temporary export hack
probably add mkDerivation.env attrs to be exported
2019-12-31 03:17:39 +01:00
Robin Gloster
2351f2049e stdenv: fix srcs handling 2019-12-31 03:17:39 +01:00
Robin Gloster
fcf30f4776 linux-pam: fix configureFlags 2019-12-31 03:17:38 +01:00
Robin Gloster
9786455bf0 stdenv: installTargets is a list 2019-12-31 03:17:38 +01:00
Robin Gloster
aaca94ce7c unbound: fix 2019-12-31 03:17:38 +01:00
John Ericson
5916d4eb9a WIP: stdenv: Fix bash for more set -u + structured attrs 2019-12-31 03:17:38 +01:00
Robin Gloster
f246ce0bf3 tzdata: handle structuredAttrs 2019-12-31 03:17:38 +01:00
Robin Gloster
225317351a mkDerivation: fix $srcs handling 2019-12-31 03:17:37 +01:00
Robin Gloster
02df34044c xorg.*: source .attrs.sh 2019-12-31 03:17:37 +01:00
Robin Gloster
9b2f6f87b6 treewide: fix flags types 2019-12-31 03:17:37 +01:00
Robin Gloster
5bdefbb781 stdenv: export NIX_*FLAGS 2019-12-31 03:17:37 +01:00
Robin Gloster
983382de5b glibcLocales: inline builder 2019-12-31 03:17:37 +01:00
Robin Gloster
4a58d6e069 mkDerivation: assert NIX_*_FLAGS are strings 2019-12-31 03:17:36 +01:00
Robin Gloster
5847cf2f07 libxml2: fix pythonSupport buildEnv postStart 2019-12-31 03:17:36 +01:00
Robin Gloster
2691d796d1 nukeReferences: __structuredAttrs compat 2019-12-31 03:17:36 +01:00
Robin Gloster
0bd4bc8ac1 buildenv: use .attrs.json 2019-12-31 03:17:36 +01:00
Robin Gloster
d9d7df9300 pyside: fix syntax 2019-12-31 03:17:36 +01:00
Robin Gloster
ceb5346aae ruby: workaround __toString issue with toJSON
revert after nixos/nix#3167 is released
2019-12-31 03:17:35 +01:00
Robin Gloster
3ae02e8eba treewide: *Flags are lists, part 2 2019-12-31 03:17:35 +01:00
Robin Gloster
7972a0ea9e treewide: *Flags are lists 2019-12-31 03:17:35 +01:00
Robin Gloster
e12ef00527 stdenv: fix propagatedBuildOutputs 2019-12-31 03:17:35 +01:00
Robin Gloster
1376983a85 stdenv: debug clean-up 2019-12-31 03:17:35 +01:00
Robin Gloster
88d8f22084 glibc: export BASH_SHELL for build 2019-12-31 03:17:34 +01:00
Robin Gloster
3f3f38eed6 stdenv.mkDerivation: fix input bash quoting 2019-12-31 03:17:34 +01:00
Robin Gloster
9930080144 stdenv.mkDerivation: filter null deps 2019-12-31 03:17:34 +01:00
Robin Gloster
c02f88ddd4 stdenv.mkDerivation: fix propagatedBuildOutputs 2019-12-31 03:17:34 +01:00
Robin Gloster
6e95f0a9f7 stdenv.mkDerivation: fix further structuredAttrs issues 2019-12-31 03:17:33 +01:00
Robin Gloster
7c6fa3181b stdenv.mkDerivation: fix more output handling
And one test -ne vs test != issue
2019-12-31 03:17:33 +01:00
Robin Gloster
b3c2f89fbe stdenv.mkDerivation: fix output handling 2019-12-31 03:17:33 +01:00
Robin Gloster
9c2f2d16d4 stdenv.mkDerivation: fix prev broken propagatedDeps 2019-12-31 03:17:33 +01:00
Robin Gloster
adc3a27965 stdenv.mkDerivation: list fixes 2019-12-31 03:17:33 +01:00
Robin Gloster
23e02903d7 stdenv.mkDerivation: fix makeFlags 2019-12-31 03:17:33 +01:00
Robin Gloster
5c1f54ae9d stdenv.mkDerivation: fix deps* 2019-12-31 03:17:32 +01:00
Robin Gloster
a5c8787a49 stdenv.mkDerivation: fix configureFlags 2019-12-31 03:17:32 +01:00
Robin Gloster
f52479f263 stdenv.mkDerivation: fix substituteAll 2019-12-31 03:17:32 +01:00
Robin Gloster
0c0f326a02 WIP stdenv.mkDerivation: use __structuredAttrs 2019-12-31 03:17:32 +01:00
1147 changed files with 2873 additions and 5238 deletions

View File

@@ -11,12 +11,11 @@ let
etc = pkgs.stdenvNoCC.mkDerivation {
name = "etc";
builder = ./make-etc.sh;
buildCommand = builtins.readFile ./make-etc.sh;
preferLocalBuild = true;
allowSubstitutes = false;
/* !!! Use toXML. */
sources = map (x: x.source) etc';
targets = map (x: x.target) etc';
modes = map (x: x.mode) etc';

View File

@@ -1,25 +1,15 @@
source $stdenv/setup
mkdir -p "$out/etc"
mkdir -p $out/etc
set -f
sources_=($sources)
targets_=($targets)
modes_=($modes)
users_=($users)
groups_=($groups)
set +f
for ((i = 0; i < ${#targets_[@]}; i++)); do
source="${sources_[$i]}"
target="${targets_[$i]}"
for ((i = 0; i < ${#targets[@]}; i++)); do
source="${sources[$i]}"
target="${targets[$i]}"
if [[ "$source" =~ '*' ]]; then
# If the source name contains '*', perform globbing.
mkdir -p $out/etc/$target
mkdir -p "$out/etc/$target"
for fn in $source; do
ln -s "$fn" $out/etc/$target/
ln -s "$fn" "$out/etc/$target/"
done
else

View File

@@ -14,7 +14,7 @@ stdenv.mkDerivation {
# -Wnarrowing is enabled by default in recent GCC versions,
# causing compilation to fail.
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";
postPatch = ''
(

View File

@@ -119,7 +119,7 @@ in stdenv.mkDerivation rec {
"--with-backends=jack,alsa,dummy"
];
NIX_CFLAGS_COMPILE = "-I${qm-dsp}/include/qm-dsp";
env.NIX_CFLAGS_COMPILE = "-I${qm-dsp}/include/qm-dsp";
# ardour's wscript has a "tarball" target but that required the git revision
# be available. Since this is an unzipped tarball fetched from github we

View File

@@ -169,7 +169,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${lib.makeBinPath [ harvid xjadeo ]}"
'';
LINKFLAGS = "-lpthread";
env.LINKFLAGS = "-lpthread";
meta = with lib; {
description = "Multi-track hard disk recording software";

View File

@@ -40,6 +40,7 @@ mkDerivation rec {
# derivations, since they really expect to be in the same prefix.
# This is slighly tricky.
builder = builtins.toFile "builder.sh" ''
source .attrs.sh
# First build audacious.
(
source $stdenv/setup
@@ -47,7 +48,7 @@ mkDerivation rec {
)
# Then build the plugins.
(
nativeBuildInputs="$out $nativeBuildInputs" # to find audacious
nativeBuildInputs+=("''${outputs[out]}") # to find audacious
source $stdenv/setup
rm -rfv audacious-*
src=$pluginsSrc

View File

@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
'';
# audacity only looks for ffmpeg at runtime, so we need to link it in manually
NIX_LDFLAGS = toString [
env.NIX_LDFLAGS = toString [
"-lavcodec"
"-lavdevice"
"-lavfilter"

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
# https://bugs.launchpad.net/audio-recorder/+bug/1784622
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ];

View File

@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
})
];
NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lgcc_s";
env.NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lgcc_s";
preFixup = lib.optionalString stdenv.isLinux ''
sed 's,-ludev,-L${lib.getLib systemd}/lib -ludev,' -i $out/lib/libusb-1.0.la

View File

@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
patches = [ ./darwin-limits.patch ];
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-missing-sysroot";
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework MultitouchSupport";
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-missing-sysroot";
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework MultitouchSupport";
postPatch = ''
substituteInPlace src/core/makefile.x/makefile.osx \

View File

@@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
sha256 = "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw";
};
NIX_LDFLAGS = "-lid3tag -lz";
env.NIX_LDFLAGS = "-lid3tag -lz";
nativeBuildInputs = [ pkg-config intltool itstool libxml2 wrapGAppsHook ];
buildInputs = [

View File

@@ -48,8 +48,8 @@ stdenv.mkDerivation rec {
strictDeps = true;
CXXFLAGS = "-std=c++11";
configureFlags = "--enable-liblilv --with-extra-cppflags=-Dnullptr=0";
env.CXXFLAGS = "-std=c++11";
configureFlags = [ "--enable-liblilv" "--with-extra-cppflags=-Dnullptr=0" ];
postPatch = ''
sed -i -e '

View File

@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
./format.patch
];
CFLAGS = lib.optionalString debug " -DDEBUG=2";
env.CFLAGS = lib.optionalString debug " -DDEBUG=2";
meta = {
homepage = "http://eflite.sourceforge.net";

View File

@@ -58,9 +58,7 @@ let
cd build
'';
cmakeFlags = ''
-C ../backends/all.cmake -C ../targets/all.cmake ..
'';
cmakeFlags = [ "-C ../backends/all.cmake" "-C ../targets/all.cmake .." ];
postInstall = ''
# syntax error when eval'd directly

View File

@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
configureFlags = oldAttrs.configureFlags ++ [ "--enable-openssl-compatibility" ];
}))
];
NIX_CFLAGS_COMPILE = toString
env.NIX_CFLAGS_COMPILE = toString
(makeSDLFlags [ SDL SDL_ttf SDL_gfx ] ++ [ "-I${libxml2.dev}/include/libxml2" ]);
hardeningDisable = [ "format" ];

View File

@@ -38,12 +38,12 @@ stdenv.mkDerivation rec {
Cocoa
];
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin [
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin (toString [
"-framework CoreAudio"
"-framework CoreMIDI"
"-framework CoreServices"
"-framework Cocoa"
];
]);
passthru.tests = {
ft2-clone-starts = nixosTests.ft2-clone;

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ pkg-config fftwFloat alsaLib zlib wavpack wxGTK31 udev ]
++ lib.optional jackaudioSupport libjack2;
cmakeFlags = lib.optional (!jackaudioSupport) [
cmakeFlags = lib.optionals (!jackaudioSupport) [
"-DRTAUDIO_USE_JACK=OFF"
"-DRTMIDI_USE_JACK=OFF"
] ++ lib.optional (!includeDemo) "-DINSTALL_DEMO=OFF";

View File

@@ -29,7 +29,7 @@
freetype alsaLib curl libjack2 pkg-config libGLU libGL lv2
];
CXXFLAGS = "-DHAVE_LROUND";
env.CXXFLAGS = "-DHAVE_LROUND";
patches = [
# gcc9 compatibility https://github.com/mtytel/helm/pull/233

View File

@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
];
# TODO: try to exclude gtk and glib from darwin builds
NIX_CFLAGS_COMPILE = [
env.NIX_CFLAGS_COMPILE = toString [
"-I${SDL}/include/SDL"
"-I${SDL_image}/include/SDL"
"-I${SDL_ttf}/include/SDL"

View File

@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libjack2 ladspaH gtk2 alsaLib libxml2 lrdf ];
NIX_LDFLAGS = "-ldl -lm -lpthread";
env.NIX_LDFLAGS = "-ldl -lm -lpthread";
meta = {
description = ''An effects "rack" for the JACK low latency audio API'';

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 ]
++ (with perlPackages; [ perl XMLParser ]);
NIX_LDFLAGS = "-ldl";
env.NIX_LDFLAGS = "-ldl";
postInstall = ''
wrapProgram $out/bin/jamin --set LADSPA_PATH ${ladspaPlugins}/lib/ladspa

View File

@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
];
cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
NIX_LDFLAGS = "-lm -lpthread";
env.NIX_LDFLAGS = "-lm -lpthread";
preConfigure = ''
export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/"

View File

@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ sconsPackages.scons_3_0_1 pkg-config ];
buildInputs = [ libsamplerate libsndfile liblo libjack2 boost ];
prefixKey = "PREFIX=";
NIX_CFLAGS_COMPILE = "-fpermissive";
env.NIX_CFLAGS_COMPILE = "-fpermissive";
meta = {
homepage = "http://das.nasophon.de/klick/";

View File

@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ alsaLib gtk2 libjack2 libxml2 readline ];
propagatedBuildInputs = [ libuuid ];
NIX_LDFLAGS = "-lm -lpthread -luuid";
env.NIX_LDFLAGS = "-lm -lpthread -luuid";
postInstall = ''
for i in lash_control lash_panel

View File

@@ -35,10 +35,10 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.isLinux [ "PLATFORM=DEB" ]
++ lib.optionals stdenv.isDarwin [ "PLATFORM=OSX" ];
NIX_CFLAGS_COMPILE = [ "-fpermissive" ] ++
lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing";
env.NIX_CFLAGS_COMPILE = "-fpermissive" +
lib.optionalString stdenv.hostPlatform.isAarch64 " -Wno-error=narrowing";
NIX_LDFLAGS = lib.optional stdenv.isDarwin "-framework Foundation";
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework Foundation";
installPhase = let extension = if stdenv.isDarwin then "app" else "deb-exe";
in "install -Dm555 lgpt.${extension} $out/bin/lgpt";

View File

@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
"ETC_PATH=$(out)/etc"
];
NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
env.NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
doCheck = true;

View File

@@ -45,7 +45,7 @@ mkDerivation rec {
];
qtWrapperArgs = [
"--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
"--set" "LOCALE_ARCHIVE" "${glibcLocales}/lib/locale/locale-archive"
];
meta = with lib; {

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
libvorbis
] ++ lib.optional stdenv.isDarwin SDL;
NIX_CFLAGS_COMPILE = toString ([
env.NIX_CFLAGS_COMPILE = toString ([
"-Wno-narrowing"
] ++ lib.optionals stdenv.cc.isClang [
"-Wno-reserved-user-defined-literal"

View File

@@ -29,7 +29,7 @@ mkDerivation rec {
qtWrapperArgs = [
# Work around crash on update from 3.4.2 to 3.5.0
# https://bugreports.qt.io/browse/QTBUG-85967
"--set QML_DISABLE_DISK_CACHE 1"
"--set" "QML_DISABLE_DISK_CACHE" "1"
];
nativeBuildInputs = [ cmake pkg-config ];

View File

@@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
sha256 = "1rk71ls33a38wx8i22plsi7d89cqqxrfxknq5i4f9igsw1ipm4gn";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ];
env.NIX_CFLAGS_COMPILE = "-Wno-error=narrowing";
buildFlags = [ "VSTSDK_PATH=${vst-sdk}/VST2_SDK" ];

View File

@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
CC = "gcc";
CFLAGS = "-std=c99";
env.CC = "gcc";
env.CFLAGS = "-std=c99";
meta = with lib; {
description = "A console front-end for Pandora.com";

View File

@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "-f Makefile.PatternPlayer_debian_RtAudio_sdl20" ];
NIX_CFLAGS_COMPILE = [ "-I${SDL2.dev}/include/SDL2" ];
env.NIX_CFLAGS_COMPILE = "-I${SDL2.dev}/include/SDL2";
hardeningDisable = [ "format" ];

View File

@@ -81,9 +81,9 @@ mkDerivation rec {
# ++ lib.optional withRygel rygel
;
CFLAGS = [ "-DHAVE_PARANOIA_NEW_INCLUDES" ];
env.CFLAGS = "-DHAVE_PARANOIA_NEW_INCLUDES";
NIX_CFLAGS_COMPILE = "-I${lib.getDev gst_all_1.gst-plugins-base}/include/gstreamer-1.0";
env.NIX_CFLAGS_COMPILE = "-I${lib.getDev gst_all_1.gst-plugins-base}/include/gstreamer-1.0";
postInstall = ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")

View File

@@ -56,7 +56,7 @@ mkDerivation rec {
];
# gstreamer cannot otherwise be found
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
env.NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
postInstall = ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")

View File

@@ -28,7 +28,7 @@ stdenv.mkDerivation {
# Without it doesn't find all of the boost libraries.
BOOST_LIB_DIR="${boost}/lib";
# uses the deprecated get_generic_category() in boost_system
NIX_CFLAGS_COMPILE="-DBOOST_SYSTEM_ENABLE_DEPRECATED=1";
env.NIX_CFLAGS_COMPILE="-DBOOST_SYSTEM_ENABLE_DEPRECATED=1";
LC_ALL = "en_US.UTF-8";

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ flac libao libvorbis ncurses opusfile ];
NIX_CFLAGS_COMPILE = "-DNCURSES_INTERNALS";
env.NIX_CFLAGS_COMPILE = "-DNCURSES_INTERNALS";
patches = [ ./gnu-screen.patch ];

View File

@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
preConfigure = "./autogen.sh";
NIX_LDFLAGS = "-lm";
env.NIX_LDFLAGS = "-lm";
meta = {
description = "JACK audio recorder";

View File

@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
miniupnpc protobuf qrencode util-linux ];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib --with-gui=no" ]
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" "--with-gui=no" ]
++ optional enable_Upnp "--enable-upnp-default"
++ optional disable_Wallet "--disable-wallet"
++ optional disable_Daemon "--disable-daemon"

View File

@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
# needed for librocksdb-sys
nativeBuildInputs = [ llvmPackages.clang ];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
env.LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
cargoSha256 = "1rqpadlr9r4z2z825li6vi5a21hivc3bsn5ibxshrdrwiycyyxz8";

View File

@@ -38,7 +38,7 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
# Exclude some tests that don't work in the sandbox
# - Nat test requires network access
checkFlags = "--skip configuration::tests::should_resolve_external_nat_hosts";
checkFlags = [ "--skip configuration::tests::should_resolve_external_nat_hosts" ];
meta = with lib; {
description = "Fast, light, robust Ethereum implementation";

View File

@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
configureFlagsArray+=( --enable-at-spi-command="${at-spi2-core}/libexec/at-spi-bus-launcher --launch-immediately" )
'';
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
installFlags = [
"localstatedir=\${TMPDIR}"

View File

@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
++ lib.optional (widgetset == "gtk3") gtk3
++ lib.optional (widgetset == "qt5") libqt5pas;
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
env.NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
buildPhase = lib.concatStringsSep "\n" (lib.mapAttrsToList (name: dep: ''
cp -r --no-preserve=mode ${dep} ${name}

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
--replace "CC=gcc" ""
'';
CFLAGS = "-D_DARWIN_C_SOURCE";
env.CFLAGS = "-D_DARWIN_C_SOURCE";
makeFlags = [ "DESTDIR=$(out)" ];
buildInputs = [ libX11 libXi libXt libXft ];

View File

@@ -4,6 +4,13 @@ stdenv.mkDerivation rec {
pname = "edbrowse";
version = "3.7.7";
src = fetchFromGitHub {
owner = "CMB";
repo = "edbrowse";
rev = "v${version}";
sha256 = "0cw9d60mdhwna57r1vxn53s8gl81rr3cxnvm769ifq3xyh49vfcf";
};
buildInputs = [ curl pcre readline openssl duktape perl html-tidy ];
postPatch = ''
@@ -14,16 +21,10 @@ stdenv.mkDerivation rec {
'';
makeFlags = [
"-C" "src"
"-C src"
"prefix=${placeholder "out"}"
];
src = fetchFromGitHub {
owner = "CMB";
repo = "edbrowse";
rev = "v${version}";
sha256 = "0cw9d60mdhwna57r1vxn53s8gl81rr3cxnvm769ifq3xyh49vfcf";
};
meta = with lib; {
description = "Command Line Editor Browser";
longDescription = ''

View File

@@ -168,7 +168,7 @@ let
irony = super.irony.overrideAttrs (old: {
cmakeFlags = old.cmakeFlags or [ ] ++ [ "-DCMAKE_INSTALL_BINDIR=bin" ];
NIX_CFLAGS_COMPILE = "-UCLANG_RESOURCE_DIR";
env.NIX_CFLAGS_COMPILE = "-UCLANG_RESOURCE_DIR";
preConfigure = ''
cd server
'';

View File

@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
doCheck = true;
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
passthru.updateScript = gnome.updateScript {
packageName = pname;

View File

@@ -10,8 +10,11 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "17ckkxfzbqvvfdnh10if4aqdcq98q3vl6dn1v6f4lhr4ifnyjdlk";
};
buildInputs = [ ncurses ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-overflow" "-Wno-error=stringop-truncation" ];
env.NIX_CFLAGS_COMPILE = "-Wno-error=stringop-overflow -Wno-error=stringop-truncation";
patches = [
# gcc7 compat
(fetchpatch {

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
patches = [ ./gcc7.patch ];
NIX_CFLAGS_COMPILE = [ "-Wno-narrowing" ];
env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";
meta = with lib; {
description = "File editor/viewer/analyzer for executables";

View File

@@ -13,6 +13,6 @@ in
with python3.pkgs; toPythonModule (
notebook.overridePythonAttrs(oldAttrs: {
makeWrapperArgs = ["--set JUPYTER_PATH ${jupyterPath}"];
makeWrapperArgs = [ "--set" "JUPYTER_PATH" jupyterPath ];
})
)

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
# the linux config works fine on darwin too!
buildFlags = lib.optional (stdenv.isLinux || stdenv.isDarwin) "linux";
NIX_CFLAGS_COMPILE="-DBUILD_UNTESTED_NEDIT -L${motif}/lib";
env.NIX_CFLAGS_COMPILE="-DBUILD_UNTESTED_NEDIT -L${motif}/lib";
installPhase = ''
mkdir -p $out/bin

View File

@@ -29,7 +29,7 @@ stdenv.mkDerivation {
GUILE_CPPFLAGS="-D_THREAD_SAFE -I${guile_1_8.dev}/include -I${guile_1_8.dev}/include/guile ";
NIX_LDFLAGS="${zlib}/lib/libz.dylib";
env.NIX_LDFLAGS="${zlib}/lib/libz.dylib";
buildPhase = ''
substituteInPlace Makefile \

View File

@@ -40,7 +40,7 @@ mkDerivation {
git
python3
];
NIX_LDFLAGS = "-lz";
env.NIX_LDFLAGS = "-lz";
qtWrapperArgs = [
"--suffix" "PATH" ":" (lib.makeBinPath [

View File

@@ -11,7 +11,7 @@ mkDerivation rec {
buildInputs = [ qtbase qtscript poppler zlib ];
nativeBuildInputs = [ pkg-config poppler qmake ];
NIX_CFLAGS_COMPILE="-I${poppler.dev}/include/poppler";
env.NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler";
qmakeFlags = [
"DESKTOPDIR=${placeholder "out"}/share/applications"

View File

@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
done
'';
NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1";
env.NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1";
postInstall = ''
wrapProgram $out/bin/grass76 \

View File

@@ -80,7 +80,7 @@ mkDerivation rec {
enableParallelBuilding = true;
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11 -Wno-narrowing";
env.CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11 -Wno-narrowing";
meta = with lib; {
description = "System for Automated Geoscientific Analyses";

View File

@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
gst_all_1.gst-plugins-base
] ++ lib.optional useUnrar unrar;
NIX_LDFLAGS = "-lpthread";
env.NIX_LDFLAGS = "-lpthread";
postPatch = "patchShebangs version.sh";

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
rm -rf libpng zlib zopfli
'';
NIX_CFLAGS_LINK = "-lzopfli";
env.NIX_CFLAGS_LINK = "-lzopfli";
installPhase = ''
install -Dt $out/bin apngasm

View File

@@ -3,7 +3,7 @@
python3Packages.buildPythonApplication rec {
pname = "dosage";
version = "2018.04.08";
PBR_VERSION = version;
env.PBR_VERSION = version;
src = fetchFromGitHub {
owner = "webcomics";

View File

@@ -78,10 +78,9 @@ stdenv.mkDerivation rec {
"RacketLib=${racket}/lib/racket"
"LIBPATH=${lib.makeLibraryPath libs}"
"DESTDIR=build"
"Prefix=${placeholder "out"}"
];
configurePhase = ''
sconsFlags+=" Prefix=$out"
'';
installPhase = ''
mkdir -p $out
cp -r build$out/* $out/

View File

@@ -25,7 +25,7 @@ stdenv.mkDerivation {
--replace png_set_gray_1_2_4_to_8 png_set_expand_gray_1_2_4_to_8
'';
NIX_CFLAGS_COMPILE = "-fpermissive -Wno-narrowing";
env.NIX_CFLAGS_COMPILE = "-fpermissive -Wno-narrowing";
meta = {
description = "Open source panorama viewer using GL";

View File

@@ -70,7 +70,7 @@ in
url = "https://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2";
sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql";
};
NIX_LDFLAGS = "-lm";
env.NIX_LDFLAGS = "-lm";
hardeningDisable = [ "format" ];
meta = with lib; {
description = "The GIMP Animation Package";
@@ -179,7 +179,7 @@ in
Filters/Enhance/Wavelet sharpen
*/
name = "wavelet-sharpen-0.1.2";
NIX_LDFLAGS = "-lm";
env.NIX_LDFLAGS = "-lm";
src = fetchurl {
url = "https://github.com/pixlsus/registry.gimp.org_static/raw/master/registry.gimp.org/files/wavelet-sharpen-0.1.2.tar.gz";
sha256 = "0vql1k67i21g5ivaa1jh56rg427m0icrkpryrhg75nscpirfxxqw";

View File

@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
};
NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
env.NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
nativeBuildInputs = [ pkg-config ];

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ scons pkg-config wrapGAppsHook ];
buildInputs = [ glfw3 gtk3 libpng12 ];
NIX_LDFLAGS = "-lpthread";
env.NIX_LDFLAGS = "-lpthread";
buildPhase = ''
make release

View File

@@ -18,7 +18,7 @@ stdenv.mkDerivation {
hardeningDisable = [ "format" ];
NIX_LDFLAGS = "-lm";
env.NIX_LDFLAGS = "-lm";
meta = with lib; {
description = "A fast image viewer";

View File

@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
# disable installation of the python scripting interface
cmakeFlags = [ "-DBUILD_HSI:BOOl=OFF" ];
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
env.NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
postInstall = ''
for p in $out/bin/*; do

View File

@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
sha256 = "0frz40rjwi73nx2dlqvmnn56zwr29bmnngfb11hhwr7v58yfajdi";
};
NIX_CFLAGS_COMPILE = "-Wno-error";
env.NIX_CFLAGS_COMPILE = "-Wno-error";
meta = with lib; {
description = "It's like cat, but for images";

View File

@@ -42,11 +42,11 @@ mkDerivation rec {
zlib
];
IPEPREFIX=placeholder "out";
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
LUA_PACKAGE = "lua";
env.IPEPREFIX = placeholder "out";
env.URWFONTDIR = "${texlive}/texmf-dist/fonts/type1/urw/";
env.LUA_PACKAGE = "lua";
qtWrapperArgs = [ "--prefix PATH : ${texlive}/bin" ];
qtWrapperArgs = [ "--prefix" "PATH" ":" "${texlive}/bin" ];
enableParallelBuilding = true;

View File

@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
#doCheck = false;
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
env.NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
meta = with lib; {
description = "A 3D editor with support for procedural editing";

View File

@@ -28,8 +28,8 @@ mkDerivation rec {
python3Packages.pyqt5
] ++ lib.optional (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) vc;
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ]
++ lib.optional stdenv.cc.isGNU "-Wno-deprecated-copy";
env.NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR"
+ lib.optionalString stdenv.cc.isGNU " -Wno-deprecated-copy";
cmakeFlags = [
"-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/share/sip/PyQt5"

View File

@@ -31,7 +31,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ pango cairo glib atk gtk2 libX11 gdk-pixbuf ];
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
env.NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
buildPhase = ''
cp -r --no-preserve=mode ${bgrabitmap} bgrabitmap

View File

@@ -15,7 +15,7 @@ mkDerivation rec {
sha256 = "1izmgjjp8mgyxv57sjjr05z7g7059ykb5wchlcn4wrnnb6aslnvn";
};
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
env.NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
buildInputs = [
qtbase qtdeclarative qttools qtwebengine eigen

View File

@@ -17,7 +17,7 @@ mkDerivation rec {
qmakeFlags = [ "PREFIX=${placeholder "out"}" ];
NIX_CFLAGS_COMPILE = "-I${graphicsmagick}/include/GraphicsMagick";
env.NIX_CFLAGS_COMPILE = "-I${graphicsmagick}/include/GraphicsMagick";
meta = with lib; {
description = "A cross-platform image editor with a powerful features and a very friendly graphical user interface";

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ leptonica libpng libtiff icu pango opencl-headers ];
LIBLEPT_HEADERSDIR = "${leptonica}/include";
env.LIBLEPT_HEADERSDIR = "${leptonica}/include";
meta = {
description = "OCR engine";

View File

@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
NIX_LDFLAGS = "-lz"
env.NIX_LDFLAGS = "-lz"
+ lib.optionalString (!isGdkQuartzBackend) " -lX11";
desktopItem = makeDesktopItem {

View File

@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
]
++ lib.optional withLua lua;
buildFlags = "translations";
buildFlags = [ "translations" ];
hardeningDisable = [ "format" ];

View File

@@ -25,7 +25,7 @@ mkDerivation {
];
propagatedBuildInputs = [ boost kitemmodels ];
outputs = [ "out" "dev" ];
CXXFLAGS = [
env.CXXFLAGS = toString [
''-DNIXPKGS_MYSQL_MYSQLD=\"${lib.getBin mariadb}/bin/mysqld\"''
''-DNIXPKGS_MYSQL_MYSQLADMIN=\"${lib.getBin mariadb}/bin/mysqladmin\"''
''-DNIXPKGS_MYSQL_MYSQL_INSTALL_DB=\"${lib.getBin mariadb}/bin/mysql_install_db\"''

View File

@@ -91,7 +91,7 @@ mkDerivation {
# https://github.com/NixOS/nixpkgs/issues/83885
# https://github.com/NixOS/nixpkgs/issues/29614#issuecomment-488849325
qtWrapperArgs = [
"--set FREI0R_PATH ${frei0r}/lib/frei0r-1"
"--set" "FREI0R_PATH" "${frei0r}/lib/frei0r-1"
];
preFixup = ''

View File

@@ -19,5 +19,5 @@ mkDerivation {
kdelibs4support kpty syntax-highlighting libmtp libssh openexr openslp
phonon qtsvg samba solid gperf
];
CXXFLAGS = [ "-I${ilmbase.dev}/include/OpenEXR" ];
env.CXXFLAGS = "-I${ilmbase.dev}/include/OpenEXR";
}

View File

@@ -22,5 +22,5 @@ mkDerivation {
outputs = [ "out" "dev" ];
# Fix build with cups deprecations etc.
# See: https://github.com/NixOS/nixpkgs/issues/73334
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=format-security";
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=format-security";
}

View File

@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "1n4xiic8lqnv3mqi7wpdv866gyyakax71gffv3n9427rmcld465i";
};
NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler";
env.NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler";
nativeBuildInputs = [
cmake

View File

@@ -23,7 +23,7 @@ mkDerivation rec {
'';
qtWrapperArgs = [
''--prefix PATH : ${lib.makeBinPath [ openssl ]}''
"--prefix" "PATH" ":" (lib.makeBinPath [ openssl ])
];
meta = {

View File

@@ -38,7 +38,7 @@ mkDerivation rec {
# Wayland support is broken.
# https://github.com/gyunaev/birdtray/issues/113#issuecomment-621742315
qtWrapperArgs = [ "--set QT_QPA_PLATFORM xcb" ];
qtWrapperArgs = [ "--set" "QT_QPA_PLATFORM" "xcb" ];
meta = with lib; {
description = "Mail system tray notification icon for Thunderbird";

View File

@@ -132,11 +132,11 @@ stdenv.mkDerivation rec {
"-DOPTIX_ROOT_DIR=${optix}"
];
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR -I${python}/include/${python.libPrefix}";
env.NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR -I${python}/include/${python.libPrefix}";
# Since some dependencies are built with gcc 6, we need gcc 6's
# libstdc++ in our RPATH. Sigh.
NIX_LDFLAGS = optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib";
env.NIX_LDFLAGS = optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib";
blenderExecutable =
placeholder "out" + (if stdenv.isDarwin then "/Blender.app/Contents/MacOS/Blender" else "/bin/blender");

View File

@@ -14,11 +14,11 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1ffgvhkdj8wkhlgi0cj0njdm9ycxq2qda4b5qn8bmaygzr2zkwpd";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
env.LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
# needed for internal protobuf c wrapper library
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
env.PROTOC = "${protobuf}/bin/protoc";
env.PROTOC_INCLUDE = "${protobuf}/include";
nativeBuildInputs = [
pkg-config

View File

@@ -33,7 +33,7 @@ mkDerivation rec {
makeWrapperArgs = [
# hacky workaround for https://github.com/NixOS/nixpkgs/issues/59901
"--set OMP_NUM_THREADS 1"
"--set" "OMP_NUM_THREADS" "1"
];
postPatch = ''

View File

@@ -79,22 +79,18 @@ in mkDerivation rec {
qtmultimedia
];
LUPDATE="${qttools.dev}/bin/lupdate";
LRELEASE="${qttools.dev}/bin/lrelease";
MOC="${qtbase.dev}/bin/moc";
QTDIR=qtbase.dev;
RCC="${qtbase.dev}/bin/rcc";
UIC="${qtbase.dev}/bin/uic";
env.LUPDATE = "${qttools.dev}/bin/lupdate";
env.LRELEASE = "${qttools.dev}/bin/lrelease";
env.MOC = "${qtbase.dev}/bin/moc";
env.QTDIR = toString qtbase.dev;
env.RCC = "${qtbase.dev}/bin/rcc";
env.UIC = "${qtbase.dev}/bin/uic";
configureFlags = [
"--enable-libusb"
];
configureFlags = [ "--enable-libusb" ];
hardeningDisable = [
"format"
];
hardeningDisable = [ "format" ];
qtWrapperArgs = [ "--prefix LD_LIBRARY_PATH : $out/lib" ];
qtWrapperArgs = [ "--prefix" "LD_LIBRARY_PATH" ":" "$out/lib" ];
postInstall = ''
mkdir -p "$out/lib"

View File

@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
makeFlags = [
"PREFIX=$(out)"
"VERSION=$(version)"
"VERSION=${version}"
"SYSCONFDIR=$(out)/etc"
"SERVICEDIR_DBUS=$(out)/share/dbus-1/services"
"SERVICEDIR_SYSTEMD=$(out)/lib/systemd/user"

View File

@@ -61,7 +61,7 @@ stdenv.mkDerivation {
makeFlags = [ "INSTALLDIR=$(out)" ];
NIX_CFLAGS_COMPILE = "-Wno-error=narrowing";
env.NIX_CFLAGS_COMPILE = "-Wno-error=narrowing";
meta = with lib; {
description = "An e-book reader for Linux";

View File

@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
};
NIX_CFLAGS_COMPILE = builtins.toString (
env.NIX_CFLAGS_COMPILE = builtins.toString (
[ "-Wno-error=deprecated-declarations" ]
++ lib.optionals (!stdenv.cc.isClang) [
"-Wno-error=format-truncation"

View File

@@ -55,7 +55,7 @@ in stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/issues/36468
# https://gitlab.gnome.org/GNOME/recipes/issues/76
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
postPatch = ''
chmod +x src/list_to_c.py

View File

@@ -40,9 +40,9 @@ in mkDerivation rec {
})
];
NIX_LDFLAGS = "-lz";
env.NIX_LDFLAGS = "-lz";
qtWrapperArgs = [ "--set LD_LIBRARY_PATH ${zlib.out}/lib" ];
qtWrapperArgs = [ "--set" "LD_LIBRARY_PATH" "${zlib.out}/lib" ];
preConfigure = ''
cp src/gcconfig.pri.in src/gcconfig.pri

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
meta = {
description = "GTK-based audio CD player/ripper";

View File

@@ -9,7 +9,7 @@ stdenv.mkDerivation {
};
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [

View File

@@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
++ lib.optional stdenv.isDarwin Security;
checkInputs = [ gitMinimal util-linuxMinimal ];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
env.LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
cargoSha256 = "0n8cw70qh8g4hfwfaxwwxbrrx5hm2z037z8kdhvdpqkxljl9189x";

View File

@@ -151,7 +151,7 @@ in stdenv.mkDerivation rec {
cmakeFlags = [ "-DCMAKE_C_FLAGS=-I${src}/include_mod" ];
NIX_LDFLAGS = "-lpthread";
env.NIX_LDFLAGS = "-lpthread";
installPhase = ''
install -D -m 755 k2pdfopt $out/bin/k2pdfopt

View File

@@ -52,13 +52,13 @@ stdenv.mkDerivation rec {
sha256 = "02ajfkw818cmalvkl0kqvza85rgdgs59kw2v7b3c4v8kv00c41j3";
};
NIX_CFLAGS_COMPILE = optionalString stdenv.cc.isClang [
env.NIX_CFLAGS_COMPILE = optionalString stdenv.cc.isClang (toString [
"-Wno-old-style-cast"
"-Wno-error"
"-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}"
];
]);
NIX_LDFLAGS = optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";
env.NIX_LDFLAGS = optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";
patches = [
./darwin.patch

View File

@@ -44,7 +44,7 @@ mkDerivation rec {
mv $out/lib/klayout $out/bin/
'';
NIX_CFLAGS_COMPILE = [ "-Wno-parentheses" ];
env.NIX_CFLAGS_COMPILE = "-Wno-parentheses";
dontInstall = true; # Installation already happens as part of "build.sh"

View File

@@ -23,7 +23,7 @@ in mkDerivation rec {
propagatedBuildInputs = [ kconfig kcrash kinit kjsembed ];
NIX_LDFLAGS = "-ltag";
env.NIX_LDFLAGS = "-ltag";
meta = with lib; {
description = "A powerful batch renamer for KDE";

View File

@@ -16,7 +16,7 @@ mkDerivation rec {
buildInputs = [ boost libvorbis libsndfile minizip gtest qtwebkit ];
NIX_CFLAGS_COMPILE = "-Wno-error=unused-result -Wno-error=missing-braces";
env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result -Wno-error=missing-braces";
installPhase = ''
install -Dm755 console/lsd2dsl gui/lsd2dsl-qtgui -t $out/bin

View File

@@ -111,7 +111,7 @@ in buildPythonApplication rec {
# avoid double wrapping
dontWrapGApps = true;
makeWrapperArgs = [
"--prefix PATH : ${binPath}"
"--prefix" "PATH" ":" binPath
"\${gappsWrapperArgs[@]}"
];
# needed for glib-schemas to work correctly (will crash on dialogues otherwise)

Some files were not shown because too many files have changed in this diff Show More