Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 078b9f8aa680
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1e3f09feaa56
Choose a head ref

Commits on Aug 1, 2020

  1. redkite: init at 1.0.1

    magnetophon committed Aug 1, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    6239e44 View commit details
  2. geonkick: init at 2.3.3

    magnetophon committed Aug 1, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    f98e5c1 View commit details

Commits on Aug 6, 2020

  1. Copy the full SHA
    a5ffb7c View commit details

Commits on Aug 11, 2020

  1. navidrome: 0.27.0 -> 0.29.0

    r-ryantm committed Aug 11, 2020
    Copy the full SHA
    423561d View commit details

Commits on Aug 13, 2020

  1. Copy the full SHA
    211edbc View commit details

Commits on Aug 14, 2020

  1. neovim: fix build on Darwin

    libluv path passed to -DLIBLUV_LIBRARY broken by change in libluv, eg:
    libluv.dylib -> libluv.1.30.0.dylib
    
    Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
    siriobalmelli committed Aug 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    siriobalmelli Sirio Balmelli
    Copy the full SHA
    0f1434c View commit details

Commits on Aug 15, 2020

  1. nixos/nextcloud: update nginx config

    This patch ensures that latest Nextcloud works flawlessly again on our
    `nginx`. The new config is mostly based on upstream recommendations
    (again)[1]:
    
    * Trying to access internals now results in a 404.
    * All `.php`-routes get properly resolved now.
    * Removed 404/403 handling from `nginx` as the app itself takes care of
      this. Also, this breaks the `/ocs`-API.
    * `.woff2?`-files expire later than other assets like images.
    
    Closes #95293
    
    [1] https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
    Ma27 committed Aug 15, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    42f6244 View commit details

Commits on Aug 16, 2020

  1. postman: 7.26.0 -> 7.30.1

    r-ryantm committed Aug 16, 2020
    Copy the full SHA
    5de9260 View commit details
  2. Copy the full SHA
    5c78ba8 View commit details
  3. kopia: 0.6.0 -> 0.6.2

    bbigras committed Aug 16, 2020
    Copy the full SHA
    6030e27 View commit details

