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: e275a6c2f38d
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: 8febac00c377
Choose a head ref

Commits on May 8, 2019

  1. perl-packages: Set perlPackages attr in perlPackages scope

    Adopt python's change from NixOS/nixpkgs#61139
    There is currently no bug to fix, it just makes the things more consistent and prevents hitting the bug in the future
    volth authored May 8, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f95dbbc View commit details

Commits on Aug 1, 2019

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2ea2643 View commit details

Commits on Aug 3, 2019

  1. curaLulzbot: 15.02.1-1.03-5064 -> 3.6.18

    Move Cura Lulzbot Edition to be based on the same generation of the
    codebase as the upstream (Ultimaker) branch, away from a many-year-old
    legacy tree.
    
    Since prior Lulzbot Edition packaging simply wrapped binaries unpacked
    from Debian binary packages, doing this right requires forking the same
    dependencies that Lulzbot has branched themselves as well.
    charles-dyfis-net committed Aug 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0ca75bc View commit details
  2. runwayml: init at 0.8.1

    prusnak committed Aug 3, 2019
    Copy the full SHA
    7c8e7aa View commit details

Commits on Aug 4, 2019

  1. ripgrep-all: init at 0.9.2

    zaninime committed Aug 4, 2019
    Copy the full SHA
    1b1f9f9 View commit details
  2. tcslib: init at version v0.3

    build for tcslib as contribution as well as usage example for the new buildOasisPackage
    mgttlinger committed Aug 4, 2019
    Copy the full SHA
    d940b44 View commit details
  3. Copy the full SHA
    784c69a View commit details
  4. Copy the full SHA
    12a2253 View commit details
  5. minizincide: 2.3.0 -> 2.3.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/minizinc-ide/versions
    r-ryantm committed Aug 4, 2019
    Copy the full SHA
    9f3dd81 View commit details

Commits on Aug 5, 2019

  1. nagios: 4.4.3 -> 4.4.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/nagios/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    4093432 View commit details
  2. openapi-generator-cli: 4.0.1 -> 4.0.3

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/openapi-generator-cli/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    0204685 View commit details
  3. pdns-recursor: 4.1.14 -> 4.2.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pdns-recursor/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    febd3c7 View commit details
  4. Copy the full SHA
    37c8c63 View commit details
  5. Copy the full SHA
    34eca41 View commit details
  6. python37Packages.kubernetes: 9.0.0 -> 10.0.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-kubernetes/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    6acaa33 View commit details
  7. qtractor: 0.9.8 -> 0.9.9

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/qtractor/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    e853b05 View commit details

Commits on Aug 6, 2019

  1. qdirstat: 1.5.90 -> 1.6

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/qdirstat/versions
    r-ryantm committed Aug 6, 2019
    Copy the full SHA
    feac3f8 View commit details
  2. shaarli: 0.10.4 -> 0.11.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/shaarli/versions
    r-ryantm committed Aug 6, 2019
    Copy the full SHA
    fd10cb4 View commit details
  3. xcbuild: fix build on darwin

    marsam committed Aug 6, 2019
    Copy the full SHA
    2444738 View commit details
  4. Suggested changes

    mgttlinger committed Aug 6, 2019
    Copy the full SHA
    6ef367a View commit details
  5. Copy the full SHA
    8a02fa4 View commit details
  6. Copy the full SHA
    349a843 View commit details
  7. Copy the full SHA
    eab7864 View commit details
  8. Copy the full SHA
    4bca06e View commit details
  9. Don't use buildOcaml

    mgttlinger committed Aug 6, 2019
    Copy the full SHA
    961b83a View commit details
  10. virtualbox: use wrapQtAppsHook

    Fixes #66200
    
    See: #65399
    worldofpeace committed Aug 6, 2019
    Copy the full SHA
    2bd649b View commit details
  11. Add bluez-qt as an explicit dependency of plasma5

    When bluetooth is enabled, we install bluedevil, but
    its applet cannot work without the qml components in
    bluez-qt.
    
    Superseedes #65440 that failed to address the issue.
    xvello committed Aug 6, 2019
    Copy the full SHA
    e383d99 View commit details
  12. Copy the full SHA
    58b1a92 View commit details
  13. openjfx: fix build

    Averell Dalton committed Aug 6, 2019
    Copy the full SHA
    5ab179b View commit details
  14. Copy the full SHA
    c72d4f9 View commit details
  15. Copy the full SHA
    ad9e905 View commit details
  16. openscenegraph: drop 3.4.x

    aanderse committed Aug 6, 2019
    Copy the full SHA
    d2a1ae9 View commit details
  17. Copy the full SHA
    a0e09b9 View commit details

