]> Git — Sourcephile - gargantext.git/commit
Add optional Accelerate dependency on Darwin for pkgs.nix
authorAlfredo Di Napoli <alfredo@well-typed.com>
Sun, 5 Feb 2023 12:44:10 +0000 (13:44 +0100)
committerAlfredo Di Napoli <alfredo@well-typed.com>
Mon, 13 Feb 2023 07:27:00 +0000 (08:27 +0100)
commit5f5c9cb11aab8dab48335fd2abccbde617e7976e
treee1845d2e75a2660deb0c4d60aeefa1bacefd4766
parentb0e9eec9f3c22839a71094def7656e5671b85b73
Add optional Accelerate dependency on Darwin for pkgs.nix

On Mac, building `gargantext` requires linking against the
Accelerate framework (completely unrelated to the `accelerate` Haskell
package!). This patch provides an extra `pkgs.nix` directive that will
kick in only when building on Darwin.
nix/pkgs.nix