Commits on Aug 17, 2020

  1. Merge pull request #95620 from bbigras/kopia

    kopia: 0.6.0 -> 0.6.2
    danieldk authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0d72e01 View commit details
  2. Merge pull request #95616 from lopsided98/qgroundcontrol-update

    qgroundcontrol: 4.0.9 -> 4.0.10
    danieldk authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    67c8868 View commit details
  3. python37Packages.etesync: 0.11.1 -> 0.12.1

    r-ryantm authored and Jon committed Aug 17, 2020
    Copy the full SHA
    e904b43 View commit details
  4. python27Packages.exifread: 2.1.2 -> 2.3.1

    r-ryantm authored and Jon committed Aug 17, 2020
    Copy the full SHA
    a13ff3e View commit details
  5. maintainers: add trepetti

    trepetti authored and Jon committed Aug 17, 2020
    Copy the full SHA
    41edd65 View commit details
  6. python3Packages.svglib: init at 1.0.0

    trepetti authored and Jon committed Aug 17, 2020
    Copy the full SHA
    1b9acad View commit details
  7. Copy the full SHA
    809f97c View commit details
  8. Copy the full SHA
    41c9885 View commit details
  9. Copy the full SHA
    775ac38 View commit details
  10. Copy the full SHA
    29c2fff View commit details
  11. Copy the full SHA
    d5433ef View commit details
  12. Copy the full SHA
    8900b88 View commit details
  13. Copy the full SHA
    cb02aa3 View commit details
  14. cargo-fund: init at 0.2.0

    JohnTitor committed Aug 17, 2020
    Copy the full SHA
    ea15764 View commit details
  15. Merge pull request #95628 from JohnTitor/init-cargo-fund

    cargo-fund: init at 0.2.0
    danieldk authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e983686 View commit details
  16. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    49f6cba View commit details
  17. Copy the full SHA
    cb1cb44 View commit details
  18. Copy the full SHA
    f13d54f View commit details
  19. Copy the full SHA
    5653cd1 View commit details
  20. Merge pull request #93407 from OPNA2608/update-palemoon-28.11.0

    palemoon: 28.10.0 -> 28.12.0
    worldofpeace authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1219001 View commit details
  21. Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    d95c93c View commit details
  22. Merge pull request #95668 from adisbladis/emacs-with-cairo

    emacs: Add --with-cairo when X is enabled
    adisbladis authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    240db84 View commit details
  23. Copy the full SHA
    6ea2c0b View commit details
  24. Copy the full SHA
    4681091 View commit details
  25. Merge pull request #95334 from romildo/upd.luna-icons

    luna-icons: init at 2020-08-09
    romildo authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4e2b0fe View commit details
  26. Merge pull request #95508 from Ma27/nextcloud-nginx

    nixos/nextcloud: update nginx config
    mweinelt authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a153452 View commit details
  27. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    edadf13 View commit details
  28. Merge pull request #95674 from r-ryantm/auto-update/python3.7-openwrt…

    …-luci-rpc
    
    python37Packages.openwrt-luci-rpc: 1.1.2 -> 1.1.3
    mweinelt authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    914b978 View commit details
  29. Merge pull request #95673 from r-ryantm/auto-update/python3.7-prawcore

    python37Packages.prawcore: 1.4.0 -> 1.5.0
    mweinelt authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d34bb18 View commit details
  30. Merge pull request #95150 from r-ryantm/auto-update/navidrome

    navidrome: 0.27.0 -> 0.29.0
    ryantm authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    962e495 View commit details
  31. Merge pull request #95558 from r-ryantm/auto-update/postman

    postman: 7.26.0 -> 7.30.1
    ryantm authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d829adb View commit details
  32. Merge pull request #95364 from siriobalmelli-foss/fix/neovim

    neovim: fix build on Darwin
    LnL7 authored Aug 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ad6d9ad View commit details
  33. screenkey: 0.9 -> 1.2

    - Use Python 3.
    - Switch to gobject-introspection and other more maintained libraries
    (vs PyGTK).
    - Use `fetchFromGitLab`.
    - Replace the non absolute paths fix in `xlib.py` with
    `substituteInPlace`.
    doronbehar committed Aug 17, 2020
    Copy the full SHA
    b5caca2 View commit details
  34. gnome3.mutter: 3.36.4 -> 3.36.5

    r-ryantm authored and jtojnar committed Aug 17, 2020
    Copy the full SHA
    496818f View commit details
  35. python3Packages.azure-storage-blob: 2.1.0 -> 12.4.0

    Jonathan Ringer committed Aug 17, 2020
    Copy the full SHA
    fabd80d View commit details
  36. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d345b01 View commit details
  37. inxi: 3.1.05-4 -> 3.1.06-1

    primeos committed Aug 17, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    47437af View commit details
  38. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    147c1d5 View commit details
  39. bslizr: 1.2.6 -> 1.2.8

    magnetophon authored and orivej committed Aug 17, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    cc858e7 View commit details
  40. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2771c60 View commit details