Commits on Aug 7, 2019

  1. pythonPackages.vega_datasets: fix build

    Jonathan Ringer committed Aug 7, 2019
    Copy the full SHA
    ff53618 View commit details
  2. pythonPackages.altair: 3.1.0 -> 3.2.0

    Jonathan Ringer committed Aug 7, 2019
    Copy the full SHA
    72bda5b View commit details
  3. Copy the full SHA
    293c288 View commit details
  4. Suggested edits

    mgttlinger committed Aug 7, 2019
    Copy the full SHA
    6e6c144 View commit details
  5. Suggested edits

    mgttlinger committed Aug 7, 2019
    Copy the full SHA
    b1f0e3e View commit details
  6. Merge pull request #61141 from volth/patch-333

    perl-packages: Set perlPackages attr in perlPackages scope
    adisbladis authored Aug 7, 2019
    Copy the full SHA
    965d055 View commit details
  7. vcv-rack: 0.6.2b -> 1.1.3

    Moredread authored and Lassulus committed Aug 7, 2019
    Copy the full SHA
    b1bd9fc View commit details
  8. Merge pull request #65715 from mgttlinger/build-oasis-package

    OCaml build support: add oasis build system
    vbgl authored Aug 7, 2019
    Copy the full SHA
    b1d3735 View commit details
  9. Merge pull request #66204 from jabranham/r-pkgs

    R: Update CRAN and bioconductor packages
    peti authored Aug 7, 2019
    Copy the full SHA
    8ac6b77 View commit details
  10. cargo-bloat: 0.7.2 -> 0.8.2

    xrelkd committed Aug 7, 2019
    Copy the full SHA
    fb91d00 View commit details
  11. Make hostname in tests overridable

    The original form effectively forbade any NixOS configuration that is under
    test to explicitly set the hostname.
    knl committed Aug 7, 2019
    Copy the full SHA
    d0ef942 View commit details
  12. Merge pull request #66144 from r-ryantm/auto-update/shaarli

    shaarli: 0.10.4 -> 0.11.0
    mmahut authored Aug 7, 2019
    Copy the full SHA
    dd98909 View commit details
  13. Copy the full SHA
    be81b5d View commit details
  14. ripgrep-all: init at 0.9.2 (#65695)

    ripgrep-all: init at 0.9.2
    Mic92 authored Aug 7, 2019
    Copy the full SHA
    31244a4 View commit details
  15. arduino: fix incorrect sha256 in Darwin build (#66216)

    arduino: fix incorrect sha256 in Darwin build
    Mic92 authored Aug 7, 2019
    Copy the full SHA
    7ccfefe View commit details
  16. gopass: fix build on darwin (#66244)

    HugoReeves authored and Mic92 committed Aug 7, 2019
    Copy the full SHA
    83cfaac View commit details
  17. Copy the full SHA
    fc03be2 View commit details
Showing with 2,733 additions and 2,242 deletions.
  1. +18 −0 doc/languages-frameworks/idris.section.md
  2. +5 −0 maintainers/maintainer-list.nix
  3. +1 −1 nixos/lib/build-vms.nix
  4. +4 −0 nixos/modules/services/databases/postgresql.nix
  5. +1 −1 nixos/modules/services/x11/desktop-managers/plasma5.nix
  6. +26 −0 nixos/tests/initdb.nix
  7. +4 −7 pkgs/applications/audio/mixxx/default.nix
  8. +5 −4 pkgs/applications/audio/qtractor/default.nix
  9. +1 −1 pkgs/applications/audio/spotifyd/default.nix
  10. +18 −15 pkgs/applications/audio/vcv-rack/default.nix
  11. +13 −0 pkgs/applications/audio/vcv-rack/glfw.patch
  12. +14 −0 pkgs/applications/audio/vcv-rack/rack-minimize-vendoring.patch
  13. +1 −1 pkgs/applications/editors/emacs-modes/elpa-packages.nix
  14. +0 −57 pkgs/applications/editors/emacs-modes/emacs-libvterm/default.nix
  15. +145 −0 pkgs/applications/editors/emacs-modes/manual-packages.nix
  16. +374 −219 pkgs/applications/editors/emacs-modes/melpa-packages.nix
  17. +0 −235 pkgs/applications/editors/emacs-modes/melpa-stable-packages.nix
  18. +0 −30 pkgs/applications/editors/emacs-modes/nyan-mode/default.nix
  19. +0 −13 pkgs/applications/editors/emacs-modes/nyan-mode/directory.patch
  20. +1 −1 pkgs/applications/editors/emacs-modes/org-packages.nix
  21. +0 −23 pkgs/applications/editors/emacs-modes/redshank/default.nix
  22. +0 −25 pkgs/applications/editors/emacs-modes/stgit/default.nix
  23. +3 −5 pkgs/applications/editors/emacs-modes/update-melpa
  24. +38 −27 pkgs/applications/editors/emacs-modes/updater-emacs.nix
  25. +45 −0 pkgs/applications/graphics/runwayml/default.nix
  26. +2 −3 pkgs/applications/misc/calibre/default.nix
  27. +11 −6 pkgs/applications/misc/cura/default.nix
  28. +0 −58 pkgs/applications/misc/cura/lulzbot.nix
  29. +26 −0 pkgs/applications/misc/cura/lulzbot/curaengine.nix
  30. +78 −0 pkgs/applications/misc/cura/lulzbot/default.nix
  31. +33 −0 pkgs/applications/misc/cura/lulzbot/libarcus.nix
  32. +33 −0 pkgs/applications/misc/cura/lulzbot/libsavitar.nix
  33. +16 −0 pkgs/applications/misc/cura/lulzbot/uranium-qt512-support.patch
  34. +41 −0 pkgs/applications/misc/cura/lulzbot/uranium.nix
  35. +3 −3 pkgs/applications/misc/cura/plugins.nix
  36. +3 −3 pkgs/applications/misc/curaengine/default.nix
  37. +2 −2 pkgs/applications/misc/kdeconnect/default.nix
  38. +4 −4 pkgs/applications/misc/qdirstat/default.nix
  39. +1 −1 pkgs/applications/networking/instant-messengers/slack/dark-theme.nix
  40. +2 −2 pkgs/applications/networking/p2p/qbittorrent/default.nix
  41. +34 −0 pkgs/applications/office/flexibee/default.nix
  42. +2 −1 pkgs/applications/radio/gqrx/default.nix
  43. +2 −2 pkgs/applications/video/qstopmotion/default.nix
  44. +18 −10 pkgs/applications/virtualization/virtualbox/default.nix
  45. +46 −0 pkgs/build-support/ocaml/oasis.nix
  46. +1 −1 pkgs/development/arduino/arduino-core/downloads.nix
  47. +1 −1 pkgs/development/compilers/openjdk/openjfx/11.nix
  48. +1 −1 pkgs/development/compilers/openjdk/openjfx/12.nix
  49. +8 −4 pkgs/development/idris-modules/build-idris-package.nix
  50. +3 −1 pkgs/development/libraries/kde-frameworks/ktexteditor.nix
  51. +0 −39 pkgs/development/libraries/openscenegraph/3.4.0.nix
  52. +11 −8 pkgs/development/libraries/simgear/default.nix
  53. +2 −2 pkgs/development/libraries/unicap/default.nix
  54. +22 −0 pkgs/development/ocaml-modules/minisat/default.nix
  55. +24 −0 pkgs/development/ocaml-modules/ocaml-sat-solvers/default.nix
  56. +23 −0 pkgs/development/ocaml-modules/pgsolver/default.nix
  57. +25 −0 pkgs/development/ocaml-modules/tcslib/default.nix
  58. +36 −14 pkgs/development/python-modules/altair/default.nix
  59. +26 −0 pkgs/development/python-modules/codespell/default.nix
  60. +4 −3 pkgs/development/python-modules/colorcet/default.nix
  61. +2 −2 pkgs/development/python-modules/django/1_11.nix
  62. +2 −2 pkgs/development/python-modules/django/2_1.nix
  63. +2 −11 pkgs/development/python-modules/jug/default.nix
  64. +2 −2 pkgs/development/python-modules/kubernetes/default.nix
  65. +4 −4 pkgs/development/python-modules/libarcus/default.nix
  66. +4 −4 pkgs/development/python-modules/libsavitar/default.nix
  67. +7 −2 pkgs/development/python-modules/pytest-mpl/default.nix
  68. +34 −0 pkgs/development/python-modules/runway-python/default.nix
  69. +3 −3 pkgs/development/python-modules/uranium/default.nix
  70. +1 −1 pkgs/development/python-modules/vega_datasets/default.nix
  71. +24 −0 pkgs/development/python-modules/webrtcvad/default.nix
  72. +22 −0 pkgs/development/python-modules/wget/default.nix
  73. +1 −1 pkgs/development/r-modules/bioc-packages.nix
  74. +1,053 −837 pkgs/development/r-modules/cran-packages.nix
  75. +3 −3 pkgs/development/tools/golangci-lint/default.nix
  76. +2 −2 pkgs/development/tools/minizinc/ide.nix
  77. +3 −19 pkgs/development/tools/ocaml/findlib/default.nix
  78. +1 −1 pkgs/development/tools/ocaml/findlib/install_topfind.patch
  79. +3 −3 pkgs/development/tools/rust/cargo-bloat/default.nix
  80. +6 −1 pkgs/development/tools/xcbuild/default.nix
  81. +10 −10 pkgs/games/flightgear/default.nix
  82. +7 −7 pkgs/games/hedgewars/default.nix
  83. +17 −19 pkgs/games/speed-dreams/default.nix
  84. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  85. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  86. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  87. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  88. +2 −2 pkgs/os-specific/linux/kernel/linux-5.2.nix
  89. +2 −2 pkgs/os-specific/linux/v4l-utils/default.nix
  90. +2 −2 pkgs/os-specific/linux/wpa_supplicant/gui.nix
  91. +2 −2 pkgs/servers/dns/pdns-recursor/default.nix
  92. +3 −3 pkgs/servers/monitoring/grafana/default.nix
  93. +2 −2 pkgs/servers/monitoring/nagios/default.nix
  94. +5 −3 pkgs/servers/sql/pgpool/default.nix
  95. +0 −12 pkgs/servers/sql/pgpool/pgpool-II-3.4.14-glibc-2.26.patch
  96. +23 −0 pkgs/servers/sql/pgpool/pgpool.patch
  97. +2 −2 pkgs/servers/web-apps/shaarli/default.nix
  98. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  99. +2 −2 pkgs/tools/networking/openapi-generator-cli/default.nix
  100. +2 −2 pkgs/tools/package-management/protontricks/default.nix
  101. +87 −0 pkgs/tools/security/bitwarden/default.nix
  102. +2 −3 pkgs/tools/security/gopass/default.nix
  103. +39 −0 pkgs/tools/text/ripgrep-all/default.nix
  104. +1 −0 pkgs/top-level/aliases.nix
  105. +24 −15 pkgs/top-level/all-packages.nix
  106. +29 −411 pkgs/top-level/emacs-packages.nix
  107. +10 −0 pkgs/top-level/ocaml-packages.nix
  108. +1 −0 pkgs/top-level/perl-packages.nix
  109. +8 −0 pkgs/top-level/python-packages.nix
18 changes: 18 additions & 0 deletions doc/languages-frameworks/idris.section.md
Original file line number Diff line number Diff line change
@@ -124,3 +124,21 @@ in another file (say `default.nix`) to be able to build it with
```
$ nix-build -A yaml
```

## Passing options to `idris` commands

The `build-idris-package` function provides also optional input values to set additional options for the used `idris` commands.

Specifically, you can set `idrisBuildOptions`, `idrisTestOptions`, `idrisInstallOptions` and `idrisDocOptions` to provide additional options to the `idris` command respectively when building, testing, installing and generating docs for your package.

For example you could set

```
build-idris-package {
idrisBuildOptions = [ "--log" "1" "--verbose" ]
...
}
```

to require verbose output during `idris` build phase.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -5599,6 +5599,11 @@
github = "viric";
name = "Lluís Batlle i Rossell";
};
virusdave = {
email = "dave.nicponski@gmail.com";
github = "virusdave";
name = "Dave Nicponski";
};
vizanto = {
email = "danny@prime.vc";
github = "vizanto";
2 changes: 1 addition & 1 deletion nixos/lib/build-vms.nix
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ rec {
in
{ key = "ip-address";
config =
{ networking.hostName = m.fst;
{ networking.hostName = mkDefault m.fst;

networking.interfaces = listToAttrs interfaces;

4 changes: 4 additions & 0 deletions nixos/modules/services/databases/postgresql.nix
Original file line number Diff line number Diff line change
@@ -251,6 +251,10 @@ in

environment.systemPackages = [ postgresql ];

environment.pathsToLink = [
"/share/postgresql"
];

systemd.services.postgresql =
{ description = "PostgreSQL Server";

2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ in
++ lib.optional (cfg.phononBackend == "vlc" && cfg.enableQt4Support) pkgs.phonon-backend-vlc

# Optional hardware support features
++ lib.optional config.hardware.bluetooth.enable bluedevil
++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt ]
++ lib.optional config.networking.networkmanager.enable plasma-nm
++ lib.optional config.hardware.pulseaudio.enable plasma-pa
++ lib.optional config.powerManagement.enable powerdevil
26 changes: 26 additions & 0 deletions nixos/tests/initdb.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
let
pkgs = import <nixpkgs> { };
in
with import <nixpkgs/nixos/lib/testing.nix> { inherit pkgs; system = builtins.currentSystem; };
with pkgs.lib;

makeTest {
name = "pg-initdb";

machine = {...}:
{
documentation.enable = false;
services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_9_6;
environment.pathsToLink = [
"/share/postgresql"
];
};

testScript = ''
$machine->start;
$machine->succeed("sudo -u postgres initdb -D /tmp/testpostgres2");
$machine->shutdown;
'';

}
11 changes: 4 additions & 7 deletions pkgs/applications/audio/mixxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, mkDerivation, fetchFromGitHub, makeWrapper, chromaprint
{ stdenv, mkDerivation, fetchFromGitHub, chromaprint
, fftw, flac, faad2, glibcLocales, mp4v2
, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
, libGLU, libxcb, lilv, lv2, opusfile
@@ -17,8 +17,6 @@ mkDerivation rec {
sha256 = "1q6c2wfpprsx7s7nz1w0mhm2yhikj54jxcv61kwylxx3n5k2na9r";
};

nativeBuildInputs = [ makeWrapper ];

buildInputs = [
chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout libsndfile
libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg
@@ -34,10 +32,9 @@ mkDerivation rec {
"opus=1"
];

fixupPhase = ''
wrapProgram $out/bin/mixxx \
--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive;
'';
qtWrapperArgs = [
"--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
];

meta = with stdenv.lib; {
homepage = https://mixxx.org;
9 changes: 5 additions & 4 deletions pkgs/applications/audio/qtractor/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{ alsaLib, autoconf, automake, dssi, fetchurl, libjack2
, ladspaH, ladspaPlugins, liblo, libmad, libsamplerate, libsndfile
, libtool, libvorbis, lilv, lv2, pkgconfig, qttools, qtbase, rubberband, serd
, sord, sratom, stdenv, suil }:
, sord, sratom, stdenv, suil, wrapQtAppsHook }:

stdenv.mkDerivation rec {
pname = "qtractor";
version = "0.9.8";
version = "0.9.9";

src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "1llajl450yh7bka32ngm4xdva6a2nnxzjc497ydh07rwkap16smx";
sha256 = "0qlbccdxyfy0f09y6qg1xkg12fm67bf2f2c27c22cg8lzk9ang5j";
};

nativeBuildInputs = [
autoconf automake libtool pkgconfig qttools
autoconf automake libtool pkgconfig qttools wrapQtAppsHook
];

buildInputs =
[ alsaLib dssi libjack2 ladspaH
ladspaPlugins liblo libmad libsamplerate libsndfile libtool
2 changes: 1 addition & 1 deletion pkgs/applications/audio/spotifyd/default.nix
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1iybk9xrrvhrcl2xl5r2xhyn1ydhrgwnnb8ldhsw5c16b32z03q1";
};

cargoSha256 = "0879p1h32259schmy8j3xnwpw3sw80f8mrj8s6b5aihi3yyzz521";
cargoSha256 = "1dzg4sb95ixjfhx6n4w2rgrq4481vw01nsdrbm746mz7nm71csk3";

cargoBuildFlags = [
"--no-default-features"
33 changes: 18 additions & 15 deletions pkgs/applications/audio/vcv-rack/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,18 @@
let
glfw-git = glfw.overrideAttrs (oldAttrs: rec {
name = "glfw-git-${version}";
version = "unstable-2018-05-29";
version = "2019-06-30";
src = fetchFromGitHub {
owner = "glfw";
owner = "AndrewBelt";
repo = "glfw";
rev = "0be4f3f75aebd9d24583ee86590a38e741db0904";
sha256 = "0zbcjgc7ks25yi949k0wjknfl00a4dqmz45mhp00k62vlq2sj0i5";
rev = "d9ab59efc781c392128a449361a381fcc93cf6f3";
sha256 = "1ykkq6qq8y6j5hlfj2zp1p87kr33vwhywziprz20v5avx1q7rjm8";
};
# We patch the source to export a function that was added to the glfw fork
# for Rack so it is present when we build glfw as a shared library.
# See https://github.com/AndrewBelt/glfw/pull/1 for discussion of this issue
# with upstream.
patches = [ ./glfw.patch ];
buildInputs = oldAttrs.buildInputs ++ [ libXext libXi ];
});
pfft-source = fetchFromBitbucket {
@@ -23,32 +28,31 @@ let
in
with stdenv.lib; stdenv.mkDerivation rec {
name = "VCV-Rack-${version}";
version = "0.6.2b";
version = "1.1.3";

src = fetchFromGitHub {
owner = "VCVRack";
repo = "Rack";
rev = "v${version}";
sha256 = "17ynhxcci6dyn1yi871fd8yli4924fh12pmk510djwkcj5crhas6";
sha256 = "16q3x0jpwkdwwvh7rn472w7nfjf81s10z9c7bx011kk7rgk88hh2";
fetchSubmodules = true;
};

patches = [ ./rack-minimize-vendoring.patch ];

prePatch = ''
ln -s ${pfft-source} dep/jpommier-pffft-source
cp -r ${pfft-source} dep/jpommier-pffft-source
mkdir -p dep/include
cp dep/jpommier-pffft-source/*.h dep/include
cp dep/nanosvg/src/*.h dep/include
cp dep/nanosvg/**/*.h dep/include
cp dep/nanovg/src/*.h dep/include
cp dep/osdialog/*.h dep/include
cp dep/oui-blendish/*.h dep/include
substituteInPlace include/audio.hpp --replace "<RtAudio.h>" "<rtaudio/RtAudio.h>"
substituteInPlace compile.mk --replace "-march=nocona" ""
substituteInPlace Makefile \
--replace "-Wl,-Bstatic" "" \
--replace "-lglfw3" "-lglfw"
'';

enableParallelBuilding = true;
@@ -60,13 +64,12 @@ with stdenv.lib; stdenv.mkDerivation rec {

installPhase = ''
install -D -m755 -t $out/bin Rack
cp -r res $out/
mkdir -p $out/share/rack
cp LICENSE.txt LICENSE-dist.txt $out/share/rack
mkdir -p $out/share/vcv-rack
cp -r res Core.json template.vcv LICENSE* cacert.pem $out/share/vcv-rack
# Override the default global resource file directory
wrapProgram $out/bin/Rack --add-flags "-g $out"
wrapProgram $out/bin/Rack --add-flags "-s $out/share/vcv-rack"
'';

meta = with stdenv.lib; {
13 changes: 13 additions & 0 deletions pkgs/applications/audio/vcv-rack/glfw.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/init.c b/src/init.c
index af4a579e..317e25b8 100644
--- a/src/init.c
+++ b/src/init.c
@@ -339,7 +339,7 @@ GLFWAPI GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)

char glfwOpenedFilename[1024];

-const char *glfwGetOpenedFilename()
+GLFWAPI const char *glfwGetOpenedFilename()
{
if (glfwOpenedFilename[0])
{
14 changes: 14 additions & 0 deletions pkgs/applications/audio/vcv-rack/rack-minimize-vendoring.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff -ru a/Makefile b/Makefile
--- a/Makefile 1970-01-01 01:00:01.000000000 +0100
+++ b/Makefile 1970-01-01 01:00:01.000000000 +0100
@@ -21,8 +21,8 @@
build/dep/osdialog/osdialog_gtk2.c.o: FLAGS += $(shell pkg-config --cflags gtk+-2.0)

LDFLAGS += -rdynamic \
- dep/lib/libglfw3.a dep/lib/libGLEW.a dep/lib/libjansson.a dep/lib/libspeexdsp.a dep/lib/libzip.a dep/lib/libz.a dep/lib/librtmidi.a dep/lib/librtaudio.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a \
- -lpthread -lGL -ldl -lX11 -lasound -ljack \
+ -lGLEW -ljansson -lspeexdsp -lzip -lz -lrtmidi -lrtaudio -lcurl -lssl -lcrypto \
+ -lpthread -lGL -ldl -lX11 -lasound -ljack -lglfw \
$(shell pkg-config --libs gtk+-2.0)
TARGET := Rack
endif
2 changes: 1 addition & 1 deletion pkgs/applications/editors/emacs-modes/elpa-packages.nix
Original file line number Diff line number Diff line change
@@ -50,4 +50,4 @@ self:

elpaPackages = super // overrides;

in elpaPackages // { inherit elpaBuild elpaPackages; }
in elpaPackages // { inherit elpaBuild; }
57 changes: 0 additions & 57 deletions pkgs/applications/editors/emacs-modes/emacs-libvterm/default.nix

This file was deleted.

Loading