Showing with 518 additions and 185 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +33 −35 nixos/modules/services/web-apps/nextcloud.nix
  3. +28 −0 pkgs/applications/audio/bchoppr/default.nix
  4. +28 −0 pkgs/applications/audio/bschaffl/default.nix
  5. +2 −2 pkgs/applications/audio/bslizr/default.nix
  6. +27 −0 pkgs/applications/audio/geonkick/default.nix
  7. +47 −0 pkgs/applications/audio/gwc/default.nix
  8. +1 −1 pkgs/applications/editors/emacs/default.nix
  9. +10 −4 pkgs/applications/editors/neovim/default.nix
  10. +15 −15 pkgs/applications/graphics/gimp/default.nix
  11. +27 −30 pkgs/applications/networking/browsers/palemoon/default.nix
  12. +2 −2 pkgs/applications/science/robotics/qgroundcontrol/default.nix
  13. +41 −28 pkgs/applications/video/screenkey/default.nix
  14. +0 −20 pkgs/applications/video/screenkey/paths.patch
  15. +52 −0 pkgs/data/icons/luna-icons/default.nix
  16. +9 −0 pkgs/desktops/gnome-3/apps/gnome-logs/default.nix
  17. +2 −2 pkgs/desktops/gnome-3/core/mutter/default.nix
  18. +0 −1 pkgs/development/compilers/tinygo/default.nix
  19. +25 −0 pkgs/development/libraries/redkite/default.nix
  20. +7 −2 pkgs/development/python-modules/azure-storage-blob/default.nix
  21. +2 −2 pkgs/development/python-modules/blis/default.nix
  22. +2 −2 pkgs/development/python-modules/etesync/default.nix
  23. +2 −2 pkgs/development/python-modules/exifread/default.nix
  24. +2 −2 pkgs/development/python-modules/openwrt-luci-rpc/default.nix
  25. +2 −2 pkgs/development/python-modules/prawcore/default.nix
  26. +15 −4 pkgs/development/python-modules/pylint-django/default.nix
  27. +1 −0 pkgs/development/python-modules/spacy/default.nix
  28. +48 −0 pkgs/development/python-modules/svglib/default.nix
  29. +1 −0 pkgs/development/python-modules/thinc/default.nix
  30. +0 −2 pkgs/development/tools/easyjson/default.nix
  31. +0 −2 pkgs/development/tools/quicktemplate/default.nix
  32. +29 −0 pkgs/development/tools/rust/cargo-fund/default.nix
  33. +0 −2 pkgs/development/tools/statik/default.nix
  34. +2 −2 pkgs/development/web/postman/default.nix
  35. +0 −2 pkgs/servers/hydron/default.nix
  36. +0 −2 pkgs/servers/livepeer/default.nix
  37. +0 −1 pkgs/servers/meguca/default.nix
  38. +2 −2 pkgs/servers/misc/navidrome/default.nix
  39. +8 −2 pkgs/tools/backup/kopia/default.nix
  40. +2 −2 pkgs/tools/networking/network-manager/iodine/default.nix
  41. +2 −2 pkgs/tools/networking/network-manager/vpnc/default.nix
  42. +16 −5 pkgs/tools/security/softhsm/default.nix
  43. +2 −2 pkgs/tools/system/inxi/default.nix
  44. +16 −1 pkgs/top-level/all-packages.nix
  45. +2 −0 pkgs/top-level/python-packages.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -8416,6 +8416,12 @@
githubId = 207457;
name = "Matthieu Chevrier";
};
trepetti = {
email = "trepetti@cs.columbia.edu";
github = "trepetti";
githubId = 25440339;
name = "Tom Repetti";
};
trevorj = {
email = "nix@trevor.joynson.io";
github = "akatrevorjay";
68 changes: 33 additions & 35 deletions nixos/modules/services/web-apps/nextcloud.nix
Original file line number Diff line number Diff line change
@@ -554,36 +554,40 @@ in {
'';
};
"/" = {
priority = 200;
extraConfig = "rewrite ^ /index.php;";
priority = 900;
extraConfig = "try_files $uri $uri/ /index.php$request_uri;";
};
"~ ^/store-apps" = {
priority = 201;
extraConfig = "root ${cfg.home};";
};
"= /.well-known/carddav" = {
"^~ /.well-known" = {
priority = 210;
extraConfig = "return 301 $scheme://$host/remote.php/dav;";
};
"= /.well-known/caldav" = {
priority = 210;
extraConfig = "return 301 $scheme://$host/remote.php/dav;";
};
"~ ^\\/(?:build|tests|config|lib|3rdparty|templates|data)\\/" = {
priority = 300;
extraConfig = "deny all;";
};
"~ ^\\/(?:\\.|autotest|occ|issue|indie|db_|console)" = {
priority = 300;
extraConfig = "deny all;";
extraConfig = ''
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
try_files $uri $uri/ =404;
'';
};
"~ ^\\/(?:index|remote|public|cron|core/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|ocs-provider\\/.+|ocm-provider\\/.+)\\.php(?:$|\\/)" = {
"~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/)".extraConfig = ''
return 404;
'';
"~ ^/(?:\\.|autotest|occ|issue|indie|db_|console)".extraConfig = ''
return 404;
'';
"~ \\.php(?:$|/)" = {
priority = 500;
extraConfig = ''
include ${config.services.nginx.package}/conf/fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(\\/.*)$;
fastcgi_split_path_info ^(.+?\.php)(\\/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS ${if cfg.https then "on" else "off"};
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
@@ -593,28 +597,24 @@ in {
fastcgi_read_timeout 120s;
'';
};
"~ ^\\/(?:updater|ocs-provider|ocm-provider)(?:$|\\/)".extraConfig = ''
try_files $uri/ =404;
index index.php;
'';
"~ \\.(?:css|js|woff2?|svg|gif)$".extraConfig = ''
"~ \\.(?:css|js|svg|gif|map)$".extraConfig = ''
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463";
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header X-Frame-Options sameorigin;
add_header Referrer-Policy no-referrer;
expires 6M;
access_log off;
'';
"~ \\.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$".extraConfig = ''
"~ \\.woff2?$".extraConfig = ''
try_files $uri /index.php$request_uri;
expires 7d;
access_log off;
'';
"~ ^\\/(?:updater|ocs-provider|ocm-provider)(?:$|\\/)".extraConfig = ''
try_files $uri/ =404;
index index.php;
'';
};
extraConfig = ''
index index.php index.html /index.php$request_uri;
expires 1m;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
@@ -623,8 +623,6 @@ in {
add_header X-Frame-Options sameorigin;
add_header Referrer-Policy no-referrer;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
client_max_body_size ${cfg.maxUploadSize};
fastcgi_buffers 64 4K;
fastcgi_hide_header X-Powered-By;
28 changes: 28 additions & 0 deletions pkgs/applications/audio/bchoppr/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, pkg-config, cairo, libX11, lv2 }:

stdenv.mkDerivation rec {
pname = "bchoppr";
version = "1.6.4";

src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = "${version}";
sha256 = "16b0sg7q2b8l4y4bp5s3yzsj9j6jayjy2mlvqkby6l7hcgjcj493";
};

nativeBuildInputs = [ pkg-config ];
buildInputs = [ cairo libX11 lv2 ];

installFlags = [ "PREFIX=$(out)" ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
homepage = https://github.com/sjaehn/BChoppr;
description = "An audio stream chopping LV2 plugin";
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
};
}
28 changes: 28 additions & 0 deletions pkgs/applications/audio/bschaffl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, pkg-config, cairo, libX11, lv2 }:

stdenv.mkDerivation rec {
pname = "bschaffl";
version = "0.3";

src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = version;
sha256 = "1pcch7j1wgsb77mjy58hl3z43p83dv0vcmyh129m9k216b09gy29";
};

nativeBuildInputs = [ pkg-config ];
buildInputs = [ cairo libX11 lv2 ];

installFlags = [ "PREFIX=$(out)" ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
homepage = "https://github.com/sjaehn/BSchaffl";
description = "Pattern-controlled MIDI amp & time stretch LV2 plugin";
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
license = licenses.gpl3;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/audio/bslizr/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "BSlizr";
version = "1.2.6";
version = "1.2.8";

src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = "${version}";
sha256 = "1l0znwvvqd2s24c652q54pkizlh86mvmr8h0qqp9xma0i575fcrh";
sha256 = "1f7xrljvsy7a1p8c7wln2zhwarl3ara7gbjxkpyh47wfdpigpdb0";
};

nativeBuildInputs = [ pkgconfig ];
27 changes: 27 additions & 0 deletions pkgs/applications/audio/geonkick/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchFromGitLab, cmake, pkg-config, redkite, libsndfile, rapidjson, libjack2, lv2, libX11, cairo }:

stdenv.mkDerivation rec {
pname = "geonkick";
version = "2.3.3";

src = fetchFromGitLab {
owner = "iurie-sw";
repo = pname;
rev = "v${version}";
sha256 = "0h1abb6q2bmi01a3v37adkc4zc03j47jpvffz8p2lpp33xhljghs";
};

nativeBuildInputs = [ cmake pkg-config ];

buildInputs = [ redkite libsndfile rapidjson libjack2 lv2 libX11 cairo ];

cmakeFlags = [ "-DGKICK_REDKITE_SDK_PATH=${redkite}" ];

meta = {
homepage = "https://gitlab.com/iurie-sw/geonkick";
description = "A free software percussion synthesizer";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
};
}
47 changes: 47 additions & 0 deletions pkgs/applications/audio/gwc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, alsaLib
, libpulseaudio
, gtk2
, hicolor-icon-theme
, libsndfile
, fftw
}:

stdenv.mkDerivation rec {
pname = "gwc";
version = "0.22-04";

src = fetchFromGitHub {
owner = "AlisterH";
repo = pname;
rev = version;
sha256 = "0xvfra32dchnnyf9kj5s5xmqhln8jdrc9f0040hjr2dsb58y206p";
};

nativeBuildInputs = [
autoreconfHook
pkg-config
];

buildInputs = [
alsaLib
libpulseaudio
gtk2
hicolor-icon-theme
libsndfile
fftw
];

enableParallelBuilding = false; # Fails to generate machine.h in time.

meta = with stdenv.lib; {
description = "GUI application for removing noise (hiss, pops and clicks) from audio files";
homepage = "https://github.com/AlisterH/gwc/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ magnetophon ];
platforms = platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/editors/emacs/default.nix
Original file line number Diff line number Diff line change
@@ -116,7 +116,7 @@ in stdenv.mkDerivation {
(if withNS
then [ "--disable-ns-self-contained" ]
else if withX
then [ "--with-x-toolkit=${toolkit}" "--with-xft" ]
then [ "--with-x-toolkit=${toolkit}" "--with-xft" "--with-cairo" ]
else [ "--with-x=no" "--with-xpm=no" "--with-jpeg=no" "--with-png=no"
"--with-gif=no" "--with-tiff=no" ])
++ lib.optional withXwidgets "--with-xwidgets"
14 changes: 10 additions & 4 deletions pkgs/applications/editors/neovim/default.nix
Original file line number Diff line number Diff line change
@@ -20,6 +20,14 @@ let
));

pyEnv = python.withPackages(ps: [ ps.pynvim ps.msgpack ]);

# FIXME: this is verry messy and strange.
# see https://github.com/NixOS/nixpkgs/pull/80528
luv = lua.pkgs.luv;
luvpath = with builtins ; if stdenv.isDarwin
then "${luv.libluv}/lib/lua/${lua.luaversion}/libluv.${head (match "([0-9.]+).*" luv.version)}.dylib"
else "${luv}/lib/lua/${lua.luaversion}/luv.so";

in
stdenv.mkDerivation rec {
pname = "neovim-unwrapped";
@@ -47,7 +55,7 @@ in
libtermkey
libuv
libvterm-neovim
lua.pkgs.luv.libluv
luv.libluv
msgpack
ncurses
neovimLuaEnv
@@ -88,10 +96,8 @@ in
cmakeFlags = [
"-DGPERF_PRG=${gperf}/bin/gperf"
"-DLUA_PRG=${neovimLuaEnv.interpreter}"
"-DLIBLUV_LIBRARY=${luvpath}"
]
# FIXME: this is verry messy and strange.
++ optional (!stdenv.isDarwin) "-DLIBLUV_LIBRARY=${lua.pkgs.luv}/lib/lua/${lua.luaversion}/luv.so"
++ optional (stdenv.isDarwin) "-DLIBLUV_LIBRARY=${lua.pkgs.luv.libluv}/lib/lua/${lua.luaversion}/libluv.dylib"
++ optional doCheck "-DBUSTED_PRG=${neovimLuaEnv}/bin/busted"
++ optional (!lua.pkgs.isLuaJIT) "-DPREFER_LUA=ON"
;
30 changes: 15 additions & 15 deletions pkgs/applications/graphics/gimp/default.nix
Original file line number Diff line number Diff line change
@@ -131,6 +131,21 @@ in stdenv.mkDerivation rec {
gegl
];

configureFlags = [
"--without-webkit" # old version is required
"--disable-check-update"
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
"--with-icc-directory=/run/current-system/sw/share/color/icc"
# fix libdir in pc files (${exec_prefix} needs to be passed verbatim)
"--libdir=\${exec_prefix}/lib"
];

enableParallelBuilding = true;

# on Darwin,
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
doCheck = !stdenv.isDarwin;

# Check if librsvg was built with --disable-pixbuf-loader.
PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${librsvg}/${gdk-pixbuf.moduleDir}";

@@ -155,21 +170,6 @@ in stdenv.mkDerivation rec {
gtk = gtk2;
};

configureFlags = [
"--without-webkit" # old version is required
"--disable-check-update"
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
"--with-icc-directory=/run/current-system/sw/share/color/icc"
# fix libdir in pc files (${exec_prefix} needs to be passed verbatim)
"--libdir=\${exec_prefix}/lib"
];

# on Darwin,
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
doCheck = !stdenv.isDarwin;

enableParallelBuilding = true;

meta = with lib; {
description = "The GNU Image Manipulation Program";
homepage = "https://www.gimp.org/";
Loading