git.iko.soy/typeable/nixpkgs
on master help sign in
Merge branch 'master' into feat/nsd/dnssec
commit7a516cd0c3ee89c4b180d2d7a5b9e7c1a77bc677 authorMatthew Justin Bauer <mjbauer95@gmail.com> dateSat 21 Apr 2018, 14:48 (9 years ago) parenta2e40f7dff29c6
8076 files changed+277386−164879
.gitattributes+16 .github/CODEOWNERS+22−8 .version+1−1 COPYING+1−1 README.md+7−8 doc/.gitignore+6 doc/Makefile+90 doc/coding-conventions.xml+38−14 doc/configuration.xml+39−1 doc/contributing.xml+19−4 doc/cross-compilation.xml+54−4 doc/default.nix+32−98 doc/functions.xml+57−4 doc/introduction.md → doc/introduction.chapter.md doc/languages-frameworks/coq.xml+35−13 doc/languages-frameworks/emscripten.section.md+185 doc/languages-frameworks/haskell.md−959 doc/languages-frameworks/haskell.section.md+953 doc/languages-frameworks/idris.section.md+39 doc/languages-frameworks/index.xml+8−7 doc/languages-frameworks/java.xml+1−10 doc/languages-frameworks/node.section.md+51 doc/languages-frameworks/perl.xml+14 doc/languages-frameworks/python.md−1021 doc/languages-frameworks/python.section.md+1026 doc/languages-frameworks/r.section.md+120 doc/languages-frameworks/rust.md−90 doc/languages-frameworks/rust.section.md+393 doc/languages-frameworks/texlive.xml+3 doc/languages-frameworks/vim.md → doc/languages-frameworks/vim.section.md doc/manual.xml+1−1 doc/meta.xml+2−2 doc/multiple-output.xml+1−1 doc/overrides.css+9 doc/package-notes.xml+43−5 doc/reviewing-contributions.xml+99−99 doc/shell.nix+4 doc/shell.section.md+22 doc/stdenv.xml+402−68 doc/style.css+23−7 doc/submitting-changes.xml+2−2 lib/customisation.nix+18−13 lib/debug.nix+2−2 lib/default.nix+16−13 lib/deprecated.nix+4−4 lib/generators.nix+52−9 lib/licenses.nix+60−4 lib/lists.nix+52−3 lib/maintainers.nix−721 lib/meta.nix+21 lib/modules.nix+3−3 lib/options.nix+6−4 lib/sandbox.nix−48 lib/sources.nix+30−5 lib/strings.nix+16−1 lib/systems/default.nix+14−5 lib/systems/doubles.nix+7−6 lib/systems/examples.nix+29−35 lib/systems/for-meta.nix+31 lib/systems/inspect.nix+37−28 lib/systems/parse.nix+147−36 lib/systems/platforms.nix+19−10 lib/tests/misc.nix+29−1 lib/tests/release.nix+1−2 lib/tests/systems.nix+2−2 lib/trivial.nix+62−1 lib/types.nix+11 lib/versions.nix+47 maintainers/maintainer-list.nix+4163 maintainers/scripts/check-maintainer-github-handles.sh+66 maintainers/scripts/copy-tarballs.pl+10−3 maintainers/scripts/debian-patches.sh+4−2 maintainers/scripts/fetch-kde-qt.sh+1−1 maintainers/scripts/gnome.sh−192 maintainers/scripts/hydra-eval-failures.py+1−1 maintainers/scripts/rebuild-amount.sh+13−1 maintainers/scripts/update-python-libraries+139−23 maintainers/scripts/update.nix+45−17 maintainers/scripts/vanity.sh+1−1 nixos/default.nix+1−3 nixos/doc/manual/configuration/firewall.xml+16−3 nixos/doc/manual/configuration/ipv4-config.xml+1−1 nixos/doc/manual/configuration/ipv6-config.xml+1−1 nixos/doc/manual/configuration/user-mgmt.xml+5−5 nixos/doc/manual/configuration/x-windows.xml+5−4 nixos/doc/manual/configuration/xfce.xml+1−12 nixos/doc/manual/default.nix+101−25 nixos/doc/manual/development/option-declarations.xml+9 nixos/doc/manual/development/option-types.xml+8−2 nixos/doc/manual/development/testing-installer.xml+4−2 nixos/doc/manual/development/writing-nixos-tests.xml+40−1 nixos/doc/manual/installation/changing-config.xml+15−3 nixos/doc/manual/installation/installing-from-other-distro.xml+309 nixos/doc/manual/installation/installing-uefi.xml−48 nixos/doc/manual/installation/installing-usb.xml+18−4 nixos/doc/manual/installation/installing-virtualbox-guest.xml+5−5 nixos/doc/manual/installation/installing.xml+131−16 nixos/doc/manual/installation/obtaining.xml+4−5 nixos/doc/manual/man-nixos-build-vms.xml+3−3 nixos/doc/manual/man-nixos-enter.xml+119 nixos/doc/manual/man-nixos-install.xml+3−3 nixos/doc/manual/man-pages.xml+2−1 nixos/doc/manual/options-to-docbook.xsl+9 nixos/doc/manual/release-notes/release-notes.xml+1 nixos/doc/manual/release-notes/rl-1404.xml+1−1 nixos/doc/manual/release-notes/rl-1803.xml+456−8 nixos/doc/manual/release-notes/rl-1809.xml+85 nixos/doc/manual/style.css−267 nixos/lib/build-vms.nix+3−3 nixos/lib/eval-config.nix+2−2 nixos/lib/make-disk-image.nix+92−41 nixos/lib/make-ext4-fs.nix+8−9 nixos/lib/make-iso9660-image.nix+4−5 nixos/lib/make-iso9660-image.sh+3−4 nixos/lib/make-squashfs.nix+5−10 nixos/lib/make-system-tarball.nix+11−3 nixos/lib/make-system-tarball.sh+2−3 nixos/lib/qemu-flags.nix+11 nixos/lib/test-driver/Machine.pm+21−10 nixos/lib/testing.nix+26−9 pkgs/development/libraries/javascript/jquery-ui/default.nix → nixos/lib/testing/jquery-ui.nix pkgs/development/libraries/javascript/jquery/default.nix → nixos/lib/testing/jquery.nix nixos/maintainers/option-usages.nix+3−3 nixos/maintainers/scripts/ec2/amazon-image.nix+1−1 nixos/maintainers/scripts/ec2/create-amis.sh+1−1 nixos/maintainers/scripts/gce/create-gce.sh+2−2 nixos/modules/config/i18n.nix+1−1 nixos/modules/config/networking.nix+2−2 nixos/modules/config/no-x-libs.nix+8−8 nixos/modules/config/nsswitch.nix+9−9 nixos/modules/config/power-management.nix−3 nixos/modules/config/pulseaudio.nix+11−2 nixos/modules/config/shells-environment.nix+1−1 nixos/modules/config/system-path.nix−1 nixos/modules/config/users-groups.nix+28−27 nixos/modules/config/zram.nix+1−1 nixos/modules/hardware/all-firmware.nix+2−1 nixos/modules/hardware/digitalbitbox.nix+30 nixos/modules/hardware/onlykey.nix+33 nixos/modules/hardware/onlykey.udev+4 nixos/modules/hardware/opengl.nix+85−76 nixos/modules/hardware/video/amdgpu-pro.nix+15−1 nixos/modules/hardware/video/nvidia.nix+6−15 nixos/modules/installer/cd-dvd/channel.nix+4−2 nixos/modules/installer/cd-dvd/installation-cd-base.nix+1−1 nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix+1−1 nixos/modules/installer/cd-dvd/iso-image.nix+33−37 nixos/modules/installer/cd-dvd/sd-image-aarch64.nix+11−14 nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix+8−3 nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix+1−3 nixos/modules/installer/cd-dvd/sd-image.nix+27−7 nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix+1−1 nixos/modules/installer/cd-dvd/system-tarball.nix+3−3 nixos/modules/installer/netboot/netboot.nix+13−8 nixos/modules/installer/tools/nix-fallback-paths.nix+4−3 nixos/modules/installer/tools/nixos-enter.sh+60 nixos/modules/installer/tools/nixos-generate-config.pl+5−2 nixos/modules/installer/tools/nixos-install.sh+68−131 nixos/modules/installer/tools/nixos-prepare-root.sh−104 nixos/modules/installer/tools/nixos-rebuild.sh+1−1 nixos/modules/installer/tools/nixos-version.sh+2−2 nixos/modules/installer/tools/tools.nix+13−23 nixos/modules/installer/virtualbox-demo.nix+2 nixos/modules/misc/documentation.nix+77 nixos/modules/misc/ids.nix+28−16 nixos/modules/misc/label.nix+72 nixos/modules/misc/locate.nix+15−2 nixos/modules/misc/nixpkgs.nix+111−12 nixos/modules/misc/version.nix+42−36 nixos/modules/module-list.nix+60−23 nixos/modules/profiles/all-hardware.nix+2−3 nixos/modules/profiles/base.nix+1−1 nixos/modules/profiles/clone-config.nix+1−1 nixos/modules/profiles/demo.nix+6 nixos/modules/profiles/docker-container.nix+1−3 nixos/modules/profiles/installation-device.nix+7−1 nixos/modules/profiles/minimal.nix+2−3 nixos/modules/profiles/qemu-guest.nix+1−1 nixos/modules/programs/adb.nix+1 nixos/modules/programs/bash/bash.nix+13−6 nixos/modules/programs/browserpass.nix+1 nixos/modules/programs/ccache.nix+83 nixos/modules/programs/chromium.nix+6−2 nixos/modules/programs/criu.nix+26 nixos/modules/programs/dconf.nix+12−4 nixos/modules/programs/digitalbitbox/default.nix+39 nixos/modules/programs/digitalbitbox/doc.xml+85 nixos/modules/programs/iftop.nix+18 nixos/modules/programs/info.nix−30 nixos/modules/programs/less.nix+131 nixos/modules/programs/man.nix−31 nixos/modules/programs/plotinus.nix+36 nixos/modules/programs/plotinus.xml+25 nixos/modules/programs/rootston.nix+103 nixos/modules/programs/shadow.nix+5−5 nixos/modules/programs/singularity.nix+20 nixos/modules/programs/ssh.nix+1−1 nixos/modules/programs/sway.nix+35−19 nixos/modules/programs/systemtap.nix+28 nixos/modules/programs/tmux.nix+16−2 nixos/modules/programs/udevil.nix+14 nixos/modules/programs/way-cooler.nix+78 nixos/modules/programs/yabar.nix+149 nixos/modules/programs/zsh/oh-my-zsh.nix+16 nixos/modules/programs/zsh/zsh-autoenv.nix+28 nixos/modules/programs/zsh/zsh.nix+5−4 nixos/modules/rename.nix+49−1 nixos/modules/security/acme.nix+33−28 nixos/modules/security/audit.nix+3−3 nixos/modules/security/duosec.nix+2−2 nixos/modules/security/pam.nix+47−5 nixos/modules/security/sudo.nix+129−6 nixos/modules/security/wrappers/default.nix+2−2 nixos/modules/security/wrappers/wrapper.c+1−1 nixos/modules/services/audio/alsa.nix+1−1 nixos/modules/services/audio/mopidy.nix+9−5 nixos/modules/services/backup/almir.nix−173 nixos/modules/services/backup/borgbackup.nix+580 nixos/modules/services/backup/crashplan-small-business.nix+74 nixos/modules/services/backup/duplicati.nix+40 nixos/modules/services/backup/restic.nix+150 nixos/modules/services/backup/tarsnap.nix+61−8 nixos/modules/services/backup/znapzend.nix+360−9 nixos/modules/services/cluster/kubernetes/dashboard.nix+2−2 nixos/modules/services/cluster/kubernetes/default.nix+11−11 nixos/modules/services/computing/slurm/slurm.nix+25−6 nixos/modules/services/continuous-integration/buildkite-agent.nix+157−24 nixos/modules/services/continuous-integration/hydra/default.nix+7−6 nixos/modules/services/continuous-integration/jenkins/default.nix+8−1 nixos/modules/services/databases/4store-endpoint.nix+1−1 nixos/modules/services/databases/4store.nix+1−1 nixos/modules/services/databases/memcached.nix+31−26 nixos/modules/services/databases/mysql.nix+7−16 nixos/modules/services/databases/openldap.nix+46−6 nixos/modules/services/databases/pgmanage.nix+3−3 nixos/modules/services/databases/postgresql.nix+2−5 nixos/modules/services/databases/redis.nix−1 nixos/modules/services/desktops/gnome3/at-spi2-core.nix+11−10 nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix+27 nixos/modules/services/desktops/gnome3/evolution-data-server.nix+3−3 nixos/modules/services/desktops/gnome3/gnome-keyring.nix+2−2 nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix+2−2 nixos/modules/services/desktops/gnome3/gnome-terminal-server.nix+3−3 nixos/modules/services/desktops/gnome3/tracker-miners.nix+41 nixos/modules/services/desktops/pipewire.nix+23 nixos/modules/services/desktops/telepathy.nix+2−2 nixos/modules/services/editors/emacs.nix+21−2 nixos/modules/services/games/factorio.nix+18−2 nixos/modules/services/games/ghost-one.nix−105 nixos/modules/services/hardware/acpid.nix+34−6 nixos/modules/services/hardware/amd-hybrid-graphics.nix−46 nixos/modules/services/hardware/bluetooth.nix+11−1 nixos/modules/services/hardware/fwupd.nix+90 nixos/modules/services/hardware/nvidia-optimus.nix+1−1 nixos/modules/services/hardware/thinkfan.nix+1−1 nixos/modules/services/hardware/trezord.nix+1−1 nixos/modules/services/hardware/u2f.nix+23 nixos/modules/services/hardware/udev.nix+1−1 nixos/modules/services/hardware/usbmuxd.nix+74 nixos/modules/services/logging/graylog.nix+1−1 nixos/modules/services/logging/logcheck.nix+1−1 nixos/modules/services/logging/logstash.nix+1−1 nixos/modules/services/mail/clamsmtp.nix+179 nixos/modules/services/mail/dkimproxy-out.nix+118 nixos/modules/services/mail/dovecot.nix+3−2 nixos/modules/services/mail/postfix.nix+72−73 nixos/modules/services/mail/rspamd.nix+235−33 nixos/modules/services/misc/defaultUnicornConfig.rb+52−188 nixos/modules/services/misc/disnix.nix+11−5 nixos/modules/services/misc/dysnomia.nix+35−33 nixos/modules/services/misc/folding-at-home.nix+1−1 nixos/modules/services/misc/geoip-updater.nix+1−1 nixos/modules/services/misc/gitea.nix+54−2 nixos/modules/services/misc/gitit.nix+1−1 nixos/modules/services/misc/gitlab.nix+14−12 nixos/modules/services/misc/gitolite.nix+1−1 nixos/modules/services/misc/gitweb.nix+59 nixos/modules/services/misc/gogs.nix+3 nixos/modules/services/misc/gollum.nix+21 nixos/modules/services/misc/home-assistant.nix+144 nixos/modules/services/misc/ihaskell.nix+1−1 nixos/modules/services/misc/logkeys.nix+1−1 nixos/modules/services/misc/matrix-synapse.nix+86−16 nixos/modules/services/misc/mbpfan.nix+1−7 nixos/modules/services/misc/mesos-slave.nix+2−2 nixos/modules/services/misc/nix-daemon.nix+36−33 nixos/modules/services/misc/nix-ssh-serve.nix+17−7 nixos/modules/services/misc/nixos-manual.nix+9−9 nixos/modules/services/misc/novacomd.nix+31 nixos/modules/services/misc/osrm.nix+85 nixos/modules/services/misc/parsoid.nix+3−1 nixos/modules/services/misc/safeeyes.nix+50 nixos/modules/services/misc/serviio.nix+92 nixos/modules/services/misc/ssm-agent.nix+2−2 nixos/modules/services/misc/xmr-stak.nix+73 nixos/modules/services/misc/zookeeper.nix+10−1 nixos/modules/services/monitoring/apcupsd.nix+1−1 nixos/modules/services/monitoring/fusion-inventory.nix−3 nixos/modules/services/monitoring/grafana.nix+16−4 nixos/modules/services/monitoring/monit.nix+6−10 nixos/modules/services/monitoring/munin.nix+31−37 nixos/modules/services/monitoring/netdata.nix+44−10 nixos/modules/services/monitoring/prometheus/alertmanager.nix+5−5 nixos/modules/services/monitoring/prometheus/blackbox-exporter.nix−68 nixos/modules/services/monitoring/prometheus/collectd-exporter.nix−128 nixos/modules/services/monitoring/prometheus/default.nix+33 nixos/modules/services/monitoring/prometheus/exporters.nix+173 nixos/modules/services/monitoring/prometheus/exporters.xml+135 nixos/modules/services/monitoring/prometheus/exporters/blackbox.nix+31 nixos/modules/services/monitoring/prometheus/exporters/collectd.nix+78 nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix+50 nixos/modules/services/monitoring/prometheus/exporters/fritzbox.nix+39 nixos/modules/services/monitoring/prometheus/exporters/json.nix+36 nixos/modules/services/monitoring/prometheus/exporters/minio.nix+65 nixos/modules/services/monitoring/prometheus/exporters/nginx.nix+31 nixos/modules/services/monitoring/prometheus/exporters/node.nix+39 nixos/modules/services/monitoring/prometheus/exporters/postfix.nix+81 nixos/modules/services/monitoring/prometheus/exporters/snmp.nix+71 nixos/modules/services/monitoring/prometheus/exporters/unifi.nix+67 nixos/modules/services/monitoring/prometheus/exporters/varnish.nix+21 nixos/modules/services/monitoring/prometheus/fritzbox-exporter.nix−76 nixos/modules/services/monitoring/prometheus/json-exporter.nix−74 nixos/modules/services/monitoring/prometheus/minio-exporter.nix−117 nixos/modules/services/monitoring/prometheus/nginx-exporter.nix−78 nixos/modules/services/monitoring/prometheus/node-exporter.nix−87 nixos/modules/services/monitoring/prometheus/snmp-exporter.nix−127 nixos/modules/services/monitoring/prometheus/unifi-exporter.nix−105 nixos/modules/services/monitoring/prometheus/varnish-exporter.nix−61 nixos/modules/services/monitoring/smartd.nix+16−4 nixos/modules/services/monitoring/statsd.nix+22−9 nixos/modules/services/network-filesystems/beegfs.nix+343 nixos/modules/services/network-filesystems/ceph.nix+371 nixos/modules/services/network-filesystems/davfs2.nix+74 nixos/modules/services/network-filesystems/ipfs.nix+11−3 nixos/modules/services/network-filesystems/openafs-client/default.nix−99 nixos/modules/services/network-filesystems/openafs/client.nix+239 nixos/modules/services/network-filesystems/openafs/lib.nix+28 nixos/modules/services/network-filesystems/openafs/server.nix+260 nixos/modules/services/network-filesystems/samba.nix+9−5 nixos/modules/services/network-filesystems/xtreemfs.nix+1−1 nixos/modules/services/network-filesystems/yandex-disk.nix+2−2 nixos/modules/services/networking/amuled.nix+1−1 nixos/modules/services/networking/aria2.nix+5−5 nixos/modules/services/networking/bird.nix+15−8 nixos/modules/services/networking/connman.nix+10−1 nixos/modules/services/networking/dante.nix+1−1 nixos/modules/services/networking/ddclient.nix+59−53 nixos/modules/services/networking/dhcpcd.nix+3−3 nixos/modules/services/networking/dhcpd.nix+1 nixos/modules/services/networking/dnscache.nix+24−7 nixos/modules/services/networking/dnscrypt-proxy.nix+3−3 nixos/modules/services/networking/dnscrypt-wrapper.nix+10 nixos/modules/services/networking/firefox/sync-server.nix+22−30 nixos/modules/services/networking/firewall.nix+4−1 nixos/modules/services/networking/flashpolicyd.nix+1−1 nixos/modules/services/networking/freeradius.nix+72 nixos/modules/services/networking/gnunet.nix+2 nixos/modules/services/networking/i2pd.nix+12−5 nixos/modules/services/networking/iwd.nix+1−1 nixos/modules/services/networking/kresd.nix+31−17 nixos/modules/services/networking/lldpd.nix+1 nixos/modules/services/networking/monero.nix+238 nixos/modules/services/networking/mosquitto.nix+15−1 nixos/modules/services/networking/murmur.nix+2−1 nixos/modules/services/networking/nat.nix+77−3 nixos/modules/services/networking/networkmanager.nix+28−20 nixos/modules/services/networking/nftables.nix+1−1 nixos/modules/services/networking/nghttpx/backend-params-submodule.nix+131 nixos/modules/services/networking/nghttpx/backend-submodule.nix+50 nixos/modules/services/networking/nghttpx/default.nix+117 nixos/modules/services/networking/nghttpx/frontend-params-submodule.nix+64 nixos/modules/services/networking/nghttpx/frontend-submodule.nix+36 nixos/modules/services/networking/nghttpx/nghttpx-options.nix+142 nixos/modules/services/networking/nghttpx/server-options.nix+18 nixos/modules/services/networking/nghttpx/tls-submodule.nix+21 nixos/modules/services/networking/nix-serve.nix+2 nixos/modules/services/networking/nixops-dns.nix+79 nixos/modules/services/networking/nsd.nix+6 nixos/modules/services/networking/openvpn.nix+29−1 nixos/modules/services/networking/prosody.nix+288−49 nixos/modules/services/networking/quagga.nix+1−1 nixos/modules/services/networking/radvd.nix+1−14 nixos/modules/services/networking/rdnssd.nix+1−1 nixos/modules/services/networking/resilio.nix+2−7 nixos/modules/services/networking/rxe.nix+63 nixos/modules/services/networking/shadowsocks.nix+112 nixos/modules/services/networking/softether.nix+16−17 nixos/modules/services/networking/ssh/sshd.nix+76−18 nixos/modules/services/networking/strongswan.nix+19−4 nixos/modules/services/networking/stunnel.nix+221 nixos/modules/services/networking/syncthing.nix+7−23 nixos/modules/services/networking/tcpcrypt.nix+5−5 nixos/modules/services/networking/tinc.nix+2 nixos/modules/services/networking/tox-bootstrapd.nix+1−1 nixos/modules/services/networking/unbound.nix+1−1 nixos/modules/services/networking/zerotierone.nix+18−4 nixos/modules/services/printing/cupsd.nix+5−2 nixos/modules/services/scheduling/fcron.nix+18−10 nixos/modules/services/search/elasticsearch.nix+10−5 nixos/modules/services/security/clamav.nix+7−6 nixos/modules/services/security/hologram-agent.nix+3−4 nixos/modules/services/security/hologram-server.nix+33−5 nixos/modules/services/security/physlock.nix+43−21 nixos/modules/services/security/tor.nix+129−9 nixos/modules/services/security/torify.nix+1−1 nixos/modules/services/security/torsocks.nix+1−1 nixos/modules/services/security/usbguard.nix+2−2 nixos/modules/services/system/localtime.nix+60 nixos/modules/services/torrent/transmission.nix+17−5 nixos/modules/services/ttys/agetty.nix+2−2 nixos/modules/services/web-apps/atlassian/jira.nix+1−1 nixos/modules/services/web-apps/matomo-doc.xml+95 nixos/modules/services/web-apps/matomo.nix+246 nixos/modules/services/web-apps/nexus.nix+2−2 nixos/modules/services/web-apps/nixbot.nix−149 nixos/modules/services/web-apps/piwik-doc.xml−95 nixos/modules/services/web-apps/piwik.nix−227 nixos/modules/services/web-apps/pump.io-configure.js−23 nixos/modules/services/web-apps/pump.io.nix−438 nixos/modules/services/web-apps/restya-board.nix+384 nixos/modules/services/web-apps/tt-rss.nix+53−20 nixos/modules/services/web-servers/apache-httpd/owncloud.nix+35−13 nixos/modules/services/web-servers/apache-httpd/per-server-options.nix+1−1 nixos/modules/services/web-servers/lighttpd/default.nix+3 nixos/modules/services/web-servers/lighttpd/gitweb.nix+8−27 nixos/modules/services/web-servers/lighttpd/inginious.nix+1−1 nixos/modules/services/web-servers/mighttpd2.nix+132 nixos/modules/services/web-servers/nginx/default.nix+21−7 nixos/modules/services/web-servers/nginx/gitweb.nix+61 nixos/modules/services/web-servers/nginx/vhost-options.nix+29−1 nixos/modules/services/web-servers/tomcat.nix+192−190 nixos/modules/services/web-servers/traefik.nix+11−1 nixos/modules/services/web-servers/varnish/default.nix+25−5 nixos/modules/services/x11/compton.nix+2−2 nixos/modules/services/x11/desktop-managers/default.nix+4−8 nixos/modules/services/x11/desktop-managers/enlightenment.nix+2−2 nixos/modules/services/x11/desktop-managers/gnome3.nix+12−12 nixos/modules/services/x11/desktop-managers/lxqt.nix+2 nixos/modules/services/x11/desktop-managers/mate.nix+43−7 nixos/modules/services/x11/desktop-managers/plasma5.nix+22−9 nixos/modules/services/x11/desktop-managers/xfce.nix+77−69 nixos/modules/services/x11/display-managers/default.nix+22−23 nixos/modules/services/x11/display-managers/gdm.nix+5−8 nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix+33−2 nixos/modules/services/x11/display-managers/lightdm.nix+17−6 nixos/modules/services/x11/display-managers/sddm.nix+1−1 nixos/modules/services/x11/display-managers/slim.nix+1−1 nixos/modules/services/x11/display-managers/xpra.nix+1−1 nixos/modules/services/x11/hardware/libinput.nix+8−1 nixos/modules/services/x11/window-managers/2bwm.nix+2−2 nixos/modules/services/x11/window-managers/awesome.nix+6−5 nixos/modules/services/x11/window-managers/default.nix+2−3 nixos/modules/services/x11/window-managers/evilwm.nix+25 nixos/modules/services/x11/xautolock.nix+16−12 nixos/modules/services/x11/xserver.nix+18−28 nixos/modules/system/activation/activation-script.nix+2−9 nixos/modules/system/activation/switch-to-configuration.pl+10−3 nixos/modules/system/activation/top-level.nix+15−4 nixos/modules/system/boot/binfmt.nix+139 nixos/modules/system/boot/grow-partition.nix+50 nixos/modules/system/boot/initrd-network.nix+17−1 nixos/modules/system/boot/initrd-ssh.nix+1−4 nixos/modules/system/boot/kernel.nix+23−7 nixos/modules/system/boot/kexec.nix+19−18 nixos/modules/system/boot/loader/grub/grub.nix+8−8 nixos/modules/system/boot/loader/grub/install-grub.pl+1−1 nixos/modules/system/boot/luksroot.nix+28−3 nixos/modules/system/boot/modprobe.nix+1−1 nixos/modules/system/boot/networkd.nix+2−2 nixos/modules/system/boot/plymouth.nix+7−2 nixos/modules/system/boot/resolved.nix+1−1 nixos/modules/system/boot/stage-1-init.sh+1 nixos/modules/system/boot/stage-1.nix+51−5 nixos/modules/system/boot/stage-2-init.sh+4−5 nixos/modules/system/boot/stage-2.nix+1 nixos/modules/system/boot/systemd-unit-options.nix+1−1 nixos/modules/system/boot/systemd.nix+28−22 nixos/modules/tasks/filesystems/btrfs.nix+105−8 nixos/modules/tasks/filesystems/exfat.nix+1−1 nixos/modules/tasks/filesystems/zfs.nix+30−3 nixos/modules/tasks/kbd.nix+1−1 nixos/modules/tasks/network-interfaces-scripted.nix+62−35 nixos/modules/tasks/network-interfaces-systemd.nix+13−22 nixos/modules/tasks/network-interfaces.nix+115−90 nixos/modules/testing/test-instrumentation.nix+12−9 nixos/modules/virtualisation/amazon-image.nix+5−2 nixos/modules/virtualisation/amazon-init.nix+1−1 nixos/modules/virtualisation/azure-agent.nix+7−3 nixos/modules/virtualisation/brightbox-image.nix+1−1 nixos/modules/virtualisation/container-config.nix+1−1 nixos/modules/virtualisation/containers.nix+22−5 nixos/modules/virtualisation/ec2-amis.nix+34−16 nixos/modules/virtualisation/google-compute-image.nix+14−4 nixos/modules/virtualisation/grow-partition.nix+3−48 nixos/modules/virtualisation/hyperv-guest.nix+37 nixos/modules/virtualisation/libvirtd.nix+13−18 nixos/modules/virtualisation/lxc.nix+4−1 nixos/modules/virtualisation/lxcfs.nix−4 nixos/modules/virtualisation/lxd.nix+43−24 nixos/modules/virtualisation/nova-config.nix+1−3 nixos/modules/virtualisation/nova.nix−174 nixos/modules/virtualisation/openstack/common.nix−84 nixos/modules/virtualisation/openstack/glance.nix−245 nixos/modules/virtualisation/openstack/keystone.nix−220 nixos/modules/virtualisation/openvswitch.nix+1−1 nixos/modules/virtualisation/parallels-guest.nix+68−6 nixos/modules/virtualisation/qemu-vm.nix+12−8 nixos/modules/virtualisation/virtualbox-host.nix+1−1 nixos/modules/virtualisation/virtualbox-image.nix+5−7 nixos/modules/virtualisation/xen-dom0.nix+19−18 nixos/release-combined.nix+10−7 nixos/release-small.nix+6−1 nixos/release.nix+119−55 nixos/tests/atd.nix−6 nixos/tests/beegfs.nix+115 nixos/tests/bittorrent.nix+3−3 nixos/tests/boot-stage1.nix+1 nixos/tests/boot.nix+6−1 nixos/tests/borgbackup.nix+162 nixos/tests/ceph.nix+140 nixos/tests/chromium.nix+22−2 nixos/tests/cjdns.nix+6−3 nixos/tests/cloud-init.nix−1 nixos/tests/common/letsencrypt.nix+22−6 nixos/tests/containers-bridge.nix+8−2 nixos/tests/containers-extra_veth.nix+3−3 nixos/tests/containers-hosts.nix+3−3 nixos/tests/containers-imperative.nix+2−2 nixos/tests/containers-macvlans.nix+4−4 nixos/tests/containers-physical_interfaces.nix+14−14 nixos/tests/containers-reloadable.nix+1−1 nixos/tests/containers-restart_networking.nix+7−7 nixos/tests/containers-tmpfs.nix+1−1 nixos/tests/couchdb.nix+56 nixos/tests/docker-tools-overlay.nix+32 nixos/tests/docker-tools.nix+49 nixos/tests/dovecot.nix+16−3 nixos/tests/ec2.nix−1 nixos/tests/elk.nix+92−80 nixos/tests/ferm.nix+4−4 nixos/tests/fwupd.nix+19 nixos/tests/gjs.nix+19 nixos/tests/glance.nix−77 nixos/tests/gnome3-gdm.nix+10−3 nixos/tests/grafana.nix+1−1 nixos/tests/hocker-fetchdocker/default.nix+15 nixos/tests/hocker-fetchdocker/hello-world-container.nix+19 nixos/tests/hocker-fetchdocker/machine.nix+26 nixos/tests/home-assistant.nix+76 nixos/tests/iftop.nix+30 nixos/tests/initrd-network-ssh.nix−74 nixos/tests/initrd-network-ssh/default.nix+59 nixos/tests/initrd-network-ssh/dropbear.priv nixos/tests/initrd-network-ssh/dropbear.pub+1 nixos/tests/initrd-network-ssh/generate-keys.nix+12 nixos/tests/initrd-network-ssh/openssh.priv+51 nixos/tests/initrd-network-ssh/openssh.pub+1 nixos/tests/installer.nix+68−18 nixos/tests/ipv6.nix+1−1 nixos/tests/jenkins.nix+4−1 nixos/tests/kernel-copperhead.nix+2−2 nixos/tests/keymap.nix+2−32 nixos/tests/keystone.nix−82 nixos/tests/kubernetes/base.nix+1−2 nixos/tests/kubernetes/certs.nix+58−24 nixos/tests/kubernetes/dns.nix+1−1 nixos/tests/kubernetes/e2e.nix+1−1 nixos/tests/kubernetes/kubernetes-common.nix+2−2 nixos/tests/kubernetes/rbac.nix+2−2 nixos/tests/make-test.nix+1−1 nixos/tests/matrix-synapse.nix+30 nixos/tests/misc.nix+11−7 nixos/tests/mutable-users.nix+39 nixos/tests/nat.nix+1−1 nixos/tests/netdata.nix+31 nixos/tests/networking.nix+186−25 nixos/tests/nghttpx.nix+61 nixos/tests/nix-ssh-serve.nix+39 nixos/tests/novacomd.nix+28 nixos/tests/nsd.nix+14−8 nixos/tests/openldap.nix+35 nixos/tests/openssh.nix+2−15 nixos/tests/owncloud.nix+39 nixos/tests/plotinus.nix+27 nixos/tests/postgis.nix+1−1 nixos/tests/powerdns.nix+12 nixos/tests/predictable-interface-names.nix+27 nixos/tests/printing.nix+2 nixos/tests/prosody.nix+75 nixos/tests/pump.io.nix−89 nixos/tests/quagga.nix+1−1 nixos/tests/radicale.nix+1−1 nixos/tests/rspamd.nix+140 nixos/tests/rxe.nix+53 nixos/tests/ssh-keys.nix+15 nixos/tests/statsd.nix+40 nixos/tests/sudo.nix+93 nixos/tests/switch-test.nix+25 nixos/tests/systemd.nix+68 nixos/tests/transmission.nix+21 nixos/tests/vault.nix+23 nixos/tests/virtualbox.nix+3−3 nixos/tests/xautolock.nix+24 nixos/tests/yabar.nix+25 nixos/tests/zfs.nix+85 pkgs/applications/altcoins/aeon/default.nix+34 pkgs/applications/altcoins/bitcoin-abc.nix+2−2 pkgs/applications/altcoins/bitcoin-classic.nix+2−2 pkgs/applications/altcoins/bitcoin-unlimited-const-comparators.patch+38 pkgs/applications/altcoins/bitcoin-unlimited.nix+7−2 pkgs/applications/altcoins/bitcoin-xt.nix+2−2 pkgs/applications/altcoins/bitcoin.nix+4−3 pkgs/applications/altcoins/btc1.nix+2−2 pkgs/applications/altcoins/cryptop/default.nix+6−7 pkgs/applications/altcoins/dashpay.nix+6−6 pkgs/applications/altcoins/dcrd.nix+34 pkgs/applications/altcoins/dcrwallet.nix+43 pkgs/applications/altcoins/default.nix+33−19 pkgs/applications/altcoins/dero.nix+27 pkgs/applications/altcoins/ethabi.nix+4−4 pkgs/applications/altcoins/ethsign/default.nix+59 pkgs/applications/altcoins/freicoin.nix+1−1 pkgs/applications/altcoins/go-ethereum.nix+13−2 pkgs/applications/altcoins/hevm.nix+1 pkgs/applications/altcoins/hivemind.nix−39 pkgs/applications/altcoins/litecoin.nix+2−2 pkgs/applications/altcoins/masari.nix+27 pkgs/applications/altcoins/memorycoin.nix+5−1 pkgs/applications/altcoins/mist.nix+71 pkgs/applications/altcoins/monero-gui/default.nix+91 pkgs/applications/altcoins/monero-gui/move-log-file.patch+38 pkgs/applications/altcoins/monero-gui/move-translations-dir.patch+14 pkgs/applications/altcoins/monero/default.nix+44 pkgs/applications/altcoins/namecoin.nix+2−2 pkgs/applications/altcoins/parity/beta.nix+7 pkgs/applications/altcoins/parity/default.nix+7 pkgs/applications/altcoins/parity/parity.nix+38 pkgs/applications/altcoins/parity/patches/vendored-sources-1.10.patch+118 pkgs/applications/altcoins/parity/patches/vendored-sources-1.9.patch+107 pkgs/applications/altcoins/primecoin.nix−54 pkgs/applications/altcoins/seth.nix+6−4 pkgs/applications/altcoins/sumokoin.nix+35 pkgs/applications/altcoins/zcash/default.nix+9−10 pkgs/applications/altcoins/zcash/libsnark/ate-pairing.nix−29 pkgs/applications/altcoins/zcash/libsnark/default.nix−45 pkgs/applications/altcoins/zcash/libsnark/mie.nix−27 pkgs/applications/altcoins/zcash/libsnark/xbyak.nix−28 pkgs/applications/audio/MMA/default.nix+2−2 pkgs/applications/audio/a2jmidid/default.nix+1−1 pkgs/applications/audio/aacgain/default.nix+21−7 pkgs/applications/audio/abcde/default.nix+2−2 pkgs/applications/audio/airwave/default.nix+6−8 pkgs/applications/audio/aj-snapshot/default.nix+3−3 pkgs/applications/audio/amarok/default.nix−48 pkgs/applications/audio/amarok/kf5.nix+3−2 pkgs/applications/audio/ario/default.nix+2−2 pkgs/applications/audio/asunder/default.nix+2−2 pkgs/applications/audio/audacious/default.nix+8−8 pkgs/applications/audio/audacious/qt-5.nix+18−7 pkgs/applications/audio/audacity/default.nix+2−2 pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix+100 pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix+18 pkgs/applications/audio/bitwig-studio/default.nix−100 pkgs/applications/audio/calf/default.nix+3−3 pkgs/applications/audio/cantata/default.nix+13−13 pkgs/applications/audio/caps/default.nix+5−1 pkgs/applications/audio/cava/default.nix+5−3 pkgs/applications/audio/cdparanoia/default.nix+1−1 pkgs/applications/audio/cdparanoia/utils.patch+68 pkgs/applications/audio/chuck/clang.patch+58 pkgs/applications/audio/chuck/default.nix+13−6 pkgs/applications/audio/clementine/default.nix+21−35 pkgs/applications/audio/cmus/default.nix+2−2 pkgs/applications/audio/crip/default.nix+68 pkgs/applications/audio/csound/default.nix+2−2 pkgs/applications/audio/deadbeef/default.nix+5−5 pkgs/applications/audio/deadbeef/plugins/opus.nix+31 pkgs/applications/audio/denemo/default.nix+37 pkgs/applications/audio/dfasma/default.nix+6−11 pkgs/applications/audio/dirt/default.nix+6−7 pkgs/applications/audio/distrho/default.nix+13−12 pkgs/applications/audio/drumkv1/default.nix+2−2 pkgs/applications/audio/easytag/default.nix+19−17 pkgs/applications/audio/eflite/buf-overflow.patch−22 pkgs/applications/audio/eflite/cvs-update.patch−98 pkgs/applications/audio/eflite/default.nix+25−6 pkgs/applications/audio/eflite/link.patch−11 pkgs/applications/audio/elisa/default.nix+35 pkgs/applications/audio/eq10q/default.nix+10−1 pkgs/applications/audio/espeak-ng/default.nix+3−3 pkgs/applications/audio/faust/faust1.nix+1−1 pkgs/applications/audio/faust/faust2.nix+5−4 pkgs/applications/audio/faust/faust2jack.nix+2 pkgs/applications/audio/faust/faust2jaqt.nix+2 pkgs/applications/audio/flac/default.nix+1−1 pkgs/applications/audio/flacon/default.nix+2−2 pkgs/applications/audio/fldigi/default.nix+2−2 pkgs/applications/audio/fluidsynth/default.nix+17−20 pkgs/applications/audio/fmit/default.nix+3−4 pkgs/applications/audio/freewheeling/default.nix+2−2 pkgs/applications/audio/gigedit/default.nix+15−15 pkgs/applications/audio/gigedit/gigedit-1.1.0-pangomm-2.40.1.patch+15 pkgs/applications/audio/gjay/default.nix+2−2 pkgs/applications/audio/gmpc/default.nix+5−6 pkgs/applications/audio/google-play-music-desktop-player/default.nix+3−3 pkgs/applications/audio/gpodder/default.nix+45−43 pkgs/applications/audio/gradio/default.nix+8−8 pkgs/applications/audio/gtkpod/default.nix+9−16 pkgs/applications/audio/guitarix/default.nix+6−6 pkgs/applications/audio/helm/default.nix+2−2 pkgs/applications/audio/id3v2/default.nix−1 pkgs/applications/audio/infamousPlugins/default.nix+37 pkgs/applications/audio/ingen/default.nix+8−6 pkgs/applications/audio/jack-capture/default.nix+2−2 pkgs/applications/audio/jack-oscrolloscope/default.nix+2−2 pkgs/applications/audio/jackmeter/default.nix+2−2 pkgs/applications/audio/keyfinder-cli/default.nix−1 pkgs/applications/audio/keyfinder/default.nix+4−4 pkgs/applications/audio/kid3/default.nix+4−2 pkgs/applications/audio/ladspa-sdk/default.nix+1−1 pkgs/applications/audio/ladspa-sdk/ladspah.nix+1−1 pkgs/applications/audio/lastfmsubmitd/default.nix+2−2 pkgs/applications/audio/linuxsampler/default.nix+14−21 pkgs/applications/audio/linuxsampler/linuxsampler_lv2_sfz_fix.diff−50 pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix−1 pkgs/applications/audio/magnetophonDSP/CompBus/default.nix−2 pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix−1 pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix−1 pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix−1 pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix−1 pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix+1−3 pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix−1 pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix−1 pkgs/applications/audio/meterbridge/default.nix+2−2 pkgs/applications/audio/meters_lv2/default.nix+2−2 pkgs/applications/audio/mhwaveedit/default.nix+11−5 pkgs/applications/audio/mi2ly/default.nix+1 pkgs/applications/audio/mikmod/default.nix+2−2 pkgs/applications/audio/minimodem/default.nix+18−6 pkgs/applications/audio/mixxx/default.nix+5−4 pkgs/applications/audio/mod-distortion/default.nix+5−5 pkgs/applications/audio/monkeys-audio/default.nix+1−1 pkgs/applications/audio/mopidy-gmusic/default.nix−28 pkgs/applications/audio/mopidy-iris/default.nix−28 pkgs/applications/audio/mopidy-local-images/default.nix−27 pkgs/applications/audio/mopidy-moped/default.nix−25 pkgs/applications/audio/mopidy-mopify/default.nix−23 pkgs/applications/audio/mopidy-spotify/default.nix−23 pkgs/applications/audio/mopidy/default.nix+5−5 pkgs/applications/audio/mopidy/gmusic.nix+28 pkgs/applications/audio/mopidy/iris.nix+34 pkgs/applications/audio/mopidy/local-images.nix+33 pkgs/applications/audio/mopidy-local-sqlite/default.nix → pkgs/applications/audio/mopidy/local-sqlite.nix pkgs/applications/audio/mopidy/moped.nix+26 pkgs/applications/audio/mopidy/mopify.nix+23 pkgs/applications/audio/mopidy-musicbox-webclient/default.nix → pkgs/applications/audio/mopidy/musicbox-webclient.nix pkgs/applications/audio/mopidy-soundcloud/default.nix → pkgs/applications/audio/mopidy/soundcloud.nix pkgs/applications/audio/mopidy-spotify-tunigo/default.nix → pkgs/applications/audio/mopidy/spotify-tunigo.nix pkgs/applications/audio/mopidy/spotify.nix+23 pkgs/applications/audio/mopidy-youtube/default.nix → pkgs/applications/audio/mopidy/youtube.nix pkgs/applications/audio/mp3blaster/default.nix+30 pkgs/applications/audio/mpc/default.nix+1−1 pkgs/applications/audio/mpg123/default.nix+2−2 pkgs/applications/audio/musescore/default.nix+1−1 pkgs/applications/audio/ncmpc/default.nix+3−5 pkgs/applications/audio/ncmpcpp/default.nix+3−3 pkgs/applications/audio/ncpamixer/default.nix+33 pkgs/applications/audio/non/default.nix+3−3 pkgs/applications/audio/normalize/default.nix+4−2 pkgs/applications/audio/opusfile/default.nix+2−2 pkgs/applications/audio/padthv1/default.nix+2−2 pkgs/applications/audio/pamix/default.nix+8−4 pkgs/applications/audio/pamixer/default.nix+13−6 pkgs/applications/audio/paprefs/default.nix+3−3 pkgs/applications/audio/patchage/default.nix+2−2 pkgs/applications/audio/pavucontrol/default.nix+2−2 pkgs/applications/audio/pd-plugins/cyclone/default.nix+14−20 pkgs/applications/audio/pd-plugins/helmholtz/default.nix+3 pkgs/applications/audio/pd-plugins/maxlib/default.nix+10−12 pkgs/applications/audio/pd-plugins/timbreid/default.nix+18−8 pkgs/applications/audio/pianobooster/default.nix+3−3 pkgs/applications/audio/picard/default.nix+2−2 pkgs/applications/audio/pmidi/default.nix+21 pkgs/applications/audio/praat/default.nix+2−2 pkgs/applications/audio/pulseaudio-dlna/default.nix+50 pkgs/applications/audio/puredata/default.nix+9−8 pkgs/applications/audio/qjackctl/default.nix+2−2 pkgs/applications/audio/qmidinet/default.nix+2−2 pkgs/applications/audio/qmidiroute/default.nix+2−2 pkgs/applications/audio/qmmp/default.nix+2−2 pkgs/applications/audio/qsampler/default.nix+11−10 pkgs/applications/audio/qsynth/default.nix+15−5 pkgs/applications/audio/quodlibet/default.nix+28−13 pkgs/applications/audio/radiotray-ng/default.nix+17−16 pkgs/applications/audio/rhvoice/default.nix+48 pkgs/applications/audio/rhvoice/honor_nix_environment.patch+14 pkgs/applications/audio/rhythmbox/default.nix+21−17 pkgs/applications/audio/rkrlv2/default.nix+3−3 pkgs/applications/audio/rosegarden/default.nix+2−2 pkgs/applications/audio/samplv1/default.nix+2−2 pkgs/applications/audio/sayonara/default.nix+45 pkgs/applications/audio/schismtracker/default.nix+7 pkgs/applications/audio/seq24/default.nix+1−1 pkgs/applications/audio/setbfree/default.nix+4−4 pkgs/applications/audio/sisco.lv2/default.nix+2−2 pkgs/applications/audio/snd/default.nix+2−2 pkgs/applications/audio/sonata/default.nix+2−4 pkgs/applications/audio/sound-juicer/default.nix+22−30 pkgs/applications/audio/soundscape-renderer/default.nix+5−3 pkgs/applications/audio/spotify/default.nix+2−2 pkgs/applications/audio/squishyball/default.nix+2 pkgs/applications/audio/streamripper/default.nix+2−3 pkgs/applications/audio/sunvox/default.nix+48 pkgs/applications/audio/synthv1/default.nix+2−2 pkgs/applications/audio/tomahawk/default.nix+4−5 pkgs/applications/audio/x42-plugins/default.nix+2−2 pkgs/applications/audio/xmp/default.nix+2−2 pkgs/applications/audio/yoshimi/default.nix+8−7 pkgs/applications/audio/zam-plugins/default.nix+5−5 pkgs/applications/audio/zynaddsubfx/default.nix+6−2 pkgs/applications/backup/crashplan/crashplan-small-business.nix+103 pkgs/applications/backup/deja-dup/default.nix+17−40 pkgs/applications/backup/deja-dup/fix-paths.patch+10−11 pkgs/applications/display-managers/lightdm-gtk-greeter/default.nix−56 pkgs/applications/display-managers/lightdm/default.nix+6−1 pkgs/applications/display-managers/lightdm/gtk-greeter.nix+51 pkgs/applications/display-managers/sddm/default.nix+6−3 pkgs/applications/display-managers/slim/default.nix+5−2 pkgs/applications/editors/android-studio/common.nix+12−3 pkgs/applications/editors/android-studio/default.nix+42−13 pkgs/applications/editors/aseprite/default.nix+2−2 pkgs/applications/editors/atom/beta.nix+2−2 pkgs/applications/editors/atom/default.nix+2−2 pkgs/applications/editors/atom/env.nix+4−4 pkgs/applications/editors/codeblocks/default.nix+4−8 pkgs/applications/editors/deadpixi-sam/default.nix+14−14 pkgs/applications/editors/dit/default.nix+30 pkgs/applications/editors/eclipse/build-eclipse.nix+4−4 pkgs/applications/editors/eclipse/default.nix+13−13 pkgs/applications/editors/eclipse/plugins.nix+155−47 pkgs/applications/editors/ed/default.nix+8−21 pkgs/applications/editors/edbrowse/default.nix+8−10 pkgs/applications/editors/emacs-modes/elpa-generated.nix+185−91 pkgs/applications/editors/emacs-modes/elpa-packages.nix+3 pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix+1−1 pkgs/applications/editors/emacs-modes/font-lock-plus/default.nix+3−3 pkgs/applications/editors/emacs-modes/icicles/default.nix+14−14 pkgs/applications/editors/emacs-modes/melpa-generated.nix+7343−4034 pkgs/applications/editors/emacs-modes/melpa-packages.nix+45−25 pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix+3040−1357 pkgs/applications/editors/emacs-modes/melpa-stable-packages.nix+40−5 pkgs/applications/editors/emacs-modes/org-generated.nix+6−6 pkgs/applications/editors/emacs-modes/proofgeneral/HEAD.nix+3−3 pkgs/applications/editors/emacs/default.nix+17−7 pkgs/applications/editors/emacs/site-start.el+31−10 pkgs/applications/editors/focuswriter/default.nix+3−3 pkgs/applications/editors/geany/default.nix+5−7 pkgs/applications/editors/ghostwriter/default.nix+26 pkgs/applications/editors/hexcurse/default.nix+13−1 pkgs/applications/editors/ht/default.nix+2 pkgs/applications/editors/ht/gcc7.patch+11 pkgs/applications/editors/jetbrains/common.nix+3−2 pkgs/applications/editors/jetbrains/default.nix+54−41 pkgs/applications/editors/joe/default.nix+3−3 pkgs/applications/editors/jucipp/default.nix+2−2 pkgs/applications/editors/kakoune/default.nix+6−5 pkgs/applications/editors/kdevelop5/kdevelop.nix+2−2 pkgs/applications/editors/kdevelop5/kdevplatform.nix+2 pkgs/applications/editors/kodestudio/default.nix+3−3 pkgs/applications/editors/leo-editor/default.nix+15−6 pkgs/applications/editors/lighttable/default.nix+2−2 pkgs/applications/editors/mg/default.nix+2−2 pkgs/applications/editors/micro/default.nix+28 pkgs/applications/editors/moe/default.nix+6 pkgs/applications/editors/monodevelop/default.nix+2−2 pkgs/applications/editors/nano/default.nix+4−2 pkgs/applications/editors/neovim/default.nix+10−77 pkgs/applications/editors/neovim/ruby_provider/Gemfile.lock+4−2 pkgs/applications/editors/neovim/ruby_provider/gemset.nix+14−6 pkgs/applications/editors/neovim/wrapper.nix+110 pkgs/applications/editors/rstudio/default.nix+30−41 pkgs/applications/editors/sigil/default.nix+2−2 pkgs/applications/editors/sublime/default.nix → pkgs/applications/editors/sublime/2/default.nix pkgs/applications/editors/sublime/3/common.nix+119 pkgs/applications/editors/sublime/3/packages.nix+18 pkgs/applications/editors/sublime3/default.nix−107 pkgs/applications/editors/texmacs/common.nix+68 pkgs/applications/editors/texmacs/darwin.nix+59 pkgs/applications/editors/texmacs/darwin.patch+29 pkgs/applications/editors/texmacs/default.nix+17−72 pkgs/applications/editors/texmaker/default.nix+9−6 pkgs/applications/editors/texstudio/default.nix+10−9 pkgs/applications/editors/tiled/default.nix+4−6 pkgs/applications/editors/typora/default.nix+3−3 pkgs/applications/editors/vanubi/default.nix+2−2 pkgs/applications/editors/vbindiff/default.nix+4−4 pkgs/applications/editors/vim/common.nix+2−2 pkgs/applications/editors/vim/default.nix+1 pkgs/applications/editors/vim/macvim.nix+1 pkgs/applications/editors/vis/default.nix+6−2 pkgs/applications/editors/vscode/default.nix+5−5 pkgs/applications/editors/vscode-with-extensions/default.nix → pkgs/applications/editors/vscode/with-extensions.nix pkgs/applications/editors/wxhexeditor/default.nix+19−9 pkgs/applications/editors/zed/default.nix−82 pkgs/applications/editors/zed/deps.json−6 pkgs/applications/editors/zed/deps.sh−7 pkgs/applications/editors/zed/node-packages.nix−877 pkgs/applications/editors/zed/node.nix−16 pkgs/applications/gis/grass/default.nix+26−10 pkgs/applications/gis/grass/no_symbolic_links.patch+37 pkgs/applications/gis/openorienteering-mapper/default.nix+68 pkgs/applications/gis/qgis/default.nix+51−15 pkgs/applications/gis/saga/default.nix+3−3 pkgs/applications/graphics/ImageMagick/7.0.nix+7−10 pkgs/applications/graphics/ImageMagick/default.nix+7−10 pkgs/applications/graphics/ahoviewer/default.nix+29−17 pkgs/applications/graphics/antimony/default.nix+6−6 pkgs/applications/graphics/ao/default.nix+3−2 pkgs/applications/graphics/apitrace/default.nix−1 pkgs/applications/graphics/awesomebump/default.nix+5 pkgs/applications/graphics/awesomebump/qtnproperty-parallel-building.patch+9 pkgs/applications/graphics/c3d/default.nix+4−3 pkgs/applications/graphics/cinepaint/default.nix+2−2 pkgs/applications/graphics/darktable/default.nix+17−23 pkgs/applications/graphics/digikam/default.nix+9−10 pkgs/applications/graphics/displaycal/default.nix+6−5 pkgs/applications/graphics/dosage/default.nix+28 pkgs/applications/graphics/draftsight/default.nix+2−2 pkgs/applications/graphics/exrdisplay/default.nix+5−5 pkgs/applications/graphics/fbida/default.nix+6−3 pkgs/applications/graphics/feh/default.nix+5−5 pkgs/applications/graphics/freecad/default.nix+33−1 pkgs/applications/graphics/freepv/default.nix+2−2 pkgs/applications/graphics/fstl/default.nix+35 pkgs/applications/graphics/gcolor3/default.nix+2−2 pkgs/applications/graphics/geeqie/default.nix+12−9 pkgs/applications/graphics/geeqie/geeqie-no-changelog.patch+14 pkgs/applications/graphics/gimp/2.8.nix+3−4 pkgs/applications/graphics/gimp/plugins/default.nix+6−8 pkgs/applications/graphics/giv/default.nix+8−9 pkgs/applications/graphics/glabels/default.nix+3−3 pkgs/applications/graphics/gnuclad/default.nix+22 pkgs/applications/graphics/gocr/default.nix+2−2 pkgs/applications/graphics/goxel/default.nix+33 pkgs/applications/graphics/graphicsmagick/default.nix+2−2 pkgs/applications/graphics/gthumb/default.nix+29−14 pkgs/applications/graphics/hugin/default.nix+4−4 pkgs/applications/graphics/inkscape/default.nix+2−2 pkgs/applications/graphics/ipe/default.nix+5−3 pkgs/applications/graphics/ipe/xlocale.patch+10 pkgs/applications/graphics/jpegoptim/default.nix+2−2 pkgs/applications/graphics/k3d/default.nix+10−9 pkgs/applications/graphics/krita/default.nix+4−4 pkgs/applications/graphics/leocad/default.nix+4−4 pkgs/applications/graphics/luminance-hdr/default.nix+5−12 pkgs/applications/graphics/meh/default.nix+1−1 pkgs/applications/graphics/meme/default.nix+24 pkgs/applications/graphics/meshlab/default.nix+41−26 pkgs/applications/graphics/meshlab/fix-2016.02.patch+88 pkgs/applications/graphics/meshlab/include-unistd.diff−13 pkgs/applications/graphics/nomacs/default.nix+4−6 pkgs/applications/graphics/nomacs/fix-appdata-install.patch−13 pkgs/applications/graphics/openimageio/default.nix+4−4 pkgs/applications/graphics/openscad/default.nix+5−5 pkgs/applications/graphics/paraview/default.nix+36−18 pkgs/applications/graphics/pencil/default.nix+88−20 pkgs/applications/graphics/photivo/default.nix+1−1 pkgs/applications/graphics/photoflow/default.nix+55 pkgs/applications/graphics/photoqt/default.nix+7−2 pkgs/applications/graphics/photoqt/photoqt-1.5.1-qt-5.9.patch+13 pkgs/applications/graphics/pinta/default.nix+3−3 pkgs/applications/graphics/pqiv/default.nix+7−5 pkgs/applications/graphics/processing/default.nix−39 pkgs/applications/graphics/processing/use-nixpkgs-jre.patch−88 pkgs/applications/graphics/processing3/default.nix+53 pkgs/applications/graphics/qscreenshot/default.nix+3−2 pkgs/applications/graphics/rapcad/default.nix+3−2 pkgs/applications/graphics/rawtherapee/ReleaseInfo.cmake−4 pkgs/applications/graphics/rawtherapee/default.nix+6−6 pkgs/applications/graphics/rawtherapee/dev.nix−37 pkgs/applications/graphics/rawtherapee/fix-glibmm-output.patch−23 pkgs/applications/graphics/renderdoc/custom_swig.patch+32 pkgs/applications/graphics/renderdoc/default.nix+41−9 pkgs/applications/graphics/sane/backends/generic.nix+3−3 pkgs/applications/graphics/sane/backends/git.nix+3−3 pkgs/applications/graphics/scantailor/advanced.nix+49 pkgs/applications/graphics/seg3d/default.nix+2−2 pkgs/applications/graphics/shotwell/default.nix+30−24 pkgs/applications/graphics/shutter/default.nix+1 pkgs/applications/graphics/solvespace/default.nix+12−9 pkgs/applications/graphics/swingsane/default.nix−1 pkgs/applications/graphics/sxiv/default.nix+4−4 pkgs/applications/graphics/unigine-valley/default.nix+1−1 pkgs/applications/graphics/viewnior/default.nix+2−2 pkgs/applications/graphics/vimiv/default.nix+2−2 pkgs/applications/graphics/yed/default.nix+2−2 pkgs/applications/kde/akonadi-mime.nix+2−2 pkgs/applications/kde/akonadi/0001-Revert-Make-Akonadi-installation-properly-relocatabl.patch+49 pkgs/applications/kde/akonadi/default.nix+9−9 pkgs/applications/kde/akonadi/series+1 pkgs/applications/kde/akonadiconsole.nix+2−2 pkgs/applications/kde/default.nix+8−3 pkgs/applications/kde/fetch.sh+1−1 pkgs/applications/kde/grantleetheme/grantlee-merge-theme-dirs.patch+71−73 pkgs/applications/kde/k3b.nix+14−8 pkgs/applications/kde/kalarm.nix+37 pkgs/applications/kde/kde-locale-4.nix−27 pkgs/applications/kde/kdebugsettings.nix+20 pkgs/applications/kde/kdelibs/0001-old-kde4-cmake-policies.patch−56 pkgs/applications/kde/kdelibs/0002-polkit-install-path.patch−25 pkgs/applications/kde/kdelibs/0003-remove_xdg_impurities.patch−47 pkgs/applications/kde/kdelibs/default.nix−49 pkgs/applications/kde/kdenlive.nix+2−2 pkgs/applications/kde/kdepim-runtime.nix+4−4 pkgs/applications/kde/kdialog.nix+18 pkgs/applications/kde/kget.nix+22 pkgs/applications/kde/kio-extras.nix+3−3 pkgs/applications/kde/kmail-account-wizard.nix+2−2 pkgs/applications/kde/kmailtransport.nix+2−2 pkgs/applications/kde/kmime.nix+2−2 pkgs/applications/kde/krfb.nix+2−2 pkgs/applications/kde/kruler.nix+17 pkgs/applications/kde/ksmtp/0001-Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing.patch+25 pkgs/applications/kde/ksmtp/default.nix+17 pkgs/applications/kde/ksystemlog.nix+17 pkgs/applications/kde/l10n.nix−181 pkgs/applications/kde/libkcddb.nix+2−2 pkgs/applications/kde/libkgapi.nix+15 pkgs/applications/kde/marble.nix+2−2 pkgs/applications/kde/mbox-importer.nix−3 pkgs/applications/kde/minuet.nix+4−2 pkgs/applications/kde/okteta.nix+2−2 pkgs/applications/kde/okular.nix+16−14 pkgs/applications/kde/srcs.nix+847−1391 pkgs/applications/misc/airspy/default.nix+35 pkgs/applications/misc/airtame/default.nix+100 pkgs/applications/misc/alacritty/default.nix+7−3 pkgs/applications/misc/albert/default.nix+4−4 pkgs/applications/misc/apvlv/default.nix+6−1 pkgs/applications/misc/artha/default.nix+2−2 pkgs/applications/misc/bb/default.nix+2−2 pkgs/applications/misc/bleachbit/default.nix+2−2 pkgs/applications/misc/blender/default.nix+14−4 pkgs/applications/misc/buku/default.nix+14−7 pkgs/applications/misc/calcurse/default.nix+12−6 pkgs/applications/misc/calibre/default.nix+5−13 pkgs/applications/misc/calibre/disable_plugins.patch+17 pkgs/applications/misc/calibre/no_updates_dialog.patch+27 pkgs/applications/misc/camlistore/default.nix−35 pkgs/applications/misc/cataract/build.nix+1−1 pkgs/applications/misc/cbatticon/default.nix+2−2 pkgs/applications/misc/cheat/default.nix+12−6 pkgs/applications/misc/cherrytree/default.nix+2−2 pkgs/applications/misc/chirp/default.nix+2−2 pkgs/applications/misc/cli-visualizer/default.nix+3−3 pkgs/applications/misc/clipit/default.nix+2−2 pkgs/applications/misc/confclerk/default.nix+3−3 pkgs/applications/misc/cool-retro-term/default.nix+7−7 pkgs/applications/misc/copyq/default.nix+2−2 pkgs/applications/misc/cpp-ethereum/default.nix+3−2 pkgs/applications/misc/ctodo/default.nix+1−1 pkgs/applications/misc/cura/default.nix+3−3 pkgs/applications/misc/curabydagoma/default.nix+76 pkgs/applications/misc/curaengine/default.nix+3−3 pkgs/applications/misc/dbeaver/default.nix+70 pkgs/applications/misc/ddgr/default.nix+46 pkgs/applications/misc/deco/default.nix+2−2 pkgs/applications/misc/deepin-terminal/default.nix−30 pkgs/applications/misc/devilspie2/default.nix+2−2 pkgs/applications/misc/diff-pdf/default.nix+32 pkgs/applications/misc/diffpdf/default.nix+11−5 pkgs/applications/misc/diffpdf/fix_path_poppler_qt4.patch−16 pkgs/applications/misc/diffpdf/fix_path_poppler_qt5.patch+16 pkgs/applications/misc/digitalbitbox/default.nix+140 pkgs/applications/misc/djvulibre/default.nix+2−4 pkgs/applications/misc/dmensamenu/default.nix+3−3 pkgs/applications/misc/dmenu/default.nix+4−4 pkgs/applications/misc/dmenu/wayland.nix−34 pkgs/applications/misc/dockbarx/default.nix+2−2 pkgs/applications/misc/doomseeker/default.nix+12−11 pkgs/applications/misc/doomseeker/fix_paths.patch+40 pkgs/applications/misc/dump1090/default.nix+2−2 pkgs/applications/misc/dunst/default.nix+13−8 pkgs/applications/misc/electron-cash/default.nix+27−12 pkgs/applications/misc/electrum-dash/default.nix−44 pkgs/applications/misc/electrum-ltc/default.nix−54 pkgs/applications/misc/electrum/dash.nix+46 pkgs/applications/misc/electrum/default.nix+14−11 pkgs/applications/misc/electrum/ltc.nix+55 pkgs/applications/misc/emem/default.nix+2−2 pkgs/applications/misc/evopedia/default.nix+6 pkgs/applications/misc/exercism/default.nix+2−2 pkgs/applications/misc/far2l/add-nix-syntax-highlighting.patch+4−3 pkgs/applications/misc/far2l/default.nix+4−4 pkgs/applications/misc/finalterm/default.nix+4−4 pkgs/applications/misc/font-manager/default.nix+7−6 pkgs/applications/misc/gammu/default.nix+2−2 pkgs/applications/misc/ganttproject-bin/default.nix−1 pkgs/applications/misc/gcal/default.nix+29 pkgs/applications/misc/girara/default.nix+7−24 pkgs/applications/misc/gkrellm/default.nix+1−1 pkgs/applications/misc/gksu/default.nix+3−3 pkgs/applications/misc/gmtp/default.nix+8−4 pkgs/applications/misc/gnome-usage/default.nix+37 pkgs/applications/misc/gnuradio-ais/default.nix−37 pkgs/applications/misc/gnuradio-gsm/default.nix−37 pkgs/applications/misc/gnuradio-nacl/default.nix−37 pkgs/applications/misc/gnuradio-osmosdr/default.nix−36 pkgs/applications/misc/gnuradio-rds/default.nix−36 pkgs/applications/misc/gnuradio/ais.nix+40 pkgs/applications/misc/gnuradio/default.nix+58−24 pkgs/applications/misc/gnuradio/gsm.nix+39 pkgs/applications/misc/gnuradio/nacl.nix+39 pkgs/applications/misc/gnuradio/osmosdr.nix+38 pkgs/applications/misc/gnuradio/rds.nix+38 pkgs/applications/misc/gnuradio/wrapper.nix+10−9 pkgs/applications/misc/golden-cheetah/default.nix+4 pkgs/applications/misc/googleearth/default.nix+3−3 pkgs/applications/misc/googler/default.nix+2−2 pkgs/applications/misc/gosmore/default.nix+3 pkgs/applications/misc/gosmore/pointer_int_comparison.patch+11 pkgs/applications/misc/gphoto2/default.nix+2−2 pkgs/applications/misc/gpx-viewer/default.nix+3−3 pkgs/applications/misc/gpx/default.nix+23 pkgs/applications/misc/gpxsee/default.nix+7−4 pkgs/applications/misc/gqrx/default.nix+2−2 pkgs/applications/misc/gramps/default.nix+7−16 pkgs/applications/misc/guake/default.nix+20−58 pkgs/applications/misc/gutenberg/default.nix+35 pkgs/applications/misc/gv/default.nix+14−3 pkgs/applications/misc/hamster-time-tracker/default.nix+4−4 pkgs/applications/misc/haxor-news/default.nix+19−9 pkgs/applications/misc/houdini/runtime.nix+4−4 pkgs/applications/misc/hr/default.nix+1−1 pkgs/applications/misc/hstr/default.nix+4−7 pkgs/applications/misc/hubstaff/default.nix+15−13 pkgs/applications/misc/hugo/default.nix+8−8 pkgs/applications/misc/hugo/deps.nix+135−98 pkgs/applications/misc/hyper/default.nix+2−2 pkgs/applications/misc/icesl/default.nix+39 pkgs/applications/misc/ipmicfg/default.nix+4−3 pkgs/applications/misc/ipmiview/default.nix+2−2 pkgs/applications/misc/j4-dmenu-desktop/default.nix+4−4 pkgs/applications/misc/jekyll/Gemfile−7 pkgs/applications/misc/jekyll/Gemfile.lock−59 pkgs/applications/misc/jekyll/basic/Gemfile+10 pkgs/applications/misc/jekyll/basic/Gemfile.lock+101 pkgs/applications/misc/jekyll/basic/gemset.nix+326 pkgs/applications/misc/jekyll/default.nix+26−9 pkgs/applications/misc/jekyll/full/Gemfile+30 pkgs/applications/misc/jekyll/full/Gemfile.lock+157 pkgs/applications/misc/jekyll/full/gemset.nix+538 pkgs/applications/misc/jekyll/gemset.nix−183 pkgs/applications/misc/jekyll/update.sh+15 pkgs/applications/misc/jgmenu/default.nix+3−3 pkgs/applications/misc/josm/default.nix+2−2 pkgs/applications/misc/k2pdfopt/default.nix+11−7 pkgs/applications/misc/k2pdfopt/load-jpx.patch+29 pkgs/applications/misc/kdbplus/default.nix+2−2 pkgs/applications/misc/kdeconnect/default.nix+10−3 pkgs/applications/misc/keepass-plugins/keefox/default.nix−34 pkgs/applications/misc/keepass-plugins/keepassrpc/default.nix+35 pkgs/applications/misc/keepass/default.nix+19−9 pkgs/applications/misc/keepass/fix-paths.patch+87 pkgs/applications/misc/keepass/keepass-plugins-load.patch+1−1 pkgs/applications/misc/keepass/keepass-plugins.patch+9−42 pkgs/applications/misc/keepassx/community.nix+76−14 pkgs/applications/misc/keepassx/darwin.patch+52 pkgs/applications/misc/kgocode/default.nix−26 pkgs/applications/misc/khal/default.nix+1−1 pkgs/applications/misc/khard/default.nix+6−4 pkgs/applications/misc/kitty/default.nix+17−5 pkgs/applications/misc/kiwix/default.nix+2−2 pkgs/applications/misc/kupfer/default.nix+8−3 pkgs/applications/misc/latte-dock/default.nix+2−2 pkgs/applications/misc/libosmocore/default.nix+16−10 pkgs/applications/misc/lilyterm/default.nix+1−1 pkgs/applications/misc/llpp/default.nix+3−4 pkgs/applications/misc/lxterminal/default.nix+49 pkgs/applications/misc/lxterminal/respect-xml-catalog-files-var.patch+15 pkgs/applications/misc/lyx/default.nix+3−3 pkgs/applications/misc/madonctl/default.nix+1−1 pkgs/applications/misc/masterpdfeditor/default.nix+2−2 pkgs/applications/misc/mdp/default.nix+3−3 pkgs/applications/misc/mediainfo-gui/default.nix+4−4 pkgs/applications/misc/mediainfo/default.nix+2−2 pkgs/applications/misc/memo/default.nix+38 pkgs/applications/misc/mencal/default.nix+31 pkgs/applications/misc/metamorphose2/default.nix+1−1 pkgs/applications/misc/milu/default.nix+2−5 pkgs/applications/misc/minergate/default.nix+39 pkgs/applications/misc/mlterm/default.nix+2−2 pkgs/applications/misc/monero/default.nix−44 pkgs/applications/misc/moonlight-embedded/default.nix+2−2 pkgs/applications/misc/mucommander/default.nix+82 pkgs/applications/misc/multimon-ng/default.nix+3−3 pkgs/applications/misc/mupdf/darwin.patch+35 pkgs/applications/misc/mupdf/default.nix+85−44 pkgs/applications/misc/mupdf/default.upstream+1−1 pkgs/applications/misc/mupdf/mupdf-1.12-shared_libs-1.patch+41 pkgs/applications/misc/mwic/default.nix+3−3 pkgs/applications/misc/mysql-workbench/default.nix+5−5 pkgs/applications/misc/navit/default.nix+2−2 pkgs/applications/misc/netsurf/buildsystem/default.nix+2−2 pkgs/applications/misc/netsurf/libcss/default.nix+2 pkgs/applications/misc/nixnote2/default.nix+43 pkgs/applications/misc/nnn/default.nix+2−2 pkgs/applications/misc/notify-osd/default.nix+3−3 pkgs/applications/misc/nrsc5/default.nix+52 pkgs/applications/misc/ocropus/default.nix+1−1 pkgs/applications/misc/octoprint/default.nix+8−4 pkgs/applications/misc/ola/default.nix+3−3 pkgs/applications/misc/onboard/default.nix+156 pkgs/applications/misc/onboard/hunspell-use-xdg-datadirs.patch+20 pkgs/applications/misc/oneko/default.nix+34 pkgs/applications/misc/openbrf/default.nix+2−2 pkgs/applications/misc/opencpn/default.nix+2−2 pkgs/applications/misc/opentx/default.nix+58 pkgs/applications/misc/orca/default.nix+73 pkgs/applications/misc/orca/fix-paths.patch+29 pkgs/applications/misc/osm2xmap/default.nix+34 pkgs/applications/misc/overmind/default.nix+27 pkgs/applications/misc/pcmanx-gtk2/default.nix+12−6 pkgs/applications/misc/pdfmod/default.nix+2−2 pkgs/applications/misc/pdfpc/default.nix+8−4 pkgs/applications/misc/pdfshuffler/default.nix+3−3 pkgs/applications/misc/pell/default.nix+7−5 pkgs/applications/misc/perkeep/default.nix+72 pkgs/applications/misc/pgmanage/default.nix+10−2 pkgs/applications/misc/pinfo/default.nix+1−1 pkgs/applications/misc/playonlinux/default.nix+2−2 pkgs/applications/misc/pmenu/default.nix+3−3 pkgs/applications/misc/polybar/default.nix+3−11 pkgs/applications/misc/posterazor/default.nix+1−1 pkgs/applications/misc/procmail/default.nix+8−1 pkgs/applications/misc/projectlibre/default.nix+44 pkgs/applications/misc/pstree/default.nix+1−1 pkgs/applications/misc/ptask/default.nix+1−1 pkgs/applications/misc/pytrainer/default.nix+17−8 pkgs/applications/misc/pytrainer/fix-test-tz.patch+20−11 pkgs/applications/misc/qlcplus/default.nix+3−2 pkgs/applications/misc/qmapshack/default.nix+6−8 pkgs/applications/misc/qmetro/default.nix+1−1 pkgs/applications/misc/qsyncthingtray/default.nix+19−6 pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch+13 pkgs/applications/misc/qtbitcointrader/default.nix+2−2 pkgs/applications/misc/qtpass/default.nix+9−12 pkgs/applications/misc/qtpass/hidpi.patch+13 pkgs/applications/misc/ranger/default.nix+16−13 pkgs/applications/misc/redis-desktop-manager/default.nix+11−10 pkgs/applications/misc/redshift/575.patch+51 pkgs/applications/misc/redshift/default.nix+45−48 pkgs/applications/misc/regextester/default.nix+54 pkgs/applications/misc/rescuetime/default.nix+8−15 pkgs/applications/misc/robo3t/default.nix+2−2 pkgs/applications/misc/rofi/config.patch+54 pkgs/applications/misc/rofi/default.nix+14−6 pkgs/applications/misc/rofi/wrapper.nix+17 pkgs/applications/misc/roxterm/default.nix+6−6 pkgs/applications/misc/rsibreak/default.nix+28 pkgs/applications/misc/rtl-sdr/default.nix+2−2 pkgs/applications/misc/rtl_433/default.nix+26 pkgs/applications/misc/rtv/default.nix+3−3 pkgs/applications/misc/rxvt_unicode/default.nix+1−1 pkgs/applications/misc/safeeyes/default.nix+71 pkgs/applications/misc/sakura/default.nix+2−2 pkgs/applications/misc/sc-im/default.nix+5−3 pkgs/applications/misc/sdcv/default.nix+3−4 pkgs/applications/misc/sequeler/default.nix+40 pkgs/applications/misc/sigal/default.nix+35 pkgs/applications/misc/simplenote/default.nix+6−5 pkgs/applications/misc/slade/default.nix+1−1 pkgs/applications/misc/slade/git.nix+26 pkgs/applications/misc/sleepyhead/default.nix+42 pkgs/applications/misc/slic3r/prusa3d.nix+103 pkgs/applications/misc/slstatus/default.nix+30 pkgs/applications/misc/spacefm/default.nix+12−8 pkgs/applications/misc/st/default.nix+8−7 pkgs/applications/misc/st/st-fix-deletekey.patch−15 pkgs/applications/misc/st/wayland.nix−37 pkgs/applications/misc/st/xst.nix+1−1 pkgs/applications/misc/stag/default.nix+1−1 pkgs/applications/misc/stupidterm/default.nix+3−3 pkgs/applications/misc/styx/default.nix+2−2 pkgs/applications/misc/subsurface/default.nix+11−10 pkgs/applications/misc/sweethome3d/default.nix+3−3 pkgs/applications/misc/sweethome3d/editors.nix+3−3 pkgs/applications/misc/synapse/default.nix+26−24 pkgs/applications/misc/taskjuggler/default.nix+1 pkgs/applications/misc/tasknc/default.nix+26−32 pkgs/applications/misc/tasksh/default.nix+1−1 pkgs/applications/misc/taskwarrior/default.nix+1−1 pkgs/applications/misc/terminator/default.nix+10−11 pkgs/applications/misc/terminus/default.nix+43 pkgs/applications/misc/termite/default.nix+5−2 pkgs/applications/misc/termite/url_regexp_trailing.patch+27 pkgs/applications/misc/tilda/default.nix+2−2 pkgs/applications/misc/tilix/default.nix+5−5 pkgs/applications/misc/timewarrior/default.nix+5−7 pkgs/applications/misc/timewarrior/install-all-themes.patch−27 pkgs/applications/misc/tint2/default.nix+4−4 pkgs/applications/misc/tnef/default.nix+2−2 pkgs/applications/misc/todiff/default.nix+23 pkgs/applications/misc/todolist/default.nix+22 pkgs/applications/misc/toot/default.nix+7−7 pkgs/applications/misc/translate-shell/default.nix+18−81 pkgs/applications/misc/udiskie/default.nix+15−9 pkgs/applications/misc/urh/default.nix+3−3 pkgs/applications/misc/urlscan/default.nix+7−4 pkgs/applications/misc/urlview/default.nix+2−2 pkgs/applications/misc/valauncher/default.nix+7−3 pkgs/applications/misc/valentina/default.nix+67 pkgs/applications/misc/veracrypt/default.nix+3−3 pkgs/applications/misc/vifm/default.nix+4−4 pkgs/applications/misc/viking/default.nix+2−2 pkgs/applications/misc/vit/default.nix+1−1 pkgs/applications/misc/volnoti/default.nix+2−2 pkgs/applications/misc/weather/default.nix+1−1 pkgs/applications/misc/welle-io/default.nix+47 pkgs/applications/misc/wmname/default.nix+2−2 pkgs/applications/misc/wordnet/default.nix+1−1 pkgs/applications/misc/worker/default.nix+2−2 pkgs/applications/misc/workrave/default.nix+11−20 pkgs/applications/misc/wsjtx/default.nix+41 pkgs/applications/misc/wsjtx/wsjtx.patch+12 pkgs/applications/misc/xca/default.nix+5−8 pkgs/applications/misc/xfe/default.nix+2−2 pkgs/applications/misc/xfontsel/default.nix+4−4 pkgs/applications/misc/xiphos/default.nix+15−14 pkgs/applications/misc/xkbmon/default.nix+25 pkgs/applications/misc/xmr-stak/default.nix+40 pkgs/applications/misc/xmrig/default.nix+33 pkgs/applications/misc/xmrig/proxy.nix+34 pkgs/applications/misc/xpdf/cmake_version.patch+15 pkgs/applications/misc/xpdf/default.nix+13−3 pkgs/applications/misc/xterm/default.nix+14−6 pkgs/applications/misc/xtermcontrol/default.nix+2−2 pkgs/applications/misc/yaft/default.nix+1−1 pkgs/applications/misc/yakuake/default.nix+2−2 pkgs/applications/misc/yate/default.nix+5−4 pkgs/applications/misc/yokadi/default.nix+30 pkgs/applications/misc/zathura/core/default.nix+28−33 pkgs/applications/misc/zathura/core/icon.xpm−120 pkgs/applications/misc/zathura/djvu/default.nix+8−10 pkgs/applications/misc/zathura/djvu/gtkflags.patch−23 pkgs/applications/misc/zathura/pdf-mupdf/default.nix+16−10 pkgs/applications/misc/zathura/pdf-poppler/default.nix+10−10 pkgs/applications/misc/zathura/ps/default.nix+9−11 pkgs/applications/misc/zathura/ps/gtkflags.patch−25 pkgs/applications/misc/zathura/wrapper.nix+4−5 pkgs/applications/networking/apache-directory-studio/default.nix+62 pkgs/applications/networking/bittorrentsync/generic.nix+3−2 pkgs/applications/networking/browsers/chromium/browser.nix+1−1 pkgs/applications/networking/browsers/chromium/common.nix+47−33 pkgs/applications/networking/browsers/chromium/default.nix+11−5 pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r3.patch−98 pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r4.patch−98 pkgs/applications/networking/browsers/chromium/patches/chromium-glibc2.26-r1.patch−220 pkgs/applications/networking/browsers/chromium/patches/chromium-gn-bootstrap-r17.patch−68 pkgs/applications/networking/browsers/chromium/patches/constexpr-fix.patch−98 pkgs/applications/networking/browsers/chromium/patches/fix_network_api_crash.patch−77 pkgs/applications/networking/browsers/chromium/patches/gn_bootstrap_observer.patch−11 pkgs/applications/networking/browsers/chromium/patches/include-math-for-round.patch−34 pkgs/applications/networking/browsers/chromium/patches/skia_buildfix.patch+22 pkgs/applications/networking/browsers/chromium/plugins.nix+13−9 pkgs/applications/networking/browsers/chromium/update.nix+2−2 pkgs/applications/networking/browsers/chromium/upstream-info.nix+9−9 pkgs/applications/networking/browsers/conkeror/default.nix+4−4 pkgs/applications/networking/browsers/dwb/default.nix−35 pkgs/applications/networking/browsers/eolie/0001-Extend-the-python-path-rather-than-replacing-it.patch+35 pkgs/applications/networking/browsers/eolie/default.nix+67 pkgs/applications/networking/browsers/falkon/default.nix+5−11 pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix+411−381 pkgs/applications/networking/browsers/firefox-bin/default.nix+11−9 pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix+405−385 pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+401−381 pkgs/applications/networking/browsers/firefox-bin/update.nix+1−1 pkgs/applications/networking/browsers/firefox/common.nix+59−27 pkgs/applications/networking/browsers/firefox/fix-pa-context-connect-retval.patch+26 pkgs/applications/networking/browsers/firefox/packages.nix+61−36 pkgs/applications/networking/browsers/firefox/update.nix+4−2 pkgs/applications/networking/browsers/firefox/wrapper.nix+160−140 pkgs/applications/networking/browsers/google-chrome/default.nix+16−18 pkgs/applications/networking/browsers/jumanji/default.nix+4−4 pkgs/applications/networking/browsers/links2/default.nix+2−2 pkgs/applications/networking/browsers/luakit/default.nix+61 pkgs/applications/networking/browsers/lynx/default.nix+7−4 pkgs/applications/networking/browsers/midori/default.nix+7−8 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix+6−6 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix+5−5 pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix+4−4 pkgs/applications/networking/browsers/mozilla-plugins/nspluginwrapper/default.nix+1−1 pkgs/applications/networking/browsers/opera/default.nix+2−2 pkgs/applications/networking/browsers/otter/default.nix+25 pkgs/applications/networking/browsers/palemoon/default.nix+35−11 pkgs/applications/networking/browsers/qutebrowser/default.nix+30−24 pkgs/applications/networking/browsers/surf/default.nix+2−2 pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix+9−9 pkgs/applications/networking/browsers/tor-browser-bundle/default.nix+4−4 pkgs/applications/networking/browsers/uzbl/default.nix+3−3 pkgs/applications/networking/browsers/vimb/default.nix+7−7 pkgs/applications/networking/browsers/vimprobable2/default.nix+4−4 pkgs/applications/networking/browsers/vivaldi/default.nix+4−4 pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix+2−2 pkgs/applications/networking/browsers/w3m/default.nix+7−3 pkgs/applications/networking/c14/default.nix+4−5 pkgs/applications/networking/cluster/chronos/chronos-deps.nix+1−1 pkgs/applications/networking/cluster/click/default.nix+28 pkgs/applications/networking/cluster/cni/default.nix+3−6 pkgs/applications/networking/cluster/cni/plugins.nix+33 pkgs/applications/networking/cluster/docker-machine/default.nix+2−2 pkgs/applications/networking/cluster/docker-machine/xhyve-deps.nix+21 pkgs/applications/networking/cluster/docker-machine/xhyve.nix+27 pkgs/applications/networking/cluster/flink/default.nix+58 pkgs/applications/networking/cluster/helm/default.nix+8−7 pkgs/applications/networking/cluster/heptio-ark/default.nix+25 pkgs/applications/networking/cluster/kompose/default.nix+23 pkgs/applications/networking/cluster/kontemplate/default.nix+35 pkgs/applications/networking/cluster/kontemplate/deps.nix+111 pkgs/applications/networking/cluster/kops/default.nix+2−2 pkgs/applications/networking/cluster/kubecfg/default.nix+2−2 pkgs/applications/networking/cluster/kubernetes/default.nix+23−8 pkgs/applications/networking/cluster/mesos/default.nix+21−15 pkgs/applications/networking/cluster/mesos/mesos-deps.nix+1−1 pkgs/applications/networking/cluster/minikube/default.nix+12−6 pkgs/applications/networking/cluster/minikube/localkube.patch+20 pkgs/applications/networking/cluster/nomad/default.nix+2−2 pkgs/applications/networking/cluster/openshift/default.nix+42−17 pkgs/applications/networking/cluster/panamax/api/default.nix+1 pkgs/applications/networking/cluster/panamax/ui/default.nix+1 pkgs/applications/networking/cluster/pig/default.nix+2−2 pkgs/applications/networking/cluster/spark/default.nix+5−8 pkgs/applications/networking/cluster/taktuk/default.nix+2−2 pkgs/applications/networking/cluster/terraform-landscape/Gemfile+2 pkgs/applications/networking/cluster/terraform-landscape/Gemfile.lock+25 pkgs/applications/networking/cluster/terraform-landscape/default.nix+19 pkgs/applications/networking/cluster/terraform-landscape/gemset.nix+61 pkgs/applications/networking/cluster/terraform-provider-libvirt/default.nix+47 pkgs/applications/networking/cluster/terraform-provider-libvirt/deps.nix+12 pkgs/applications/networking/cluster/terraform-provider-nixos/default.nix+23 pkgs/applications/networking/cluster/terraform/default.nix+19−4 pkgs/applications/networking/cluster/terraform/providers/data.nix+119−84 pkgs/applications/networking/cluster/terraform/providers/default.nix+6−2 pkgs/applications/networking/cluster/terraform/providers/update-all+1−1 pkgs/applications/networking/cluster/terragrunt/default.nix+5−5 pkgs/applications/networking/cluster/terragrunt/deps.nix+29−20 pkgs/applications/networking/compactor/default.nix+52 pkgs/applications/networking/corebird/default.nix+17−13 pkgs/applications/networking/droopy/default.nix+1−1 pkgs/applications/networking/dropbox-cli/default.nix → pkgs/applications/networking/dropbox/cli.nix pkgs/applications/networking/dropbox/default.nix+28−6 pkgs/applications/networking/errbot/default.nix+6−4 pkgs/applications/networking/esniper/default.nix+7−5 pkgs/applications/networking/feedreaders/newsbeuter/default.nix−61 pkgs/applications/networking/feedreaders/newsboat/default.nix+47 pkgs/applications/networking/feedreaders/rawdog/default.nix−1 pkgs/applications/networking/feedreaders/rss2email/default.nix+21−3 pkgs/applications/networking/feedreaders/rssguard/default.nix+9−10 pkgs/applications/networking/feedreaders/rsstail/default.nix−1 pkgs/applications/networking/firehol/default.nix+32−3 pkgs/applications/networking/flexget/default.nix+53−60 pkgs/applications/networking/ftp/filezilla/default.nix+2−2 pkgs/applications/networking/gmailieer/default.nix+2−2 pkgs/applications/networking/gns3/default.nix+9−6 pkgs/applications/networking/gns3/server.nix+16−27 pkgs/applications/networking/google-drive-ocamlfuse/default.nix+6−7 pkgs/applications/networking/ids/bro/default.nix+2−2 pkgs/applications/networking/ids/daq/default.nix+2−2 pkgs/applications/networking/ids/snort/default.nix+2−2 pkgs/applications/networking/instant-messengers/SkypeExport/default.nix+27 pkgs/applications/networking/instant-messengers/baresip/default.nix+2−2 pkgs/applications/networking/instant-messengers/bitlbee-discord/default.nix+30 pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix+2−2 pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix+5−4 pkgs/applications/networking/instant-messengers/blink/default.nix+7−6 pkgs/applications/networking/instant-messengers/coyim/default.nix+3−2 pkgs/applications/networking/instant-messengers/dino/default.nix+9−8 pkgs/applications/networking/instant-messengers/discord/default.nix+5−7 pkgs/applications/networking/instant-messengers/ekiga/default.nix+5−5 pkgs/applications/networking/instant-messengers/gajim/default.nix+38−104 pkgs/applications/networking/instant-messengers/gajim/fix-tests.patch−13 pkgs/applications/networking/instant-messengers/hipchat/default.nix+6−6 pkgs/applications/networking/instant-messengers/jackline/default.nix+9−8 pkgs/applications/networking/instant-messengers/jackline/tls-0.9.0.patch+29 pkgs/applications/networking/instant-messengers/jitsi/default.nix+1−1 pkgs/applications/networking/instant-messengers/kadu/cmake.patch−13 pkgs/applications/networking/instant-messengers/kadu/default.nix−46 pkgs/applications/networking/instant-messengers/linphone/default.nix+9−5 pkgs/applications/networking/instant-messengers/nheko/default.nix+83 pkgs/applications/networking/instant-messengers/nheko/external-deps.patch+94 pkgs/applications/networking/instant-messengers/nheko/fetchurls.patch+21 pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-skypeweb/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-discord/default.nix+31 pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-facebook/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix+5−5 pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-matrix/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/skype4pidgin/default.nix+2−2 pkgs/applications/networking/instant-messengers/pidgin-plugins/telegram-purple/default.nix+4−4 pkgs/applications/networking/instant-messengers/pidgin/default.nix+5−4 pkgs/applications/networking/instant-messengers/pond/default.nix+2−3 pkgs/applications/networking/instant-messengers/profanity/default.nix+27−8 pkgs/applications/networking/instant-messengers/profanity/patches/packages-osx.patch+11 pkgs/applications/networking/instant-messengers/profanity/patches/undefined-macros.patch+40 pkgs/applications/networking/instant-messengers/psi-plus/default.nix+2−2 pkgs/applications/networking/instant-messengers/pybitmessage/default.nix+1−1 pkgs/applications/networking/instant-messengers/qtox/default.nix+4−4 pkgs/applications/networking/instant-messengers/quaternion/default.nix+22−22 pkgs/applications/networking/instant-messengers/rambox/bare.nix+4−8 pkgs/applications/networking/instant-messengers/rambox/default.nix+7−2 pkgs/applications/networking/instant-messengers/rambox/disable-tooltips.patch+19 pkgs/applications/networking/instant-messengers/ratox/default.nix+20−14 pkgs/applications/networking/instant-messengers/ratox/ldlibs.patch+5 pkgs/applications/networking/instant-messengers/ricochet/default.nix+3 pkgs/applications/networking/instant-messengers/ring-daemon/default.nix+5−3 pkgs/applications/networking/instant-messengers/riot/riot-web.nix+5−3 pkgs/applications/networking/instant-messengers/signal-desktop/beta.nix+92 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+8−7 pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix+13−12 pkgs/applications/networking/instant-messengers/slack/default.nix+2−2 pkgs/applications/networking/instant-messengers/stride/default.nix+68 pkgs/applications/networking/instant-messengers/teamspeak/client.nix+4−4 pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix+2−2 pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix+1−1 pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix+16−108 pkgs/applications/networking/instant-messengers/telegram/tdesktop/generic.nix+140 pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix+1−1 pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix+7−6 pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix+2−2 pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix+2−2 pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix+14−11 pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix+7−7 pkgs/applications/networking/instant-messengers/telepathy/salut/default.nix+3−3 pkgs/applications/networking/instant-messengers/tensor/default.nix+3 pkgs/applications/networking/instant-messengers/torchat/default.nix−1 pkgs/applications/networking/instant-messengers/viber/default.nix+2−2 pkgs/applications/networking/instant-messengers/zoom-us/default.nix+14−4 pkgs/applications/networking/insync/default.nix+2−2 pkgs/applications/networking/ipfs/default.nix+3−3 pkgs/applications/networking/irc/bip/default.nix+1−1 pkgs/applications/networking/irc/hexchat/default.nix+4−4 pkgs/applications/networking/irc/ii/default.nix+5−5 pkgs/applications/networking/irc/irssi/default.nix+4−4 pkgs/applications/networking/irc/konversation/default.nix+2−2 pkgs/applications/networking/irc/quassel/default.nix+1−1 pkgs/applications/networking/irc/sic/default.nix+2−2 pkgs/applications/networking/irc/weechat/default.nix+13−14 pkgs/applications/networking/jmeter/default.nix+40−8 pkgs/applications/networking/kget/default.nix−33 pkgs/applications/networking/mailreaders/afew/default.nix+28 pkgs/applications/networking/mailreaders/astroid/default.nix+1−1 pkgs/applications/networking/mailreaders/balsa/default.nix+61 pkgs/applications/networking/mailreaders/claws-mail/default.nix+12−14 pkgs/applications/networking/mailreaders/imapfilter.nix+2−2 pkgs/applications/networking/mailreaders/inboxer/default.nix+84 pkgs/applications/networking/mailreaders/lumail/default.nix+42−10 pkgs/applications/networking/mailreaders/mailnag/default.nix+2−2 pkgs/applications/networking/mailreaders/mailpile/default.nix+23−11 pkgs/applications/networking/mailreaders/mblaze/default.nix+25 pkgs/applications/networking/mailreaders/mutt/default.nix+29−7 pkgs/applications/networking/mailreaders/neomutt/default.nix+32−17 pkgs/applications/networking/mailreaders/notbit/default.nix+29 pkgs/applications/networking/mailreaders/notmuch-addrlookup/0001-notmuch-0.25-compatibility-fix.patch−44 pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix+6−10 pkgs/applications/networking/mailreaders/notmuch/default.nix+13−13 pkgs/applications/networking/mailreaders/notmuch/muchsync.nix+3−2 pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix+7−7 pkgs/applications/networking/mailreaders/sylpheed/default.nix+19−21 pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix+8−8 pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix+237−237 pkgs/applications/networking/mailreaders/thunderbird/default.nix+7−8 pkgs/applications/networking/msmtp/default.nix+8−1 pkgs/applications/networking/mumble/default.nix+13−6 pkgs/applications/networking/newsreaders/liferea/default.nix+9−8 pkgs/applications/networking/newsreaders/pan/default.nix+23−8 pkgs/applications/networking/newsreaders/quiterss/default.nix+2−2 pkgs/applications/networking/nextcloud-client/default.nix+15−9 pkgs/applications/networking/nextcloud-client/find-sql.patch+12 pkgs/applications/networking/offrss/default.nix+5−9 pkgs/applications/networking/ostinato/default.nix+7−3 pkgs/applications/networking/owncloud-client/default.nix+4−2 pkgs/applications/networking/p2p/deluge/default.nix+2−2 pkgs/applications/networking/p2p/frostwire/default.nix+69−13 pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix+31 pkgs/applications/networking/p2p/ncdc/default.nix+1−1 pkgs/applications/networking/p2p/qbittorrent/default.nix+5−5 pkgs/applications/networking/p2p/retroshare/default.nix+1−1 pkgs/applications/networking/p2p/soulseekqt/default.nix+55 pkgs/applications/networking/p2p/tixati/default.nix+4−4 pkgs/applications/networking/p2p/transgui/default.nix+6−2 pkgs/applications/networking/p2p/transgui/r988-compile-fix.patch+22 pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix+3−3 pkgs/applications/networking/p2p/transmission/default.nix+8−12 pkgs/applications/networking/p2p/tribler/default.nix+3−3 pkgs/applications/networking/pjsip/default.nix+7−3 pkgs/applications/networking/protocol/default.nix+20 pkgs/applications/networking/remote/citrix-receiver/default.nix+31−9 pkgs/applications/networking/remote/freerdp/default.nix+15−13 pkgs/applications/networking/remote/rdesktop/default.nix+3−3 pkgs/applications/networking/remote/remmina/default.nix+10−10 pkgs/applications/networking/remote/teamviewer/default.nix+5−5 pkgs/applications/networking/remote/x2goclient/default.nix−1 pkgs/applications/networking/remote/xrdp/default.nix+4−4 pkgs/applications/networking/resilio-sync/default.nix+4−4 pkgs/applications/networking/seafile-client/default.nix+8−6 pkgs/applications/networking/sniffers/wireshark/cmake.patch+19 pkgs/applications/networking/sniffers/wireshark/default.nix+38−11 pkgs/applications/networking/spideroak/default.nix+7−7 pkgs/applications/networking/sync/backintime/common.nix+2−2 pkgs/applications/networking/sync/backintime/qt4.nix+4−1 pkgs/applications/networking/sync/lsyncd/default.nix+2−2 pkgs/applications/networking/sync/rclone/default.nix+2−2 pkgs/applications/networking/sync/rsync/base.nix+7−6 pkgs/applications/networking/sync/rsync/default.nix+3−3 pkgs/applications/networking/sync/rsync/rrsync.nix+2−2 pkgs/applications/networking/syncplay/default.nix+30 pkgs/applications/networking/syncthing-gtk/default.nix+56 pkgs/applications/networking/syncthing-gtk/disable-syncthing-binary-configuration.patch+77 pkgs/applications/networking/syncthing-gtk/paths.patch+22 pkgs/applications/networking/syncthing/add-stcli-target.patch+17 pkgs/applications/networking/syncthing/default.nix+88−42 pkgs/applications/networking/syncthing/inotify-deps.nix−21 pkgs/applications/networking/syncthing/inotify.nix−37 pkgs/applications/networking/syncthing012/default.nix−27 pkgs/applications/networking/syncthing012/deps.nix−128 pkgs/applications/networking/syncthing013/default.nix−38 pkgs/applications/networking/tcpkali/default.nix+2−2 pkgs/applications/networking/testssl/default.nix+25−18 pkgs/applications/networking/testssl/testssl.patch−10 pkgs/applications/networking/vnstat/default.nix+2−3 pkgs/applications/networking/znc/default.nix+2−2 pkgs/applications/networking/znc/modules.nix+20 pkgs/applications/office/abiword/default.nix+14−13 pkgs/applications/office/abiword/patches/fix-13791.patch−161 pkgs/applications/office/beancount/bean-add.nix+4−4 pkgs/applications/office/beancount/default.nix−44 pkgs/applications/office/calligra/2.nix−56 pkgs/applications/office/calligra/default.nix+13−3 pkgs/applications/office/cb2bib/default.nix+2−2 pkgs/applications/office/fava/default.nix+3−3 pkgs/applications/office/gnucash/2.6.nix+20−11 pkgs/applications/office/gnucash/default.nix+1 pkgs/applications/office/gnumeric/default.nix+2−2 pkgs/applications/office/grisbi/default.nix+2−2 pkgs/applications/office/homebank/default.nix+4−4 pkgs/applications/office/ib/tws/default.nix+1−1 pkgs/applications/office/impressive/default.nix+3−3 pkgs/applications/office/jabref/default.nix+2−2 pkgs/applications/office/kexi/default.nix+2−2 pkgs/applications/office/ledger/default.nix+1−1 pkgs/applications/office/libreoffice/default-primary-src.nix+6−6 pkgs/applications/office/libreoffice/default.nix+32−27 pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py+8−1 pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix+196−182 pkgs/applications/office/libreoffice/libreoffice-srcs.nix+271−229 pkgs/applications/office/libreoffice/still-primary-src.nix+4−4 pkgs/applications/office/libreoffice/still.nix+39−31 pkgs/applications/office/libreoffice/wrapper.nix+16 pkgs/applications/office/libreoffice/wrapper.sh+18 pkgs/applications/office/marp/default.nix+2−2 pkgs/applications/office/mendeley/default.nix+30−18 pkgs/applications/office/mendeley/update.nix+60 pkgs/applications/office/mmex/default.nix+1−1 pkgs/applications/office/mytetra/default.nix+1−1 pkgs/applications/office/osmo/default.nix+2−2 pkgs/applications/office/paperwork/backend.nix+3−3 pkgs/applications/office/paperwork/default.nix+4−4 pkgs/applications/office/pinpoint/default.nix+2−2 pkgs/applications/office/planner/default.nix+2−2 pkgs/applications/office/skrooge/default.nix+17−6 pkgs/applications/office/spice-up/default.nix+57 pkgs/applications/office/tagainijisho/default.nix+1−1 pkgs/applications/office/timetrap/Gemfile.lock+4−4 pkgs/applications/office/timetrap/default.nix+7−4 pkgs/applications/office/timetrap/gemset.nix+7−6 pkgs/applications/office/tryton/default.nix+2−2 pkgs/applications/office/trytond/default.nix+2−2 pkgs/applications/office/tudu/default.nix+4−4 pkgs/applications/office/watson/default.nix+18−9 pkgs/applications/office/wordgrinder/default.nix+17−9 pkgs/applications/office/zanshin/default.nix+7−13 pkgs/applications/office/zim/default.nix+2−2 pkgs/applications/office/zotero/default.nix+54−70 pkgs/applications/science/astronomy/celestia/default.nix+7−9 pkgs/applications/science/astronomy/gpredict/default.nix+33 pkgs/applications/science/astronomy/gravit/default.nix+10−3 pkgs/applications/science/astronomy/stellarium/default.nix+7−7 pkgs/applications/science/biology/EZminc/default.nix+32 pkgs/applications/science/biology/N3/default.nix+38 pkgs/applications/science/biology/bcftools/default.nix+4−6 pkgs/applications/science/biology/bedtools/default.nix+2−2 pkgs/applications/science/biology/bowtie2/default.nix+2−2 pkgs/applications/science/biology/bwa/default.nix+2−2 pkgs/applications/science/biology/dcm2niix/default.nix+33 pkgs/applications/science/biology/igv/default.nix+3−3 pkgs/applications/science/biology/inormalize/default.nix+39 pkgs/applications/science/biology/inormalize/lgmask-interp.patch+10 pkgs/applications/science/biology/inormalize/nu_correct_norm-interp.patch+10 pkgs/applications/science/biology/kallisto/default.nix+25 pkgs/applications/science/biology/minc-tools/default.nix+21−10 pkgs/applications/science/biology/minc-widgets/default.nix+34 pkgs/applications/science/biology/mni_autoreg/default.nix+36 pkgs/applications/science/biology/muscle/default.nix+35 pkgs/applications/science/biology/muscle/muscle-3.8.31-no-static.patch+21 pkgs/applications/science/biology/paml/default.nix+2−2 pkgs/applications/science/biology/picard-tools/default.nix+2−2 pkgs/applications/science/biology/raxml/default.nix+42 pkgs/applications/science/biology/samtools/default.nix+2−2 pkgs/applications/science/biology/samtools/samtools-0.1.19-no-curses.patch+22 pkgs/applications/science/biology/samtools/samtools_0_1_19.nix+34 pkgs/applications/science/biology/snpeff/default.nix+3−3 pkgs/applications/science/biology/star/default.nix+34 pkgs/applications/science/biology/vcftools/default.nix+24 pkgs/applications/science/chemistry/avogadro/default.nix+3−3 pkgs/applications/science/chemistry/molden/default.nix+42 pkgs/applications/science/chemistry/octopus/default.nix+47 pkgs/applications/science/electronics/bitscope/common.nix+70 pkgs/applications/science/electronics/bitscope/packages.nix+153 pkgs/applications/science/electronics/gtkwave/default.nix+2−2 pkgs/applications/science/electronics/kicad/default.nix+2−2 pkgs/applications/science/electronics/kicad/unstable.nix+56 pkgs/applications/science/electronics/librepcb/default.nix+33 pkgs/applications/science/electronics/librepcb/fix-2017-12.patch+29 pkgs/applications/science/electronics/ngspice/default.nix+8−7 pkgs/applications/science/electronics/pcb/default.nix+9−2 pkgs/applications/science/electronics/pulseview/default.nix+2−2 pkgs/applications/science/electronics/verilator/default.nix+3−3 pkgs/applications/science/logic/abella/default.nix+2−2 pkgs/applications/science/logic/acgtk/default.nix+4−2 pkgs/applications/science/logic/aspino/default.nix+19−7 pkgs/applications/science/logic/avy/default.nix+19−1 pkgs/applications/science/logic/avy/glucose-fenv.patch+65 pkgs/applications/science/logic/avy/minisat-fenv.patch+65 pkgs/applications/science/logic/beluga/default.nix+34 pkgs/applications/science/logic/boolector/default.nix+19−1 pkgs/applications/science/logic/coq/8.4.nix+1−1 pkgs/applications/science/logic/coq/HEAD.nix−81 pkgs/applications/science/logic/coq/default.nix+12−9 pkgs/applications/science/logic/cryptoverif/default.nix+2−2 pkgs/applications/science/logic/cvc4/default.nix+7 pkgs/applications/science/logic/cvc4/minisat-fenv.patch+65 pkgs/applications/science/logic/drat-trim/default.nix+40 pkgs/applications/science/logic/elan/default.nix+44 pkgs/applications/science/logic/eprover/default.nix+2−1 pkgs/applications/science/logic/glucose/syrup.nix+1−1 pkgs/applications/science/logic/lean/default.nix+2−1 pkgs/applications/science/logic/ltl2ba/default.nix+2−2 pkgs/applications/science/logic/mcrl2/default.nix+2−2 pkgs/applications/science/logic/ott/default.nix+9−9 pkgs/applications/science/logic/picosat/default.nix+11 pkgs/applications/science/logic/potassco/clingo.nix+8−5 pkgs/applications/science/logic/sapic/default.nix+28 pkgs/applications/science/logic/sapic/native.patch+38 pkgs/applications/science/logic/stp/default.nix+5−1 pkgs/applications/science/logic/symbiyosys/default.nix+6−6 pkgs/applications/science/logic/tamarin-prover/default.nix+90 pkgs/applications/science/logic/tlaplus/default.nix+40 pkgs/applications/science/logic/tlaplus/tlaps.nix+56 pkgs/applications/science/logic/tlaplus/toolbox.nix+77 pkgs/applications/science/logic/tptp/default.nix+2−2 pkgs/applications/science/logic/why3/default.nix+3−3 pkgs/applications/science/logic/workcraft/default.nix+33 pkgs/applications/science/logic/z3/default.nix+6−7 pkgs/applications/science/machine-learning/shogun/default.nix+17−3 pkgs/applications/science/machine-learning/torch/torch-distro.nix+2 pkgs/applications/science/math/R/default.nix+12−8 pkgs/applications/science/math/R/setup-hook.sh+4−2 pkgs/applications/science/math/almonds/default.nix+29 pkgs/applications/science/math/bcal/default.nix+32 pkgs/applications/science/math/caffe/default.nix+14−7 pkgs/applications/science/math/calc/default.nix+2−2 pkgs/applications/science/math/cbc/default.nix+3−3 pkgs/applications/science/math/cntk/default.nix+10−17 pkgs/applications/science/math/cntk/fix_std_bind.patch+11 pkgs/applications/science/math/ecm/default.nix+3−3 pkgs/applications/science/math/fricas/default.nix+2−2 pkgs/applications/science/math/gap/default.nix+70−15 pkgs/applications/science/math/geogebra/default.nix+4−8 pkgs/applications/science/math/gfan/default.nix+2−2 pkgs/applications/science/math/giac/default.nix+30−10 pkgs/applications/science/math/ginac/default.nix+2−2 pkgs/applications/science/math/glsurf/default.nix+2−2 pkgs/applications/science/math/gmsh/default.nix+5−5 pkgs/applications/science/math/jags/default.nix+2−2 pkgs/applications/science/math/lp_solve/default.nix+2−2 pkgs/applications/science/math/lrcalc/default.nix+41 pkgs/applications/science/math/maxima/default.nix+40−10 pkgs/applications/science/math/mxnet/default.nix+8−5 pkgs/applications/science/math/nasc/default.nix+71 pkgs/applications/science/math/pari/default.nix+2−2 pkgs/applications/science/math/pari/gp2c.nix+2−2 pkgs/applications/science/math/qalculate-gtk/default.nix+2−2 pkgs/applications/science/math/sage/default.nix+66−19 pkgs/applications/science/math/sage/patchSageShebangs.sh+51 pkgs/applications/science/math/sage/shebangs.patch+36 pkgs/applications/science/math/sage/spkg-giac.patch+13−4 pkgs/applications/science/math/sage/spkg-git.patch+8−3 pkgs/applications/science/math/sage/spkg-python.patch+13 pkgs/applications/science/math/sage/spkg-python2.patch−12 pkgs/applications/science/math/sage/spkg-python3.patch−12 pkgs/applications/science/math/sage/spkg-singular.patch+11−5 pkgs/applications/science/math/scilab-bin/default.nix+7−7 pkgs/applications/science/math/singular/default.nix+53−20 pkgs/applications/science/math/weka/default.nix+8−12 pkgs/applications/science/math/wxmaxima/default.nix+4−6 pkgs/applications/science/medicine/aliza/default.nix+2−2 pkgs/applications/science/misc/boinc/default.nix+2−2 pkgs/applications/science/misc/cytoscape/default.nix+2−2 pkgs/applications/science/misc/gephi/default.nix+54−27 pkgs/applications/science/misc/golly/beta.nix+2−2 pkgs/applications/science/misc/golly/default.nix+2−2 pkgs/applications/science/misc/gplates/default.nix+2−2 pkgs/applications/science/misc/openmvg/default.nix+1 pkgs/applications/science/misc/openmvs/default.nix+3−4 pkgs/applications/science/misc/root/default.nix+4−4 pkgs/applications/science/misc/sasview/default.nix+60 pkgs/applications/science/misc/sasview/local_config.patch+10 pkgs/applications/science/misc/sasview/pyparsing-fix.patch+8 pkgs/applications/science/misc/sasview/xhtml2pdf.nix+32 pkgs/applications/science/misc/simgrid/default.nix+88−60 pkgs/applications/science/misc/tulip/default.nix+4−4 pkgs/applications/science/misc/vite/default.nix+2−2 pkgs/applications/science/molecular-dynamics/gromacs/default.nix+3−3 pkgs/applications/science/programming/fdr/default.nix+4−4 pkgs/applications/science/programming/plm/default.nix+1−1 pkgs/applications/science/robotics/qgroundcontrol/default.nix+21−39 pkgs/applications/science/robotics/yarp/default.nix+2−2 pkgs/applications/science/spyder/default.nix+11−7 pkgs/applications/search/catfish/default.nix+22−16 pkgs/applications/search/doodle/default.nix+2−2 pkgs/applications/search/grepcidr/default.nix+21 pkgs/applications/search/recoll/default.nix+34−25 pkgs/applications/taxes/aangifte-2006/default.nix+1−1 pkgs/applications/taxes/aangifte-2007/default.nix+1−1 pkgs/applications/taxes/aangifte-2008/default.nix+1−1 pkgs/applications/taxes/aangifte-2009/default.nix+1−1 pkgs/applications/taxes/aangifte-2010/default.nix+1−1 pkgs/applications/taxes/aangifte-2011/default.nix+1−1 pkgs/applications/taxes/aangifte-2012/default.nix+1−1 pkgs/applications/taxes/aangifte-2013-wa/default.nix+1−1 pkgs/applications/taxes/aangifte-2013/default.nix+1−1 pkgs/applications/taxes/aangifte-2014-wa/default.nix+1−1 pkgs/applications/taxes/aangifte-2014/default.nix+1−1 pkgs/applications/version-management/bazaar/default.nix+10−2 pkgs/applications/version-management/bugseverywhere/default.nix+1−1 pkgs/applications/version-management/cvs/default.nix+5−1 pkgs/applications/version-management/fossil/default.nix+2−2 pkgs/applications/version-management/gerrit/default.nix+3−3 pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+2−2 pkgs/applications/version-management/git-and-tools/cgit/default.nix+5−1 pkgs/applications/version-management/git-and-tools/default.nix+14−2 pkgs/applications/version-management/git-and-tools/diff-so-fancy/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-annex-metadata-gui/default.nix+27 pkgs/applications/version-management/git-and-tools/git-annex-remote-rclone/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-bz/default.nix−1 pkgs/applications/version-management/git-and-tools/git-codeowners/default.nix+3−3 pkgs/applications/version-management/git-and-tools/git-cola/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-dit/default.nix+1−1 pkgs/applications/version-management/git-and-tools/git-extras/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-hub/default.nix+1−3 pkgs/applications/version-management/git-and-tools/git-open/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-radar/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-recent/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix+3−8 pkgs/applications/version-management/git-and-tools/git-secret/default.nix+2−2 pkgs/applications/version-management/git-and-tools/git/default.nix+11−14 pkgs/applications/version-management/git-and-tools/git/git-send-email-honor-PATH.patch+28 pkgs/applications/version-management/git-and-tools/git/git-sh-i18n.patch+4−4 pkgs/applications/version-management/git-and-tools/git/ssh-path.patch+11−11 pkgs/applications/version-management/git-and-tools/gitweb/default.nix+37 pkgs/applications/version-management/git-and-tools/grv/default.nix+30 pkgs/applications/version-management/git-and-tools/hub/unstable.nix+36 pkgs/applications/version-management/git-and-tools/qgit/default.nix+8−5 pkgs/applications/version-management/git-and-tools/stgit/default.nix+4−3 pkgs/applications/version-management/git-and-tools/svn-all-fast-export/default.nix+41 pkgs/applications/version-management/git-and-tools/svn2git-kde/default.nix−28 pkgs/applications/version-management/git-and-tools/svn2git/default.nix+2−2 pkgs/applications/version-management/git-and-tools/tig/default.nix+2−2 pkgs/applications/version-management/git-and-tools/transcrypt/default.nix+2−2 pkgs/applications/version-management/git-review/default.nix+2−2 pkgs/applications/version-management/git-sizer/default.nix+23 pkgs/applications/version-management/git-up/default.nix+1 pkgs/applications/version-management/gitaly/Gemfile+11−2 pkgs/applications/version-management/gitaly/Gemfile.lock+74−18 pkgs/applications/version-management/gitaly/default.nix+2−2 pkgs/applications/version-management/gitaly/gemset.nix+211−23 pkgs/applications/version-management/gitea/default.nix+3−3 pkgs/applications/version-management/gitea/static-root-path.patch+3−3 pkgs/applications/version-management/gitinspector/default.nix+4 pkgs/applications/version-management/gitkraken/default.nix+26−24 pkgs/applications/version-management/gitlab-shell/default.nix+6−28 pkgs/applications/version-management/gitlab-shell/fixes.patch+3−4 pkgs/applications/version-management/gitlab-shell/remove-hardcoded-locations.patch+15−15 pkgs/applications/version-management/gitlab-workhorse/default.nix+2−2 pkgs/applications/version-management/gitlab/Gemfile+44−28 pkgs/applications/version-management/gitlab/Gemfile.lock+158−132 pkgs/applications/version-management/gitlab/default.nix+16−11 pkgs/applications/version-management/gitlab/gemset.nix+234−163 pkgs/applications/version-management/gitlab/nulladapter.patch−33 pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch+32−45 pkgs/applications/version-management/gitless/default.nix+26 pkgs/applications/version-management/gitolite/default.nix+9−6 pkgs/applications/version-management/gogs/default.nix+2−2 pkgs/applications/version-management/gource/default.nix+6−7 pkgs/applications/version-management/guitone/default.nix+3 pkgs/applications/version-management/guitone/parallel-building.patch+7 pkgs/applications/version-management/meld/default.nix+16−8 pkgs/applications/version-management/mercurial/default.nix+9−9 pkgs/applications/version-management/monotone-viz/default.nix+3−3 pkgs/applications/version-management/nbstripout/default.nix+25−6 pkgs/applications/version-management/p4v/default.nix+48 pkgs/applications/version-management/peru/default.nix+2−2 pkgs/applications/version-management/pijul/default.nix+3−3 pkgs/applications/version-management/rabbitvcs/default.nix+4−2 pkgs/applications/version-management/sit/default.nix+23 pkgs/applications/version-management/smartgithg/default.nix+3−3 pkgs/applications/version-management/src/default.nix+12−4 pkgs/applications/version-management/tailor/default.nix+1−1 pkgs/applications/version-management/tortoisehg/default.nix+8−3 pkgs/applications/version-management/vcsh/default.nix+10−17 pkgs/applications/version-management/yadm/default.nix+2−2 pkgs/applications/video/aegisub/default.nix+3−3 pkgs/applications/video/avidemux/bootstrap_logging.patch+26 pkgs/applications/video/avidemux/default.nix+72−110 pkgs/applications/video/avidemux/wrapper.nix−24 pkgs/applications/video/avxsynth/default.nix+1 pkgs/applications/video/bombono/default.nix+21−2 pkgs/applications/video/bomi/default.nix+2−2 pkgs/applications/video/byzanz/default.nix+1−1 pkgs/applications/video/cinelerra/default.nix+3−1 pkgs/applications/video/clipgrab/default.nix+2−3 pkgs/applications/video/dvb-apps/default.nix+1 pkgs/applications/video/dvdstyler/default.nix+2−2 pkgs/applications/video/gnome-mplayer/default.nix+23−10 pkgs/applications/video/gnome-mplayer/fix-paths.patch+87 pkgs/applications/video/gnome-mpv/default.nix+16−11 pkgs/applications/video/handbrake/default.nix+15−12 pkgs/applications/video/kazam/bug_1190693.patch−14 pkgs/applications/video/kazam/datadir.patch−11 pkgs/applications/video/kazam/default.nix+28−33 pkgs/applications/video/kazam/fix-paths.patch+22 pkgs/applications/video/kodi/default.nix+148−86 pkgs/applications/video/kodi/plugins.nix+29−5 pkgs/applications/video/lightworks/default.nix+2−2 pkgs/applications/video/makemkv/default.nix+6−6 pkgs/applications/video/minitube/default.nix+1−2 pkgs/applications/video/miro/default.nix+3−3 pkgs/applications/video/mkcast/default.nix+1−1 pkgs/applications/video/mkvtoolnix/default.nix+20−16 pkgs/applications/video/motion/default.nix+5−2 pkgs/applications/video/mpc-qt/default.nix+27 pkgs/applications/video/mplayer/default.nix+5−4 pkgs/applications/video/mpv/default.nix+49−26 pkgs/applications/video/mpv/scripts/convert.nix+3−3 pkgs/applications/video/mythtv/default.nix+18−13 pkgs/applications/video/natron/default.nix+3−3 pkgs/applications/video/obs-studio/default.nix+3−3 pkgs/applications/video/ogmtools/default.nix+2−2 pkgs/applications/video/omxplayer/default.nix+1−1 pkgs/applications/video/openshot-qt/default.nix+2−2 pkgs/applications/video/openshot-qt/libopenshot-audio.nix+2−2 pkgs/applications/video/openshot-qt/libopenshot.nix+2−2 pkgs/applications/video/peek/default.nix+33 pkgs/applications/video/pitivi/default.nix+3−3 pkgs/applications/video/qmediathekview/default.nix+33 pkgs/applications/video/quvi/library.nix+1−1 pkgs/applications/video/quvi/scripts.nix+1−1 pkgs/applications/video/quvi/tool.nix+1−1 pkgs/applications/video/screenkey/default.nix+60 pkgs/applications/video/screenkey/paths.patch+20 pkgs/applications/video/shotcut/default.nix+2−2 pkgs/applications/video/simplescreenrecorder/default.nix+6−11 pkgs/applications/video/smplayer/default.nix+2−2 pkgs/applications/video/smtube/default.nix+2−2 pkgs/applications/video/streamlink/default.nix+3−3 pkgs/applications/video/subdl/default.nix+26 pkgs/applications/video/subtitleeditor/default.nix+15−25 pkgs/applications/video/vlc/default.nix+3−13 pkgs/applications/video/w_scan/default.nix+2−2 pkgs/applications/video/webtorrent_desktop/default.nix+88 pkgs/applications/video/xine-ui/default.nix+4−4 pkgs/applications/virtualization/OVMF/default.nix+39−20 pkgs/applications/virtualization/bochs/bochs-2.6.9-glibc-2.26.patch+14 pkgs/applications/virtualization/bochs/default.nix+6−2 pkgs/applications/virtualization/cbfstool/default.nix+2−2 pkgs/applications/virtualization/containerd/default.nix+20−5 pkgs/applications/virtualization/docker/default.nix+70−62 pkgs/applications/virtualization/docker-distribution/default.nix → pkgs/applications/virtualization/docker/distribution.nix pkgs/applications/virtualization/dynamips/default.nix+2−2 pkgs/applications/virtualization/lkl/default.nix+6−5 pkgs/applications/virtualization/looking-glass-client/default.nix+47 pkgs/applications/virtualization/open-vm-tools/default.nix+1−1 pkgs/applications/virtualization/openstack/glance.nix−69 pkgs/applications/virtualization/openstack/keystone.nix−55 pkgs/applications/virtualization/openstack/neutron-iproute-4.patch−93 pkgs/applications/virtualization/openstack/neutron.nix−69 pkgs/applications/virtualization/openstack/nova.nix−71 pkgs/applications/virtualization/openstack/remove-oslo-policy-tests.patch−61 pkgs/applications/virtualization/qemu/default.nix+66−21 pkgs/applications/virtualization/qemu/riscv.nix+30 pkgs/applications/virtualization/qemu/statfs-flags.patch+197 pkgs/applications/virtualization/remotebox/default.nix+2−3 pkgs/applications/virtualization/rkt/default.nix+3−3 pkgs/applications/virtualization/runc/default.nix+2−2 pkgs/applications/virtualization/seabios/default.nix+2−2 pkgs/applications/virtualization/singularity/default.nix+40−5 pkgs/applications/virtualization/singularity/env.patch+21 pkgs/applications/virtualization/spice-vdagent/default.nix+2−2 pkgs/applications/virtualization/tini/default.nix+2−2 pkgs/applications/virtualization/virt-manager/default.nix+16−13 pkgs/applications/virtualization/virt-manager/qt.nix+9−10 pkgs/applications/virtualization/virt-top/default.nix+7−5 pkgs/applications/virtualization/virt-viewer/default.nix+14−10 pkgs/applications/virtualization/virtualbox/default.nix+20−12 pkgs/applications/virtualization/virtualbox/guest-additions/default.nix+4−2 pkgs/applications/virtualization/virtualbox/guest-additions/fix_kerndir.patch+9−9 pkgs/applications/virtualization/virtualbox/guest-additions/fix_kernincl.patch+3−3 pkgs/applications/virtualization/vpcs/default.nix+6−5 pkgs/applications/virtualization/vpcs/vpcs-0.8-glibc-2.26.patch+14 pkgs/applications/virtualization/xen/4.10.nix+176 pkgs/applications/virtualization/xen/4.5.nix+18−2 pkgs/applications/virtualization/xen/4.8.nix+40−24 pkgs/applications/virtualization/xen/generic.nix+4−3 pkgs/applications/virtualization/xen/packages.nix+50−8 pkgs/applications/virtualization/xen/xsa-patches.nix+162 pkgs/applications/window-managers/awesome/3.5.nix+2−2 pkgs/applications/window-managers/awesome/default.nix+7−9 pkgs/applications/window-managers/bspwm/default.nix+2−2 pkgs/applications/window-managers/compton/default.nix+2−2 pkgs/applications/window-managers/compton/git.nix+2−2 pkgs/applications/window-managers/dwm/default.nix+2−2 pkgs/applications/window-managers/i3/default.nix+3−3 pkgs/applications/window-managers/i3/gaps.nix+3−3 pkgs/applications/window-managers/i3/lock-color.nix+13−10 pkgs/applications/window-managers/i3/lock-fancy.nix+7−7 pkgs/applications/window-managers/i3/lock.nix+2−2 pkgs/applications/window-managers/i3/pystatus.nix+12−7 pkgs/applications/window-managers/i3/status-rust.nix+27 pkgs/applications/window-managers/i3/status.nix+1−1 pkgs/applications/window-managers/i3/wk-switch.nix+32 pkgs/applications/window-managers/icewm/default.nix+6−1 pkgs/applications/window-managers/icewm/fix-strlcat_strlcpy.patch+236 pkgs/applications/window-managers/icewm/musl.patch+23 pkgs/applications/window-managers/jwm/default.nix+2−2 pkgs/applications/window-managers/kbdd/default.nix+2−2 pkgs/applications/window-managers/lemonbar/default.nix+3−3 pkgs/applications/window-managers/orbment/bemenu.nix+26 pkgs/applications/window-managers/orbment/default.nix+13−3 pkgs/applications/window-managers/oroborus/default.nix+1−1 pkgs/applications/window-managers/qtile/0001-Substitution-vars-for-absolute-paths.patch+4−17 pkgs/applications/window-managers/qtile/0002-Restore-PATH-and-PYTHONPATH.patch+35−40 pkgs/applications/window-managers/qtile/0003-Restart-executable.patch+3−15 pkgs/applications/window-managers/qtile/default.nix+8−7 pkgs/applications/window-managers/sawfish/default.nix+2−2 pkgs/applications/window-managers/stumpwm/default.nix+2−1 pkgs/applications/window-managers/sway/default.nix+3−3 pkgs/applications/window-managers/sxhkd/default.nix+2−2 pkgs/applications/window-managers/tabbed/default.nix+2−2 pkgs/applications/window-managers/trayer/default.nix+2−2 pkgs/applications/window-managers/velox/default.nix+40−12 pkgs/applications/window-managers/velox/dmenu.nix+37 pkgs/applications/window-managers/velox/st.nix+40 pkgs/applications/window-managers/velox/swc.nix+36 pkgs/applications/window-managers/velox/wld.nix+32 pkgs/applications/window-managers/way-cooler/bar.diff+37 pkgs/applications/window-managers/way-cooler/default.nix+82−16 pkgs/applications/window-managers/way-cooler/way-cooler.nix+1862 pkgs/applications/window-managers/way-cooler/wc-bg.nix+1379 pkgs/applications/window-managers/way-cooler/wc-grab.nix+801 pkgs/applications/window-managers/way-cooler/wc-lock.nix+1486 pkgs/applications/window-managers/weston/default.nix+5−5 pkgs/applications/window-managers/wtftw/default.nix+1−1 pkgs/applications/window-managers/xmonad-log-applet/default.nix−45 pkgs/applications/window-managers/xmonad/log-applet/default.nix+45 pkgs/applications/window-managers/xmonad-log-applet/fix-paths.patch → pkgs/applications/window-managers/xmonad/log-applet/fix-paths.patch pkgs/applications/window-managers/yabar/build.nix+1−3 pkgs/applications/window-managers/yabar/unstable.nix+15−7 pkgs/build-support/bintools-wrapper/add-flags.sh+40 pkgs/build-support/bintools-wrapper/add-hardening.sh+53 pkgs/build-support/bintools-wrapper/default.nix+315 pkgs/build-support/cc-wrapper/ld-solaris-wrapper.sh → pkgs/build-support/bintools-wrapper/ld-solaris-wrapper.sh pkgs/build-support/bintools-wrapper/ld-wrapper.sh+210 pkgs/build-support/bintools-wrapper/macos-sierra-reexport-hack.bash+246 pkgs/build-support/bintools-wrapper/setup-hook.sh+88 pkgs/build-support/binutils-wrapper/macos-sierra-reexport-hack.bash−108 pkgs/build-support/build-bazel-package/default.nix+78 pkgs/build-support/build-fhs-userenv/chroot-user.rb−169 pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.c+139 pkgs/build-support/build-fhs-userenv/chrootenv/default.nix+19 pkgs/build-support/build-fhs-userenv/default.nix+6−12 pkgs/build-support/build-fhs-userenv/env.nix+4−1 pkgs/build-support/build-pecl.nix−2 pkgs/build-support/build-setupcfg/default.nix+25 pkgs/build-support/cc-wrapper/add-flags.sh+8−32 pkgs/build-support/cc-wrapper/add-hardening.sh−10 pkgs/build-support/cc-wrapper/cc-wrapper.sh+10−3 pkgs/build-support/cc-wrapper/default.nix+83−185 pkgs/build-support/cc-wrapper/gnat-wrapper.sh−126 pkgs/build-support/cc-wrapper/gnatlink-wrapper.sh−40 pkgs/build-support/cc-wrapper/ld-wrapper.sh−205 pkgs/build-support/cc-wrapper/macos-sierra-reexport-hack.bash−106 pkgs/build-support/cc-wrapper/setup-hook.sh+44−44 pkgs/build-support/cc-wrapper/utils.sh+36 pkgs/build-support/closure-info.nix+17−41 pkgs/build-support/docker/default.nix+34−13 pkgs/build-support/docker/examples.nix+9−1 pkgs/build-support/docker/pull.nix+1−1 pkgs/build-support/docker/tarsum.go+1−1 pkgs/build-support/emacs/buffer.nix+4−1 pkgs/build-support/emacs/setup-hook.sh+5−1 pkgs/build-support/emacs/wrapper.nix+36−2 pkgs/build-support/fetchbower/default.nix+3−4 pkgs/build-support/fetchbzr/default.nix+3−3 pkgs/build-support/fetchcvs/default.nix+3−3 pkgs/build-support/fetchdarcs/default.nix+3−4 pkgs/build-support/fetchdocker/credentials.nix+38 pkgs/build-support/fetchdocker/default.nix+61 pkgs/build-support/fetchdocker/fetchDockerConfig.nix+13 pkgs/build-support/fetchdocker/fetchDockerLayer.nix+13 pkgs/build-support/fetchdocker/fetchdocker-builder.sh+28 pkgs/build-support/fetchdocker/generic-fetcher.nix+97 pkgs/build-support/fetchegg/default.nix+4−4 pkgs/build-support/fetchfossil/default.nix+1−1 pkgs/build-support/fetchgit/default.nix+5−5 pkgs/build-support/fetchgit/nix-prefetch-git+1−1 pkgs/build-support/fetchgit/private.nix+1−1 pkgs/build-support/fetchgx/default.nix+3−5 pkgs/build-support/fetchhg/default.nix+4−4 pkgs/build-support/fetchipfs/default.nix+1−1 pkgs/build-support/fetchmtn/default.nix+3−3 pkgs/build-support/fetchnuget/default.nix+1−1 pkgs/build-support/fetchpatch/default.nix+5−5 pkgs/build-support/fetchrepoproject/default.nix+4−4 pkgs/build-support/fetchs3/default.nix+3−3 pkgs/build-support/fetchsvn/builder.sh+1−5 pkgs/build-support/fetchsvn/default.nix+5−5 pkgs/build-support/fetchsvnssh/default.nix+3−3 pkgs/build-support/fetchurl/default.nix+20−17 pkgs/build-support/fetchurl/mirrors.nix+1−1 pkgs/build-support/gcc-wrapper-old/add-flags−28 pkgs/build-support/gcc-wrapper-old/builder.sh−215 pkgs/build-support/gcc-wrapper-old/default.nix−99 pkgs/build-support/gcc-wrapper-old/gcc-wrapper-old.sh−146 pkgs/build-support/gcc-wrapper-old/gcc-wrapper.sh−147 pkgs/build-support/gcc-wrapper-old/gnat-wrapper.sh−113 pkgs/build-support/gcc-wrapper-old/gnatlink-wrapper.sh−43 pkgs/build-support/gcc-wrapper-old/ld-solaris-wrapper.sh−40 pkgs/build-support/gcc-wrapper-old/ld-wrapper.sh−166 pkgs/build-support/gcc-wrapper-old/setup-hook.sh−33 pkgs/build-support/gcc-wrapper-old/utils.sh−26 pkgs/build-support/kernel/make-initrd.nix+2 pkgs/build-support/kernel/modules-closure.nix+3−3 pkgs/build-support/kernel/modules-closure.sh+23 pkgs/build-support/kernel/paths-from-graph.pl+2 pkgs/build-support/libredirect/default.nix+6 pkgs/build-support/mkshell/default.nix+46 pkgs/build-support/release/debian-build.nix+1−1 pkgs/build-support/release/source-tarball.nix+2−1 pkgs/build-support/rust/build-rust-crate.nix+460 pkgs/build-support/rust/cargo-vendor.nix−32 pkgs/build-support/rust/cargo-vendor/cargo-vendor.nix+1487 pkgs/build-support/rust/cargo-vendor/default.nix+10 pkgs/build-support/rust/carnix.nix+1450 pkgs/build-support/rust/default-crate-overrides.nix+72 pkgs/build-support/rust/default.nix+29−14 pkgs/build-support/rust/fetchcargo.nix+4−3 pkgs/build-support/rust/fetchcrate.nix+35 pkgs/build-support/setup-hooks/auto-patchelf.sh+174 pkgs/build-support/setup-hooks/find-xml-catalogs.sh+1−1 pkgs/build-support/setup-hooks/gog-unpack.sh+11 pkgs/build-support/setup-hooks/ld-is-cc-hook.sh+5 pkgs/build-support/setup-hooks/make-wrapper.sh+12−6 pkgs/build-support/setup-hooks/multiple-outputs.sh+2−11 pkgs/build-support/setup-hooks/patch-shebangs.sh+4 pkgs/build-support/setup-hooks/separate-debug-info.sh+3−3 pkgs/build-support/setup-hooks/set-java-classpath.sh+1−1 pkgs/build-support/setup-hooks/setup-debug-info-dirs.sh+1−1 pkgs/build-support/setup-hooks/strip.sh+29−8 pkgs/build-support/setup-hooks/win-dll-link.sh+1−1 pkgs/build-support/setup-hooks/wrap-gapps-hook.sh+1−1 pkgs/build-support/singularity-tools/default.nix+6−2 pkgs/build-support/trivial-builders.nix+4−3 pkgs/build-support/vm/default.nix+130−1085 pkgs/build-support/vm/windows/cygwin-iso/default.nix−1 pkgs/common-updater/scripts/update-source-version+29−7 pkgs/data/documentation/bgnet/default.nix+1−1 pkgs/data/documentation/man-pages/default.nix+2−3 pkgs/data/documentation/mustache-spec/default.nix+1−1 pkgs/data/documentation/stdman/default.nix+4−4 pkgs/data/documentation/zeal/default.nix+4−4 pkgs/data/documentation/zeal/remove_ads.patch+20−11 pkgs/data/fonts/babelstone-han/default.nix+4−4 pkgs/data/fonts/cantarell-fonts/default.nix+17−8 pkgs/data/fonts/clearlyU/default.nix+1−1 pkgs/data/fonts/corefonts/default.nix+1−1 pkgs/data/fonts/dejavu-fonts/default.nix+3−3 pkgs/data/fonts/dina-pcf/default.nix+1−1 pkgs/data/fonts/emojione/default.nix+1−1 pkgs/data/fonts/envypn-font/default.nix+1−1 pkgs/data/fonts/fantasque-sans-mono/default.nix+10−6 pkgs/data/fonts/fira-code/default.nix+2−2 pkgs/data/fonts/fira-code/symbols.nix+1−1 pkgs/data/fonts/fixedsys-excelsior/default.nix+38 pkgs/data/fonts/font-awesome-ttf/default.nix → pkgs/data/fonts/font-awesome-4/default.nix pkgs/data/fonts/font-awesome-5/default.nix+30 pkgs/data/fonts/gentium-book-basic/default.nix+1−1 pkgs/data/fonts/gentium/default.nix+2−2 pkgs/data/fonts/gohufont/default.nix+1−1 pkgs/data/fonts/hack/default.nix+5−7 pkgs/data/fonts/hasklig/default.nix+1−1 pkgs/data/fonts/ibm-plex/default.nix+25 pkgs/data/fonts/inconsolata/default.nix+7−9 pkgs/data/fonts/inconsolata/lgc.nix+1−1 pkgs/data/fonts/input-fonts/default.nix+1−1 pkgs/data/fonts/iosevka/bin.nix+28 pkgs/data/fonts/iosevka/default.nix+86−10 pkgs/data/fonts/iosevka/package-lock.json+1025 pkgs/data/fonts/iosevka/package-lock.nix+142 pkgs/data/fonts/kochi-substitute/default.nix+1−1 pkgs/data/fonts/league-of-moveable-type/default.nix+2−2 pkgs/data/fonts/meslo-lg/default.nix+1−1 pkgs/data/fonts/migmix/default.nix+44 pkgs/data/fonts/migu/default.nix+43 pkgs/data/fonts/mplus-outline-fonts/default.nix+2−2 pkgs/data/fonts/myrica/default.nix+23 pkgs/data/fonts/nafees/default.nix+1−1 pkgs/data/fonts/nerdfonts/default.nix+2−2 pkgs/data/fonts/noto-fonts/default.nix+6−6 pkgs/data/fonts/noto-fonts/tools.nix+32 pkgs/data/fonts/open-dyslexic/default.nix+1−1 pkgs/data/fonts/poly/default.nix+1−1 pkgs/data/fonts/proggyfonts/default.nix+1−1 pkgs/data/fonts/raleway/default.nix+1−1 pkgs/data/fonts/redhat-liberation-fonts/default.nix+6−6 pkgs/data/fonts/ricty/default.nix+38 pkgs/data/fonts/roboto/default.nix+3−3 pkgs/data/fonts/scheherazade/default.nix+43 pkgs/data/fonts/siji/default.nix+1−1 pkgs/data/fonts/tempora-lgc/default.nix+2−2 pkgs/data/fonts/tewi/default.nix+1−1 pkgs/data/fonts/tex-gyre-math/default.nix+37−34 pkgs/data/fonts/tex-gyre/default.nix+90 pkgs/data/fonts/tlwg/default.nix+27 pkgs/data/fonts/twemoji-color-font/default.nix+43 pkgs/data/fonts/ucs-fonts/default.nix+1−1 pkgs/data/fonts/uni-vga/default.nix+1−1 pkgs/data/fonts/unifont/default.nix+1−1 pkgs/data/fonts/unscii/default.nix−1 pkgs/data/fonts/vdrsymbols/default.nix+27 pkgs/data/fonts/vista-fonts/default.nix+1−1 pkgs/data/fonts/zilla-slab/default.nix+34 pkgs/data/icons/arc-icon-theme/default.nix+4−4 pkgs/data/icons/elementary-icon-theme/default.nix+6−13 pkgs/data/icons/elementary-xfce-icon-theme/default.nix+34 pkgs/data/icons/faba-icon-theme/default.nix+4−4 pkgs/data/icons/faba-mono-icons/default.nix+11−7 pkgs/data/icons/hicolor-icon-theme/default.nix+4−4 pkgs/data/icons/hicolor-icon-theme/setup-hook.sh+2−1 pkgs/data/icons/maia-icon-theme/default.nix+10−12 pkgs/data/icons/moka-icon-theme/default.nix+7−7 pkgs/data/icons/numix-icon-theme-circle/default.nix+10−6 pkgs/data/icons/numix-icon-theme-square/default.nix+11−7 pkgs/data/icons/numix-icon-theme/default.nix+16−12 pkgs/data/icons/paper-icon-theme/default.nix+12−10 pkgs/data/icons/papirus-icon-theme/default.nix+14−9 pkgs/data/misc/adapta-backgrounds/default.nix+4−4 pkgs/data/misc/brise/default.nix+1−1 pkgs/data/misc/cacert/default.nix+10−2 pkgs/data/misc/cacert/setup-hook.sh+5 pkgs/data/misc/dns-root-data/default.nix+8−2 pkgs/data/misc/geolite-legacy/default.nix+8−8 pkgs/data/misc/hackage/default.nix+2−2 pkgs/data/misc/iana-etc/default.nix+2−2 pkgs/data/misc/libkkc-data/default.nix+22 pkgs/data/misc/media-player-info/default.nix+4−4 pkgs/data/misc/mime-types/default.nix+21 pkgs/data/misc/osinfo-db/default.nix+26 pkgs/data/misc/poppler-data/default.nix+4−8 pkgs/data/misc/scowl/default.nix+113 pkgs/data/misc/sound-theme-freedesktop/default.nix−1 pkgs/data/misc/tzdata/default.nix+20−2 pkgs/data/misc/tzdata/tzdata-setup-hook.sh+5 pkgs/data/misc/wireless-regdb/default.nix+3−3 pkgs/data/sgml+xml/schemas/docbook-5.0/default.nix+2−2 pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix+2−2 pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix+2−2 pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/builder.sh−6 pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/default.nix+11−3 pkgs/data/sgml+xml/schemas/xml-dtd/docbook/builder.sh−7 pkgs/data/sgml+xml/schemas/xml-dtd/docbook/generic.nix+14−5 pkgs/data/sgml+xml/schemas/xml-dtd/xhtml1/default.nix+1−1 pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix+22−4 pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/docbook-xsl-ns-infinite.patch+30 pkgs/desktops/deepin/deepin-gtk-theme/default.nix+25 pkgs/desktops/deepin/deepin-icon-theme/default.nix+39 pkgs/desktops/deepin/deepin-terminal/default.nix+46 pkgs/desktops/deepin/default.nix+16 pkgs/desktops/enlightenment/econnman.nix+2−3 pkgs/desktops/enlightenment/efl.nix+11−5 pkgs/desktops/enlightenment/enlightenment.nix+3−3 pkgs/desktops/enlightenment/enlightenment.suid-exes.patch+2−2 pkgs/desktops/enlightenment/ephoto.nix+2−6 pkgs/desktops/enlightenment/rage.nix+7−10 pkgs/desktops/enlightenment/terminology.nix+1−8 pkgs/desktops/gnome-2/bindings/libglademm/default.nix+3−1 pkgs/desktops/gnome-2/default.nix+12−9 pkgs/desktops/gnome-2/desktop/gnome-control-center/default.nix+9−9 pkgs/desktops/gnome-2/desktop/gnome-desktop/default.nix+2−2 pkgs/desktops/gnome-2/desktop/gnome-keyring/default.nix+2−2 pkgs/desktops/gnome-2/desktop/gnome-panel/default.nix+7−7 pkgs/desktops/gnome-2/desktop/gnome-session/default.nix−20 pkgs/desktops/gnome-2/desktop/gnome-settings-daemon/default.nix+3−3 pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix+4−2 pkgs/desktops/gnome-2/desktop/libgnomekbd/default.nix+2−2 pkgs/desktops/gnome-2/desktop/mail-notification/default.nix+2−2 pkgs/desktops/gnome-2/desktop/metacity/default.nix+5−5 pkgs/desktops/gnome-2/desktop/vte/default.nix+12−2 pkgs/desktops/gnome-2/desktop/vte/vte-0.28.2-limit-arguments.patch−40 pkgs/desktops/gnome-2/desktop/zenity/default.nix+3−3 pkgs/desktops/gnome-2/platform/GConf/default.nix+2−2 pkgs/desktops/gnome-2/platform/ORBit2/default.nix+3−3 pkgs/desktops/gnome-2/platform/at-spi/default.nix+2−2 pkgs/desktops/gnome-2/platform/gnome-common/default.nix+1−1 pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix+2−2 pkgs/desktops/gnome-2/platform/gtkglext/default.nix+16−5 pkgs/desktops/gnome-2/platform/gtkglextmm/default.nix+2−2 pkgs/desktops/gnome-2/platform/gtkhtml/4.x.nix+2−2 pkgs/desktops/gnome-2/platform/libbonobo/default.nix+1−1 pkgs/desktops/gnome-2/platform/libglade/default.nix−2 pkgs/desktops/gnome-2/platform/libgnome/default.nix+2−2 pkgs/desktops/gnome-2/platform/libgnomeui/default.nix+2−2 pkgs/desktops/gnome-3/apps/accerciser/default.nix+22−6 pkgs/desktops/gnome-3/apps/accerciser/src.nix−10 pkgs/desktops/gnome-3/apps/bijiben/default.nix+41−23 pkgs/desktops/gnome-3/apps/bijiben/src.nix−10 pkgs/desktops/gnome-3/apps/cheese/default.nix+44−13 pkgs/desktops/gnome-3/apps/cheese/src.nix−10 pkgs/desktops/gnome-3/apps/evolution/default.nix+36−32 pkgs/desktops/gnome-3/apps/evolution/src.nix−10 pkgs/desktops/gnome-3/apps/file-roller/default.nix+27−8 pkgs/desktops/gnome-3/apps/file-roller/src.nix−10 pkgs/desktops/gnome-3/apps/gedit/default.nix+22−13 pkgs/desktops/gnome-3/apps/gedit/src.nix−10 pkgs/desktops/gnome-3/apps/ghex/default.nix+11−1 pkgs/desktops/gnome-3/apps/ghex/src.nix−10 pkgs/desktops/gnome-3/apps/glade/default.nix+20−26 pkgs/desktops/gnome-3/apps/glade/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix+35−19 pkgs/desktops/gnome-3/apps/gnome-boxes/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix+27−10 pkgs/desktops/gnome-3/apps/gnome-calendar/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-characters/default.nix+26−7 pkgs/desktops/gnome-3/apps/gnome-characters/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix+26−14 pkgs/desktops/gnome-3/apps/gnome-clocks/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-documents/default.nix+38−22 pkgs/desktops/gnome-3/apps/gnome-documents/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix+11−1 pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-logs/default.nix+17−7 pkgs/desktops/gnome-3/apps/gnome-logs/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-maps/default.nix+28−11 pkgs/desktops/gnome-3/apps/gnome-maps/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-music/default.nix+38−17 pkgs/desktops/gnome-3/apps/gnome-music/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-photos/default.nix+34−19 pkgs/desktops/gnome-3/apps/gnome-photos/src.nix−10 pkgs/desktops/gnome-3/apps/gnome-power-manager/default.nix+58 pkgs/desktops/gnome-3/apps/gnome-weather/default.nix+19−6 pkgs/desktops/gnome-3/apps/gnome-weather/src.nix−10 pkgs/desktops/gnome-3/apps/nautilus-sendto/default.nix+13−4 pkgs/desktops/gnome-3/apps/polari/default.nix+30−11 pkgs/desktops/gnome-3/apps/polari/src.nix−10 pkgs/desktops/gnome-3/apps/seahorse/default.nix+26−17 pkgs/desktops/gnome-3/apps/seahorse/src.nix−10 pkgs/desktops/gnome-3/apps/vinagre/default.nix+11−1 pkgs/desktops/gnome-3/apps/vinagre/src.nix−10 pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix+13−3 pkgs/desktops/gnome-3/core/adwaita-icon-theme/src.nix−10 pkgs/desktops/gnome-3/core/baobab/default.nix+24−14 pkgs/desktops/gnome-3/core/baobab/src.nix−10 pkgs/desktops/gnome-3/core/caribou/default.nix+22−10 pkgs/desktops/gnome-3/core/dconf-editor/default.nix+26−8 pkgs/desktops/gnome-3/core/dconf-editor/src.nix−10 pkgs/desktops/gnome-3/core/dconf/default.nix+22−13 pkgs/desktops/gnome-3/core/empathy/default.nix+42−41 pkgs/desktops/gnome-3/core/eog/default.nix+33−11 pkgs/desktops/gnome-3/core/eog/src.nix−10 pkgs/desktops/gnome-3/core/epiphany/default.nix+37−24 pkgs/desktops/gnome-3/core/epiphany/src.nix−10 pkgs/desktops/gnome-3/core/evince/default.nix+30−31 pkgs/desktops/gnome-3/core/evince/src.nix−10 pkgs/desktops/gnome-3/core/evolution-data-server/default.nix+39−18 pkgs/desktops/gnome-3/core/evolution-data-server/src.nix−10 pkgs/desktops/gnome-3/core/folks/default.nix+17−10 pkgs/desktops/gnome-3/core/gconf/default.nix+4−4 pkgs/desktops/gnome-3/core/gcr/default.nix+17−8 pkgs/desktops/gnome-3/core/gcr/src.nix−10 pkgs/desktops/gnome-3/core/gdm/default.nix+27−7 pkgs/desktops/gnome-3/core/gdm/gdm-x-session_path.patch−19 pkgs/desktops/gnome-3/core/gdm/src.nix−10 pkgs/desktops/gnome-3/core/geocode-glib/default.nix+30−6 pkgs/desktops/gnome-3/core/geocode-glib/installed-tests-path.patch+8 pkgs/desktops/gnome-3/core/geocode-glib/src.nix−10 pkgs/desktops/gnome-3/core/gjs/default.nix+34−9 pkgs/desktops/gnome-3/core/gjs/src.nix−10 pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix+13−3 pkgs/desktops/gnome-3/core/gnome-backgrounds/src.nix−10 pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix+19−10 pkgs/desktops/gnome-3/core/gnome-bluetooth/src.nix−10 pkgs/desktops/gnome-3/core/gnome-calculator/default.nix+32−12 pkgs/desktops/gnome-3/core/gnome-calculator/src.nix−10 pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix+30 pkgs/desktops/gnome-3/core/gnome-common/default.nix+12−2 pkgs/desktops/gnome-3/core/gnome-common/src.nix−10 pkgs/desktops/gnome-3/core/gnome-contacts/default.nix+41−30 pkgs/desktops/gnome-3/core/gnome-contacts/gio_unix.patch−10 pkgs/desktops/gnome-3/core/gnome-contacts/src.nix−10 pkgs/desktops/gnome-3/core/gnome-control-center/default.nix+48−34 pkgs/desktops/gnome-3/core/gnome-control-center/paths.patch+82 pkgs/desktops/gnome-3/core/gnome-control-center/src.nix−10 pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patch+19 pkgs/desktops/gnome-3/core/gnome-desktop/default.nix+33−10 pkgs/desktops/gnome-3/core/gnome-desktop/src.nix−10 pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix+21−18 pkgs/desktops/gnome-3/core/gnome-dictionary/src.nix−10 pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix+26−15 pkgs/desktops/gnome-3/core/gnome-disk-utility/src.nix−10 pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix+17−17 pkgs/desktops/gnome-3/core/gnome-font-viewer/src.nix−10 pkgs/desktops/gnome-3/core/gnome-keyring/default.nix+38−8 pkgs/desktops/gnome-3/core/gnome-keyring/src.nix−10 pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix+37−10 pkgs/desktops/gnome-3/core/gnome-online-accounts/src.nix−10 pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix+15−12 pkgs/desktops/gnome-3/core/gnome-online-miners/src.nix−10 pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix+28−17 pkgs/desktops/gnome-3/core/gnome-screenshot/src.nix−10 pkgs/desktops/gnome-3/core/gnome-session/default.nix+39−14 pkgs/desktops/gnome-3/core/gnome-session/src.nix−10 pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix+46−13 pkgs/desktops/gnome-3/core/gnome-settings-daemon/fix-paths.patch+15 pkgs/desktops/gnome-3/core/gnome-settings-daemon/src.nix−10 pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix+48−7 pkgs/desktops/gnome-3/core/gnome-shell-extensions/fix_gmenu.patch+24 pkgs/desktops/gnome-3/core/gnome-shell-extensions/src.nix−10 pkgs/desktops/gnome-3/core/gnome-shell/default.nix+74−47 pkgs/desktops/gnome-3/core/gnome-shell/fix-paths.patch+11 pkgs/desktops/gnome-3/core/gnome-shell/src.nix−10 pkgs/desktops/gnome-3/core/gnome-software/default.nix+47−18 pkgs/desktops/gnome-3/core/gnome-software/fix-paths.patch+11 pkgs/desktops/gnome-3/core/gnome-software/src.nix−10 pkgs/desktops/gnome-3/core/gnome-system-log/default.nix+16−19 pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix+24−16 pkgs/desktops/gnome-3/core/gnome-system-monitor/src.nix−10 pkgs/desktops/gnome-3/core/gnome-terminal/default.nix+20−10 pkgs/desktops/gnome-3/core/gnome-terminal/src.nix−10 pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix+28 pkgs/desktops/gnome-3/core/gnome-themes-standard/default.nix−15 pkgs/desktops/gnome-3/core/gnome-themes-standard/src.nix−10 pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix+11−1 pkgs/desktops/gnome-3/core/gnome-user-docs/src.nix−10 pkgs/desktops/gnome-3/core/gnome-user-share/default.nix+13−3 pkgs/desktops/gnome-3/core/gnome-user-share/src.nix−12 pkgs/desktops/gnome-3/core/grilo-plugins/default.nix+25−13 pkgs/desktops/gnome-3/core/grilo/default.nix+15−6 pkgs/desktops/gnome-3/core/grilo/setup-hook.sh+1−1 pkgs/desktops/gnome-3/core/gsettings-desktop-schemas/default.nix+21−7 pkgs/desktops/gnome-3/core/gsettings-desktop-schemas/src.nix−10 pkgs/desktops/gnome-3/core/gsound/default.nix+15−7 pkgs/desktops/gnome-3/core/gtksourceview/default.nix−23 pkgs/desktops/gnome-3/core/gtksourceview/src.nix−10 pkgs/desktops/gnome-3/core/gtksourceviewmm/default.nix+12−2 pkgs/desktops/gnome-3/core/gtksourceviewmm/src.nix−10 pkgs/desktops/gnome-3/core/gucharmap/default.nix+19−13 pkgs/desktops/gnome-3/core/gucharmap/src.nix−10 pkgs/desktops/gnome-3/core/gucharmap/unicode-data.nix+1−1 pkgs/desktops/gnome-3/core/libcroco/default.nix+26−5 pkgs/desktops/gnome-3/core/libgdata/default.nix+17−7 pkgs/desktops/gnome-3/core/libgee/default.nix+14−6 pkgs/desktops/gnome-3/core/libgepub/default.nix+19−9 pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix+15−4 pkgs/desktops/gnome-3/core/libgnomekbd/default.nix+13−3 pkgs/desktops/gnome-3/core/libgnomekbd/src.nix−10 pkgs/desktops/gnome-3/core/libgweather/default.nix+38−8 pkgs/desktops/gnome-3/core/libgweather/src.nix−10 pkgs/desktops/gnome-3/core/libgxps/default.nix+20−5 pkgs/desktops/gnome-3/core/libpeas/default.nix+16−2 pkgs/desktops/gnome-3/core/libpeas/src.nix−13 pkgs/desktops/gnome-3/core/libzapojit/default.nix+20−6 pkgs/desktops/gnome-3/core/mutter/default.nix+22−22 pkgs/desktops/gnome-3/core/mutter/src.nix−10 pkgs/desktops/gnome-3/core/nautilus/default.nix+34−15 pkgs/desktops/gnome-3/core/nautilus/src.nix−10 pkgs/desktops/gnome-3/core/rest/default.nix+16−6 pkgs/desktops/gnome-3/core/simple-scan/default.nix+24−14 pkgs/desktops/gnome-3/core/simple-scan/src.nix−10 pkgs/desktops/gnome-3/core/sushi/default.nix+14−4 pkgs/desktops/gnome-3/core/sushi/src.nix−10 pkgs/desktops/gnome-3/core/totem-pl-parser/default.nix+13−3 pkgs/desktops/gnome-3/core/totem-pl-parser/src.nix−10 pkgs/desktops/gnome-3/core/totem/default.nix+44−18 pkgs/desktops/gnome-3/core/totem/src.nix−10 pkgs/desktops/gnome-3/core/tracker-miners/default.nix+61 pkgs/desktops/gnome-3/core/tracker-miners/fix-paths.patch+20 pkgs/desktops/gnome-3/core/tracker/default.nix+30−33 pkgs/desktops/gnome-3/core/tracker/src.nix−10 pkgs/desktops/gnome-3/core/vino/default.nix+24−20 pkgs/desktops/gnome-3/core/vino/src.nix−10 pkgs/desktops/gnome-3/core/vte/default.nix+15−6 pkgs/desktops/gnome-3/core/vte/ng.nix+3−3 pkgs/desktops/gnome-3/core/vte/src.nix−10 pkgs/desktops/gnome-3/core/yelp-tools/default.nix+12−2 pkgs/desktops/gnome-3/core/yelp-tools/src.nix−10 pkgs/desktops/gnome-3/core/yelp-xsl/default.nix+11−1 pkgs/desktops/gnome-3/core/yelp-xsl/src.nix−10 pkgs/desktops/gnome-3/core/yelp/default.nix+20−11 pkgs/desktops/gnome-3/core/yelp/src.nix−10 pkgs/desktops/gnome-3/core/zenity/default.nix+13−3 pkgs/desktops/gnome-3/core/zenity/src.nix−10 pkgs/desktops/gnome-3/default.nix+89−52 pkgs/desktops/gnome-3/desktop/rarian/default.nix+18−4 pkgs/desktops/gnome-3/devtools/anjuta/default.nix+22−6 pkgs/desktops/gnome-3/devtools/anjuta/src.nix−10 pkgs/desktops/gnome-3/devtools/devhelp/default.nix+21−7 pkgs/desktops/gnome-3/devtools/devhelp/src.nix−10 pkgs/desktops/gnome-3/devtools/gdl/default.nix+11−1 pkgs/desktops/gnome-3/devtools/gdl/src.nix−10 pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix+11−1 pkgs/desktops/gnome-3/devtools/gnome-devel-docs/src.nix−10 pkgs/desktops/gnome-3/devtools/nemiver/default.nix+11−1 pkgs/desktops/gnome-3/devtools/nemiver/src.nix−11 pkgs/desktops/gnome-3/extensions/appindicator/default.nix+33 pkgs/desktops/gnome-3/extensions/battery-status/default.nix+27 pkgs/desktops/gnome-3/extensions/chrome-gnome-shell/default.nix+36−24 pkgs/desktops/gnome-3/extensions/clipboard-indicator/default.nix+28 pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix+2−2 pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix+26 pkgs/desktops/gnome-3/extensions/icon-hider/default.nix+28 pkgs/desktops/gnome-3/extensions/impatience.nix+6−5 pkgs/desktops/gnome-3/extensions/mediaplayer/default.nix+36 pkgs/desktops/gnome-3/extensions/no-title-bar/default.nix+35 pkgs/desktops/gnome-3/extensions/no-title-bar/fix-paths.patch+56 pkgs/desktops/gnome-3/extensions/nohotcorner/default.nix+30 pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix+32 pkgs/desktops/gnome-3/extensions/system-monitor.nix−34 pkgs/desktops/gnome-3/extensions/system-monitor/default.nix+45 pkgs/desktops/gnome-3/extensions/system-monitor/paths_and_nonexisting_dirs.patch+23 pkgs/desktops/gnome-3/extensions/taskwhisperer/default.nix+43 pkgs/desktops/gnome-3/extensions/taskwhisperer/fix-paths.patch+81 pkgs/desktops/gnome-3/extensions/timepp/default.nix+26 pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix+3−3 pkgs/desktops/gnome-3/find-latest-version.py+60 pkgs/desktops/gnome-3/games/aisleriot/default.nix+14−4 pkgs/desktops/gnome-3/games/aisleriot/src.nix−10 pkgs/desktops/gnome-3/games/five-or-more/default.nix+11−1 pkgs/desktops/gnome-3/games/five-or-more/src.nix−10 pkgs/desktops/gnome-3/games/four-in-a-row/default.nix+17−7 pkgs/desktops/gnome-3/games/four-in-a-row/src.nix−10 pkgs/desktops/gnome-3/games/gnome-chess/default.nix+23−8 pkgs/desktops/gnome-3/games/gnome-chess/src.nix−10 pkgs/desktops/gnome-3/games/gnome-klotski/default.nix+21−9 pkgs/desktops/gnome-3/games/gnome-klotski/src.nix−10 pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix+11−1 pkgs/desktops/gnome-3/games/gnome-mahjongg/src.nix−10 pkgs/desktops/gnome-3/games/gnome-mines/default.nix+24−8 pkgs/desktops/gnome-3/games/gnome-mines/src.nix−10 pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix+13−3 pkgs/desktops/gnome-3/games/gnome-nibbles/src.nix−10 pkgs/desktops/gnome-3/games/gnome-robots/default.nix+13−3 pkgs/desktops/gnome-3/games/gnome-robots/src.nix−10 pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix+13−3 pkgs/desktops/gnome-3/games/gnome-sudoku/src.nix−10 pkgs/desktops/gnome-3/games/gnome-taquin/default.nix+13−3 pkgs/desktops/gnome-3/games/gnome-taquin/src.nix−10 pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix+11−1 pkgs/desktops/gnome-3/games/gnome-tetravex/src.nix−10 pkgs/desktops/gnome-3/games/hitori/default.nix+8−3 pkgs/desktops/gnome-3/games/hitori/src.nix−10 pkgs/desktops/gnome-3/games/iagno/default.nix+13−3 pkgs/desktops/gnome-3/games/iagno/src.nix−10 pkgs/desktops/gnome-3/games/lightsoff/default.nix+18−6 pkgs/desktops/gnome-3/games/lightsoff/src.nix−10 pkgs/desktops/gnome-3/games/quadrapassel/default.nix+15−5 pkgs/desktops/gnome-3/games/quadrapassel/src.nix−10 pkgs/desktops/gnome-3/games/swell-foop/default.nix+25−8 pkgs/desktops/gnome-3/games/swell-foop/src.nix−10 pkgs/desktops/gnome-3/games/tali/default.nix+11−1 pkgs/desktops/gnome-3/games/tali/src.nix−10 pkgs/desktops/gnome-3/misc/california/0002-Build-with-evolution-data-server-3.13.90.patch−39 pkgs/desktops/gnome-3/misc/california/default.nix+23−21 pkgs/desktops/gnome-3/misc/geary/default.nix+27−18 pkgs/desktops/gnome-3/misc/gexiv2/default.nix+17−9 pkgs/desktops/gnome-3/misc/gfbgraph/default.nix+21−7 pkgs/desktops/gnome-3/misc/gitg/default.nix+35−20 pkgs/desktops/gnome-3/misc/gitg/src.nix−10 pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix+11−1 pkgs/desktops/gnome-3/misc/gnome-autoar/src.nix−10 pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix+19−7 pkgs/desktops/gnome-3/misc/gnome-packagekit/src.nix−10 pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0001-Search-for-themes-and-icons-in-system-data-dirs.patch−123 pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0002-Don-t-show-multiple-entries-for-a-single-theme.patch−103 pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0003-Create-config-dir-if-it-doesn-t-exist.patch−27 pkgs/desktops/gnome-3/misc/gnome-tweak-tool/default.nix−43 pkgs/desktops/gnome-3/misc/gnome-tweak-tool/find_gsettings.patch−22 pkgs/desktops/gnome-3/misc/gnome-tweak-tool/src.nix−10 pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix+54 pkgs/desktops/gnome-3/misc/gnome-video-effects/default.nix+16−8 pkgs/desktops/gnome-3/misc/gpaste/default.nix+4−4 pkgs/desktops/gnome-3/misc/gspell/default.nix+28−6 pkgs/desktops/gnome-3/misc/gspell/src.nix−10 pkgs/desktops/gnome-3/misc/gtkhtml/default.nix+12−2 pkgs/desktops/gnome-3/misc/gtkhtml/src.nix−10 pkgs/desktops/gnome-3/misc/libgames-support/default.nix−20 pkgs/desktops/gnome-3/misc/libgda/default.nix+26−7 pkgs/desktops/gnome-3/misc/libgda/src.nix−10 pkgs/desktops/gnome-3/misc/libgit2-glib/default.nix+34−5 pkgs/desktops/gnome-3/misc/libgit2-glib/src.nix−10 pkgs/desktops/gnome-3/misc/libgnome-games-support/default.nix+33 pkgs/desktops/gnome-3/misc/libmediaart/default.nix+15−6 pkgs/desktops/gnome-3/misc/pomodoro/default.nix+9−12 pkgs/desktops/gnome-3/update.nix+11 pkgs/desktops/gnustep/back/default.nix+2−2 pkgs/desktops/gnustep/base/default.nix+2−2 pkgs/desktops/gnustep/gorm/default.nix+2−2 pkgs/desktops/gnustep/gui/default.nix+2−2 pkgs/desktops/gnustep/make/default.nix+2−2 pkgs/desktops/gnustep/make/setup-hook.sh+1−1 pkgs/desktops/kde-4.14/CVE-2014-8600.diff−19 pkgs/desktops/kde-4.14/default.nix−36 pkgs/desktops/kde-4.14/files/ksysguard-0001-disable-signalplottertest.patch−36 pkgs/desktops/kde-4.14/kactivities.nix−21 pkgs/desktops/kde-4.14/kde-baseapps/kde-baseapps.nix−15 pkgs/desktops/kde-4.14/kde-package/4.14.3.nix−71 pkgs/desktops/kde-4.14/kde-package/default.nix−138 pkgs/desktops/kde-4.14/kde-package/kde-manifest.sh−173 pkgs/desktops/kde-4.14/kde-package/kde-submodules.xslt−22 pkgs/desktops/kde-4.14/kdeedu/marble.nix−12 pkgs/desktops/kde-4.14/kdegraphics/libkdcraw.nix−11 pkgs/desktops/kde-4.14/kdegraphics/libkexiv2.nix−10 pkgs/desktops/kde-4.14/kdegraphics/okular.nix−17 pkgs/desktops/kde-4.14/kdegraphics/svgpart.nix−10 pkgs/desktops/kde-4.14/kdelibs/baloo.nix−18 pkgs/desktops/kde-4.14/kdelibs/kfilemetadata.nix−14 pkgs/desktops/kde-4.14/kdemultimedia/libkcddb.nix−8 pkgs/desktops/kde-4.14/kdepimlibs.nix−35 pkgs/desktops/kde-4.14/l10n/default.nix−52 pkgs/desktops/kde-4.14/l10n/l10n-manifest.sh−32 pkgs/desktops/kde-4.14/l10n/manifest-4.14.3.nix−267 pkgs/desktops/kde-4.14/support/akonadi/default.nix−24 pkgs/desktops/lumina/default.nix+22−6 pkgs/desktops/lxde/core/lxappearance/default.nix+1−1 pkgs/desktops/lxde/core/lxmenu-data.nix+1−1 pkgs/desktops/lxde/core/lxpanel/default.nix+1−1 pkgs/desktops/lxde/core/lxtask/default.nix+34 pkgs/desktops/lxqt/base/libqtxdg/default.nix+5−1 pkgs/desktops/lxqt/core/lxqt-panel/default.nix+2−1 pkgs/desktops/lxqt/optional/obconf-qt/default.nix+2−2 pkgs/desktops/lxqt/optional/qlipper/default.nix+2−2 pkgs/desktops/mate/atril/default.nix+8−9 pkgs/desktops/mate/caja-dropbox/default.nix+33 pkgs/desktops/mate/caja-extensions/default.nix+6−7 pkgs/desktops/mate/caja/cajaWithExtensions.nix−11 pkgs/desktops/mate/caja/default.nix+5−6 pkgs/desktops/mate/default.nix+34−4 pkgs/desktops/mate/engrampa/default.nix+5−7 pkgs/desktops/mate/eom/default.nix+7−9 pkgs/desktops/mate/libmatekbd/default.nix+4−6 pkgs/desktops/mate/libmatemixer/default.nix+4−6 pkgs/desktops/mate/libmateweather/default.nix+4−6 pkgs/desktops/mate/marco/default.nix+5−7 pkgs/desktops/mate/mate-applets/default.nix+46 pkgs/desktops/mate/mate-backgrounds/default.nix+21 pkgs/desktops/mate/mate-calc/default.nix+31 pkgs/desktops/mate/mate-common/default.nix+4−6 pkgs/desktops/mate/mate-control-center/default.nix+10−12 pkgs/desktops/mate/mate-desktop/default.nix+4−6 pkgs/desktops/mate/mate-icon-theme-faenza/default.nix+5−7 pkgs/desktops/mate/mate-icon-theme/default.nix+8−10 pkgs/desktops/mate/mate-indicator-applet/default.nix+43 pkgs/desktops/mate/mate-media/default.nix+34 pkgs/desktops/mate/mate-menus/default.nix+4−6 pkgs/desktops/mate/mate-netbook/default.nix+40 pkgs/desktops/mate/mate-notification-daemon/default.nix+7−9 pkgs/desktops/mate/mate-panel/default.nix+6−8 pkgs/desktops/mate/mate-polkit/default.nix+32 pkgs/desktops/mate/mate-power-manager/default.nix+7−10 pkgs/desktops/mate/mate-screensaver/default.nix+40 pkgs/desktops/mate/mate-sensors-applet/default.nix+39 pkgs/desktops/mate/mate-session-manager/default.nix+13−12 pkgs/desktops/mate/mate-settings-daemon/default.nix+6−8 pkgs/desktops/mate/mate-system-monitor/default.nix+37 pkgs/desktops/mate/mate-terminal/default.nix+3−5 pkgs/desktops/mate/mate-themes/default.nix+6−14 pkgs/desktops/mate/mate-user-guide/default.nix+23 pkgs/desktops/mate/mate-user-share/default.nix+52 pkgs/desktops/mate/mate-utils/default.nix+35 pkgs/desktops/mate/mozo/default.nix+27 pkgs/desktops/mate/pluma/default.nix+3−5 pkgs/desktops/mate/python-caja/default.nix+34 pkgs/desktops/mate/update.sh+54 pkgs/desktops/maxx/default.nix+2−2 pkgs/desktops/pantheon/apps/pantheon-terminal/default.nix+10−16 pkgs/desktops/plasma-5/bluedevil.nix+2−2 pkgs/desktops/plasma-5/breeze-plymouth/default.nix+32−3 pkgs/desktops/plasma-5/breeze-qt4.nix−17 pkgs/desktops/plasma-5/default.nix+6−9 pkgs/desktops/plasma-5/fetch.sh+1−1 pkgs/desktops/plasma-5/kde-gtk-config/default.nix+3−2 pkgs/desktops/plasma-5/kgamma5.nix+2−2 pkgs/desktops/plasma-5/kinfocenter.nix+2−2 pkgs/desktops/plasma-5/kwin/default.nix+13−6 pkgs/desktops/plasma-5/kwin/no-setcap-install.patch+24 pkgs/desktops/plasma-5/kwin/series+1 pkgs/desktops/plasma-5/plasma-desktop/default.nix+4−3 pkgs/desktops/plasma-5/plasma-integration.nix−17 pkgs/desktops/plasma-5/plasma-integration/D9070.patch+24 pkgs/desktops/plasma-5/plasma-integration/default.nix+24 pkgs/desktops/plasma-5/plasma-nm/0001-mobile-broadband-provider-info-path.patch+1−1 pkgs/desktops/plasma-5/plasma-nm/default.nix+3−3 pkgs/desktops/plasma-5/plasma-pa.nix+2−2 pkgs/desktops/plasma-5/plasma-vault/default.nix+5−5 pkgs/desktops/plasma-5/plasma-workspace/plasma-workspace.patch+158−167 pkgs/desktops/plasma-5/sddm-kcm.nix+2−2 pkgs/desktops/plasma-5/srcs.nix+176−176 pkgs/desktops/plasma-5/systemsettings.nix+2−2 pkgs/desktops/plasma-5/user-manager.nix+13 pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix+13 pkgs/desktops/rox/rox-filer/default.nix+2−2 pkgs/desktops/xfce/applications/mousepad-12134.patch+90 pkgs/desktops/xfce/applications/mousepad.nix+4−2 pkgs/desktops/xfce/applications/orage.nix+3−3 pkgs/desktops/xfce/applications/parole.nix+4−4 pkgs/desktops/xfce/applications/ristretto.nix+5−5 pkgs/desktops/xfce/applications/terminal.nix+2−2 pkgs/desktops/xfce/applications/xfce4-mixer.nix+2−2 pkgs/desktops/xfce/applications/xfce4-screenshooter.nix+3−3 pkgs/desktops/xfce/core/exo.nix+2−2 pkgs/desktops/xfce/core/garcon-10967.patch+14 pkgs/desktops/xfce/core/garcon-12700.patch+44 pkgs/desktops/xfce/core/garcon.nix+1−1 pkgs/desktops/xfce/core/libxfce4ui.nix+2−2 pkgs/desktops/xfce/core/libxfcegui4.nix+2−2 pkgs/desktops/xfce/core/thunar-build.nix+5−5 pkgs/desktops/xfce/core/thunar.nix+3−3 pkgs/desktops/xfce/core/tumbler.nix+2−2 pkgs/desktops/xfce/core/xfce4-light-locker.patch+13−4 pkgs/desktops/xfce/core/xfce4-panel.nix+14−8 pkgs/desktops/xfce/core/xfce4-power-manager.nix+5−5 pkgs/desktops/xfce/core/xfce4-session.nix+5−5 pkgs/desktops/xfce/core/xfce4-settings.nix+27−10 pkgs/desktops/xfce/core/xfconf.nix+2−2 pkgs/desktops/xfce/core/xfdesktop.nix+12−8 pkgs/desktops/xfce/core/xfwm4.nix+2−2 pkgs/desktops/xfce/default.nix+195−96 pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-dict-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin.nix+1−1 pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix+3−3 pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix+3−3 pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix+5−4 pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix+4−4 pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin.nix+3−3 pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin.nix+2−2 pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin.nix+2−2 pkgs/desktops/xfce/thunar-plugins/archive/default.nix+2−2 pkgs/desktops/xfce4-13/automakeAddFlags.sh+7 pkgs/desktops/xfce4-13/default.nix+80 pkgs/desktops/xfce4-13/exo/default.nix+23 pkgs/desktops/xfce4-13/exo/gtk3-only.patch+28 pkgs/desktops/xfce4-13/garcon/12700.patch+37 pkgs/desktops/xfce4-13/garcon/13785.patch+75 pkgs/desktops/xfce4-13/garcon/default.nix+12 pkgs/desktops/xfce4-13/gigolo/default.nix+11 pkgs/desktops/xfce4-13/libxfce4ui/default.nix+18 pkgs/desktops/xfce4-13/libxfce4util/default.nix+16 pkgs/desktops/xfce4-13/mkXfceDerivation.nix+40 pkgs/desktops/xfce4-13/mousepad/default.nix+12 pkgs/desktops/xfce4-13/orage/default.nix+18 pkgs/desktops/xfce4-13/parole/default.nix+36 pkgs/desktops/xfce4-13/ristretto/default.nix+18 pkgs/desktops/xfce4-13/thunar-volman/default.nix+11 pkgs/desktops/xfce4-13/thunar/default.nix+30 pkgs/desktops/xfce4-13/tumbler/default.nix+14 pkgs/desktops/xfce4-13/xfburn/default.nix+18 pkgs/desktops/xfce4-13/xfce4-appfinder/default.nix+12 pkgs/desktops/xfce4-13/xfce4-dev-tools/default.nix+31 pkgs/desktops/xfce4-13/xfce4-dev-tools/setup-hook.sh+12 pkgs/desktops/xfce4-13/xfce4-dict/configure-gio.patch+11 pkgs/desktops/xfce4-13/xfce4-dict/default.nix+19 pkgs/desktops/xfce4-13/xfce4-mixer/default.nix+30 pkgs/desktops/xfce4-13/xfce4-notifyd/default.nix+13 pkgs/desktops/xfce4-13/xfce4-panel/default.nix+15 pkgs/desktops/xfce4-13/xfce4-power-manager/default.nix+19 pkgs/desktops/xfce4-13/xfce4-screenshooter/default.nix+11 pkgs/desktops/xfce4-13/xfce4-settings/default.nix+39 pkgs/desktops/xfce4-13/xfce4-taskmanager/default.nix+18 pkgs/desktops/xfce4-13/xfce4-terminal/default.nix+15 pkgs/desktops/xfce4-13/xfce4-volumed-pulse/default.nix+15 pkgs/desktops/xfce4-13/xfconf/default.nix+11 pkgs/desktops/xfce4-13/xfdesktop/default.nix+22 pkgs/desktops/xfce4-13/xfwm4/default.nix+27 pkgs/development/arduino/arduino-core/default.nix+8−8 pkgs/development/arduino/arduino-core/downloads.nix+23−16 pkgs/development/arduino/platformio/chrootenv.nix+36−20 pkgs/development/arduino/platformio/core.nix+30 pkgs/development/python-modules/platformio/fix-searchpath.patch → pkgs/development/arduino/platformio/fix-searchpath.patch pkgs/development/beam-modules/default.nix+6−1 pkgs/development/beam-modules/lib.nix+2−2 pkgs/development/compilers/adobe-flex-sdk/default.nix+1−1 pkgs/development/compilers/arachne-pnr/default.nix+12−4 pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/default.nix−98 pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/minorSOname.patch−49 pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/no-nested-deprecated-warnings.patch−22 pkgs/development/compilers/ats2/default.nix+3−5 pkgs/development/compilers/ats2/install-postiats-contrib.patch−19 pkgs/development/compilers/avian/default.nix+11−5 pkgs/development/compilers/binaryen/default.nix+21−4 pkgs/development/compilers/boo/default.nix+2−2 pkgs/development/compilers/ccl/default.nix+26−22 pkgs/development/compilers/chez/default.nix+46−11 pkgs/development/compilers/chicken/default.nix+3−3 pkgs/development/compilers/chicken/eggDerivation.nix+1−1 pkgs/development/compilers/chicken/setup-hook.sh+1−1 pkgs/development/compilers/closure/default.nix+2−2 pkgs/development/compilers/cmdstan/default.nix+4−4 pkgs/development/compilers/colm/default.nix+1−1 pkgs/development/compilers/compcert/default.nix+6−3 pkgs/development/compilers/coreclr/default.nix+14−5 pkgs/development/compilers/crystal/default.nix+19−23 pkgs/development/compilers/cudatoolkit/default.nix+57−25 pkgs/development/compilers/dmd/2.067.1.nix−167 pkgs/development/compilers/dmd/default.nix+272−154 pkgs/development/compilers/dtc/default.nix+23−6 pkgs/development/compilers/edk2/default.nix+32−12 pkgs/development/compilers/eli/default.nix+91 pkgs/development/compilers/elm/default.nix+15−10 pkgs/development/compilers/elm/packages/elm-interface-to-json.nix+24 pkgs/development/compilers/elm/packages/elm-package.nix+5−1 pkgs/development/compilers/emscripten-fastcomp/default.nix−26 pkgs/development/compilers/emscripten-fastcomp/emscripten-fastcomp.nix−54 pkgs/development/compilers/emscripten/default.nix+22−5 pkgs/development/compilers/emscripten/fastcomp/default.nix+28 pkgs/development/compilers/emscripten/fastcomp/emscripten-fastcomp.nix+55 pkgs/development/compilers/factor-lang/default.nix+4−4 pkgs/development/compilers/fpc/lazarus.nix+3−3 pkgs/development/compilers/fsharp/default.nix+1−1 pkgs/development/compilers/gambit/bootstrap.nix+4−4 pkgs/development/compilers/gambit/build.nix+70 pkgs/development/compilers/gambit/default.nix+8−69 pkgs/development/compilers/gambit/unstable.nix+11 pkgs/development/compilers/gcc/4.5/default.nix−471 pkgs/development/compilers/gcc/4.5/ghdl-ortho-cflags.patch−111 pkgs/development/compilers/gcc/4.5/no-sys-dirs.patch−54 pkgs/development/compilers/gcc/4.5/sources.nix−26 pkgs/development/compilers/gcc/4.8/default.nix+187−259 pkgs/development/compilers/gcc/4.9/default.nix+196−258 pkgs/development/compilers/gcc/5/default.nix+211−270 pkgs/development/compilers/gcc/6/default.nix+210−267 pkgs/development/compilers/gcc/6/fix-objdump-check.patch+43 pkgs/development/compilers/gcc/7/default.nix+231−276 pkgs/development/compilers/gcc/7/riscv-no-relax.patch+109 pkgs/development/compilers/gcc/7/riscv-pthread-reentrant.patch+13 pkgs/development/compilers/gcc/builder.sh+109−108 pkgs/development/compilers/gcc/gnat-cflags.patch−33 pkgs/development/compilers/gcc/libstdc++-hook.sh+1−1 pkgs/development/compilers/gcc/snapshot/default.nix+194−262 pkgs/development/compilers/gerbil/build.nix+88 pkgs/development/compilers/gerbil/default.nix+9−70 pkgs/development/compilers/gerbil/unstable.nix+12 pkgs/development/compilers/ghc/6.10.2-binary.nix−86 pkgs/development/compilers/ghc/6.10.4.nix−32 pkgs/development/compilers/ghc/6.12.3.nix−44 pkgs/development/compilers/ghc/7.0.4-binary.nix−119 pkgs/development/compilers/ghc/7.0.4.nix−57 pkgs/development/compilers/ghc/7.10.2.nix−88 pkgs/development/compilers/ghc/7.10.3-binary.nix+159 pkgs/development/compilers/ghc/7.10.3.nix+121−22 pkgs/development/compilers/ghc/7.2.2.nix−67 pkgs/development/compilers/ghc/7.4.2-binary.nix−133 pkgs/development/compilers/ghc/7.4.2.nix−66 pkgs/development/compilers/ghc/7.6.3.nix−92 pkgs/development/compilers/ghc/7.8.3.nix−59 pkgs/development/compilers/ghc/7.8.4.nix−62 pkgs/development/compilers/ghc/8.0.2.nix+128−26 pkgs/development/compilers/ghc/8.2.1-binary.nix+163 pkgs/development/compilers/ghc/8.2.1.nix−119 pkgs/development/compilers/ghc/8.2.2.nix+156−69 pkgs/development/compilers/ghc/8.4.1.nix+206 pkgs/development/compilers/ghc/8.4.2.nix+188 pkgs/development/compilers/ghc/abi-depends-determinism.nix+12 pkgs/development/compilers/ghc/fix-7.0.4-clang.patch−74 pkgs/development/compilers/ghc/fix-7.2.2-clang.patch−74 pkgs/development/compilers/ghc/fix-7.4.2-clang.patch−57 pkgs/development/compilers/ghc/fix-7.6.3-clang.patch−71 pkgs/development/compilers/ghc/head.nix+141−74 pkgs/development/compilers/ghc/hpc-7.8.4.patch−13 pkgs/development/compilers/ghcjs/base.nix+6−1 pkgs/development/compilers/ghcjs/default.nix+2−2 pkgs/development/compilers/ghcjs/head.nix+2−2 pkgs/development/compilers/ghdl/default.nix−44 pkgs/development/compilers/glslang/default.nix+19−5 pkgs/development/compilers/gnatboot/default.nix−48 pkgs/development/compilers/gnu-cobol/default.nix+17−12 pkgs/development/compilers/go/1.10.nix+184 pkgs/development/compilers/go/1.4.nix+3 pkgs/development/compilers/go/1.6.nix−168 pkgs/development/compilers/go/1.7.nix−170 pkgs/development/compilers/go/1.8.nix−178 pkgs/development/compilers/go/1.9.nix+14−15 pkgs/development/compilers/go/creds-test-1.9.patch+14 pkgs/development/compilers/go/creds-test.patch+11−12 pkgs/development/compilers/go/fix-systime-1.6.patch−45 pkgs/development/compilers/go/go-1.9-skip-flaky-19608.patch+12 pkgs/development/compilers/go/go-1.9-skip-flaky-20072.patch+20 pkgs/development/compilers/go/new-binutils.patch−194 pkgs/development/compilers/go/remove-test-pie-1.8.patch−23 pkgs/development/compilers/go/remove-test-pie.patch+24 pkgs/development/compilers/go/remove-tools-1.5.patch−48 pkgs/development/compilers/go/remove-tools-1.7.patch−35 pkgs/development/compilers/go/remove-tools-1.8.patch−35 pkgs/development/compilers/go/setup-hook.sh+1−1 pkgs/development/compilers/go/ssl-cert-file.patch−80 pkgs/development/compilers/go/strip.patch−12 pkgs/development/compilers/graalvm/default.nix+208 pkgs/development/compilers/halvm/2.4.0.nix−54 pkgs/development/compilers/haxe/default.nix+21−3 pkgs/development/compilers/haxe/setup-hook.sh+1−1 pkgs/development/compilers/hhvm/default.nix+8−11 pkgs/development/compilers/iasl/default.nix+2−2 pkgs/development/compilers/icedtea-web/default.nix+2−2 pkgs/development/compilers/ispc/default.nix+3−3 pkgs/development/compilers/jetbrains-jdk/default.nix+6−6 pkgs/development/compilers/jhc/default.nix−32 pkgs/development/compilers/jsonnet/default.nix+3−2 pkgs/development/compilers/julia/0.5.nix+1−2 pkgs/development/compilers/julia/0.6.nix+13−10 pkgs/development/compilers/julia/default.nix+3−2 pkgs/development/compilers/julia/git.nix+2−2 pkgs/development/compilers/jwasm/default.nix+27 pkgs/development/compilers/kotlin/default.nix+3−4 pkgs/development/compilers/ldc/default.nix+241−88 pkgs/development/compilers/llvm/3.4/clang.nix+1 pkgs/development/compilers/llvm/3.4/llvm.nix+3−3 pkgs/development/compilers/llvm/3.5/llvm.nix+3−3 pkgs/development/compilers/llvm/3.7/default.nix+2−6 pkgs/development/compilers/llvm/3.7/llvm.nix+2−2 pkgs/development/compilers/llvm/3.8/clang/default.nix+6−2 pkgs/development/compilers/llvm/3.8/default.nix+4−6 pkgs/development/compilers/llvm/3.8/llvm.nix+2−2 pkgs/development/compilers/llvm/3.9/clang/default.nix+6−2 pkgs/development/compilers/llvm/3.9/default.nix+4−6 pkgs/development/compilers/llvm/3.9/llvm.nix+2−2 pkgs/development/compilers/llvm/4/clang/default.nix+28−17 pkgs/development/compilers/llvm/4/cmdline-help.patch+39 pkgs/development/compilers/llvm/4/default.nix+4−7 pkgs/development/compilers/llvm/4/dynamiclibrary-musl.patch+33 pkgs/development/compilers/llvm/4/libc++/default.nix+8−4 pkgs/development/compilers/llvm/4/libc++/max_align_t.patch+54 pkgs/development/compilers/llvm/4/libc++abi.nix+3 pkgs/development/compilers/llvm/4/lldb.nix+10 pkgs/development/compilers/llvm/4/llvm.nix+40−14 pkgs/development/compilers/llvm/4/sanitizers-nongnu.patch+368 pkgs/development/compilers/llvm/5/clang/default.nix+29−18 pkgs/development/compilers/llvm/5/default.nix+7−10 pkgs/development/compilers/llvm/5/libc++/default.nix+12−5 pkgs/development/compilers/llvm/5/libc++abi.nix+3−1 pkgs/development/compilers/llvm/5/lld.nix+1−1 pkgs/development/compilers/llvm/5/lldb.nix+6−1 pkgs/development/compilers/llvm/5/llvm.nix+42−13 pkgs/development/compilers/llvm/5/openmp.nix+1−1 pkgs/development/compilers/llvm/5/sanitizers-nongnu.patch+370 pkgs/development/compilers/llvm/6/clang/default.nix+108 pkgs/development/compilers/llvm/6/clang/purity.patch+30 pkgs/development/compilers/llvm/6/compiler-rt-codesign.patch+155 pkgs/development/compilers/llvm/6/default.nix+78 pkgs/development/compilers/llvm/6/libc++/default.nix+51 pkgs/development/compilers/llvm/6/libc++/setup-hook.sh+3 pkgs/development/compilers/llvm/6/libc++abi.nix+49 pkgs/development/compilers/llvm/6/lld.nix+33 pkgs/development/compilers/llvm/6/lldb.nix+56 pkgs/development/compilers/llvm/6/llvm-outputs.patch+26 pkgs/development/compilers/llvm/6/llvm.nix+185

5076 more files changed are not listed.

.gitattributesnew file+16
@@ -0,0 +1,16 @@
1+**/deps.nix linguist-generated
2+**/node-packages.nix linguist-generated
3+
4+pkgs/applications/editors/emacs-modes/*-generated.nix linguist-generated
5+pkgs/development/r-modules/*-packages.nix linguist-generated
6+pkgs/development/haskell-modules/hackage-packages.nix linguist-generated
7+pkgs/development/beam-modules/hex-packages.nix linguist-generated
8+
9+doc/** linguist-documentation
10+doc/default.nix linguist-documentation=false
11+
12+nixos/doc/** linguist-documentation
13+nixos/doc/default.nix linguist-documentation=false
14+
15+nixos/modules/module-list.nix merge=union
16+# pkgs/top-level/all-packages.nix merge=union
.github/CODEOWNERS+22−8
@@ -10,18 +10,20 @@
1010# This file
1111/.github/CODEOWNERS @edolstra
1212
13−# Boostraping and core infra
14−/pkgs/stdenv @edolstra
15−/pkgs/build-support/cc-wrapper @edolstra
16−
1713# Libraries
1814/lib @edolstra @nbp
15+/lib/systems @nbp @ericson2314
16+/lib/generators.nix @edolstra @nbp @Profpatsch
1917
2018# Nixpkgs Internals
21−/default.nix @nbp
22−/pkgs/top-level/default.nix @nbp
23−/pkgs/top-level/impure.nix @nbp
24−/pkgs/top-level/stage.nix @nbp
19+/default.nix @nbp
20+/pkgs/top-level/default.nix @nbp @Ericson2314
21+/pkgs/top-level/impure.nix @nbp @Ericson2314
22+/pkgs/top-level/stage.nix @nbp @Ericson2314
23+/pkgs/stdenv
24+/pkgs/build-support/cc-wrapper @Ericson2314 @orivej
25+/pkgs/build-support/bintools-wrapper @Ericson2314 @orivej
26+/pkgs/build-support/setup-hooks @Ericson2314
2527
2628# NixOS Internals
2729/nixos/default.nix @nbp
@@ -62,6 +64,9 @@
6264/pkgs/development/interpreters/ruby @zimbatm
6365/pkgs/development/ruby-modules @zimbatm
6466
67+# Rust
68+/pkgs/development/compilers/rust @Mic92 @LnL7
69+
6570# Darwin-related
6671/pkgs/stdenv/darwin @NixOS/darwin-maintainers
6772/pkgs/os-specific/darwin @NixOS/darwin-maintainers
@@ -80,3 +85,12 @@
8085
8186# Eclipse
8287/pkgs/applications/editors/eclipse @rycee
88+
89+# https://github.com/NixOS/nixpkgs/issues/31401
90+/lib/licenses.nix @ghost
91+
92+# Qt / KDE
93+/pkgs/applications/kde @ttuegel
94+/pkgs/desktops/plasma-5 @ttuegel
95+/pkgs/development/libraries/kde-frameworks @ttuegel
96+/pkgs/development/libraries/qt-5 @ttuegel
.version+1−1
@@ -1 +1 @@
1−18.03
1+18.09
COPYING+1−1
@@ -1,4 +1,4 @@
1−Copyright (c) 2003-2017 Eelco Dolstra and the Nixpkgs/NixOS contributors
1+Copyright (c) 2003-2018 Eelco Dolstra and the Nixpkgs/NixOS contributors
22
33Permission is hereby granted, free of charge, to any person obtaining
44a copy of this software and associated documentation files (the
README.md+7−8
@@ -1,10 +1,9 @@
1−[<img src="http://nixos.org/logo/nixos-hires.png" width="500px" alt="logo" />](https://nixos.org/nixos)
1+[<img src="https://nixos.org/logo/nixos-hires.png" width="500px" alt="logo" />](https://nixos.org/nixos)
22
3−[![Build Status](https://travis-ci.org/NixOS/nixpkgs.svg?branch=master)](https://travis-ci.org/NixOS/nixpkgs)
43[![Code Triagers Badge](https://www.codetriage.com/nixos/nixpkgs/badges/users.svg)](https://www.codetriage.com/nixos/nixpkgs)
54
65Nixpkgs is a collection of packages for the [Nix](https://nixos.org/nix/) package
7−manager. It is periodically built and tested by the [hydra](http://hydra.nixos.org/)
6+manager. It is periodically built and tested by the [Hydra](https://hydra.nixos.org/)
87build daemon as so-called channels. To get channel information via git, add
98[nixpkgs-channels](https://github.com/NixOS/nixpkgs-channels.git) as a remote:
109
@@ -13,17 +12,17 @@ build daemon as so-called channels. To get channel information via git, add
1312```
1413
1514For stability and maximum binary package support, it is recommended to maintain
16−custom changes on top of one of the channels, e.g. `nixos-17.09` for the latest
15+custom changes on top of one of the channels, e.g. `nixos-18.03` for the latest
1716release and `nixos-unstable` for the latest successful build of master:
1817
1918```
2019% git remote update channels
21−% git rebase channels/nixos-17.09
20+% git rebase channels/nixos-18.03
2221```
2322
2423For pull-requests, please rebase onto nixpkgs `master`.
2524
26−[NixOS](https://nixos.org/nixos/) linux distribution source code is located inside
25+[NixOS](https://nixos.org/nixos/) Linux distribution source code is located inside
2726`nixos/` folder.
2827
2928* [NixOS installation instructions](https://nixos.org/nixos/manual/#ch-installation)
@@ -32,9 +31,9 @@ For pull-requests, please rebase onto nixpkgs `master`.
3231* [Manual (NixOS)](https://nixos.org/nixos/manual/)
3332* [Community maintained wiki](https://nixos.wiki/)
3433* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
35−* [Continuous package builds for 17.09 release](https://hydra.nixos.org/jobset/nixos/release-17.09)
34+* [Continuous package builds for 18.03 release](https://hydra.nixos.org/jobset/nixos/release-18.03)
3635* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
37−* [Tests for 17.09 release](https://hydra.nixos.org/job/nixos/release-17.09/tested#tabs-constituents)
36+* [Tests for 18.03 release](https://hydra.nixos.org/job/nixos/release-18.03/tested#tabs-constituents)
3837
3938Communication:
4039
doc/.gitignorenew file+6
@@ -0,0 +1,6 @@
1+*.chapter.xml
2+*.section.xml
3+.version
4+out
5+manual-full.xml
6+highlightjs
doc/Makefilenew file+90
@@ -0,0 +1,90 @@
1+MD_TARGETS=$(addsuffix .xml, $(basename $(wildcard ./*.md ./**/*.md)))
2+
3+.PHONY: all
4+all: validate out/html/index.html out/epub/manual.epub
5+
6+.PHONY: debug
7+debug:
8+ nix-shell --run "xmloscopy --docbook5 ./manual.xml ./manual-full.xml"
9+
10+.PHONY: clean
11+clean:
12+ rm -f ${MD_TARGETS} .version manual-full.xml
13+ rm -rf ./out/ ./highlightjs
14+
15+.PHONY: validate
16+validate: manual-full.xml
17+ jing "$$RNG" manual-full.xml
18+
19+out/html/index.html: manual-full.xml style.css highlightjs
20+ mkdir -p out/html
21+ xsltproc ${xsltFlags} \
22+ --nonet --xinclude \
23+ --output $@ \
24+ "$$XSL/docbook/xhtml/docbook.xsl" \
25+ ./manual-full.xml
26+
27+ mkdir -p out/html/highlightjs/
28+ cp -r highlightjs out/html/
29+
30+ cp ./overrides.css out/html/
31+ cp ./style.css out/html/style.css
32+
33+ mkdir -p out/html/images/callouts
34+ cp "$$XSL/docbook/images/callouts/"*.svg out/html/images/callouts/
35+ chmod u+w -R out/html/
36+
37+out/epub/manual.epub: manual-full.xml
38+ mkdir -p out/epub/scratch
39+ xsltproc ${xsltFlags} --nonet \
40+ --output out/epub/scratch/ \
41+ "$$XSL/docbook/epub/docbook.xsl" \
42+ ./manual-full.xml
43+
44+ cp ./overrides.css out/epub/scratch/OEBPS
45+ cp ./style.css out/epub/scratch/OEBPS
46+ mkdir -p out/epub/scratch/OEBPS/images/callouts/
47+ cp "$$XSL/docbook/images/callouts/"*.svg out/epub/scratch/OEBPS/images/callouts/
48+ echo "application/epub+zip" > mimetype
49+ zip -0Xq "out/epub/manual.epub" mimetype
50+ rm mimetype
51+ cd "out/epub/scratch/" && zip -Xr9D "../manual.epub" *
52+ rm -rf "out/epub/scratch/"
53+
54+highlightjs:
55+ mkdir -p highlightjs
56+ cp -r "$$HIGHLIGHTJS/highlight.pack.js" highlightjs/
57+ cp -r "$$HIGHLIGHTJS/LICENSE" highlightjs/
58+ cp -r "$$HIGHLIGHTJS/mono-blue.css" highlightjs/
59+ cp -r "$$HIGHLIGHTJS/loader.js" highlightjs/
60+
61+
62+manual-full.xml: ${MD_TARGETS} .version *.xml
63+ xmllint --nonet --xinclude --noxincludenode manual.xml --output manual-full.xml
64+
65+.version:
66+ nix-instantiate --eval \
67+ -E '(import ../lib).nixpkgsVersion' > .version
68+
69+%.section.xml: %.section.md
70+ pandoc $^ -w docbook+smart \
71+ -f markdown+smart \
72+ | sed -e 's|<ulink url=|<link xlink:href=|' \
73+ -e 's|</ulink>|</link>|' \
74+ -e 's|<sect. id=|<section xml:id=|' \
75+ -e 's|</sect[0-9]>|</section>|' \
76+ -e '1s| id=| xml:id=|' \
77+ -e '1s|\(<[^ ]* \)|\1xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" |' \
78+ | cat > $@
79+
80+%.chapter.xml: %.chapter.md
81+ pandoc $^ -w docbook+smart \
82+ --top-level-division=chapter \
83+ -f markdown+smart \
84+ | sed -e 's|<ulink url=|<link xlink:href=|' \
85+ -e 's|</ulink>|</link>|' \
86+ -e 's|<sect. id=|<section xml:id=|' \
87+ -e 's|</sect[0-9]>|</section>|' \
88+ -e '1s| id=| xml:id=|' \
89+ -e '1s|\(<[^ ]* \)|\1|' \
90+ | cat > $@
doc/coding-conventions.xml+38−14
@@ -18,9 +18,9 @@
1818 tab settings so it’s asking for trouble.</para></listitem>
1919
2020 <listitem><para>Use <literal>lowerCamelCase</literal> for variable
21− names, not <literal>UpperCamelCase</literal>. TODO: naming of
22− attributes in
23− <filename>all-packages.nix</filename>?</para></listitem>
21+ names, not <literal>UpperCamelCase</literal>. Note, this rule does
22+ not apply to package attribute names, which instead follow the rules
23+ in <xref linkend="sec-package-naming"/>.</para></listitem>
2424
2525 <listitem><para>Function calls with attribute set arguments are
2626 written as
@@ -220,9 +220,10 @@ args.stdenv.mkDerivation (args // {
220220
221221 <listitem><para>The variable name used for the instantiated package
222222 in <filename>all-packages.nix</filename>, and when passing it as a
223− dependency to other functions. This is what Nix expression authors
224− see. It can also be used when installing using <command>nix-env
225− -iA</command>.</para></listitem>
223+ dependency to other functions. Typically this is called the
224+ <emphasis>package attribute name</emphasis>. This is what Nix
225+ expression authors see. It can also be used when installing using
226+ <command>nix-env -iA</command>.</para></listitem>
226227
227228 <listitem><para>The filename for (the directory containing) the Nix
228229 expression.</para></listitem>
@@ -259,12 +260,12 @@ bound to the variable name <varname>e2fsprogs</varname> in
259260 Also append <literal>"unstable"</literal> to the name - e.g.,
260261 <literal>"pkgname-unstable-2014-09-23"</literal>.</para></listitem>
261262
262− <listitem><para>Dashes in the package name should be preserved
263− in new variable names, rather than converted to underscores
264− (which was convention up to around 2013 and most names
265− still have underscores instead of dashes) — e.g.,
266− <varname>http-parser</varname> instead of
267− <varname>http_parser</varname>.</para></listitem>
263+ <listitem><para>Dashes in the package name should be preserved in
264+ new variable names, rather than converted to underscores or camel
265+ cased — e.g., <varname>http-parser</varname> instead of
266+ <varname>http_parser</varname> or <varname>httpParser</varname>. The
267+ hyphenated style is preferred in all three package
268+ names.</para></listitem>
268269
269270 <listitem><para>If there are multiple versions of a package, this
270271 should be reflected in the variable names in
@@ -661,8 +662,6 @@ src = fetchFromGitHub {
661662</section>
662663
663664<section xml:id="sec-patches"><title>Patches</title>
664− <para>Only patches that are unique to <literal>nixpkgs</literal> should be
665− included in <literal>nixpkgs</literal> source.</para>
666665 <para>Patches available online should be retrieved using
667666 <literal>fetchpatch</literal>.</para>
668667 <para>
@@ -676,5 +675,30 @@ patches = [
676675];
677676</programlisting>
678677 </para>
678+ <para>Otherwise, you can add a <literal>.patch</literal> file to the
679+ <literal>nixpkgs</literal> repository. In the interest of keeping our
680+ maintenance burden to a minimum, only patches that are unique
681+ to <literal>nixpkgs</literal> should be added in this way.</para>
682+<para><programlisting>
683+patches = [ ./0001-changes.patch ];
684+</programlisting></para>
685+ <para>If you do need to do create this sort of patch file,
686+ one way to do so is with git:
687+ <orderedlist>
688+ <listitem><para>Move to the root directory of the source code
689+ you're patching.<screen>
690+$ cd the/program/source</screen></para></listitem>
691+ <listitem><para>If a git repository is not already present,
692+ create one and stage all of the source files.<screen>
693+$ git init
694+$ git add .</screen></para></listitem>
695+ <listitem><para>Edit some files to make whatever changes need
696+ to be included in the patch.</para></listitem>
697+ <listitem><para>Use git to create a diff, and pipe the output
698+ to a patch file:<screen>
699+$ git diff > nixpkgs/pkgs/the/package/0001-changes.patch</screen>
700+ </para></listitem>
701+ </orderedlist></para>
679702</section>
703+
680704</chapter>
doc/configuration.xml+39−1
@@ -14,6 +14,8 @@ true:</para>
1414 its <literal>meta.broken</literal> set to
1515 <literal>true</literal>.</para></listitem>
1616
17+ <listitem><para>The package isn't intended to run on the given system, as none of its <literal>meta.platforms</literal> match the given system.</para></listitem>
18+
1719 <listitem><para>The package's <literal>meta.license</literal> is set
1820 to a license which is considered to be unfree.</para></listitem>
1921
@@ -88,6 +90,42 @@ distributing the software.</para>
8890 </itemizedlist>
8991</section>
9092
93+<section xml:id="sec-allow-unsupported-system">
94+ <title>Installing packages on unsupported systems</title>
95+
96+
97+ <para>
98+ There are also two ways to try compiling a package which has been marked as unsuported for the given system.
99+ </para>
100+
101+ <itemizedlist>
102+ <listitem><para>
103+ For allowing the build of a broken package once, you can use an environment variable for a single invocation of the nix tools:
104+
105+ <programlisting>$ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1</programlisting>
106+ </para></listitem>
107+
108+ <listitem>
109+ <para>
110+ For permanently allowing broken packages to be built, you may add <literal>allowUnsupportedSystem = true;</literal> to your user's configuration file, like this:
111+
112+<programlisting>
113+{
114+ allowUnsupportedSystem = true;
115+}
116+</programlisting>
117+ </para>
118+ </listitem>
119+ </itemizedlist>
120+
121+ <para>
122+ The difference between an a package being unsupported on some system and being broken is admittedly a bit fuzzy.
123+ If a program <emphasis>ought</emphasis> to work on a certain platform, but doesn't, the platform should be included in <literal>meta.platforms</literal>, but marked as broken with e.g. <literal>meta.broken = !hostPlatform.isWindows</literal>.
124+ Of course, this begs the question of what "ought" means exactly.
125+ That is left to the package maintainer.
126+ </para>
127+</section>
128+
91129<section xml:id="sec-allow-unfree">
92130 <title>Installing unfree packages</title>
93131
@@ -397,7 +435,7 @@ fi
397435 </para>
398436
399437 </section>
400−
438+
401439 <section xml:id="sec-gnu-info-setup">
402440 <title>GNU info setup</title>
403441
doc/contributing.xml+19−4
@@ -6,12 +6,27 @@
66
77<para>The DocBook sources of the Nixpkgs manual are in the <filename
88xlink:href="https://github.com/NixOS/nixpkgs/tree/master/doc">doc</filename>
9−subdirectory of the Nixpkgs repository. If you make modifications to
10−the manual, it's important to build it before committing. You can do that as follows:
9+subdirectory of the Nixpkgs repository.</para>
10+
11+<para>You can quickly check your edits with <command>make</command>:</para>
12+
13+<screen>
14+ $ cd /path/to/nixpkgs/doc
15+ $ nix-shell
16+ [nix-shell]$ make
17+</screen>
18+
19+<para>If you experience problems, run <command>make debug</command>
20+to help understand the docbook errors.</para>
21+
22+<para>After making modifications to the manual, it's important to
23+build it before committing. You can do that as follows:
1124
1225<screen>
13−$ cd /path/to/nixpkgs
14−$ nix-build doc
26+ $ cd /path/to/nixpkgs/doc
27+ $ nix-shell
28+ [nix-shell]$ make clean
29+ [nix-shell]$ nix-build .
1530</screen>
1631
1732If the build succeeds, the manual will be in
doc/cross-compilation.xml+54−4
@@ -61,7 +61,7 @@
6161 <listitem>
6262 <para>
6363 The "target platform" attribute is, unlike the other two attributes, not actually fundamental to the process of building software.
64− Instead, it is only relevant for compatability with building certain specific compilers and build tools.
64+ Instead, it is only relevant for compatibility with building certain specific compilers and build tools.
6565 It can be safely ignored for all other packages.
6666 </para>
6767 <para>
@@ -162,7 +162,7 @@
162162 <para>
163163 A runtime dependency between 2 packages implies that between them both the host and target platforms match.
164164 This is directly implied by the meaning of "host platform" and "runtime dependency":
165− The package dependency exists while both packages are runnign on a single host platform.
165+ The package dependency exists while both packages are running on a single host platform.
166166 </para>
167167 <para>
168168 A build time dependency, however, implies a shift in platforms between the depending package and the depended-on package.
@@ -187,7 +187,7 @@
187187 How does this work in practice? Nixpkgs is now structured so that build-time dependencies are taken from <varname>buildPackages</varname>, whereas run-time dependencies are taken from the top level attribute set.
188188 For example, <varname>buildPackages.gcc</varname> should be used at build time, while <varname>gcc</varname> should be used at run time.
189189 Now, for most of Nixpkgs's history, there was no <varname>buildPackages</varname>, and most packages have not been refactored to use it explicitly.
190− Instead, one can use the four attributes used for specifying dependencies as documented in <xref linkend="ssec-stdenv-attributes"/>.
190+ Instead, one can use the six (<emphasis>gasp</emphasis>) attributes used for specifying dependencies as documented in <xref linkend="ssec-stdenv-dependencies"/>.
191191 We "splice" together the run-time and build-time package sets with <varname>callPackage</varname>, and then <varname>mkDerivation</varname> for each of four attributes pulls the right derivation out.
192192 This splicing can be skipped when not cross compiling as the package sets are the same, but is a bit slow for cross compiling.
193193 Because of this, a best-of-both-worlds solution is in the works with no splicing or explicit access of <varname>buildPackages</varname> needed.
@@ -200,6 +200,45 @@
200200 </para></note>
201201 </section>
202202
203+ <section>
204+ <title>Cross packagaing cookbook</title>
205+ <para>
206+ Some frequently problems when packaging for cross compilation are good to just spell and answer.
207+ Ideally the information above is exhaustive, so this section cannot provide any new information,
208+ but its ludicrous and cruel to expect everyone to spend effort working through the interaction of many features just to figure out the same answer to the same common problem.
209+ Feel free to add to this list!
210+ </para>
211+ <qandaset>
212+ <qandaentry>
213+ <question><para>
214+ What if my package's build system needs to build a C program to be run under the build environment?
215+ </para></question>
216+ <answer><para>
217+ <programlisting>depsBuildBuild = [ buildPackages.stdenv.cc ];</programlisting>
218+ Add it to your <function>mkDerivation</function> invocation.
219+ </para></answer>
220+ </qandaentry>
221+ <qandaentry>
222+ <question><para>
223+ My package fails to find <command>ar</command>.
224+ </para></question>
225+ <answer><para>
226+ Many packages assume that an unprefixed <command>ar</command> is available, but Nix doesn't provide one.
227+ It only provides a prefixed one, just as it only does for all the other binutils programs.
228+ It may be necessary to patch the package to fix the build system to use a prefixed `ar`.
229+ </para></answer>
230+ </qandaentry>
231+ <qandaentry>
232+ <question><para>
233+ My package's testsuite needs to run host platform code.
234+ </para></question>
235+ <answer><para>
236+ <programlisting>doCheck = stdenv.hostPlatform != stdenv.buildPlatfrom;</programlisting>
237+ Add it to your <function>mkDerivation</function> invocation.
238+ </para></answer>
239+ </qandaentry>
240+ </qandaset>
241+ </section>
203242</section>
204243
205244<!--============================================================-->
@@ -214,8 +253,19 @@
214253 or also with <varname>crossSystem</varname>, in which case packages run on the latter, but all building happens on the former.
215254 Both parameters take the same schema as the 3 (build, host, and target) platforms defined in the previous section.
216255 As mentioned above, <literal>lib.systems.examples</literal> has some platforms which are used as arguments for these parameters in practice.
217− You can use them programmatically, or on the command line like <command>nix-build &lt;nixpkgs&gt; --arg crossSystem '(import &lt;nixpkgs/lib&gt;).systems.examples.fooBarBaz'</command>.
256+ You can use them programmatically, or on the command line: <programlisting>
257+nix-build &lt;nixpkgs&gt; --arg crossSystem '(import &lt;nixpkgs/lib&gt;).systems.examples.fooBarBaz' -A whatever</programlisting>
218258 </para>
259+ <note>
260+ <para>
261+ Eventually we would like to make these platform examples an unnecessary convenience so that <programlisting>
262+nix-build &lt;nixpkgs&gt; --arg crossSystem.config '&lt;arch&gt;-&lt;os&gt;-&lt;vendor&gt;-&lt;abi&gt;' -A whatever</programlisting>
263+ works in the vast majority of cases.
264+ The problem today is dependencies on other sorts of configuration which aren't given proper defaults.
265+ We rely on the examples to crudely to set those configuration parameters in some vaguely sane manner on the users behalf.
266+ Issue <link xlink:href="https://github.com/NixOS/nixpkgs/issues/34274">#34274</link> tracks this inconvenience along with its root cause in crufty configuration options.
267+ </para>
268+ </note>
219269 <para>
220270 While one is free to pass both parameters in full, there's a lot of logic to fill in missing fields.
221271 As discussed in the previous section, only one of <varname>system</varname>, <varname>config</varname>, and <varname>parsed</varname> is needed to infer the other two.
doc/default.nix+32−98
@@ -7,107 +7,41 @@ in
77pkgs.stdenv.mkDerivation {
88 name = "nixpkgs-manual";
99
10−
11− buildInputs = with pkgs; [ pandoc libxml2 libxslt zip ];
12−
13− xsltFlags = ''
14− --param section.autolabel 1
15− --param section.label.includes.component.label 1
16− --param html.stylesheet 'style.css'
17− --param xref.with.number.and.title 1
18− --param toc.section.depth 3
19− --param admon.style '''
20− --param callout.graphics.extension '.gif'
21− '';
22−
23−
24− buildCommand = let toDocbook = { useChapters ? false, inputFile, outputFile }:
25− let
26− extraHeader = ''xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" '';
27− in ''
28− {
29− pandoc '${inputFile}' -w docbook ${lib.optionalString useChapters "--top-level-division=chapter"} \
30− --smart \
31− | sed -e 's|<ulink url=|<link xlink:href=|' \
32− -e 's|</ulink>|</link>|' \
33− -e 's|<sect. id=|<section xml:id=|' \
34− -e 's|</sect[0-9]>|</section>|' \
35− -e '1s| id=| xml:id=|' \
36− -e '1s|\(<[^ ]* \)|\1${extraHeader}|'
37− } > '${outputFile}'
38− '';
39− in
40−
41− ''
42− ln -s '${sources}/'*.xml .
43− mkdir ./languages-frameworks
44− cp -s '${sources-langs}'/* ./languages-frameworks
45− ''
46− + toDocbook {
47− inputFile = ./introduction.md;
48− outputFile = "introduction.xml";
49− useChapters = true;
50− }
51− + toDocbook {
52− inputFile = ./languages-frameworks/python.md;
53− outputFile = "./languages-frameworks/python.xml";
54− }
55− + toDocbook {
56− inputFile = ./languages-frameworks/haskell.md;
57− outputFile = "./languages-frameworks/haskell.xml";
58− }
59− + toDocbook {
60− inputFile = ../pkgs/development/idris-modules/README.md;
61− outputFile = "languages-frameworks/idris.xml";
62− }
63− + toDocbook {
64− inputFile = ../pkgs/development/node-packages/README.md;
65− outputFile = "languages-frameworks/node.xml";
66− }
67− + toDocbook {
68− inputFile = ../pkgs/development/r-modules/README.md;
69− outputFile = "languages-frameworks/r.xml";
70− }
71− + toDocbook {
72− inputFile = ./languages-frameworks/rust.md;
73− outputFile = "./languages-frameworks/rust.xml";
74− }
75− + toDocbook {
76− inputFile = ./languages-frameworks/vim.md;
77− outputFile = "./languages-frameworks/vim.xml";
78− }
79− + ''
10+ buildInputs = with pkgs; [ pandoc libxml2 libxslt zip jing ];
11+
12+ src = ./.;
13+
14+ # Hacking on these variables? Make sure to close and open
15+ # nix-shell between each test, maybe even:
16+ # $ nix-shell --run "make clean all"
17+ # otherwise they won't reapply :)
18+ HIGHLIGHTJS = pkgs.documentation-highlighter;
19+ XSL = "${pkgs.docbook5_xsl}/xml/xsl";
20+ RNG = "${pkgs.docbook5}/xml/rng/docbook/docbook.rng";
21+ xsltFlags = lib.concatStringsSep " " [
22+ "--param section.autolabel 1"
23+ "--param section.label.includes.component.label 1"
24+ "--stringparam html.stylesheet 'style.css overrides.css highlightjs/mono-blue.css'"
25+ "--stringparam html.script './highlightjs/highlight.pack.js ./highlightjs/loader.js'"
26+ "--param xref.with.number.and.title 1"
27+ "--param toc.section.depth 3"
28+ "--stringparam admon.style ''"
29+ "--stringparam callout.graphics.extension .svg"
30+ ];
31+
32+ postPatch = ''
8033 echo ${lib.nixpkgsVersion} > .version
34+ '';
8135
82− # validate against relaxng schema
83− xmllint --nonet --xinclude --noxincludenode manual.xml --output manual-full.xml
84− ${pkgs.jing}/bin/jing ${pkgs.docbook5}/xml/rng/docbook/docbook.rng manual-full.xml
85−
86− dst=$out/share/doc/nixpkgs
87− mkdir -p $dst
88− xsltproc $xsltFlags --nonet --xinclude \
89− --output $dst/manual.html \
90− ${pkgs.docbook5_xsl}/xml/xsl/docbook/xhtml/docbook.xsl \
91− ./manual.xml
92−
93− cp ${./style.css} $dst/style.css
94−
95− mkdir -p $dst/images/callouts
96− cp "${pkgs.docbook5_xsl}/xml/xsl/docbook/images/callouts/"*.gif $dst/images/callouts/
97−
98− mkdir -p $out/nix-support
99− echo "doc manual $dst manual.html" >> $out/nix-support/hydra-build-products
36+ installPhase = ''
37+ dest="$out/share/doc/nixpkgs"
38+ mkdir -p "$(dirname "$dest")"
39+ mv out/html "$dest"
40+ mv "$dest/index.html" "$dest/manual.html"
10041
101− xsltproc $xsltFlags --nonet --xinclude \
102− --output $dst/epub/ \
103− ${pkgs.docbook5_xsl}/xml/xsl/docbook/epub/docbook.xsl \
104− ./manual.xml
42+ mv out/epub/manual.epub "$dest/nixpkgs-manual.epub"
10543
106− cp -r $dst/images $dst/epub/OEBPS
107− echo "application/epub+zip" > mimetype
108− manual="$dst/nixpkgs-manual.epub"
109− zip -0Xq "$manual" mimetype
110− cd $dst/epub && zip -Xr9D "$manual" *
111− rm -rf $dst/epub
44+ mkdir -p $out/nix-support/
45+ echo "doc manual $dest manual.html" >> $out/nix-support/hydra-build-products
11246 '';
11347}
doc/functions.xml+57−4
@@ -221,16 +221,69 @@
221221
222222 <para>
223223 All generators follow a similar call interface: <code>generatorName
224− configFunctions data</code>, where <literal>configFunctions</literal> is a
225− set of user-defined functions that format variable parts of the content.
224+ configFunctions data</code>, where <literal>configFunctions</literal> is
225+ an attrset of user-defined functions that format nested parts of the
226+ content.
226227 They each have common defaults, so often they do not need to be set
227228 manually. An example is <code>mkSectionName ? (name: libStr.escape [ "[" "]"
228− ] name)</code> from the <literal>INI</literal> generator. It gets the name
229− of a section and returns a sanitized name. The default
229+ ] name)</code> from the <literal>INI</literal> generator. It receives the
230+ name of a section and sanitizes it. The default
230231 <literal>mkSectionName</literal> escapes <literal>[</literal> and
231232 <literal>]</literal> with a backslash.
232233 </para>
233234
235+ <para>
236+ Generators can be fine-tuned to produce exactly the file format required
237+ by your application/service. One example is an INI-file format which uses
238+ <literal>: </literal> as separator, the strings
239+ <literal>"yes"</literal>/<literal>"no"</literal> as boolean values
240+ and requires all string values to be quoted:
241+ </para>
242+
243+<programlisting>
244+with lib;
245+let
246+ customToINI = generators.toINI {
247+ # specifies how to format a key/value pair
248+ mkKeyValue = generators.mkKeyValueDefault {
249+ # specifies the generated string for a subset of nix values
250+ mkValueString = v:
251+ if v == true then ''"yes"''
252+ else if v == false then ''"no"''
253+ else if isString v then ''"${v}"''
254+ # and delegats all other values to the default generator
255+ else generators.mkValueStringDefault {} v;
256+ } ":";
257+ };
258+
259+# the INI file can now be given as plain old nix values
260+in customToINI {
261+ main = {
262+ pushinfo = true;
263+ autopush = false;
264+ host = "localhost";
265+ port = 42;
266+ };
267+ mergetool = {
268+ merge = "diff3";
269+ };
270+}
271+</programlisting>
272+
273+ <para>This will produce the following INI file as nix string:</para>
274+
275+<programlisting>
276+[main]
277+autopush:"no"
278+host:"localhost"
279+port:42
280+pushinfo:"yes"
281+str\:ange:"very::strange"
282+
283+[mergetool]
284+merge:"diff3"
285+</programlisting>
286+
234287 <note><para>Nix store paths can be converted to strings by enclosing a
235288 derivation attribute like so: <code>"${drv}"</code>.</para></note>
236289
doc/introduction.md → doc/introduction.chapter.mdrenamed

The content is the same.

doc/languages-frameworks/coq.xml+35−13
@@ -11,31 +11,53 @@
1111 in the Coq derivation.
1212 </para>
1313 <para>
14− Some libraries require OCaml and sometimes also Camlp5. The exact
15− versions that were used to build Coq are saved in the
14+ Some libraries require OCaml and sometimes also Camlp5 or findlib.
15+ The exact versions that were used to build Coq are saved in the
1616 <literal>coq.ocaml</literal> and <literal>coq.camlp5</literal>
17− attributes.
17+ and <literal>coq.findlib</literal> attributes.
18+ </para>
19+ <para>
20+ Coq libraries may be compatible with some specific versions of Coq only.
21+ The <literal>compatibleCoqVersions</literal> attribute is used to
22+ precisely select those versions of Coq that are compatible with this
23+ derivation.
1824 </para>
1925 <para>
2026 Here is a simple package example. It is a pure Coq library, thus it
21− only depends on Coq. Its <literal>makefile</literal> has been
22− generated using <literal>coq_makefile</literal> so we only have to
27+ depends on Coq. It builds on the Mathematical Components library, thus it
28+ also takes <literal>mathcomp</literal> as <literal>buildInputs</literal>.
29+ Its <literal>Makefile</literal> has been generated using
30+ <literal>coq_makefile</literal> so we only have to
2331 set the <literal>$COQLIB</literal> variable at install time.
2432 </para>
2533 <programlisting>
26−{stdenv, fetchurl, coq}:
27−stdenv.mkDerivation {
28− src = fetchurl {
29− url = http://coq.inria.fr/pylons/contribs/files/Karatsuba/v8.4/Karatsuba.tar.gz;
30− sha256 = "0ymfpv4v49k4fm63nq6gcl1hbnnxrvjjp7yzc4973n49b853c5b1";
31− };
34+{ stdenv, fetchFromGitHub, coq, mathcomp }:
3235
33− name = "coq-karatsuba";
36+stdenv.mkDerivation rec {
37+ name = "coq${coq.coq-version}-multinomials-${version}";
38+ version = "1.0";
39+ src = fetchFromGitHub {
40+ owner = "math-comp";
41+ repo = "multinomials";
42+ rev = version;
43+ sha256 = "1qmbxp1h81cy3imh627pznmng0kvv37k4hrwi2faa101s6bcx55m";
44+ };
3445
3546 buildInputs = [ coq ];
47+ propagatedBuildInputs = [ mathcomp ];
3648
3749 installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
50+
51+ meta = {
52+ description = "A Coq/SSReflect Library for Monoidal Rings and Multinomials";
53+ inherit (src.meta) homepage;
54+ license = stdenv.lib.licenses.cecill-b;
55+ inherit (coq.meta) platforms;
56+ };
57+
58+ passthru = {
59+ compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" ];
60+ };
3861}
3962</programlisting>
4063</section>
41−
doc/languages-frameworks/emscripten.section.mdnew file+185
@@ -0,0 +1,185 @@
1+# User's Guide to Emscripten in Nixpkgs
2+
3+[Emscripten](https://github.com/kripken/emscripten): An LLVM-to-JavaScript Compiler
4+
5+This section of the manual covers how to use `emscripten` in nixpkgs.
6+
7+Minimal requirements:
8+
9+* nix
10+* nixpkgs
11+
12+Modes of use of `emscripten`:
13+
14+* **Imperative usage** (on the command line):
15+
16+ If you want to work with `emcc`, `emconfigure` and `emmake` as you are used to from Ubuntu and similar distributions you can use these commands:
17+
18+ * `nix-env -i emscripten`
19+ * `nix-shell -p emscripten`
20+
21+* **Declarative usage**:
22+
23+ This mode is far more power full since this makes use of `nix` for dependency management of emscripten libraries and targets by using the `mkDerivation` which is implemented by `pkgs.emscriptenStdenv` and `pkgs.buildEmscriptenPackage`. The source for the packages is in `pkgs/top-level/emscripten-packages.nix` and the abstraction behind it in `pkgs/development/em-modules/generic/default.nix`.
24+ * build and install all packages:
25+ * `nix-env -iA emscriptenPackages`
26+
27+ * dev-shell for zlib implementation hacking:
28+ * `nix-shell -A emscriptenPackages.zlib`
29+
30+
31+## Imperative usage
32+
33+A few things to note:
34+
35+* `export EMCC_DEBUG=2` is nice for debugging
36+* `~/.emscripten`, the build artifact cache sometimes creates issues and needs to be removed from time to time
37+
38+
39+## Declarative usage
40+
41+Let's see two different examples from `pkgs/top-level/emscripten-packages.nix`:
42+
43+* `pkgs.zlib.override`
44+* `pkgs.buildEmscriptenPackage`
45+
46+Both are interesting concepts.
47+
48+A special requirement of the `pkgs.buildEmscriptenPackage` is the `doCheck = true` is a default meaning that each emscriptenPackage requires a `checkPhase` implemented.
49+
50+* Use `export EMCC_DEBUG=2` from within a emscriptenPackage's `phase` to get more detailed debug output what is going wrong.
51+* ~/.emscripten cache is requiring us to set `HOME=$TMPDIR` in individual phases. This makes compilation slower but also makes it more deterministic.
52+
53+### Usage 1: pkgs.zlib.override
54+
55+This example uses `zlib` from nixpkgs but instead of compiling **C** to **ELF** it compiles **C** to **JS** since we were using `pkgs.zlib.override` and changed stdenv to `pkgs.emscriptenStdenv`. A few adaptions and hacks were set in place to make it working. One advantage is that when `pkgs.zlib` is updated, it will automatically update this package as well. However, this can also be the downside...
56+
57+See the `zlib` example:
58+
59+ zlib = (pkgs.zlib.override {
60+ stdenv = pkgs.emscriptenStdenv;
61+ }).overrideDerivation
62+ (old: rec {
63+ buildInputs = old.buildInputs ++ [ pkgconfig ];
64+ # we need to reset this setting!
65+ NIX_CFLAGS_COMPILE="";
66+ configurePhase = ''
67+ # FIXME: Some tests require writing at $HOME
68+ HOME=$TMPDIR
69+ runHook preConfigure
70+
71+ #export EMCC_DEBUG=2
72+ emconfigure ./configure --prefix=$out --shared
73+
74+ runHook postConfigure
75+ '';
76+ dontStrip = true;
77+ outputs = [ "out" ];
78+ buildPhase = ''
79+ emmake make
80+ '';
81+ installPhase = ''
82+ emmake make install
83+ '';
84+ checkPhase = ''
85+ echo "================= testing zlib using node ================="
86+
87+ echo "Compiling a custom test"
88+ set -x
89+ emcc -O2 -s EMULATE_FUNCTION_POINTER_CASTS=1 test/example.c -DZ_SOLO \
90+ libz.so.${old.version} -I . -o example.js
91+
92+ echo "Using node to execute the test"
93+ ${pkgs.nodejs}/bin/node ./example.js
94+
95+ set +x
96+ if [ $? -ne 0 ]; then
97+ echo "test failed for some reason"
98+ exit 1;
99+ else
100+ echo "it seems to work! very good."
101+ fi
102+ echo "================= /testing zlib using node ================="
103+ '';
104+
105+ postPatch = pkgs.stdenv.lib.optionalString pkgs.stdenv.isDarwin ''
106+ substituteInPlace configure \
107+ --replace '/usr/bin/libtool' 'ar' \
108+ --replace 'AR="libtool"' 'AR="ar"' \
109+ --replace 'ARFLAGS="-o"' 'ARFLAGS="-r"'
110+ '';
111+ });
112+
113+### Usage 2: pkgs.buildEmscriptenPackage
114+
115+This `xmlmirror` example features a emscriptenPackage which is defined completely from this context and no `pkgs.zlib.override` is used.
116+
117+ xmlmirror = pkgs.buildEmscriptenPackage rec {
118+ name = "xmlmirror";
119+
120+ buildInputs = [ pkgconfig autoconf automake libtool gnumake libxml2 nodejs openjdk json_c ];
121+ nativeBuildInputs = [ pkgconfig zlib ];
122+
123+ src = pkgs.fetchgit {
124+ url = "https://gitlab.com/odfplugfest/xmlmirror.git";
125+ rev = "4fd7e86f7c9526b8f4c1733e5c8b45175860a8fd";
126+ sha256 = "1jasdqnbdnb83wbcnyrp32f36w3xwhwp0wq8lwwmhqagxrij1r4b";
127+ };
128+
129+ configurePhase = ''
130+ rm -f fastXmlLint.js*
131+ # a fix for ERROR:root:For asm.js, TOTAL_MEMORY must be a multiple of 16MB, was 234217728
132+ # https://gitlab.com/odfplugfest/xmlmirror/issues/8
133+ sed -e "s/TOTAL_MEMORY=234217728/TOTAL_MEMORY=268435456/g" -i Makefile.emEnv
134+ # https://github.com/kripken/emscripten/issues/6344
135+ # https://gitlab.com/odfplugfest/xmlmirror/issues/9
136+ sed -e "s/\$(JSONC_LDFLAGS) \$(ZLIB_LDFLAGS) \$(LIBXML20_LDFLAGS)/\$(JSONC_LDFLAGS) \$(LIBXML20_LDFLAGS) \$(ZLIB_LDFLAGS) /g" -i Makefile.emEnv
137+ # https://gitlab.com/odfplugfest/xmlmirror/issues/11
138+ sed -e "s/-o fastXmlLint.js/-s EXTRA_EXPORTED_RUNTIME_METHODS='[\"ccall\", \"cwrap\"]' -o fastXmlLint.js/g" -i Makefile.emEnv
139+ '';
140+
141+ buildPhase = ''
142+ HOME=$TMPDIR
143+ make -f Makefile.emEnv
144+ '';
145+
146+ outputs = [ "out" "doc" ];
147+
148+ installPhase = ''
149+ mkdir -p $out/share
150+ mkdir -p $doc/share/${name}
151+
152+ cp Demo* $out/share
153+ cp -R codemirror-5.12 $out/share
154+ cp fastXmlLint.js* $out/share
155+ cp *.xsd $out/share
156+ cp *.js $out/share
157+ cp *.xhtml $out/share
158+ cp *.html $out/share
159+ cp *.json $out/share
160+ cp *.rng $out/share
161+ cp README.md $doc/share/${name}
162+ '';
163+ checkPhase = ''
164+
165+ '';
166+ };
167+
168+### Declarative debugging
169+
170+Use `nix-shell -I nixpkgs=/some/dir/nixpkgs -A emscriptenPackages.libz` and from there you can go trough the individual steps. This makes it easy to build a good `unit test` or list the files of the project.
171+
172+1. `nix-shell -I nixpkgs=/some/dir/nixpkgs -A emscriptenPackages.libz`
173+2. `cd /tmp/`
174+3. `unpackPhase`
175+4. cd libz-1.2.3
176+5. `configurePhase`
177+6. `buildPhase`
178+7. ... happy hacking...
179+
180+## Summary
181+
182+Using this toolchain makes it easy to leverage `nix` from NixOS, MacOSX or even Windows (WSL+ubuntu+nix). This toolchain is reproducible, behaves like the rest of the packages from nixpkgs and contains a set of well working examples to learn and adapt from.
183+
184+If in trouble, ask the maintainers.
185+
doc/languages-frameworks/haskell.mddeleted−959
@@ -1,959 +0,0 @@
1−---
2−title: User's Guide for Haskell in Nixpkgs
3−author: Peter Simons
4−date: 2015-06-01
5−---
6−# User's Guide to the Haskell Infrastructure
7−
8−
9−## How to install Haskell packages
10−
11−Nixpkgs distributes build instructions for all Haskell packages registered on
12−[Hackage](http://hackage.haskell.org/), but strangely enough normal Nix package
13−lookups don't seem to discover any of them, except for the default version of ghc, cabal-install, and stack:
14−```
15−$ nix-env -i alex
16−error: selector ‘alex’ matches no derivations
17−$ nix-env -qa ghc
18−ghc-7.10.2
19−```
20−
21−The Haskell package set is not registered in the top-level namespace because it
22−is *huge*. If all Haskell packages were visible to these commands, then
23−name-based search/install operations would be much slower than they are now. We
24−avoided that by keeping all Haskell-related packages in a separate attribute
25−set called `haskellPackages`, which the following command will list:
26−```
27−$ nix-env -f "<nixpkgs>" -qaP -A haskellPackages
28−haskellPackages.a50 a50-0.5
29−haskellPackages.abacate haskell-abacate-0.0.0.0
30−haskellPackages.abcBridge haskell-abcBridge-0.12
31−haskellPackages.afv afv-0.1.1
32−haskellPackages.alex alex-3.1.4
33−haskellPackages.Allure Allure-0.4.101.1
34−haskellPackages.alms alms-0.6.7
35−[... some 8000 entries omitted ...]
36−```
37−
38−To install any of those packages into your profile, refer to them by their
39−attribute path (first column):
40−```shell
41−nix-env -f "<nixpkgs>" -iA haskellPackages.Allure ...
42−```
43−
44−The attribute path of any Haskell packages corresponds to the name of that
45−particular package on Hackage: the package `cabal-install` has the attribute
46−`haskellPackages.cabal-install`, and so on. (Actually, this convention causes
47−trouble with packages like `3dmodels` and `4Blocks`, because these names are
48−invalid identifiers in the Nix language. The issue of how to deal with these
49−rare corner cases is currently unresolved.)
50−
51−Haskell packages who's Nix name (second column) begins with a `haskell-` prefix
52−are packages that provide a library whereas packages without that prefix
53−provide just executables. Libraries may provide executables too, though: the
54−package `haskell-pandoc`, for example, installs both a library and an
55−application. You can install and use Haskell executables just like any other
56−program in Nixpkgs, but using Haskell libraries for development is a bit
57−trickier and we'll address that subject in great detail in section [How to
58−create a development environment].
59−
60−Attribute paths are deterministic inside of Nixpkgs, but the path necessary to
61−reach Nixpkgs varies from system to system. We dodged that problem by giving
62−`nix-env` an explicit `-f "<nixpkgs>"` parameter, but if you call `nix-env`
63−without that flag, then chances are the invocation fails:
64−```
65−$ nix-env -iA haskellPackages.cabal-install
66−error: attribute ‘haskellPackages’ in selection path
67− ‘haskellPackages.cabal-install’ not found
68−```
69−
70−On NixOS, for example, Nixpkgs does *not* exist in the top-level namespace by
71−default. To figure out the proper attribute path, it's easiest to query for the
72−path of a well-known Nixpkgs package, i.e.:
73−```
74−$ nix-env -qaP coreutils
75−nixos.coreutils coreutils-8.23
76−```
77−
78−If your system responds like that (most NixOS installations will), then the
79−attribute path to `haskellPackages` is `nixos.haskellPackages`. Thus, if you
80−want to use `nix-env` without giving an explicit `-f` flag, then that's the way
81−to do it:
82−```shell
83−nix-env -qaP -A nixos.haskellPackages
84−nix-env -iA nixos.haskellPackages.cabal-install
85−```
86−
87−Our current default compiler is GHC 7.10.x and the `haskellPackages` set
88−contains packages built with that particular version. Nixpkgs contains the
89−latest major release of every GHC since 6.10.4, however, and there is a whole
90−family of package sets available that defines Hackage packages built with each
91−of those compilers, too:
92−```shell
93−nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc6123
94−nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc763
95−```
96−
97−The name `haskellPackages` is really just a synonym for
98−`haskell.packages.ghc7102`, because we prefer that package set internally and
99−recommend it to our users as their default choice, but ultimately you are free
100−to compile your Haskell packages with any GHC version you please. The following
101−command displays the complete list of available compilers:
102−```
103−$ nix-env -f "<nixpkgs>" -qaP -A haskell.compiler
104−haskell.compiler.ghc6104 ghc-6.10.4
105−haskell.compiler.ghc6123 ghc-6.12.3
106−haskell.compiler.ghc704 ghc-7.0.4
107−haskell.compiler.ghc722 ghc-7.2.2
108−haskell.compiler.ghc742 ghc-7.4.2
109−haskell.compiler.ghc763 ghc-7.6.3
110−haskell.compiler.ghc784 ghc-7.8.4
111−haskell.compiler.ghc7102 ghc-7.10.2
112−haskell.compiler.ghcHEAD ghc-7.11.20150402
113−haskell.compiler.ghcNokinds ghc-nokinds-7.11.20150704
114−haskell.compiler.ghcjs ghcjs-0.1.0
115−haskell.compiler.jhc jhc-0.8.2
116−haskell.compiler.uhc uhc-1.1.9.0
117−```
118−
119−We have no package sets for `jhc` or `uhc` yet, unfortunately, but for every
120−version of GHC listed above, there exists a package set based on that compiler.
121−Also, the attributes `haskell.compiler.ghcXYC` and
122−`haskell.packages.ghcXYC.ghc` are synonymous for the sake of convenience.
123−
124−## How to create a development environment
125−
126−### How to install a compiler
127−
128−A simple development environment consists of a Haskell compiler and one or both
129−of the tools `cabal-install` and `stack`. We saw in section
130−[How to install Haskell packages] how you can install those programs into your
131−user profile:
132−```shell
133−nix-env -f "<nixpkgs>" -iA haskellPackages.ghc haskellPackages.cabal-install
134−```
135−
136−Instead of the default package set `haskellPackages`, you can also use the more
137−precise name `haskell.compiler.ghc7102`, which has the advantage that it refers
138−to the same GHC version regardless of what Nixpkgs considers "default" at any
139−given time.
140−
141−Once you've made those tools available in `$PATH`, it's possible to build
142−Hackage packages the same way people without access to Nix do it all the time:
143−```shell
144−cabal get lens-4.11 && cd lens-4.11
145−cabal install -j --dependencies-only
146−cabal configure
147−cabal build
148−```
149−
150−If you enjoy working with Cabal sandboxes, then that's entirely possible too:
151−just execute the command
152−```shell
153−cabal sandbox init
154−```
155−before installing the required dependencies.
156−
157−The `nix-shell` utility makes it easy to switch to a different compiler
158−version; just enter the Nix shell environment with the command
159−```shell
160−nix-shell -p haskell.compiler.ghc784
161−```
162−to bring GHC 7.8.4 into `$PATH`. Alternatively, you can use Stack instead of
163−`nix-shell` directly to select compiler versions and other build tools
164−per-project. It uses `nix-shell` under the hood when Nix support is turned on.
165−See [How to build a Haskell project using Stack].
166−
167−If you're using `cabal-install`, re-running `cabal configure` inside the spawned
168−shell switches your build to use that compiler instead. If you're working on
169−a project that doesn't depend on any additional system libraries outside of GHC,
170−then it's even sufficient to just run the `cabal configure` command inside of
171−the shell:
172−```shell
173−nix-shell -p haskell.compiler.ghc784 --command "cabal configure"
174−```
175−
176−Afterwards, all other commands like `cabal build` work just fine in any shell
177−environment, because the configure phase recorded the absolute paths to all
178−required tools like GHC in its build configuration inside of the `dist/`
179−directory. Please note, however, that `nix-collect-garbage` can break such an
180−environment because the Nix store paths created by `nix-shell` aren't "alive"
181−anymore once `nix-shell` has terminated. If you find that your Haskell builds
182−no longer work after garbage collection, then you'll have to re-run `cabal
183−configure` inside of a new `nix-shell` environment.
184−
185−### How to install a compiler with libraries
186−
187−GHC expects to find all installed libraries inside of its own `lib` directory.
188−This approach works fine on traditional Unix systems, but it doesn't work for
189−Nix, because GHC's store path is immutable once it's built. We cannot install
190−additional libraries into that location. As a consequence, our copies of GHC
191−don't know any packages except their own core libraries, like `base`,
192−`containers`, `Cabal`, etc.
193−
194−We can register additional libraries to GHC, however, using a special build
195−function called `ghcWithPackages`. That function expects one argument: a
196−function that maps from an attribute set of Haskell packages to a list of
197−packages, which determines the libraries known to that particular version of
198−GHC. For example, the Nix expression `ghcWithPackages (pkgs: [pkgs.mtl])`
199−generates a copy of GHC that has the `mtl` library registered in addition to
200−its normal core packages:
201−```
202−$ nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [pkgs.mtl])"
203−
204−[nix-shell:~]$ ghc-pkg list mtl
205−/nix/store/zy79...-ghc-7.10.2/lib/ghc-7.10.2/package.conf.d:
206− mtl-2.2.1
207−```
208−
209−This function allows users to define their own development environment by means
210−of an override. After adding the following snippet to `~/.config/nixpkgs/config.nix`,
211−```nix
212−{
213− packageOverrides = super: let self = super.pkgs; in
214− {
215− myHaskellEnv = self.haskell.packages.ghc7102.ghcWithPackages
216− (haskellPackages: with haskellPackages; [
217− # libraries
218− arrows async cgi criterion
219− # tools
220− cabal-install haskintex
221− ]);
222− };
223−}
224−```
225−it's possible to install that compiler with `nix-env -f "<nixpkgs>" -iA
226−myHaskellEnv`. If you'd like to switch that development environment to a
227−different version of GHC, just replace the `ghc7102` bit in the previous
228−definition with the appropriate name. Of course, it's also possible to define
229−any number of these development environments! (You can't install two of them
230−into the same profile at the same time, though, because that would result in
231−file conflicts.)
232−
233−The generated `ghc` program is a wrapper script that re-directs the real
234−GHC executable to use a new `lib` directory --- one that we specifically
235−constructed to contain all those packages the user requested:
236−```
237−$ cat $(type -p ghc)
238−#! /nix/store/xlxj...-bash-4.3-p33/bin/bash -e
239−export NIX_GHC=/nix/store/19sm...-ghc-7.10.2/bin/ghc
240−export NIX_GHCPKG=/nix/store/19sm...-ghc-7.10.2/bin/ghc-pkg
241−export NIX_GHC_DOCDIR=/nix/store/19sm...-ghc-7.10.2/share/doc/ghc/html
242−export NIX_GHC_LIBDIR=/nix/store/19sm...-ghc-7.10.2/lib/ghc-7.10.2
243−exec /nix/store/j50p...-ghc-7.10.2/bin/ghc "-B$NIX_GHC_LIBDIR" "$@"
244−```
245−
246−The variables `$NIX_GHC`, `$NIX_GHCPKG`, etc. point to the *new* store path
247−`ghcWithPackages` constructed specifically for this environment. The last line
248−of the wrapper script then executes the real `ghc`, but passes the path to the
249−new `lib` directory using GHC's `-B` flag.
250−
251−The purpose of those environment variables is to work around an impurity in the
252−popular [ghc-paths](http://hackage.haskell.org/package/ghc-paths) library. That
253−library promises to give its users access to GHC's installation paths. Only,
254−the library can't possible know that path when it's compiled, because the path
255−GHC considers its own is determined only much later, when the user configures
256−it through `ghcWithPackages`. So we [patched
257−ghc-paths](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/patches/ghc-paths-nix.patch)
258−to return the paths found in those environment variables at run-time rather
259−than trying to guess them at compile-time.
260−
261−To make sure that mechanism works properly all the time, we recommend that you
262−set those variables to meaningful values in your shell environment, too, i.e.
263−by adding the following code to your `~/.bashrc`:
264−```bash
265−if type >/dev/null 2>&1 -p ghc; then
266− eval "$(egrep ^export "$(type -p ghc)")"
267−fi
268−```
269−
270−If you are certain that you'll use only one GHC environment which is located in
271−your user profile, then you can use the following code, too, which has the
272−advantage that it doesn't contain any paths from the Nix store, i.e. those
273−settings always remain valid even if a `nix-env -u` operation updates the GHC
274−environment in your profile:
275−```bash
276−if [ -e ~/.nix-profile/bin/ghc ]; then
277− export NIX_GHC="$HOME/.nix-profile/bin/ghc"
278− export NIX_GHCPKG="$HOME/.nix-profile/bin/ghc-pkg"
279− export NIX_GHC_DOCDIR="$HOME/.nix-profile/share/doc/ghc/html"
280− export NIX_GHC_LIBDIR="$HOME/.nix-profile/lib/ghc-$($NIX_GHC --numeric-version)"
281−fi
282−```
283−
284−### How to install a compiler with libraries, hoogle and documentation indexes
285−
286−If you plan to use your environment for interactive programming, not just
287−compiling random Haskell code, you might want to replace `ghcWithPackages` in
288−all the listings above with `ghcWithHoogle`.
289−
290−This environment generator not only produces an environment with GHC and all
291−the specified libraries, but also generates a `hoogle` and `haddock` indexes
292−for all the packages, and provides a wrapper script around `hoogle` binary that
293−uses all those things. A precise name for this thing would be
294−"`ghcWithPackagesAndHoogleAndDocumentationIndexes`", which is, regrettably, too
295−long and scary.
296−
297−For example, installing the following environment
298−```nix
299−{
300− packageOverrides = super: let self = super.pkgs; in
301− {
302− myHaskellEnv = self.haskellPackages.ghcWithHoogle
303− (haskellPackages: with haskellPackages; [
304− # libraries
305− arrows async cgi criterion
306− # tools
307− cabal-install haskintex
308− ]);
309− };
310−}
311−```
312−allows one to browse module documentation index [not too dissimilar to
313−this](https://downloads.haskell.org/~ghc/latest/docs/html/libraries/index.html)
314−for all the specified packages and their dependencies by directing a browser of
315−choice to `~/.nix-profiles/share/doc/hoogle/index.html` (or
316−`/run/current-system/sw/share/doc/hoogle/index.html` in case you put it in
317−`environment.systemPackages` in NixOS).
318−
319−After you've marveled enough at that try adding the following to your
320−`~/.ghc/ghci.conf`
321−```
322−:def hoogle \s -> return $ ":! hoogle search -cl --count=15 \"" ++ s ++ "\""
323−:def doc \s -> return $ ":! hoogle search -cl --info \"" ++ s ++ "\""
324−```
325−and test it by typing into `ghci`:
326−```
327−:hoogle a -> a
328−:doc a -> a
329−```
330−
331−Be sure to note the links to `haddock` files in the output. With any modern and
332−properly configured terminal emulator you can just click those links to
333−navigate there.
334−
335−Finally, you can run
336−```shell
337−hoogle server -p 8080
338−```
339−and navigate to http://localhost:8080/ for your own local
340−[Hoogle](https://www.haskell.org/hoogle/). Note, however, that Firefox and
341−possibly other browsers disallow navigation from `http:` to `file:` URIs for
342−security reasons, which might be quite an inconvenience. See [this
343−page](http://kb.mozillazine.org/Links_to_local_pages_do_not_work) for
344−workarounds.
345−
346−### How to build a Haskell project using Stack
347−
348−[Stack](http://haskellstack.org) is a popular build tool for Haskell projects.
349−It has first-class support for Nix. Stack can optionally use Nix to
350−automatically select the right version of GHC and other build tools to build,
351−test and execute apps in an existing project downloaded from somewhere on the
352−Internet. Pass the `--nix` flag to any `stack` command to do so, e.g.
353−```shell
354−git clone --recursive http://github.com/yesodweb/wai
355−cd wai
356−stack --nix build
357−```
358−
359−If you want `stack` to use Nix by default, you can add a `nix` section to the
360−`stack.yaml` file, as explained in the [Stack documentation][stack-nix-doc]. For
361−example:
362−```yaml
363−nix:
364− enable: true
365− packages: [pkgconfig zeromq zlib]
366−```
367−
368−The example configuration snippet above tells Stack to create an ad hoc
369−environment for `nix-shell` as in the below section, in which the `pkgconfig`,
370−`zeromq` and `zlib` packages from Nixpkgs are available. All `stack` commands
371−will implicitly be executed inside this ad hoc environment.
372−
373−Some projects have more sophisticated needs. For examples, some ad hoc
374−environments might need to expose Nixpkgs packages compiled in a certain way, or
375−with extra environment variables. In these cases, you'll need a `shell` field
376−instead of `packages`:
377−```yaml
378−nix:
379− enable: true
380− shell-file: shell.nix
381−```
382−
383−For more on how to write a `shell.nix` file see the below section. You'll need
384−to express a derivation. Note that Nixpkgs ships with a convenience wrapper
385−function around `mkDerivation` called `haskell.lib.buildStackProject` to help you
386−create this derivation in exactly the way Stack expects. All of the same inputs
387−as `mkDerivation` can be provided. For example, to build a Stack project that
388−including packages that link against a version of the R library compiled with
389−special options turned on:
390−```nix
391−with (import <nixpkgs> { });
392−
393−let R = pkgs.R.override { enableStrictBarrier = true; };
394−in
395−haskell.lib.buildStackProject {
396− name = "HaskellR";
397− buildInputs = [ R zeromq zlib ];
398−}
399−```
400−
401−You can select a particular GHC version to compile with by setting the
402−`ghc` attribute as an argument to `buildStackProject`. Better yet, let
403−Stack choose what GHC version it wants based on the snapshot specified
404−in `stack.yaml` (only works with Stack >= 1.1.3):
405−```nix
406−{nixpkgs ? import <nixpkgs> { }, ghc ? nixpkgs.ghc}:
407−
408−with nixpkgs;
409−
410−let R = pkgs.R.override { enableStrictBarrier = true; };
411−in
412−haskell.lib.buildStackProject {
413− name = "HaskellR";
414− buildInputs = [ R zeromq zlib ];
415− inherit ghc;
416−}
417−```
418−
419−[stack-nix-doc]: http://docs.haskellstack.org/en/stable/nix_integration.html
420−
421−### How to create ad hoc environments for `nix-shell`
422−
423−The easiest way to create an ad hoc development environment is to run
424−`nix-shell` with the appropriate GHC environment given on the command-line:
425−```shell
426−nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [mtl pandoc])"
427−```
428−
429−For more sophisticated use-cases, however, it's more convenient to save the
430−desired configuration in a file called `shell.nix` that looks like this:
431−```nix
432−{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
433−let
434− inherit (nixpkgs) pkgs;
435− ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [
436− monad-par mtl
437− ]);
438−in
439−pkgs.stdenv.mkDerivation {
440− name = "my-haskell-env-0";
441− buildInputs = [ ghc ];
442− shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)";
443−}
444−```
445−
446−Now run `nix-shell` --- or even `nix-shell --pure` --- to enter a shell
447−environment that has the appropriate compiler in `$PATH`. If you use `--pure`,
448−then add all other packages that your development environment needs into the
449−`buildInputs` attribute. If you'd like to switch to a different compiler
450−version, then pass an appropriate `compiler` argument to the expression, i.e.
451−`nix-shell --argstr compiler ghc784`.
452−
453−If you need such an environment because you'd like to compile a Hackage package
454−outside of Nix --- i.e. because you're hacking on the latest version from Git
455−---, then the package set provides suitable nix-shell environments for you
456−already! Every Haskell package has an `env` attribute that provides a shell
457−environment suitable for compiling that particular package. If you'd like to
458−hack the `lens` library, for example, then you just have to check out the
459−source code and enter the appropriate environment:
460−```
461−$ cabal get lens-4.11 && cd lens-4.11
462−Downloading lens-4.11...
463−Unpacking to lens-4.11/
464−
465−$ nix-shell "<nixpkgs>" -A haskellPackages.lens.env
466−[nix-shell:/tmp/lens-4.11]$
467−```
468−
469−At point, you can run `cabal configure`, `cabal build`, and all the other
470−development commands. Note that you need `cabal-install` installed in your
471−`$PATH` already to use it here --- the `nix-shell` environment does not provide
472−it.
473−
474−## How to create Nix builds for your own private Haskell packages
475−
476−If your own Haskell packages have build instructions for Cabal, then you can
477−convert those automatically into build instructions for Nix using the
478−`cabal2nix` utility, which you can install into your profile by running
479−`nix-env -i cabal2nix`.
480−
481−### How to build a stand-alone project
482−
483−For example, let's assume that you're working on a private project called
484−`foo`. To generate a Nix build expression for it, change into the project's
485−top-level directory and run the command:
486−```shell
487−cabal2nix . > foo.nix
488−```
489−Then write the following snippet into a file called `default.nix`:
490−```nix
491−{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
492−nixpkgs.pkgs.haskell.packages.${compiler}.callPackage ./foo.nix { }
493−```
494−
495−Finally, store the following code in a file called `shell.nix`:
496−```nix
497−{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
498−(import ./default.nix { inherit nixpkgs compiler; }).env
499−```
500−
501−At this point, you can run `nix-build` to have Nix compile your project and
502−install it into a Nix store path. The local directory will contain a symlink
503−called `result` after `nix-build` returns that points into that location. Of
504−course, passing the flag `--argstr compiler ghc763` allows switching the build
505−to any version of GHC currently supported.
506−
507−Furthermore, you can call `nix-shell` to enter an interactive development
508−environment in which you can use `cabal configure` and `cabal build` to develop
509−your code. That environment will automatically contain a proper GHC derivation
510−with all the required libraries registered as well as all the system-level
511−libraries your package might need.
512−
513−If your package does not depend on any system-level libraries, then it's
514−sufficient to run
515−```shell
516−nix-shell --command "cabal configure"
517−```
518−once to set up your build. `cabal-install` determines the absolute paths to all
519−resources required for the build and writes them into a config file in the
520−`dist/` directory. Once that's done, you can run `cabal build` and any other
521−command for that project even outside of the `nix-shell` environment. This
522−feature is particularly nice for those of us who like to edit their code with
523−an IDE, like Emacs' `haskell-mode`, because it's not necessary to start Emacs
524−inside of nix-shell just to make it find out the necessary settings for
525−building the project; `cabal-install` has already done that for us.
526−
527−If you want to do some quick-and-dirty hacking and don't want to bother setting
528−up a `default.nix` and `shell.nix` file manually, then you can use the
529−`--shell` flag offered by `cabal2nix` to have it generate a stand-alone
530−`nix-shell` environment for you. With that feature, running
531−```shell
532−cabal2nix --shell . > shell.nix
533−nix-shell --command "cabal configure"
534−```
535−is usually enough to set up a build environment for any given Haskell package.
536−You can even use that generated file to run `nix-build`, too:
537−```shell
538−nix-build shell.nix
539−```
540−
541−### How to build projects that depend on each other
542−
543−If you have multiple private Haskell packages that depend on each other, then
544−you'll have to register those packages in the Nixpkgs set to make them visible
545−for the dependency resolution performed by `callPackage`. First of all, change
546−into each of your projects top-level directories and generate a `default.nix`
547−file with `cabal2nix`:
548−```shell
549−cd ~/src/foo && cabal2nix . > default.nix
550−cd ~/src/bar && cabal2nix . > default.nix
551−```
552−Then edit your `~/.config/nixpkgs/config.nix` file to register those builds in the
553−default Haskell package set:
554−```nix
555−{
556− packageOverrides = super: let self = super.pkgs; in
557− {
558− haskellPackages = super.haskellPackages.override {
559− overrides = self: super: {
560− foo = self.callPackage ../src/foo {};
561− bar = self.callPackage ../src/bar {};
562− };
563− };
564− };
565−}
566−```
567−Once that's accomplished, `nix-env -f "<nixpkgs>" -qA haskellPackages` will
568−show your packages like any other package from Hackage, and you can build them
569−```shell
570−nix-build "<nixpkgs>" -A haskellPackages.foo
571−```
572−or enter an interactive shell environment suitable for building them:
573−```shell
574−nix-shell "<nixpkgs>" -A haskellPackages.bar.env
575−```
576−
577−## Miscellaneous Topics
578−
579−### How to build with profiling enabled
580−
581−Every Haskell package set takes a function called `overrides` that you can use
582−to manipulate the package as much as you please. One useful application of this
583−feature is to replace the default `mkDerivation` function with one that enables
584−library profiling for all packages. To accomplish that, add configure the
585−following snippet in your `~/.config/nixpkgs/config.nix` file:
586−```nix
587−{
588− packageOverrides = super: let self = super.pkgs; in
589− {
590− profiledHaskellPackages = self.haskellPackages.override {
591− overrides = self: super: {
592− mkDerivation = args: super.mkDerivation (args // {
593− enableLibraryProfiling = true;
594− });
595− };
596− };
597− };
598−}
599−```
600−Then, replace instances of `haskellPackages` in the `cabal2nix`-generated
601−`default.nix` or `shell.nix` files with `profiledHaskellPackages`.
602−
603−### How to override package versions in a compiler-specific package set
604−
605−Nixpkgs provides the latest version of
606−[`ghc-events`](http://hackage.haskell.org/package/ghc-events), which is 0.4.4.0
607−at the time of this writing. This is fine for users of GHC 7.10.x, but GHC
608−7.8.4 cannot compile that binary. Now, one way to solve that problem is to
609−register an older version of `ghc-events` in the 7.8.x-specific package set.
610−The first step is to generate Nix build instructions with `cabal2nix`:
611−```shell
612−cabal2nix cabal://ghc-events-0.4.3.0 > ~/.nixpkgs/ghc-events-0.4.3.0.nix
613−```
614−Then add the override in `~/.config/nixpkgs/config.nix`:
615−```nix
616−{
617− packageOverrides = super: let self = super.pkgs; in
618− {
619− haskell = super.haskell // {
620− packages = super.haskell.packages // {
621− ghc784 = super.haskell.packages.ghc784.override {
622− overrides = self: super: {
623− ghc-events = self.callPackage ./ghc-events-0.4.3.0.nix {};
624− };
625− };
626− };
627− };
628− };
629−}
630−```
631−
632−This code is a little crazy, no doubt, but it's necessary because the intuitive
633−version
634−```nix
635−{ # ...
636−
637− haskell.packages.ghc784 = super.haskell.packages.ghc784.override {
638− overrides = self: super: {
639− ghc-events = self.callPackage ./ghc-events-0.4.3.0.nix {};
640− };
641− };
642−}
643−```
644−doesn't do what we want it to: that code replaces the `haskell` package set in
645−Nixpkgs with one that contains only one entry,`packages`, which contains only
646−one entry `ghc784`. This override loses the `haskell.compiler` set, and it
647−loses the `haskell.packages.ghcXYZ` sets for all compilers but GHC 7.8.4. To
648−avoid that problem, we have to perform the convoluted little dance from above,
649−iterating over each step in hierarchy.
650−
651−Once it's accomplished, however, we can install a variant of `ghc-events`
652−that's compiled with GHC 7.8.4:
653−```shell
654−nix-env -f "<nixpkgs>" -iA haskell.packages.ghc784.ghc-events
655−```
656−Unfortunately, it turns out that this build fails again while executing the
657−test suite! Apparently, the release archive on Hackage is missing some data
658−files that the test suite requires, so we cannot run it. We accomplish that by
659−re-generating the Nix expression with the `--no-check` flag:
660−```shell
661−cabal2nix --no-check cabal://ghc-events-0.4.3.0 > ~/.nixpkgs/ghc-events-0.4.3.0.nix
662−```
663−Now the builds succeeds.
664−
665−Of course, in the concrete example of `ghc-events` this whole exercise is not
666−an ideal solution, because `ghc-events` can analyze the output emitted by any
667−version of GHC later than 6.12 regardless of the compiler version that was used
668−to build the `ghc-events` executable, so strictly speaking there's no reason to
669−prefer one built with GHC 7.8.x in the first place. However, for users who
670−cannot use GHC 7.10.x at all for some reason, the approach of downgrading to an
671−older version might be useful.
672−
673−### How to recover from GHC's infamous non-deterministic library ID bug
674−
675−GHC and distributed build farms don't get along well:
676−
677− - https://ghc.haskell.org/trac/ghc/ticket/4012
678−
679−When you see an error like this one
680−```
681−package foo-0.7.1.0 is broken due to missing package
682−text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
683−```
684−then you have to download and re-install `foo` and all its dependents from
685−scratch:
686−```shell
687−nix-store -q --referrers /nix/store/*-haskell-text-1.2.0.4 \
688− | xargs -L 1 nix-store --repair-path
689−```
690−
691−If you're using additional Hydra servers other than `hydra.nixos.org`, then it
692−might be necessary to purge the local caches that store data from those
693−machines to disable these binary channels for the duration of the previous
694−command, i.e. by running:
695−```shell
696−rm /nix/var/nix/binary-cache-v3.sqlite
697−rm /nix/var/nix/manifests/*
698−rm /nix/var/nix/channel-cache/*
699−```
700−
701−### Builds on Darwin fail with `math.h` not found
702−
703−Users of GHC on Darwin have occasionally reported that builds fail, because the
704−compiler complains about a missing include file:
705−```
706−fatal error: 'math.h' file not found
707−```
708−The issue has been discussed at length in [ticket
709−6390](https://github.com/NixOS/nixpkgs/issues/6390), and so far no good
710−solution has been proposed. As a work-around, users who run into this problem
711−can configure the environment variables
712−```shell
713−export NIX_CFLAGS_COMPILE="-idirafter /usr/include"
714−export NIX_CFLAGS_LINK="-L/usr/lib"
715−```
716−in their `~/.bashrc` file to avoid the compiler error.
717−
718−### Builds using Stack complain about missing system libraries
719−
720−```
721−-- While building package zlib-0.5.4.2 using:
722− runhaskell -package=Cabal-1.22.4.0 -clear-package-db [... lots of flags ...]
723−Process exited with code: ExitFailure 1
724−Logs have been written to: /home/foo/src/stack-ide/.stack-work/logs/zlib-0.5.4.2.log
725−
726−Configuring zlib-0.5.4.2...
727−Setup.hs: Missing dependency on a foreign library:
728−* Missing (or bad) header file: zlib.h
729−This problem can usually be solved by installing the system package that
730−provides this library (you may need the "-dev" version). If the library is
731−already installed but in a non-standard location then you can use the flags
732−--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
733−If the header file does exist, it may contain errors that are caught by the C
734−compiler at the preprocessing stage. In this case you can re-run configure
735−with the verbosity flag -v3 to see the error messages.
736−```
737−
738−When you run the build inside of the nix-shell environment, the system
739−is configured to find `libz.so` without any special flags -- the compiler
740−and linker "just know" how to find it. Consequently, Cabal won't record
741−any search paths for `libz.so` in the package description, which means
742−that the package works fine inside of nix-shell, but once you leave the
743−shell the shared object can no longer be found. That issue is by no
744−means specific to Stack: you'll have that problem with any other
745−Haskell package that's built inside of nix-shell but run outside of that
746−environment.
747−
748−You can remedy this issue in several ways. The easiest is to add a `nix` section
749−to the `stack.yaml` like the following:
750−```yaml
751−nix:
752− enable: true
753− packages: [ zlib ]
754−```
755−
756−Stack's Nix support knows to add `${zlib.out}/lib` and `${zlib.dev}/include`
757−as an `--extra-lib-dirs` and `extra-include-dirs`, respectively.
758−Alternatively, you can achieve the same effect by hand. First of all, run
759−```
760−$ nix-build --no-out-link "<nixpkgs>" -A zlib
761−/nix/store/alsvwzkiw4b7ip38l4nlfjijdvg3fvzn-zlib-1.2.8
762−```
763−to find out the store path of the system's zlib library. Now, you can
764−
765− 1. add that path (plus a "/lib" suffix) to your `$LD_LIBRARY_PATH`
766− environment variable to make sure your system linker finds `libz.so`
767− automatically. It's no pretty solution, but it will work.
768−
769− 2. As a variant of (1), you can also install any number of system
770− libraries into your user's profile (or some other profile) and point
771− `$LD_LIBRARY_PATH` to that profile instead, so that you don't have to
772− list dozens of those store paths all over the place.
773−
774− 3. The solution I prefer is to call stack with an appropriate
775− --extra-lib-dirs flag like so:
776− ```shell
777− stack --extra-lib-dirs=/nix/store/alsvwzkiw4b7ip38l4nlfjijdvg3fvzn-zlib-1.2.8/lib build
778− ```
779−
780− Typically, you'll need `--extra-include-dirs` as well. It's possible
781− to add those flag to the project's `stack.yaml` or your user's
782− global `~/.stack/global/stack.yaml` file so that you don't have to
783− specify them manually every time. But again, you're likely better off
784− using Stack's Nix support instead.
785−
786− The same thing applies to `cabal configure`, of course, if you're
787− building with `cabal-install` instead of Stack.
788−
789−### Creating statically linked binaries
790−
791−There are two levels of static linking. The first option is to configure the
792−build with the Cabal flag `--disable-executable-dynamic`. In Nix expressions,
793−this can be achieved by setting the attribute:
794−```
795−enableSharedExecutables = false;
796−```
797−That gives you a binary with statically linked Haskell libraries and
798−dynamically linked system libraries.
799−
800−To link both Haskell libraries and system libraries statically, the additional
801−flags `--ghc-option=-optl=-static --ghc-option=-optl=-pthread` need to be used.
802−In Nix, this is accomplished with:
803−```
804−configureFlags = [ "--ghc-option=-optl=-static" "--ghc-option=-optl=-pthread" ];
805−```
806−
807−It's important to realize, however, that most system libraries in Nix are
808−built as shared libraries only, i.e. there is just no static library
809−available that Cabal could link!
810−
811−### Building GHC with integer-simple
812−
813−By default GHC implements the Integer type using the
814−[GNU Multiple Precision Arithmetic (GMP) library](https://gmplib.org/).
815−The implementation can be found in the
816−[integer-gmp](http://hackage.haskell.org/package/integer-gmp) package.
817−
818−A potential problem with this is that GMP is licensed under the
819−[GNU Lesser General Public License (LGPL)](http://www.gnu.org/copyleft/lesser.html),
820−a kind of "copyleft" license. According to the terms of the LGPL, paragraph 5,
821−you may distribute a program that is designed to be compiled and dynamically
822−linked with the library under the terms of your choice (i.e., commercially) but
823−if your program incorporates portions of the library, if it is linked
824−statically, then your program is a "derivative"--a "work based on the
825−library"--and according to paragraph 2, section c, you "must cause the whole of
826−the work to be licensed" under the terms of the LGPL (including for free).
827−
828−The LGPL licensing for GMP is a problem for the overall licensing of binary
829−programs compiled with GHC because most distributions (and builds) of GHC use
830−static libraries. (Dynamic libraries are currently distributed only for macOS.)
831−The LGPL licensing situation may be worse: even though
832−[The Glasgow Haskell Compiler License](https://www.haskell.org/ghc/license)
833−is essentially a "free software" license (BSD3), according to
834−paragraph 2 of the LGPL, GHC must be distributed under the terms of the LGPL!
835−
836−To work around these problems GHC can be build with a slower but LGPL-free
837−alternative implemention for Integer called
838−[integer-simple](http://hackage.haskell.org/package/integer-simple).
839−
840−To get a GHC compiler build with `integer-simple` instead of `integer-gmp` use
841−the attribute: `haskell.compiler.integer-simple."${ghcVersion}"`.
842−For example:
843−```
844−$ nix-build -E '(import <nixpkgs> {}).haskell.compiler.integer-simple.ghc802'
845−...
846−$ result/bin/ghc-pkg list | grep integer
847− integer-simple-0.1.1.1
848−```
849−The following command displays the complete list of GHC compilers build with `integer-simple`:
850−```
851−$ nix-env -f "<nixpkgs>" -qaP -A haskell.compiler.integer-simple
852−haskell.compiler.integer-simple.ghc7102 ghc-7.10.2
853−haskell.compiler.integer-simple.ghc7103 ghc-7.10.3
854−haskell.compiler.integer-simple.ghc722 ghc-7.2.2
855−haskell.compiler.integer-simple.ghc742 ghc-7.4.2
856−haskell.compiler.integer-simple.ghc783 ghc-7.8.3
857−haskell.compiler.integer-simple.ghc784 ghc-7.8.4
858−haskell.compiler.integer-simple.ghc801 ghc-8.0.1
859−haskell.compiler.integer-simple.ghc802 ghc-8.0.2
860−haskell.compiler.integer-simple.ghcHEAD ghc-8.1.20170106
861−```
862−
863−To get a package set supporting `integer-simple` use the attribute:
864−`haskell.packages.integer-simple."${ghcVersion}"`. For example
865−use the following to get the `scientific` package build with `integer-simple`:
866−```shell
867−nix-build -A haskell.packages.integer-simple.ghc802.scientific
868−```
869−
870−### Quality assurance
871−
872−The `haskell.lib` library includes a number of functions for checking for
873−various imperfections in Haskell packages. It's useful to apply these functions
874−to your own Haskell packages and integrate that in a Continuous Integration
875−server like [hydra](https://nixos.org/hydra/) to assure your packages maintain a
876−minimum level of quality. This section discusses some of these functions.
877−
878−#### failOnAllWarnings
879−
880−Applying `haskell.lib.failOnAllWarnings` to a Haskell package enables the
881−`-Wall` and `-Werror` GHC options to turn all warnings into build failures.
882−
883−#### buildStrictly
884−
885−Applying `haskell.lib.buildStrictly` to a Haskell package calls
886−`failOnAllWarnings` on the given package to turn all warnings into build
887−failures. Additionally the source of your package is gotten from first invoking
888−`cabal sdist` to ensure all needed files are listed in the Cabal file.
889−
890−#### checkUnusedPackages
891−
892−Applying `haskell.lib.checkUnusedPackages` to a Haskell package invokes
893−the [packunused](http://hackage.haskell.org/package/packunused) tool on the
894−package. `packunused` complains when it finds packages listed as build-depends
895−in the Cabal file which are redundant. For example:
896−
897−```
898−$ nix-build -E 'let pkgs = import <nixpkgs> {}; in pkgs.haskell.lib.checkUnusedPackages {} pkgs.haskellPackages.scientific'
899−these derivations will be built:
900− /nix/store/3lc51cxj2j57y3zfpq5i69qbzjpvyci1-scientific-0.3.5.1.drv
901−...
902−detected package components
903−~~~~~~~~~~~~~~~~~~~~~~~~~~~
904−
905− - library
906− - testsuite(s): test-scientific
907− - benchmark(s): bench-scientific*
908−
909−(component names suffixed with '*' are not configured to be built)
910−
911−library
912−~~~~~~~
913−
914−The following package dependencies seem redundant:
915−
916− - ghc-prim-0.5.0.0
917−
918−testsuite(test-scientific)
919−~~~~~~~~~~~~~~~~~~~~~~~~~~
920−
921−no redundant packages dependencies found
922−
923−builder for ‘/nix/store/3lc51cxj2j57y3zfpq5i69qbzjpvyci1-scientific-0.3.5.1.drv’ failed with exit code 1
924−error: build of ‘/nix/store/3lc51cxj2j57y3zfpq5i69qbzjpvyci1-scientific-0.3.5.1.drv’ failed
925−```
926−
927−As you can see, `packunused` finds out that although the testsuite component has
928−no redundant dependencies the library component of `scientific-0.3.5.1` depends
929−on `ghc-prim` which is unused in the library.
930−
931−## Other resources
932−
933− - The Youtube video [Nix Loves Haskell](https://www.youtube.com/watch?v=BsBhi_r-OeE)
934− provides an introduction into Haskell NG aimed at beginners. The slides are
935− available at http://cryp.to/nixos-meetup-3-slides.pdf and also -- in a form
936− ready for cut & paste -- at
937− https://github.com/NixOS/cabal2nix/blob/master/doc/nixos-meetup-3-slides.md.
938−
939− - Another Youtube video is [Escaping Cabal Hell with Nix](https://www.youtube.com/watch?v=mQd3s57n_2Y),
940− which discusses the subject of Haskell development with Nix but also provides
941− a basic introduction to Nix as well, i.e. it's suitable for viewers with
942− almost no prior Nix experience.
943−
944− - Oliver Charles wrote a very nice [Tutorial how to develop Haskell packages with Nix](http://wiki.ocharles.org.uk/Nix).
945−
946− - The *Journey into the Haskell NG infrastructure* series of postings
947− describe the new Haskell infrastructure in great detail:
948−
949− - [Part 1](https://nixos.org/nix-dev/2015-January/015591.html)
950− explains the differences between the old and the new code and gives
951− instructions how to migrate to the new setup.
952−
953− - [Part 2](https://nixos.org/nix-dev/2015-January/015608.html)
954− looks in-depth at how to tweak and configure your setup by means of
955− overrides.
956−
957− - [Part 3](https://nixos.org/nix-dev/2015-April/016912.html)
958− describes the infrastructure that keeps the Haskell package set in Nixpkgs
959− up-to-date.
doc/languages-frameworks/haskell.section.mdnew file+953
@@ -0,0 +1,953 @@
1+---
2+title: User's Guide for Haskell in Nixpkgs
3+author: Peter Simons
4+date: 2015-06-01
5+---
6+# User's Guide to the Haskell Infrastructure
7+
8+
9+## How to install Haskell packages
10+
11+Nixpkgs distributes build instructions for all Haskell packages registered on
12+[Hackage](http://hackage.haskell.org/), but strangely enough normal Nix package
13+lookups don't seem to discover any of them, except for the default version of ghc, cabal-install, and stack:
14+```
15+$ nix-env -i alex
16+error: selector ‘alex’ matches no derivations
17+$ nix-env -qa ghc
18+ghc-7.10.2
19+```
20+
21+The Haskell package set is not registered in the top-level namespace because it
22+is *huge*. If all Haskell packages were visible to these commands, then
23+name-based search/install operations would be much slower than they are now. We
24+avoided that by keeping all Haskell-related packages in a separate attribute
25+set called `haskellPackages`, which the following command will list:
26+```
27+$ nix-env -f "<nixpkgs>" -qaP -A haskellPackages
28+haskellPackages.a50 a50-0.5
29+haskellPackages.abacate haskell-abacate-0.0.0.0
30+haskellPackages.abcBridge haskell-abcBridge-0.12
31+haskellPackages.afv afv-0.1.1
32+haskellPackages.alex alex-3.1.4
33+haskellPackages.Allure Allure-0.4.101.1
34+haskellPackages.alms alms-0.6.7
35+[... some 8000 entries omitted ...]
36+```
37+
38+To install any of those packages into your profile, refer to them by their
39+attribute path (first column):
40+```shell
41+nix-env -f "<nixpkgs>" -iA haskellPackages.Allure ...
42+```
43+
44+The attribute path of any Haskell packages corresponds to the name of that
45+particular package on Hackage: the package `cabal-install` has the attribute
46+`haskellPackages.cabal-install`, and so on. (Actually, this convention causes
47+trouble with packages like `3dmodels` and `4Blocks`, because these names are
48+invalid identifiers in the Nix language. The issue of how to deal with these
49+rare corner cases is currently unresolved.)
50+
51+Haskell packages whose Nix name (second column) begins with a `haskell-` prefix
52+are packages that provide a library whereas packages without that prefix
53+provide just executables. Libraries may provide executables too, though: the
54+package `haskell-pandoc`, for example, installs both a library and an
55+application. You can install and use Haskell executables just like any other
56+program in Nixpkgs, but using Haskell libraries for development is a bit
57+trickier and we'll address that subject in great detail in section [How to
58+create a development environment].
59+
60+Attribute paths are deterministic inside of Nixpkgs, but the path necessary to
61+reach Nixpkgs varies from system to system. We dodged that problem by giving
62+`nix-env` an explicit `-f "<nixpkgs>"` parameter, but if you call `nix-env`
63+without that flag, then chances are the invocation fails:
64+```
65+$ nix-env -iA haskellPackages.cabal-install
66+error: attribute ‘haskellPackages’ in selection path
67+ ‘haskellPackages.cabal-install’ not found
68+```
69+
70+On NixOS, for example, Nixpkgs does *not* exist in the top-level namespace by
71+default. To figure out the proper attribute path, it's easiest to query for the
72+path of a well-known Nixpkgs package, i.e.:
73+```
74+$ nix-env -qaP coreutils
75+nixos.coreutils coreutils-8.23
76+```
77+
78+If your system responds like that (most NixOS installations will), then the
79+attribute path to `haskellPackages` is `nixos.haskellPackages`. Thus, if you
80+want to use `nix-env` without giving an explicit `-f` flag, then that's the way
81+to do it:
82+```shell
83+nix-env -qaP -A nixos.haskellPackages
84+nix-env -iA nixos.haskellPackages.cabal-install
85+```
86+
87+Our current default compiler is GHC 7.10.x and the `haskellPackages` set
88+contains packages built with that particular version. Nixpkgs contains the
89+latest major release of every GHC since 6.10.4, however, and there is a whole
90+family of package sets available that defines Hackage packages built with each
91+of those compilers, too:
92+```shell
93+nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc6123
94+nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc763
95+```
96+
97+The name `haskellPackages` is really just a synonym for
98+`haskell.packages.ghc7102`, because we prefer that package set internally and
99+recommend it to our users as their default choice, but ultimately you are free
100+to compile your Haskell packages with any GHC version you please. The following
101+command displays the complete list of available compilers:
102+```
103+$ nix-env -f "<nixpkgs>" -qaP -A haskell.compiler
104+haskell.compiler.ghc6104 ghc-6.10.4
105+haskell.compiler.ghc6123 ghc-6.12.3
106+haskell.compiler.ghc704 ghc-7.0.4
107+haskell.compiler.ghc722 ghc-7.2.2
108+haskell.compiler.ghc742 ghc-7.4.2
109+haskell.compiler.ghc763 ghc-7.6.3
110+haskell.compiler.ghc784 ghc-7.8.4
111+haskell.compiler.ghc7102 ghc-7.10.2
112+haskell.compiler.ghcHEAD ghc-7.11.20150402
113+haskell.compiler.ghcNokinds ghc-nokinds-7.11.20150704
114+haskell.compiler.ghcjs ghcjs-0.1.0
115+haskell.compiler.jhc jhc-0.8.2
116+haskell.compiler.uhc uhc-1.1.9.0
117+```
118+
119+We have no package sets for `jhc` or `uhc` yet, unfortunately, but for every
120+version of GHC listed above, there exists a package set based on that compiler.
121+Also, the attributes `haskell.compiler.ghcXYC` and
122+`haskell.packages.ghcXYC.ghc` are synonymous for the sake of convenience.
123+
124+## How to create a development environment
125+
126+### How to install a compiler
127+
128+A simple development environment consists of a Haskell compiler and one or both
129+of the tools `cabal-install` and `stack`. We saw in section
130+[How to install Haskell packages] how you can install those programs into your
131+user profile:
132+```shell
133+nix-env -f "<nixpkgs>" -iA haskellPackages.ghc haskellPackages.cabal-install
134+```
135+
136+Instead of the default package set `haskellPackages`, you can also use the more
137+precise name `haskell.compiler.ghc7102`, which has the advantage that it refers
138+to the same GHC version regardless of what Nixpkgs considers "default" at any
139+given time.
140+
141+Once you've made those tools available in `$PATH`, it's possible to build
142+Hackage packages the same way people without access to Nix do it all the time:
143+```shell
144+cabal get lens-4.11 && cd lens-4.11
145+cabal install -j --dependencies-only
146+cabal configure
147+cabal build
148+```
149+
150+If you enjoy working with Cabal sandboxes, then that's entirely possible too:
151+just execute the command
152+```shell
153+cabal sandbox init
154+```
155+before installing the required dependencies.
156+
157+The `nix-shell` utility makes it easy to switch to a different compiler
158+version; just enter the Nix shell environment with the command
159+```shell
160+nix-shell -p haskell.compiler.ghc784
161+```
162+to bring GHC 7.8.4 into `$PATH`. Alternatively, you can use Stack instead of
163+`nix-shell` directly to select compiler versions and other build tools
164+per-project. It uses `nix-shell` under the hood when Nix support is turned on.
165+See [How to build a Haskell project using Stack].
166+
167+If you're using `cabal-install`, re-running `cabal configure` inside the spawned
168+shell switches your build to use that compiler instead. If you're working on
169+a project that doesn't depend on any additional system libraries outside of GHC,
170+then it's even sufficient to just run the `cabal configure` command inside of
171+the shell:
172+```shell
173+nix-shell -p haskell.compiler.ghc784 --command "cabal configure"
174+```
175+
176+Afterwards, all other commands like `cabal build` work just fine in any shell
177+environment, because the configure phase recorded the absolute paths to all
178+required tools like GHC in its build configuration inside of the `dist/`
179+directory. Please note, however, that `nix-collect-garbage` can break such an
180+environment because the Nix store paths created by `nix-shell` aren't "alive"
181+anymore once `nix-shell` has terminated. If you find that your Haskell builds
182+no longer work after garbage collection, then you'll have to re-run `cabal
183+configure` inside of a new `nix-shell` environment.
184+
185+### How to install a compiler with libraries
186+
187+GHC expects to find all installed libraries inside of its own `lib` directory.
188+This approach works fine on traditional Unix systems, but it doesn't work for
189+Nix, because GHC's store path is immutable once it's built. We cannot install
190+additional libraries into that location. As a consequence, our copies of GHC
191+don't know any packages except their own core libraries, like `base`,
192+`containers`, `Cabal`, etc.
193+
194+We can register additional libraries to GHC, however, using a special build
195+function called `ghcWithPackages`. That function expects one argument: a
196+function that maps from an attribute set of Haskell packages to a list of
197+packages, which determines the libraries known to that particular version of
198+GHC. For example, the Nix expression `ghcWithPackages (pkgs: [pkgs.mtl])`
199+generates a copy of GHC that has the `mtl` library registered in addition to
200+its normal core packages:
201+```
202+$ nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [pkgs.mtl])"
203+
204+[nix-shell:~]$ ghc-pkg list mtl
205+/nix/store/zy79...-ghc-7.10.2/lib/ghc-7.10.2/package.conf.d:
206+ mtl-2.2.1
207+```
208+
209+This function allows users to define their own development environment by means
210+of an override. After adding the following snippet to `~/.config/nixpkgs/config.nix`,
211+```nix
212+{
213+ packageOverrides = super: let self = super.pkgs; in
214+ {
215+ myHaskellEnv = self.haskell.packages.ghc7102.ghcWithPackages
216+ (haskellPackages: with haskellPackages; [
217+ # libraries
218+ arrows async cgi criterion
219+ # tools
220+ cabal-install haskintex
221+ ]);
222+ };
223+}
224+```
225+it's possible to install that compiler with `nix-env -f "<nixpkgs>" -iA
226+myHaskellEnv`. If you'd like to switch that development environment to a
227+different version of GHC, just replace the `ghc7102` bit in the previous
228+definition with the appropriate name. Of course, it's also possible to define
229+any number of these development environments! (You can't install two of them
230+into the same profile at the same time, though, because that would result in
231+file conflicts.)
232+
233+The generated `ghc` program is a wrapper script that re-directs the real
234+GHC executable to use a new `lib` directory --- one that we specifically
235+constructed to contain all those packages the user requested:
236+```
237+$ cat $(type -p ghc)
238+#! /nix/store/xlxj...-bash-4.3-p33/bin/bash -e
239+export NIX_GHC=/nix/store/19sm...-ghc-7.10.2/bin/ghc
240+export NIX_GHCPKG=/nix/store/19sm...-ghc-7.10.2/bin/ghc-pkg
241+export NIX_GHC_DOCDIR=/nix/store/19sm...-ghc-7.10.2/share/doc/ghc/html
242+export NIX_GHC_LIBDIR=/nix/store/19sm...-ghc-7.10.2/lib/ghc-7.10.2
243+exec /nix/store/j50p...-ghc-7.10.2/bin/ghc "-B$NIX_GHC_LIBDIR" "$@"
244+```
245+
246+The variables `$NIX_GHC`, `$NIX_GHCPKG`, etc. point to the *new* store path
247+`ghcWithPackages` constructed specifically for this environment. The last line
248+of the wrapper script then executes the real `ghc`, but passes the path to the
249+new `lib` directory using GHC's `-B` flag.
250+
251+The purpose of those environment variables is to work around an impurity in the
252+popular [ghc-paths](http://hackage.haskell.org/package/ghc-paths) library. That
253+library promises to give its users access to GHC's installation paths. Only,
254+the library can't possible know that path when it's compiled, because the path
255+GHC considers its own is determined only much later, when the user configures
256+it through `ghcWithPackages`. So we [patched
257+ghc-paths](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/patches/ghc-paths-nix.patch)
258+to return the paths found in those environment variables at run-time rather
259+than trying to guess them at compile-time.
260+
261+To make sure that mechanism works properly all the time, we recommend that you
262+set those variables to meaningful values in your shell environment, too, i.e.
263+by adding the following code to your `~/.bashrc`:
264+```bash
265+if type >/dev/null 2>&1 -p ghc; then
266+ eval "$(egrep ^export "$(type -p ghc)")"
267+fi
268+```
269+
270+If you are certain that you'll use only one GHC environment which is located in
271+your user profile, then you can use the following code, too, which has the
272+advantage that it doesn't contain any paths from the Nix store, i.e. those
273+settings always remain valid even if a `nix-env -u` operation updates the GHC
274+environment in your profile:
275+```bash
276+if [ -e ~/.nix-profile/bin/ghc ]; then
277+ export NIX_GHC="$HOME/.nix-profile/bin/ghc"
278+ export NIX_GHCPKG="$HOME/.nix-profile/bin/ghc-pkg"
279+ export NIX_GHC_DOCDIR="$HOME/.nix-profile/share/doc/ghc/html"
280+ export NIX_GHC_LIBDIR="$HOME/.nix-profile/lib/ghc-$($NIX_GHC --numeric-version)"
281+fi
282+```
283+
284+### How to install a compiler with libraries, hoogle and documentation indexes
285+
286+If you plan to use your environment for interactive programming, not just
287+compiling random Haskell code, you might want to replace `ghcWithPackages` in
288+all the listings above with `ghcWithHoogle`.
289+
290+This environment generator not only produces an environment with GHC and all
291+the specified libraries, but also generates a `hoogle` and `haddock` indexes
292+for all the packages, and provides a wrapper script around `hoogle` binary that
293+uses all those things. A precise name for this thing would be
294+"`ghcWithPackagesAndHoogleAndDocumentationIndexes`", which is, regrettably, too
295+long and scary.
296+
297+For example, installing the following environment
298+```nix
299+{
300+ packageOverrides = super: let self = super.pkgs; in
301+ {
302+ myHaskellEnv = self.haskellPackages.ghcWithHoogle
303+ (haskellPackages: with haskellPackages; [
304+ # libraries
305+ arrows async cgi criterion
306+ # tools
307+ cabal-install haskintex
308+ ]);
309+ };
310+}
311+```
312+allows one to browse module documentation index [not too dissimilar to
313+this](https://downloads.haskell.org/~ghc/latest/docs/html/libraries/index.html)
314+for all the specified packages and their dependencies by directing a browser of
315+choice to `~/.nix-profiles/share/doc/hoogle/index.html` (or
316+`/run/current-system/sw/share/doc/hoogle/index.html` in case you put it in
317+`environment.systemPackages` in NixOS).
318+
319+After you've marveled enough at that try adding the following to your
320+`~/.ghc/ghci.conf`
321+```
322+:def hoogle \s -> return $ ":! hoogle search -cl --count=15 \"" ++ s ++ "\""
323+:def doc \s -> return $ ":! hoogle search -cl --info \"" ++ s ++ "\""
324+```
325+and test it by typing into `ghci`:
326+```
327+:hoogle a -> a
328+:doc a -> a
329+```
330+
331+Be sure to note the links to `haddock` files in the output. With any modern and
332+properly configured terminal emulator you can just click those links to
333+navigate there.
334+
335+Finally, you can run
336+```shell
337+hoogle server -p 8080 --local
338+```
339+and navigate to http://localhost:8080/ for your own local
340+[Hoogle](https://www.haskell.org/hoogle/).
341+
342+### How to build a Haskell project using Stack
343+
344+[Stack](http://haskellstack.org) is a popular build tool for Haskell projects.
345+It has first-class support for Nix. Stack can optionally use Nix to
346+automatically select the right version of GHC and other build tools to build,
347+test and execute apps in an existing project downloaded from somewhere on the
348+Internet. Pass the `--nix` flag to any `stack` command to do so, e.g.
349+```shell
350+git clone --recursive http://github.com/yesodweb/wai
351+cd wai
352+stack --nix build
353+```
354+
355+If you want `stack` to use Nix by default, you can add a `nix` section to the
356+`stack.yaml` file, as explained in the [Stack documentation][stack-nix-doc]. For
357+example:
358+```yaml
359+nix:
360+ enable: true
361+ packages: [pkgconfig zeromq zlib]
362+```
363+
364+The example configuration snippet above tells Stack to create an ad hoc
365+environment for `nix-shell` as in the below section, in which the `pkgconfig`,
366+`zeromq` and `zlib` packages from Nixpkgs are available. All `stack` commands
367+will implicitly be executed inside this ad hoc environment.
368+
369+Some projects have more sophisticated needs. For examples, some ad hoc
370+environments might need to expose Nixpkgs packages compiled in a certain way, or
371+with extra environment variables. In these cases, you'll need a `shell` field
372+instead of `packages`:
373+```yaml
374+nix:
375+ enable: true
376+ shell-file: shell.nix
377+```
378+
379+For more on how to write a `shell.nix` file see the below section. You'll need
380+to express a derivation. Note that Nixpkgs ships with a convenience wrapper
381+function around `mkDerivation` called `haskell.lib.buildStackProject` to help you
382+create this derivation in exactly the way Stack expects. All of the same inputs
383+as `mkDerivation` can be provided. For example, to build a Stack project that
384+including packages that link against a version of the R library compiled with
385+special options turned on:
386+```nix
387+with (import <nixpkgs> { });
388+
389+let R = pkgs.R.override { enableStrictBarrier = true; };
390+in
391+haskell.lib.buildStackProject {
392+ name = "HaskellR";
393+ buildInputs = [ R zeromq zlib ];
394+}
395+```
396+
397+You can select a particular GHC version to compile with by setting the
398+`ghc` attribute as an argument to `buildStackProject`. Better yet, let
399+Stack choose what GHC version it wants based on the snapshot specified
400+in `stack.yaml` (only works with Stack >= 1.1.3):
401+```nix
402+{nixpkgs ? import <nixpkgs> { }, ghc ? nixpkgs.ghc}:
403+
404+with nixpkgs;
405+
406+let R = pkgs.R.override { enableStrictBarrier = true; };
407+in
408+haskell.lib.buildStackProject {
409+ name = "HaskellR";
410+ buildInputs = [ R zeromq zlib ];
411+ inherit ghc;
412+}
413+```
414+
415+[stack-nix-doc]: http://docs.haskellstack.org/en/stable/nix_integration.html
416+
417+### How to create ad hoc environments for `nix-shell`
418+
419+The easiest way to create an ad hoc development environment is to run
420+`nix-shell` with the appropriate GHC environment given on the command-line:
421+```shell
422+nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [mtl pandoc])"
423+```
424+
425+For more sophisticated use-cases, however, it's more convenient to save the
426+desired configuration in a file called `shell.nix` that looks like this:
427+```nix
428+{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
429+let
430+ inherit (nixpkgs) pkgs;
431+ ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [
432+ monad-par mtl
433+ ]);
434+in
435+pkgs.stdenv.mkDerivation {
436+ name = "my-haskell-env-0";
437+ buildInputs = [ ghc ];
438+ shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)";
439+}
440+```
441+
442+Now run `nix-shell` --- or even `nix-shell --pure` --- to enter a shell
443+environment that has the appropriate compiler in `$PATH`. If you use `--pure`,
444+then add all other packages that your development environment needs into the
445+`buildInputs` attribute. If you'd like to switch to a different compiler
446+version, then pass an appropriate `compiler` argument to the expression, i.e.
447+`nix-shell --argstr compiler ghc784`.
448+
449+If you need such an environment because you'd like to compile a Hackage package
450+outside of Nix --- i.e. because you're hacking on the latest version from Git
451+---, then the package set provides suitable nix-shell environments for you
452+already! Every Haskell package has an `env` attribute that provides a shell
453+environment suitable for compiling that particular package. If you'd like to
454+hack the `lens` library, for example, then you just have to check out the
455+source code and enter the appropriate environment:
456+```
457+$ cabal get lens-4.11 && cd lens-4.11
458+Downloading lens-4.11...
459+Unpacking to lens-4.11/
460+
461+$ nix-shell "<nixpkgs>" -A haskellPackages.lens.env
462+[nix-shell:/tmp/lens-4.11]$
463+```
464+
465+At point, you can run `cabal configure`, `cabal build`, and all the other
466+development commands. Note that you need `cabal-install` installed in your
467+`$PATH` already to use it here --- the `nix-shell` environment does not provide
468+it.
469+
470+## How to create Nix builds for your own private Haskell packages
471+
472+If your own Haskell packages have build instructions for Cabal, then you can
473+convert those automatically into build instructions for Nix using the
474+`cabal2nix` utility, which you can install into your profile by running
475+`nix-env -i cabal2nix`.
476+
477+### How to build a stand-alone project
478+
479+For example, let's assume that you're working on a private project called
480+`foo`. To generate a Nix build expression for it, change into the project's
481+top-level directory and run the command:
482+```shell
483+cabal2nix . > foo.nix
484+```
485+Then write the following snippet into a file called `default.nix`:
486+```nix
487+{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
488+nixpkgs.pkgs.haskell.packages.${compiler}.callPackage ./foo.nix { }
489+```
490+
491+Finally, store the following code in a file called `shell.nix`:
492+```nix
493+{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
494+(import ./default.nix { inherit nixpkgs compiler; }).env
495+```
496+
497+At this point, you can run `nix-build` to have Nix compile your project and
498+install it into a Nix store path. The local directory will contain a symlink
499+called `result` after `nix-build` returns that points into that location. Of
500+course, passing the flag `--argstr compiler ghc763` allows switching the build
501+to any version of GHC currently supported.
502+
503+Furthermore, you can call `nix-shell` to enter an interactive development
504+environment in which you can use `cabal configure` and `cabal build` to develop
505+your code. That environment will automatically contain a proper GHC derivation
506+with all the required libraries registered as well as all the system-level
507+libraries your package might need.
508+
509+If your package does not depend on any system-level libraries, then it's
510+sufficient to run
511+```shell
512+nix-shell --command "cabal configure"
513+```
514+once to set up your build. `cabal-install` determines the absolute paths to all
515+resources required for the build and writes them into a config file in the
516+`dist/` directory. Once that's done, you can run `cabal build` and any other
517+command for that project even outside of the `nix-shell` environment. This
518+feature is particularly nice for those of us who like to edit their code with
519+an IDE, like Emacs' `haskell-mode`, because it's not necessary to start Emacs
520+inside of nix-shell just to make it find out the necessary settings for
521+building the project; `cabal-install` has already done that for us.
522+
523+If you want to do some quick-and-dirty hacking and don't want to bother setting
524+up a `default.nix` and `shell.nix` file manually, then you can use the
525+`--shell` flag offered by `cabal2nix` to have it generate a stand-alone
526+`nix-shell` environment for you. With that feature, running
527+```shell
528+cabal2nix --shell . > shell.nix
529+nix-shell --command "cabal configure"
530+```
531+is usually enough to set up a build environment for any given Haskell package.
532+You can even use that generated file to run `nix-build`, too:
533+```shell
534+nix-build shell.nix
535+```
536+
537+### How to build projects that depend on each other
538+
539+If you have multiple private Haskell packages that depend on each other, then
540+you'll have to register those packages in the Nixpkgs set to make them visible
541+for the dependency resolution performed by `callPackage`. First of all, change
542+into each of your projects top-level directories and generate a `default.nix`
543+file with `cabal2nix`:
544+```shell
545+cd ~/src/foo && cabal2nix . > default.nix
546+cd ~/src/bar && cabal2nix . > default.nix
547+```
548+Then edit your `~/.config/nixpkgs/config.nix` file to register those builds in the
549+default Haskell package set:
550+```nix
551+{
552+ packageOverrides = super: let self = super.pkgs; in
553+ {
554+ haskellPackages = super.haskellPackages.override {
555+ overrides = self: super: {
556+ foo = self.callPackage ../src/foo {};
557+ bar = self.callPackage ../src/bar {};
558+ };
559+ };
560+ };
561+}
562+```
563+Once that's accomplished, `nix-env -f "<nixpkgs>" -qA haskellPackages` will
564+show your packages like any other package from Hackage, and you can build them
565+```shell
566+nix-build "<nixpkgs>" -A haskellPackages.foo
567+```
568+or enter an interactive shell environment suitable for building them:
569+```shell
570+nix-shell "<nixpkgs>" -A haskellPackages.bar.env
571+```
572+
573+## Miscellaneous Topics
574+
575+### How to build with profiling enabled
576+
577+Every Haskell package set takes a function called `overrides` that you can use
578+to manipulate the package as much as you please. One useful application of this
579+feature is to replace the default `mkDerivation` function with one that enables
580+library profiling for all packages. To accomplish that add the following
581+snippet to your `~/.config/nixpkgs/config.nix` file:
582+```nix
583+{
584+ packageOverrides = super: let self = super.pkgs; in
585+ {
586+ profiledHaskellPackages = self.haskellPackages.override {
587+ overrides = self: super: {
588+ mkDerivation = args: super.mkDerivation (args // {
589+ enableLibraryProfiling = true;
590+ });
591+ };
592+ };
593+ };
594+}
595+```
596+Then, replace instances of `haskellPackages` in the `cabal2nix`-generated
597+`default.nix` or `shell.nix` files with `profiledHaskellPackages`.
598+
599+### How to override package versions in a compiler-specific package set
600+
601+Nixpkgs provides the latest version of
602+[`ghc-events`](http://hackage.haskell.org/package/ghc-events), which is 0.4.4.0
603+at the time of this writing. This is fine for users of GHC 7.10.x, but GHC
604+7.8.4 cannot compile that binary. Now, one way to solve that problem is to
605+register an older version of `ghc-events` in the 7.8.x-specific package set.
606+The first step is to generate Nix build instructions with `cabal2nix`:
607+```shell
608+cabal2nix cabal://ghc-events-0.4.3.0 > ~/.nixpkgs/ghc-events-0.4.3.0.nix
609+```
610+Then add the override in `~/.config/nixpkgs/config.nix`:
611+```nix
612+{
613+ packageOverrides = super: let self = super.pkgs; in
614+ {
615+ haskell = super.haskell // {
616+ packages = super.haskell.packages // {
617+ ghc784 = super.haskell.packages.ghc784.override {
618+ overrides = self: super: {
619+ ghc-events = self.callPackage ./ghc-events-0.4.3.0.nix {};
620+ };
621+ };
622+ };
623+ };
624+ };
625+}
626+```
627+
628+This code is a little crazy, no doubt, but it's necessary because the intuitive
629+version
630+```nix
631+{ # ...
632+
633+ haskell.packages.ghc784 = super.haskell.packages.ghc784.override {
634+ overrides = self: super: {
635+ ghc-events = self.callPackage ./ghc-events-0.4.3.0.nix {};
636+ };
637+ };
638+}
639+```
640+doesn't do what we want it to: that code replaces the `haskell` package set in
641+Nixpkgs with one that contains only one entry,`packages`, which contains only
642+one entry `ghc784`. This override loses the `haskell.compiler` set, and it
643+loses the `haskell.packages.ghcXYZ` sets for all compilers but GHC 7.8.4. To
644+avoid that problem, we have to perform the convoluted little dance from above,
645+iterating over each step in hierarchy.
646+
647+Once it's accomplished, however, we can install a variant of `ghc-events`
648+that's compiled with GHC 7.8.4:
649+```shell
650+nix-env -f "<nixpkgs>" -iA haskell.packages.ghc784.ghc-events
651+```
652+Unfortunately, it turns out that this build fails again while executing the
653+test suite! Apparently, the release archive on Hackage is missing some data
654+files that the test suite requires, so we cannot run it. We accomplish that by
655+re-generating the Nix expression with the `--no-check` flag:
656+```shell
657+cabal2nix --no-check cabal://ghc-events-0.4.3.0 > ~/.nixpkgs/ghc-events-0.4.3.0.nix
658+```
659+Now the builds succeeds.
660+
661+Of course, in the concrete example of `ghc-events` this whole exercise is not
662+an ideal solution, because `ghc-events` can analyze the output emitted by any
663+version of GHC later than 6.12 regardless of the compiler version that was used
664+to build the `ghc-events` executable, so strictly speaking there's no reason to
665+prefer one built with GHC 7.8.x in the first place. However, for users who
666+cannot use GHC 7.10.x at all for some reason, the approach of downgrading to an
667+older version might be useful.
668+
669+### How to recover from GHC's infamous non-deterministic library ID bug
670+
671+GHC and distributed build farms don't get along well:
672+
673+ - https://ghc.haskell.org/trac/ghc/ticket/4012
674+
675+When you see an error like this one
676+```
677+package foo-0.7.1.0 is broken due to missing package
678+text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
679+```
680+then you have to download and re-install `foo` and all its dependents from
681+scratch:
682+```shell
683+nix-store -q --referrers /nix/store/*-haskell-text-1.2.0.4 \
684+ | xargs -L 1 nix-store --repair-path
685+```
686+
687+If you're using additional Hydra servers other than `hydra.nixos.org`, then it
688+might be necessary to purge the local caches that store data from those
689+machines to disable these binary channels for the duration of the previous
690+command, i.e. by running:
691+```shell
692+rm ~/.cache/nix/binary-cache*.sqlite
693+```
694+
695+### Builds on Darwin fail with `math.h` not found
696+
697+Users of GHC on Darwin have occasionally reported that builds fail, because the
698+compiler complains about a missing include file:
699+```
700+fatal error: 'math.h' file not found
701+```
702+The issue has been discussed at length in [ticket
703+6390](https://github.com/NixOS/nixpkgs/issues/6390), and so far no good
704+solution has been proposed. As a work-around, users who run into this problem
705+can configure the environment variables
706+```shell
707+export NIX_CFLAGS_COMPILE="-idirafter /usr/include"
708+export NIX_CFLAGS_LINK="-L/usr/lib"
709+```
710+in their `~/.bashrc` file to avoid the compiler error.
711+
712+### Builds using Stack complain about missing system libraries
713+
714+```
715+-- While building package zlib-0.5.4.2 using:
716+ runhaskell -package=Cabal-1.22.4.0 -clear-package-db [... lots of flags ...]
717+Process exited with code: ExitFailure 1
718+Logs have been written to: /home/foo/src/stack-ide/.stack-work/logs/zlib-0.5.4.2.log
719+
720+Configuring zlib-0.5.4.2...
721+Setup.hs: Missing dependency on a foreign library:
722+* Missing (or bad) header file: zlib.h
723+This problem can usually be solved by installing the system package that
724+provides this library (you may need the "-dev" version). If the library is
725+already installed but in a non-standard location then you can use the flags
726+--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
727+If the header file does exist, it may contain errors that are caught by the C
728+compiler at the preprocessing stage. In this case you can re-run configure
729+with the verbosity flag -v3 to see the error messages.
730+```
731+
732+When you run the build inside of the nix-shell environment, the system
733+is configured to find `libz.so` without any special flags -- the compiler
734+and linker "just know" how to find it. Consequently, Cabal won't record
735+any search paths for `libz.so` in the package description, which means
736+that the package works fine inside of nix-shell, but once you leave the
737+shell the shared object can no longer be found. That issue is by no
738+means specific to Stack: you'll have that problem with any other
739+Haskell package that's built inside of nix-shell but run outside of that
740+environment.
741+
742+You can remedy this issue in several ways. The easiest is to add a `nix` section
743+to the `stack.yaml` like the following:
744+```yaml
745+nix:
746+ enable: true
747+ packages: [ zlib ]
748+```
749+
750+Stack's Nix support knows to add `${zlib.out}/lib` and `${zlib.dev}/include`
751+as an `--extra-lib-dirs` and `extra-include-dirs`, respectively.
752+Alternatively, you can achieve the same effect by hand. First of all, run
753+```
754+$ nix-build --no-out-link "<nixpkgs>" -A zlib
755+/nix/store/alsvwzkiw4b7ip38l4nlfjijdvg3fvzn-zlib-1.2.8
756+```
757+to find out the store path of the system's zlib library. Now, you can
758+
759+ 1. add that path (plus a "/lib" suffix) to your `$LD_LIBRARY_PATH`
760+ environment variable to make sure your system linker finds `libz.so`
761+ automatically. It's no pretty solution, but it will work.
762+
763+ 2. As a variant of (1), you can also install any number of system
764+ libraries into your user's profile (or some other profile) and point
765+ `$LD_LIBRARY_PATH` to that profile instead, so that you don't have to
766+ list dozens of those store paths all over the place.
767+
768+ 3. The solution I prefer is to call stack with an appropriate
769+ --extra-lib-dirs flag like so:
770+ ```shell
771+ stack --extra-lib-dirs=/nix/store/alsvwzkiw4b7ip38l4nlfjijdvg3fvzn-zlib-1.2.8/lib build
772+ ```
773+
774+Typically, you'll need `--extra-include-dirs` as well. It's possible
775+to add those flag to the project's `stack.yaml` or your user's
776+global `~/.stack/global/stack.yaml` file so that you don't have to
777+specify them manually every time. But again, you're likely better off
778+using Stack's Nix support instead.
779+
780+The same thing applies to `cabal configure`, of course, if you're
781+building with `cabal-install` instead of Stack.
782+
783+### Creating statically linked binaries
784+
785+There are two levels of static linking. The first option is to configure the
786+build with the Cabal flag `--disable-executable-dynamic`. In Nix expressions,
787+this can be achieved by setting the attribute:
788+```
789+enableSharedExecutables = false;
790+```
791+That gives you a binary with statically linked Haskell libraries and
792+dynamically linked system libraries.
793+
794+To link both Haskell libraries and system libraries statically, the additional
795+flags `--ghc-option=-optl=-static --ghc-option=-optl=-pthread` need to be used.
796+In Nix, this is accomplished with:
797+```
798+configureFlags = [ "--ghc-option=-optl=-static" "--ghc-option=-optl=-pthread" ];
799+```
800+
801+It's important to realize, however, that most system libraries in Nix are
802+built as shared libraries only, i.e. there is just no static library
803+available that Cabal could link!
804+
805+### Building GHC with integer-simple
806+
807+By default GHC implements the Integer type using the
808+[GNU Multiple Precision Arithmetic (GMP) library](https://gmplib.org/).
809+The implementation can be found in the
810+[integer-gmp](http://hackage.haskell.org/package/integer-gmp) package.
811+
812+A potential problem with this is that GMP is licensed under the
813+[GNU Lesser General Public License (LGPL)](http://www.gnu.org/copyleft/lesser.html),
814+a kind of "copyleft" license. According to the terms of the LGPL, paragraph 5,
815+you may distribute a program that is designed to be compiled and dynamically
816+linked with the library under the terms of your choice (i.e., commercially) but
817+if your program incorporates portions of the library, if it is linked
818+statically, then your program is a "derivative"--a "work based on the
819+library"--and according to paragraph 2, section c, you "must cause the whole of
820+the work to be licensed" under the terms of the LGPL (including for free).
821+
822+The LGPL licensing for GMP is a problem for the overall licensing of binary
823+programs compiled with GHC because most distributions (and builds) of GHC use
824+static libraries. (Dynamic libraries are currently distributed only for macOS.)
825+The LGPL licensing situation may be worse: even though
826+[The Glasgow Haskell Compiler License](https://www.haskell.org/ghc/license)
827+is essentially a "free software" license (BSD3), according to
828+paragraph 2 of the LGPL, GHC must be distributed under the terms of the LGPL!
829+
830+To work around these problems GHC can be build with a slower but LGPL-free
831+alternative implemention for Integer called
832+[integer-simple](http://hackage.haskell.org/package/integer-simple).
833+
834+To get a GHC compiler build with `integer-simple` instead of `integer-gmp` use
835+the attribute: `haskell.compiler.integer-simple."${ghcVersion}"`.
836+For example:
837+```
838+$ nix-build -E '(import <nixpkgs> {}).haskell.compiler.integer-simple.ghc802'
839+...
840+$ result/bin/ghc-pkg list | grep integer
841+ integer-simple-0.1.1.1
842+```
843+The following command displays the complete list of GHC compilers build with `integer-simple`:
844+```
845+$ nix-env -f "<nixpkgs>" -qaP -A haskell.compiler.integer-simple
846+haskell.compiler.integer-simple.ghc7102 ghc-7.10.2
847+haskell.compiler.integer-simple.ghc7103 ghc-7.10.3
848+haskell.compiler.integer-simple.ghc722 ghc-7.2.2
849+haskell.compiler.integer-simple.ghc742 ghc-7.4.2
850+haskell.compiler.integer-simple.ghc783 ghc-7.8.3
851+haskell.compiler.integer-simple.ghc784 ghc-7.8.4
852+haskell.compiler.integer-simple.ghc801 ghc-8.0.1
853+haskell.compiler.integer-simple.ghc802 ghc-8.0.2
854+haskell.compiler.integer-simple.ghcHEAD ghc-8.1.20170106
855+```
856+
857+To get a package set supporting `integer-simple` use the attribute:
858+`haskell.packages.integer-simple."${ghcVersion}"`. For example
859+use the following to get the `scientific` package build with `integer-simple`:
860+```shell
861+nix-build -A haskell.packages.integer-simple.ghc802.scientific
862+```
863+
864+### Quality assurance
865+
866+The `haskell.lib` library includes a number of functions for checking for
867+various imperfections in Haskell packages. It's useful to apply these functions
868+to your own Haskell packages and integrate that in a Continuous Integration
869+server like [hydra](https://nixos.org/hydra/) to assure your packages maintain a
870+minimum level of quality. This section discusses some of these functions.
871+
872+#### failOnAllWarnings
873+
874+Applying `haskell.lib.failOnAllWarnings` to a Haskell package enables the
875+`-Wall` and `-Werror` GHC options to turn all warnings into build failures.
876+
877+#### buildStrictly
878+
879+Applying `haskell.lib.buildStrictly` to a Haskell package calls
880+`failOnAllWarnings` on the given package to turn all warnings into build
881+failures. Additionally the source of your package is gotten from first invoking
882+`cabal sdist` to ensure all needed files are listed in the Cabal file.
883+
884+#### checkUnusedPackages
885+
886+Applying `haskell.lib.checkUnusedPackages` to a Haskell package invokes
887+the [packunused](http://hackage.haskell.org/package/packunused) tool on the
888+package. `packunused` complains when it finds packages listed as build-depends
889+in the Cabal file which are redundant. For example:
890+
891+```
892+$ nix-build -E 'let pkgs = import <nixpkgs> {}; in pkgs.haskell.lib.checkUnusedPackages {} pkgs.haskellPackages.scientific'
893+these derivations will be built:
894+ /nix/store/3lc51cxj2j57y3zfpq5i69qbzjpvyci1-scientific-0.3.5.1.drv
895+...
896+detected package components
897+~~~~~~~~~~~~~~~~~~~~~~~~~~~
898+
899+ - library
900+ - testsuite(s): test-scientific
901+ - benchmark(s): bench-scientific*
902+
903+(component names suffixed with '*' are not configured to be built)
904+
905+library
906+~~~~~~~
907+
908+The following package dependencies seem redundant:
909+
910+ - ghc-prim-0.5.0.0
911+
912+testsuite(test-scientific)
913+~~~~~~~~~~~~~~~~~~~~~~~~~~
914+
915+no redundant packages dependencies found
916+
917+builder for ‘/nix/store/3lc51cxj2j57y3zfpq5i69qbzjpvyci1-scientific-0.3.5.1.drv’ failed with exit code 1
918+error: build of ‘/nix/store/3lc51cxj2j57y3zfpq5i69qbzjpvyci1-scientific-0.3.5.1.drv’ failed
919+```
920+
921+As you can see, `packunused` finds out that although the testsuite component has
922+no redundant dependencies the library component of `scientific-0.3.5.1` depends
923+on `ghc-prim` which is unused in the library.
924+
925+## Other resources
926+
927+ - The Youtube video [Nix Loves Haskell](https://www.youtube.com/watch?v=BsBhi_r-OeE)
928+ provides an introduction into Haskell NG aimed at beginners. The slides are
929+ available at http://cryp.to/nixos-meetup-3-slides.pdf and also -- in a form
930+ ready for cut & paste -- at
931+ https://github.com/NixOS/cabal2nix/blob/master/doc/nixos-meetup-3-slides.md.
932+
933+ - Another Youtube video is [Escaping Cabal Hell with Nix](https://www.youtube.com/watch?v=mQd3s57n_2Y),
934+ which discusses the subject of Haskell development with Nix but also provides
935+ a basic introduction to Nix as well, i.e. it's suitable for viewers with
936+ almost no prior Nix experience.
937+
938+ - Oliver Charles wrote a very nice [Tutorial how to develop Haskell packages with Nix](http://wiki.ocharles.org.uk/Nix).
939+
940+ - The *Journey into the Haskell NG infrastructure* series of postings
941+ describe the new Haskell infrastructure in great detail:
942+
943+ - [Part 1](https://nixos.org/nix-dev/2015-January/015591.html)
944+ explains the differences between the old and the new code and gives
945+ instructions how to migrate to the new setup.
946+
947+ - [Part 2](https://nixos.org/nix-dev/2015-January/015608.html)
948+ looks in-depth at how to tweak and configure your setup by means of
949+ overrides.
950+
951+ - [Part 3](https://nixos.org/nix-dev/2015-April/016912.html)
952+ describes the infrastructure that keeps the Haskell package set in Nixpkgs
953+ up-to-date.
doc/languages-frameworks/idris.section.mdnew file+39
@@ -0,0 +1,39 @@
1+Idris packages
2+==============
3+
4+This directory contains build rules for idris packages. In addition,
5+it contains several functions to build and compose those packages.
6+Everything is exposed to the user via the `idrisPackages` attribute.
7+
8+callPackage
9+------------
10+
11+This is like the normal nixpkgs callPackage function, specialized to
12+idris packages.
13+
14+builtins
15+---------
16+
17+This is a list of all of the libraries that come packaged with Idris
18+itself.
19+
20+build-idris-package
21+--------------------
22+
23+A function to build an idris package. Its sole argument is a set like
24+you might pass to `stdenv.mkDerivation`, except `build-idris-package`
25+sets several attributes for you. See `build-idris-package.nix` for
26+details.
27+
28+build-builtin-package
29+----------------------
30+
31+A version of `build-idris-package` specialized to builtin libraries.
32+Mostly for internal use.
33+
34+with-packages
35+-------------
36+
37+Bundle idris together with a list of packages. Because idris currently
38+only supports a single directory in its library path, you must include
39+all desired libraries here, including `prelude` and `base`.
doc/languages-frameworks/index.xml+8−7
@@ -17,19 +17,20 @@ such as Perl or Haskell. These are described in this chapter.</para>
1717<xi:include href="bower.xml" />
1818<xi:include href="coq.xml" />
1919<xi:include href="go.xml" />
20−<xi:include href="haskell.xml" />
21−<xi:include href="idris.xml" /> <!-- generated from ../../pkgs/development/idris-modules/README.md -->
20+<xi:include href="haskell.section.xml" />
21+<xi:include href="idris.section.xml" />
2222<xi:include href="java.xml" />
2323<xi:include href="lua.xml" />
24−<xi:include href="node.xml" /> <!-- generated from ../../pkgs/development/node-packages/README.md -->
24+<xi:include href="node.section.xml" />
2525<xi:include href="perl.xml" />
26−<xi:include href="python.xml" />
26+<xi:include href="python.section.xml" />
2727<xi:include href="qt.xml" />
28−<xi:include href="r.xml" /> <!-- generated from ../../pkgs/development/r-modules/README.md -->
28+<xi:include href="r.section.xml" />
2929<xi:include href="ruby.xml" />
30−<xi:include href="rust.xml" />
30+<xi:include href="rust.section.xml" />
3131<xi:include href="texlive.xml" />
32−<xi:include href="vim.xml" />
32+<xi:include href="vim.section.xml" />
33+<xi:include href="emscripten.section.xml" />
3334
3435
3536</chapter>
doc/languages-frameworks/java.xml+1−10
@@ -62,16 +62,7 @@ depending on the JDK at runtime.</para>
6262
6363<para>It is possible to use a different Java compiler than
6464<command>javac</command> from the OpenJDK. For instance, to use the
65−Eclipse Java Compiler:
66−
67−<programlisting>
68−buildInputs = [ jre ant ecj ];
69−</programlisting>
70−
71−(Note that here you don’t need the full JDK as an input, but just the
72−JRE.) The ECJ has a stdenv setup hook that sets some environment
73−variables to cause Ant to use ECJ, but this doesn’t work with all Ant
74−files. Similarly, you can use the GNU Java Compiler:
65+GNU Java Compiler:
7566
7667<programlisting>
7768buildInputs = [ gcj ant ];
doc/languages-frameworks/node.section.mdnew file+51
@@ -0,0 +1,51 @@
1+Node.js packages
2+================
3+The `pkgs/development/node-packages` folder contains a generated collection of
4+[NPM packages](https://npmjs.com/) that can be installed with the Nix package
5+manager.
6+
7+As a rule of thumb, the package set should only provide *end user* software
8+packages, such as command-line utilities. Libraries should only be added to the
9+package set if there is a non-NPM package that requires it.
10+
11+When it is desired to use NPM libraries in a development project, use the
12+`node2nix` generator directly on the `package.json` configuration file of the
13+project.
14+
15+The package set also provides support for multiple Node.js versions. The policy
16+is that a new package should be added to the collection for the latest stable LTS
17+release (which is currently 6.x), unless there is an explicit reason to support
18+a different release.
19+
20+If your package uses native addons, you need to examine what kind of native
21+build system it uses. Here are some examples:
22+
23+* `node-gyp`
24+* `node-gyp-builder`
25+* `node-pre-gyp`
26+
27+After you have identified the correct system, you need to override your package
28+expression while adding in build system as a build input. For example, `dat`
29+requires `node-gyp-build`, so we override its expression in `default-v6.nix`:
30+
31+```nix
32+dat = nodePackages.dat.override (oldAttrs: {
33+ buildInputs = oldAttrs.buildInputs ++ [ nodePackages.node-gyp-build ];
34+});
35+```
36+
37+To add a package from NPM to nixpkgs:
38+
39+ 1. Modify `pkgs/development/node-packages/node-packages-v6.json` to add, update
40+ or remove package entries. (Or `pkgs/development/node-packages/node-packages-v4.json`
41+ for packages depending on Node.js 4.x)
42+ 2. Run the script: `(cd pkgs/development/node-packages && ./generate.sh)`.
43+ 3. Build your new package to test your changes:
44+ `cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`.
45+ To build against a specific Node.js version (e.g. 4.x):
46+ `nix-build -A nodePackages_4_x.<new-or-updated-package>`
47+ 4. Add and commit all modified and generated files.
48+
49+For more information about the generation process, consult the
50+[README.md](https://github.com/svanderburg/node2nix) file of the `node2nix`
51+tool.
doc/languages-frameworks/perl.xml+14
@@ -177,5 +177,19 @@ you need it.</para>
177177
178178</section>
179179
180+<section xml:id="ssec-perl-cross-compilation"><title>Cross-compiling modules</title>
181+
182+<para>Nixpkgs has experimental support for cross-compiling Perl
183+modules. In many cases, it will just work out of the box, even for
184+modules with native extensions. Sometimes, however, the Makefile.PL
185+for a module may (indirectly) import a native module. In that case,
186+you will need to make a stub for that module that will satisfy the
187+Makefile.PL and install it into
188+<filename>lib/perl5/site_perl/cross_perl/${perl.version}</filename>.
189+See the <varname>postInstall</varname> for <varname>DBI</varname> for
190+an example.</para>
191+
192+</section>
193+
180194</section>
181195
doc/languages-frameworks/python.mddeleted−1021
@@ -1,1021 +0,0 @@
1−# Python
2−
3−## User Guide
4−
5−### Using Python
6−
7−#### Overview
8−
9−Several versions of the Python interpreter are available on Nix, as well as a
10−high amount of packages. The attribute `python` refers to the default
11−interpreter, which is currently CPython 2.7. It is also possible to refer to
12−specific versions, e.g. `python35` refers to CPython 3.5, and `pypy` refers to
13−the default PyPy interpreter.
14−
15−Python is used a lot, and in different ways. This affects also how it is
16−packaged. In the case of Python on Nix, an important distinction is made between
17−whether the package is considered primarily an application, or whether it should
18−be used as a library, i.e., of primary interest are the modules in
19−`site-packages` that should be importable.
20−
21−In the Nixpkgs tree Python applications can be found throughout, depending on
22−what they do, and are called from the main package set. Python libraries,
23−however, are in separate sets, with one set per interpreter version.
24−
25−The interpreters have several common attributes. One of these attributes is
26−`pkgs`, which is a package set of Python libraries for this specific
27−interpreter. E.g., the `toolz` package corresponding to the default interpreter
28−is `python.pkgs.toolz`, and the CPython 3.5 version is `python35.pkgs.toolz`.
29−The main package set contains aliases to these package sets, e.g.
30−`pythonPackages` refers to `python.pkgs` and `python35Packages` to
31−`python35.pkgs`.
32−
33−#### Installing Python and packages
34−
35−The Nix and NixOS manuals explain how packages are generally installed. In the
36−case of Python and Nix, it is important to make a distinction between whether the
37−package is considered an application or a library.
38−
39−Applications on Nix are typically installed into your user
40−profile imperatively using `nix-env -i`, and on NixOS declaratively by adding the
41−package name to `environment.systemPackages` in `/etc/nixos/configuration.nix`.
42−Dependencies such as libraries are automatically installed and should not be
43−installed explicitly.
44−
45−The same goes for Python applications and libraries. Python applications can be
46−installed in your profile. But Python libraries you would like to use for
47−development cannot be installed, at least not individually, because they won't
48−be able to find each other resulting in import errors. Instead, it is possible
49−to create an environment with `python.buildEnv` or `python.withPackages` where
50−the interpreter and other executables are able to find each other and all of the
51−modules.
52−
53−In the following examples we create an environment with Python 3.5, `numpy` and
54−`toolz`. As you may imagine, there is one limitation here, and that's that
55−you can install only one environment at a time. You will notice the complaints
56−about collisions when you try to install a second environment.
57−
58−##### Environment defined in separate `.nix` file
59−
60−Create a file, e.g. `build.nix`, with the following expression
61−```nix
62−with import <nixpkgs> {};
63−
64−python35.withPackages (ps: with ps; [ numpy toolz ])
65−```
66−and install it in your profile with
67−```shell
68−nix-env -if build.nix
69−```
70−Now you can use the Python interpreter, as well as the extra packages (`numpy`,
71−`toolz`) that you added to the environment.
72−
73−##### Environment defined in `~/.config/nixpkgs/config.nix`
74−
75−If you prefer to, you could also add the environment as a package override to the Nixpkgs set, e.g.
76−using `config.nix`,
77−```nix
78−{ # ...
79−
80− packageOverrides = pkgs: with pkgs; {
81− myEnv = python35.withPackages (ps: with ps; [ numpy toolz ]);
82− };
83−}
84−```
85−and install it in your profile with
86−```shell
87−nix-env -iA nixpkgs.myEnv
88−```
89−The environment is is installed by referring to the attribute, and considering
90−the `nixpkgs` channel was used.
91−
92−##### Environment defined in `/etc/nixos/configuration.nix`
93−
94−For the sake of completeness, here's another example how to install the environment system-wide.
95−
96−```nix
97−{ # ...
98−
99− environment.systemPackages = with pkgs; [
100− (python35.withPackages(ps: with ps; [ numpy toolz ]))
101− ];
102−}
103−```
104−
105−#### Temporary Python environment with `nix-shell`
106−
107−The examples in the previous section showed how to install a Python environment
108−into a profile. For development you may need to use multiple environments.
109−`nix-shell` gives the possibility to temporarily load another environment, akin
110−to `virtualenv`.
111−
112−There are two methods for loading a shell with Python packages. The first and recommended method
113−is to create an environment with `python.buildEnv` or `python.withPackages` and load that. E.g.
114−```sh
115−$ nix-shell -p 'python35.withPackages(ps: with ps; [ numpy toolz ])'
116−```
117−opens a shell from which you can launch the interpreter
118−```sh
119−[nix-shell:~] python3
120−```
121−The other method, which is not recommended, does not create an environment and requires you to list the packages directly,
122−
123−```sh
124−$ nix-shell -p python35.pkgs.numpy python35.pkgs.toolz
125−```
126−Again, it is possible to launch the interpreter from the shell.
127−The Python interpreter has the attribute `pkgs` which contains all Python libraries for that specific interpreter.
128−
129−##### Load environment from `.nix` expression
130−As explained in the Nix manual, `nix-shell` can also load an
131−expression from a `.nix` file. Say we want to have Python 3.5, `numpy`
132−and `toolz`, like before, in an environment. Consider a `shell.nix` file
133−with
134−```nix
135−with import <nixpkgs> {};
136−
137−python35.withPackages (ps: [ps.numpy ps.toolz])
138−```
139−Executing `nix-shell` gives you again a Nix shell from which you can run Python.
140−
141−What's happening here?
142−
143−1. We begin with importing the Nix Packages collections. `import <nixpkgs>` imports the `<nixpkgs>` function, `{}` calls it and the `with` statement brings all attributes of `nixpkgs` in the local scope. These attributes form the main package set.
144−2. Then we create a Python 3.5 environment with the `withPackages` function.
145−3. The `withPackages` function expects us to provide a function as an argument that takes the set of all python packages and returns a list of packages to include in the environment. Here, we select the packages `numpy` and `toolz` from the package set.
146−
147−##### Execute command with `--run`
148−A convenient option with `nix-shell` is the `--run`
149−option, with which you can execute a command in the `nix-shell`. We can
150−e.g. directly open a Python shell
151−```sh
152−$ nix-shell -p python35Packages.numpy python35Packages.toolz --run "python3"
153−```
154−or run a script
155−```sh
156−$ nix-shell -p python35Packages.numpy python35Packages.toolz --run "python3 myscript.py"
157−```
158−
159−##### `nix-shell` as shebang
160−In fact, for the second use case, there is a more convenient method. You can
161−add a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) to your script
162−specifying which dependencies `nix-shell` needs. With the following shebang, you
163−can just execute `./myscript.py`, and it will make available all dependencies and
164−run the script in the `python3` shell.
165−
166−```py
167−#! /usr/bin/env nix-shell
168−#! nix-shell -i python3 -p "python3.withPackages(ps: [ps.numpy])"
169−
170−import numpy
171−
172−print(numpy.__version__)
173−```
174−
175−### Developing with Python
176−
177−Now that you know how to get a working Python environment with Nix, it is time
178−to go forward and start actually developing with Python. We will first have a
179−look at how Python packages are packaged on Nix. Then, we will look at how you
180−can use development mode with your code.
181−
182−#### Packaging a library
183−
184−With Nix all packages are built by functions. The main function in Nix for
185−building Python libraries is `buildPythonPackage`. Let's see how we can build the
186−`toolz` package.
187−
188−```nix
189−{ # ...
190−
191− toolz = buildPythonPackage rec {
192− pname = "toolz";
193− version = "0.7.4";
194− name = "${pname}-${version}";
195−
196− src = fetchPypi {
197− inherit pname version;
198− sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
199− };
200−
201− doCheck = false;
202−
203− meta = {
204− homepage = "http://github.com/pytoolz/toolz/";
205− description = "List processing tools and functional utilities";
206− license = licenses.bsd3;
207− maintainers = with maintainers; [ fridh ];
208− };
209− };
210−}
211−```
212−
213−What happens here? The function `buildPythonPackage` is called and as argument
214−it accepts a set. In this case the set is a recursive set, `rec`. One of the
215−arguments is the name of the package, which consists of a basename (generally
216−following the name on PyPi) and a version. Another argument, `src` specifies the
217−source, which in this case is fetched from PyPI using the helper function
218−`fetchPypi`. The argument `doCheck` is used to set whether tests should be run
219−when building the package. Furthermore, we specify some (optional) meta
220−information. The output of the function is a derivation.
221−
222−An expression for `toolz` can be found in the Nixpkgs repository. As explained
223−in the introduction of this Python section, a derivation of `toolz` is available
224−for each interpreter version, e.g. `python35.pkgs.toolz` refers to the `toolz`
225−derivation corresponding to the CPython 3.5 interpreter.
226−The above example works when you're directly working on
227−`pkgs/top-level/python-packages.nix` in the Nixpkgs repository. Often though,
228−you will want to test a Nix expression outside of the Nixpkgs tree.
229−
230−The following expression creates a derivation for the `toolz` package,
231−and adds it along with a `numpy` package to a Python environment.
232−
233−```nix
234−with import <nixpkgs> {};
235−
236−( let
237− my_toolz = python35.pkgs.buildPythonPackage rec {
238− pname = "toolz";
239− version = "0.7.4";
240− name = "${pname}-${version}";
241−
242− src = python35.pkgs.fetchPypi {
243− inherit pname version;
244− sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
245− };
246−
247− doCheck = false;
248−
249− meta = {
250− homepage = "http://github.com/pytoolz/toolz/";
251− description = "List processing tools and functional utilities";
252− };
253− };
254−
255− in python35.withPackages (ps: [ps.numpy my_toolz])
256−).env
257−```
258−Executing `nix-shell` will result in an environment in which you can use
259−Python 3.5 and the `toolz` package. As you can see we had to explicitly mention
260−for which Python version we want to build a package.
261−
262−So, what did we do here? Well, we took the Nix expression that we used earlier
263−to build a Python environment, and said that we wanted to include our own
264−version of `toolz`, named `my_toolz`. To introduce our own package in the scope
265−of `withPackages` we used a `let` expression. You can see that we used
266−`ps.numpy` to select numpy from the nixpkgs package set (`ps`). We did not take
267−`toolz` from the Nixpkgs package set this time, but instead took our own version
268−that we introduced with the `let` expression.
269−
270−#### Handling dependencies
271−
272−Our example, `toolz`, does not have any dependencies on other Python
273−packages or system libraries. According to the manual, `buildPythonPackage`
274−uses the arguments `buildInputs` and `propagatedBuildInputs` to specify dependencies. If something is
275−exclusively a build-time dependency, then the dependency should be included as a
276−`buildInput`, but if it is (also) a runtime dependency, then it should be added
277−to `propagatedBuildInputs`. Test dependencies are considered build-time dependencies.
278−
279−The following example shows which arguments are given to `buildPythonPackage` in
280−order to build [`datashape`](https://github.com/blaze/datashape).
281−
282−```nix
283−{ # ...
284−
285− datashape = buildPythonPackage rec {
286− name = "datashape-${version}";
287− version = "0.4.7";
288−
289− src = pkgs.fetchurl {
290− url = "mirror://pypi/D/DataShape/${name}.tar.gz";
291− sha256 = "14b2ef766d4c9652ab813182e866f493475e65e558bed0822e38bf07bba1a278";
292− };
293−
294− buildInputs = with self; [ pytest ];
295− propagatedBuildInputs = with self; [ numpy multipledispatch dateutil ];
296−
297− meta = {
298− homepage = https://github.com/ContinuumIO/datashape;
299− description = "A data description language";
300− license = licenses.bsd2;
301− maintainers = with maintainers; [ fridh ];
302− };
303− };
304−}
305−```
306−
307−We can see several runtime dependencies, `numpy`, `multipledispatch`, and
308−`dateutil`. Furthermore, we have one `buildInput`, i.e. `pytest`. `pytest` is a
309−test runner and is only used during the `checkPhase` and is therefore not added
310−to `propagatedBuildInputs`.
311−
312−In the previous case we had only dependencies on other Python packages to consider.
313−Occasionally you have also system libraries to consider. E.g., `lxml` provides
314−Python bindings to `libxml2` and `libxslt`. These libraries are only required
315−when building the bindings and are therefore added as `buildInputs`.
316−
317−```nix
318−{ # ...
319−
320− lxml = buildPythonPackage rec {
321− name = "lxml-3.4.4";
322−
323− src = pkgs.fetchurl {
324− url = "mirror://pypi/l/lxml/${name}.tar.gz";
325− sha256 = "16a0fa97hym9ysdk3rmqz32xdjqmy4w34ld3rm3jf5viqjx65lxk";
326− };
327−
328− buildInputs = with self; [ pkgs.libxml2 pkgs.libxslt ];
329−
330− meta = {
331− description = "Pythonic binding for the libxml2 and libxslt libraries";
332− homepage = http://lxml.de;
333− license = licenses.bsd3;
334− maintainers = with maintainers; [ sjourdois ];
335− };
336− };
337−}
338−```
339−
340−In this example `lxml` and Nix are able to work out exactly where the relevant
341−files of the dependencies are. This is not always the case.
342−
343−The example below shows bindings to The Fastest Fourier Transform in the West, commonly known as
344−FFTW. On Nix we have separate packages of FFTW for the different types of floats
345−(`"single"`, `"double"`, `"long-double"`). The bindings need all three types,
346−and therefore we add all three as `buildInputs`. The bindings don't expect to
347−find each of them in a different folder, and therefore we have to set `LDFLAGS`
348−and `CFLAGS`.
349−
350−```nix
351−{ # ...
352−
353− pyfftw = buildPythonPackage rec {
354− name = "pyfftw-${version}";
355− version = "0.9.2";
356−
357− src = pkgs.fetchurl {
358− url = "mirror://pypi/p/pyFFTW/pyFFTW-${version}.tar.gz";
359− sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074";
360− };
361−
362− buildInputs = [ pkgs.fftw pkgs.fftwFloat pkgs.fftwLongDouble];
363−
364− propagatedBuildInputs = with self; [ numpy scipy ];
365−
366− # Tests cannot import pyfftw. pyfftw works fine though.
367− doCheck = false;
368−
369− preConfigure = ''
370− export LDFLAGS="-L${pkgs.fftw.dev}/lib -L${pkgs.fftwFloat.out}/lib -L${pkgs.fftwLongDouble.out}/lib"
371− export CFLAGS="-I${pkgs.fftw.dev}/include -I${pkgs.fftwFloat.dev}/include -I${pkgs.fftwLongDouble.dev}/include"
372− '';
373−
374− meta = {
375− description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms";
376− homepage = http://hgomersall.github.com/pyFFTW/;
377− license = with licenses; [ bsd2 bsd3 ];
378− maintainer = with maintainers; [ fridh ];
379− };
380− };
381−}
382−```
383−Note also the line `doCheck = false;`, we explicitly disabled running the test-suite.
384−
385−
386−#### Develop local package
387−
388−As a Python developer you're likely aware of [development mode](http://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode) (`python setup.py develop`);
389−instead of installing the package this command creates a special link to the project code.
390−That way, you can run updated code without having to reinstall after each and every change you make.
391−Development mode is also available. Let's see how you can use it.
392−
393−In the previous Nix expression the source was fetched from an url. We can also refer to a local source instead using
394−`src = ./path/to/source/tree;`
395−
396−If we create a `shell.nix` file which calls `buildPythonPackage`, and if `src`
397−is a local source, and if the local source has a `setup.py`, then development
398−mode is activated.
399−
400−In the following example we create a simple environment that
401−has a Python 3.5 version of our package in it, as well as its dependencies and
402−other packages we like to have in the environment, all specified with `propagatedBuildInputs`.
403−Indeed, we can just add any package we like to have in our environment to `propagatedBuildInputs`.
404−
405−```nix
406−with import <nixpkgs> {};
407−with pkgs.python35Packages;
408−
409−buildPythonPackage rec {
410− name = "mypackage";
411− src = ./path/to/package/source;
412− propagatedBuildInputs = [ pytest numpy pkgs.libsndfile ];
413−}
414−```
415−
416−It is important to note that due to how development mode is implemented on Nix it is not possible to have multiple packages simultaneously in development mode.
417−
418−
419−### Organising your packages
420−
421−So far we discussed how you can use Python on Nix, and how you can develop with
422−it. We've looked at how you write expressions to package Python packages, and we
423−looked at how you can create environments in which specified packages are
424−available.
425−
426−At some point you'll likely have multiple packages which you would
427−like to be able to use in different projects. In order to minimise unnecessary
428−duplication we now look at how you can maintain yourself a repository with your
429−own packages. The important functions here are `import` and `callPackage`.
430−
431−### Including a derivation using `callPackage`
432−
433−Earlier we created a Python environment using `withPackages`, and included the
434−`toolz` package via a `let` expression.
435−Let's split the package definition from the environment definition.
436−
437−We first create a function that builds `toolz` in `~/path/to/toolz/release.nix`
438−
439−```nix
440−{ pkgs, buildPythonPackage }:
441−
442−buildPythonPackage rec {
443− name = "toolz-${version}";
444− version = "0.7.4";
445−
446− src = pkgs.fetchurl {
447− url = "mirror://pypi/t/toolz/toolz-${version}.tar.gz";
448− sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
449− };
450−
451− meta = {
452− homepage = "http://github.com/pytoolz/toolz/";
453− description = "List processing tools and functional utilities";
454− license = licenses.bsd3;
455− maintainers = with maintainers; [ fridh ];
456− };
457−}
458−```
459−
460−It takes two arguments, `pkgs` and `buildPythonPackage`.
461−We now call this function using `callPackage` in the definition of our environment
462−
463−```nix
464−with import <nixpkgs> {};
465−
466−( let
467− toolz = pkgs.callPackage /path/to/toolz/release.nix {
468− pkgs = pkgs;
469− buildPythonPackage = pkgs.python35Packages.buildPythonPackage;
470− };
471− in pkgs.python35.withPackages (ps: [ ps.numpy toolz ])
472−).env
473−```
474−
475−Important to remember is that the Python version for which the package is made
476−depends on the `python` derivation that is passed to `buildPythonPackage`. Nix
477−tries to automatically pass arguments when possible, which is why generally you
478−don't explicitly define which `python` derivation should be used. In the above
479−example we use `buildPythonPackage` that is part of the set `python35Packages`,
480−and in this case the `python35` interpreter is automatically used.
481−
482−
483−
484−## Reference
485−
486−### Interpreters
487−
488−Versions 2.7, 3.3, 3.4, 3.5 and 3.6 of the CPython interpreter are available as
489−respectively `python27`, `python34`, `python35` and `python36`. The PyPy interpreter
490−is available as `pypy`. The aliases `python2` and `python3` correspond to respectively `python27` and
491−`python35`. The default interpreter, `python`, maps to `python2`.
492−The Nix expressions for the interpreters can be found in
493−`pkgs/development/interpreters/python`.
494−
495−All packages depending on any Python interpreter get appended
496−`out/{python.sitePackages}` to `$PYTHONPATH` if such directory
497−exists.
498−
499−#### Missing `tkinter` module standard library
500−
501−To reduce closure size the `Tkinter`/`tkinter` is available as a separate package, `pythonPackages.tkinter`.
502−
503−#### Attributes on interpreters packages
504−
505−Each interpreter has the following attributes:
506−
507−- `libPrefix`. Name of the folder in `${python}/lib/` for corresponding interpreter.
508−- `interpreter`. Alias for `${python}/bin/${executable}`.
509−- `buildEnv`. Function to build python interpreter environments with extra packages bundled together. See section *python.buildEnv function* for usage and documentation.
510−- `withPackages`. Simpler interface to `buildEnv`. See section *python.withPackages function* for usage and documentation.
511−- `sitePackages`. Alias for `lib/${libPrefix}/site-packages`.
512−- `executable`. Name of the interpreter executable, e.g. `python3.4`.
513−- `pkgs`. Set of Python packages for that specific interpreter. The package set can be modified by overriding the interpreter and passing `packageOverrides`.
514−
515−### Building packages and applications
516−
517−Python libraries and applications that use `setuptools` or
518−`distutils` are typically build with respectively the `buildPythonPackage` and
519−`buildPythonApplication` functions. These two functions also support installing a `wheel`.
520−
521−All Python packages reside in `pkgs/top-level/python-packages.nix` and all
522−applications elsewhere. In case a package is used as both a library and an application,
523−then the package should be in `pkgs/top-level/python-packages.nix` since only those packages are made
524−available for all interpreter versions. The preferred location for library expressions is in
525−`pkgs/development/python-modules`. It is important that these packages are
526−called from `pkgs/top-level/python-packages.nix` and not elsewhere, to guarantee
527−the right version of the package is built.
528−
529−Based on the packages defined in `pkgs/top-level/python-packages.nix` an
530−attribute set is created for each available Python interpreter. The available
531−sets are
532−
533−* `pkgs.python26Packages`
534−* `pkgs.python27Packages`
535−* `pkgs.python34Packages`
536−* `pkgs.python35Packages`
537−* `pkgs.python36Packages`
538−* `pkgs.pypyPackages`
539−
540−and the aliases
541−
542−* `pkgs.python2Packages` pointing to `pkgs.python27Packages`
543−* `pkgs.python3Packages` pointing to `pkgs.python35Packages`
544−* `pkgs.pythonPackages` pointing to `pkgs.python2Packages`
545−
546−#### `buildPythonPackage` function
547−
548−The `buildPythonPackage` function is implemented in
549−`pkgs/development/interpreters/python/build-python-package.nix`
550−
551−The following is an example:
552−```nix
553−{ # ...
554−
555− twisted = buildPythonPackage {
556− name = "twisted-8.1.0";
557−
558− src = pkgs.fetchurl {
559− url = http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/Twisted-8.1.0.tar.bz2;
560− sha256 = "0q25zbr4xzknaghha72mq57kh53qw1bf8csgp63pm9sfi72qhirl";
561− };
562−
563− propagatedBuildInputs = [ self.ZopeInterface ];
564−
565− meta = {
566− homepage = http://twistedmatrix.com/;
567− description = "Twisted, an event-driven networking engine written in Python";
568− license = stdenv.lib.licenses.mit;
569− };
570− };
571−}
572−```
573−
574−The `buildPythonPackage` mainly does four things:
575−
576−* In the `buildPhase`, it calls `${python.interpreter} setup.py bdist_wheel` to
577− build a wheel binary zipfile.
578−* In the `installPhase`, it installs the wheel file using `pip install *.whl`.
579−* In the `postFixup` phase, the `wrapPythonPrograms` bash function is called to
580− wrap all programs in the `$out/bin/*` directory to include `$PATH`
581− environment variable and add dependent libraries to script's `sys.path`.
582−* In the `installCheck` phase, `${python.interpreter} setup.py test` is ran.
583−
584−As in Perl, dependencies on other Python packages can be specified in the
585−`buildInputs` and `propagatedBuildInputs` attributes. If something is
586−exclusively a build-time dependency, use `buildInputs`; if it’s (also) a runtime
587−dependency, use `propagatedBuildInputs`.
588−
589−By default tests are run because `doCheck = true`. Test dependencies, like
590−e.g. the test runner, should be added to `buildInputs`.
591−
592−By default `meta.platforms` is set to the same value
593−as the interpreter unless overridden otherwise.
594−
595−##### `buildPythonPackage` parameters
596−
597−All parameters from `mkDerivation` function are still supported.
598−
599−* `namePrefix`: Prepended text to `${name}` parameter. Defaults to `"python3.3-"` for Python 3.3, etc. Set it to `""` if you're packaging an application or a command line tool.
600−* `disabled`: If `true`, package is not build for particular python interpreter version. Grep around `pkgs/top-level/python-packages.nix` for examples.
601−* `setupPyBuildFlags`: List of flags passed to `setup.py build_ext` command.
602−* `pythonPath`: List of packages to be added into `$PYTHONPATH`. Packages in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`).
603−* `preShellHook`: Hook to execute commands before `shellHook`.
604−* `postShellHook`: Hook to execute commands after `shellHook`.
605−* `makeWrapperArgs`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`.
606−* `installFlags`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"].
607−* `format`: Format of the source. Valid options are `setuptools` (default), `flit`, `wheel`, and `other`. `setuptools` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. In case you need to provide your own `buildPhase` and `installPhase` you can use `other`.
608−* `catchConflicts` If `true`, abort package build if a package name appears more than once in dependency tree. Default is `true`.
609−* `checkInputs` Dependencies needed for running the `checkPhase`. These are added to `buildInputs` when `doCheck = true`.
610−
611−##### Overriding Python packages
612−
613−The `buildPythonPackage` function has a `overridePythonAttrs` method that
614−can be used to override the package. In the following example we create an
615−environment where we have the `blaze` package using an older version of `pandas`.
616−We override first the Python interpreter and pass
617−`packageOverrides` which contains the overrides for packages in the package set.
618−
619−```nix
620−with import <nixpkgs> {};
621−
622−(let
623− python = let
624− packageOverrides = self: super: {
625− pandas = super.pandas.overridePythonAttrs(old: rec {
626− version = "0.19.1";
627− name = "pandas-${version}";
628− src = super.fetchPypi {
629− pname = "pandas";
630− inherit version;
631− sha256 = "08blshqj9zj1wyjhhw3kl2vas75vhhicvv72flvf1z3jvapgw295";
632− };
633− });
634− };
635− in pkgs.python3.override {inherit packageOverrides;};
636−
637−in python.withPackages(ps: [ps.blaze])).env
638−```
639−
640−#### `buildPythonApplication` function
641−
642−The `buildPythonApplication` function is practically the same as `buildPythonPackage`.
643−The difference is that `buildPythonPackage` by default prefixes the names of the packages with the version of the interpreter.
644−Because with an application we're not interested in multiple version the prefix is dropped.
645−
646−#### python.buildEnv function
647−
648−Python environments can be created using the low-level `pkgs.buildEnv` function.
649−This example shows how to create an environment that has the Pyramid Web Framework.
650−Saving the following as `default.nix`
651−```nix
652−with import <nixpkgs> {};
653−
654−python.buildEnv.override {
655− extraLibs = [ pkgs.pythonPackages.pyramid ];
656− ignoreCollisions = true;
657−}
658−```
659−
660−and running `nix-build` will create
661−```
662−/nix/store/cf1xhjwzmdki7fasgr4kz6di72ykicl5-python-2.7.8-env
663−```
664−
665−with wrapped binaries in `bin/`.
666−
667−You can also use the `env` attribute to create local environments with needed
668−packages installed. This is somewhat comparable to `virtualenv`. For example,
669−running `nix-shell` with the following `shell.nix`
670−```nix
671−with import <nixpkgs> {};
672−
673−(python3.buildEnv.override {
674− extraLibs = with python3Packages; [ numpy requests ];
675−}).env
676−```
677−
678−will drop you into a shell where Python will have the
679−specified packages in its path.
680−
681−
682−##### `python.buildEnv` arguments
683−
684−* `extraLibs`: List of packages installed inside the environment.
685−* `postBuild`: Shell command executed after the build of environment.
686−* `ignoreCollisions`: Ignore file collisions inside the environment (default is `false`).
687−
688−#### python.withPackages function
689−
690−The `python.withPackages` function provides a simpler interface to the `python.buildEnv` functionality.
691−It takes a function as an argument that is passed the set of python packages and returns the list
692−of the packages to be included in the environment. Using the `withPackages` function, the previous
693−example for the Pyramid Web Framework environment can be written like this:
694−```nix
695−with import <nixpkgs> {};
696−
697−python.withPackages (ps: [ps.pyramid])
698−```
699−
700−`withPackages` passes the correct package set for the specific interpreter version as an
701−argument to the function. In the above example, `ps` equals `pythonPackages`.
702−But you can also easily switch to using python3:
703−```nix
704−with import <nixpkgs> {};
705−
706−python3.withPackages (ps: [ps.pyramid])
707−```
708−
709−Now, `ps` is set to `python3Packages`, matching the version of the interpreter.
710−
711−As `python.withPackages` simply uses `python.buildEnv` under the hood, it also supports the `env`
712−attribute. The `shell.nix` file from the previous section can thus be also written like this:
713−```nix
714−with import <nixpkgs> {};
715−
716−(python36.withPackages (ps: [ps.numpy ps.requests])).env
717−```
718−
719−In contrast to `python.buildEnv`, `python.withPackages` does not support the more advanced options
720−such as `ignoreCollisions = true` or `postBuild`. If you need them, you have to use `python.buildEnv`.
721−
722−Python 2 namespace packages may provide `__init__.py` that collide. In that case `python.buildEnv`
723−should be used with `ignoreCollisions = true`.
724−
725−### Development mode
726−
727−Development or editable mode is supported. To develop Python packages
728−`buildPythonPackage` has additional logic inside `shellPhase` to run `pip
729−install -e . --prefix $TMPDIR/`for the package.
730−
731−Warning: `shellPhase` is executed only if `setup.py` exists.
732−
733−Given a `default.nix`:
734−```nix
735−with import <nixpkgs> {};
736−
737−buildPythonPackage { name = "myproject";
738−
739−buildInputs = with pkgs.pythonPackages; [ pyramid ];
740−
741−src = ./.; }
742−```
743−
744−Running `nix-shell` with no arguments should give you
745−the environment in which the package would be built with
746−`nix-build`.
747−
748−Shortcut to setup environments with C headers/libraries and python packages:
749−```shell
750−nix-shell -p pythonPackages.pyramid zlib libjpeg git
751−```
752−
753−Note: There is a boolean value `lib.inNixShell` set to `true` if nix-shell is invoked.
754−
755−### Tools
756−
757−Packages inside nixpkgs are written by hand. However many tools exist in
758−community to help save time. No tool is preferred at the moment.
759−
760−- [python2nix](https://github.com/proger/python2nix) by Vladimir Kirillov
761−- [pypi2nix](https://github.com/garbas/pypi2nix) by Rok Garbas
762−- [pypi2nix](https://github.com/offlinehacker/pypi2nix) by Jaka Hudoklin
763−
764−### Deterministic builds
765−
766−Python 2.7, 3.5 and 3.6 are now built deterministically and 3.4 mostly.
767−Minor modifications had to be made to the interpreters in order to generate
768−deterministic bytecode. This has security implications and is relevant for
769−those using Python in a `nix-shell`.
770−
771−When the environment variable `DETERMINISTIC_BUILD` is set, all bytecode will have timestamp 1.
772−The `buildPythonPackage` function sets `DETERMINISTIC_BUILD=1` and
773−[PYTHONHASHSEED=0](https://docs.python.org/3.5/using/cmdline.html#envvar-PYTHONHASHSEED).
774−Both are also exported in `nix-shell`.
775−
776−
777−### Automatic tests
778−
779−It is recommended to test packages as part of the build process.
780−Source distributions (`sdist`) often include test files, but not always.
781−
782−By default the command `python setup.py test` is run as part of the
783−`checkPhase`, but often it is necessary to pass a custom `checkPhase`. An
784−example of such a situation is when `py.test` is used.
785−
786−#### Common issues
787−
788−- Non-working tests can often be deselected. By default `buildPythonPackage` runs `python setup.py test`.
789− Most python modules follows the standard test protocol where the pytest runner can be used instead.
790− `py.test` supports a `-k` parameter to ignore test methods or classes:
791−
792− ```nix
793− buildPythonPackage {
794− # ...
795− # assumes the tests are located in tests
796− checkInputs = [ pytest ];
797− checkPhase = ''
798− py.test -k 'not function_name and not other_function' tests
799− '';
800− }
801− ```
802−- Unicode issues can typically be fixed by including `glibcLocales` in `buildInputs` and exporting `LC_ALL=en_US.utf-8`.
803−- Tests that attempt to access `$HOME` can be fixed by using the following work-around before running tests (e.g. `preCheck`): `export HOME=$(mktemp -d)`
804−
805−## FAQ
806−
807−### How to solve circular dependencies?
808−
809−Consider the packages `A` and `B` that depend on each other. When packaging `B`,
810−a solution is to override package `A` not to depend on `B` as an input. The same
811−should also be done when packaging `A`.
812−
813−### How to override a Python package?
814−
815−We can override the interpreter and pass `packageOverrides`.
816−In the following example we rename the `pandas` package and build it.
817−```nix
818−with import <nixpkgs> {};
819−
820−(let
821− python = let
822− packageOverrides = self: super: {
823− pandas = super.pandas.overridePythonAttrs(old: {name="foo";});
824− };
825− in pkgs.python35.override {inherit packageOverrides;};
826−
827−in python.withPackages(ps: [ps.pandas])).env
828−```
829−Using `nix-build` on this expression will build an environment that contains the
830−package `pandas` but with the new name `foo`.
831−
832−All packages in the package set will use the renamed package.
833−A typical use case is to switch to another version of a certain package.
834−For example, in the Nixpkgs repository we have multiple versions of `django` and `scipy`.
835−In the following example we use a different version of `scipy` and create an environment that uses it.
836−All packages in the Python package set will now use the updated `scipy` version.
837−
838−```nix
839−with import <nixpkgs> {};
840−
841−( let
842− packageOverrides = self: super: {
843− scipy = super.scipy_0_17;
844− };
845− in (pkgs.python35.override {inherit packageOverrides;}).withPackages (ps: [ps.blaze])
846−).env
847−```
848−The requested package `blaze` depends on `pandas` which itself depends on `scipy`.
849−
850−If you want the whole of Nixpkgs to use your modifications, then you can use `overlays`
851−as explained in this manual. In the following example we build a `inkscape` using a different version of `numpy`.
852−```nix
853−let
854− pkgs = import <nixpkgs> {};
855− newpkgs = import pkgs.path { overlays = [ (pkgsself: pkgssuper: {
856− python27 = let
857− packageOverrides = self: super: {
858− numpy = super.numpy_1_10;
859− };
860− in pkgssuper.python27.override {inherit packageOverrides;};
861− } ) ]; };
862−in newpkgs.inkscape
863−```
864−
865−### `python setup.py bdist_wheel` cannot create .whl
866−
867−Executing `python setup.py bdist_wheel` in a `nix-shell `fails with
868−```
869−ValueError: ZIP does not support timestamps before 1980
870−```
871−This is because files are included that depend on items in the Nix store which have a timestamp of, that is, it corresponds to January the 1st, 1970 at 00:00:00. And as the error informs you, ZIP does not support that.
872−The command `bdist_wheel` takes into account `SOURCE_DATE_EPOCH`, and `nix-shell` sets this to 1. By setting it to a value corresponding to 1980 or later, or by unsetting it, it is possible to build wheels.
873−
874−Use 1980 as timestamp:
875−```shell
876−nix-shell --run "SOURCE_DATE_EPOCH=315532800 python3 setup.py bdist_wheel"
877−```
878−or the current time:
879−```shell
880−nix-shell --run "SOURCE_DATE_EPOCH=$(date +%s) python3 setup.py bdist_wheel"
881−```
882−or unset:
883−```shell
884−nix-shell --run "unset SOURCE_DATE_EPOCH; python3 setup.py bdist_wheel"
885−```
886−
887−### `install_data` / `data_files` problems
888−
889−If you get the following error:
890−```
891−could not create '/nix/store/6l1bvljpy8gazlsw2aw9skwwp4pmvyxw-python-2.7.8/etc':
892−Permission denied
893−```
894−This is a [known bug](https://github.com/pypa/setuptools/issues/130) in `setuptools`.
895−Setuptools `install_data` does not respect `--prefix`. An example of such package using the feature is `pkgs/tools/X11/xpra/default.nix`.
896−As workaround install it as an extra `preInstall` step:
897−```shell
898−${python.interpreter} setup.py install_data --install-dir=$out --root=$out
899−sed -i '/ = data\_files/d' setup.py
900−```
901−
902−### Rationale of non-existent global site-packages
903−
904−On most operating systems a global `site-packages` is maintained. This however
905−becomes problematic if you want to run multiple Python versions or have multiple
906−versions of certain libraries for your projects. Generally, you would solve such
907−issues by creating virtual environments using `virtualenv`.
908−
909−On Nix each package has an isolated dependency tree which, in the case of
910−Python, guarantees the right versions of the interpreter and libraries or
911−packages are available. There is therefore no need to maintain a global `site-packages`.
912−
913−If you want to create a Python environment for development, then the recommended
914−method is to use `nix-shell`, either with or without the `python.buildEnv`
915−function.
916−
917−### How to consume python modules using pip in a virtualenv like I am used to on other Operating Systems ?
918−
919−This is an example of a `default.nix` for a `nix-shell`, which allows to consume a `virtualenv` environment,
920−and install python modules through `pip` the traditional way.
921−
922−Create this `default.nix` file, together with a `requirements.txt` and simply execute `nix-shell`.
923−
924−```nix
925−with import <nixpkgs> {};
926−with pkgs.python27Packages;
927−
928−stdenv.mkDerivation {
929− name = "impurePythonEnv";
930− buildInputs = [
931− # these packages are required for virtualenv and pip to work:
932− #
933− python27Full
934− python27Packages.virtualenv
935− python27Packages.pip
936− # the following packages are related to the dependencies of your python
937− # project.
938− # In this particular example the python modules listed in the
939− # requirements.tx require the following packages to be installed locally
940− # in order to compile any binary extensions they may require.
941− #
942− taglib
943− openssl
944− git
945− libxml2
946− libxslt
947− libzip
948− stdenv
949− zlib ];
950− src = null;
951− shellHook = ''
952− # set SOURCE_DATE_EPOCH so that we can use python wheels
953− SOURCE_DATE_EPOCH=$(date +%s)
954− virtualenv --no-setuptools venv
955− export PATH=$PWD/venv/bin:$PATH
956− pip install -r requirements.txt
957− '';
958−}
959−```
960−
961−Note that the `pip install` is an imperative action. So every time `nix-shell`
962−is executed it will attempt to download the python modules listed in
963−requirements.txt. However these will be cached locally within the `virtualenv`
964−folder and not downloaded again.
965−
966−### How to override a Python package from `configuration.nix`?
967−
968−If you need to change a package's attribute(s) from `configuration.nix` you could do:
969−
970−```nix
971− nixpkgs.config.packageOverrides = superP: {
972− pythonPackages = superP.pythonPackages.override {
973− overrides = self: super: {
974− bepasty-server = super.bepasty-server.overrideAttrs ( oldAttrs: {
975− src = pkgs.fetchgit {
976− url = "https://github.com/bepasty/bepasty-server";
977− sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps";
978− rev = "e2516e8cf4f2afb5185337073607eb9e84a61d2d";
979− };
980− });
981− };
982− };
983− };
984−```
985−
986−If you are using the `bepasty-server` package somewhere, for example in `systemPackages` or indirectly from `services.bepasty`, then a `nixos-rebuild switch` will rebuild the system but with the `bepasty-server` package using a different `src` attribute. This way one can modify `python` based software/libraries easily. Using `self` and `super` one can also alter dependencies (`buildInputs`) between the old state (`self`) and new state (`super`).
987−
988−### How to override a Python package using overlays?
989−
990−To alter a python package using overlays, you would use the following approach:
991−
992−```nix
993−self: super:
994−rec {
995− python = super.python.override {
996− packageOverrides = python-self: python-super: {
997− bepasty-server = python-super.bepasty-server.overrideAttrs ( oldAttrs: {
998− src = self.pkgs.fetchgit {
999− url = "https://github.com/bepasty/bepasty-server";
1000− sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps";
1001− rev = "e2516e8cf4f2afb5185337073607eb9e84a61d2d";
1002− };
1003− });
1004− };
1005− };
1006− pythonPackages = python.pkgs;
1007−}
1008−```
1009−
1010−## Contributing
1011−
1012−### Contributing guidelines
1013−
1014−Following rules are desired to be respected:
1015−
1016−* Python libraries are called from `python-packages.nix` and packaged with `buildPythonPackage`. The expression of a library should be in `pkgs/development/python-modules/<name>/default.nix`. Libraries in `pkgs/top-level/python-packages.nix` are sorted quasi-alphabetically to avoid merge conflicts.
1017−* Python applications live outside of `python-packages.nix` and are packaged with `buildPythonApplication`.
1018−* Make sure libraries build for all Python interpreters.
1019−* By default we enable tests. Make sure the tests are found and, in the case of libraries, are passing for all interpreters. If certain tests fail they can be disabled individually. Try to avoid disabling the tests altogether. In any case, when you disable tests, leave a comment explaining why.
1020−* Commit names of Python libraries should reflect that they are Python libraries, so write for example `pythonPackages.numpy: 1.11 -> 1.12`.
1021−
doc/languages-frameworks/python.section.mdnew file+1026
@@ -0,0 +1,1026 @@
1+# Python
2+
3+## User Guide
4+
5+### Using Python
6+
7+#### Overview
8+
9+Several versions of the Python interpreter are available on Nix, as well as a
10+high amount of packages. The attribute `python` refers to the default
11+interpreter, which is currently CPython 2.7. It is also possible to refer to
12+specific versions, e.g. `python35` refers to CPython 3.5, and `pypy` refers to
13+the default PyPy interpreter.
14+
15+Python is used a lot, and in different ways. This affects also how it is
16+packaged. In the case of Python on Nix, an important distinction is made between
17+whether the package is considered primarily an application, or whether it should
18+be used as a library, i.e., of primary interest are the modules in
19+`site-packages` that should be importable.
20+
21+In the Nixpkgs tree Python applications can be found throughout, depending on
22+what they do, and are called from the main package set. Python libraries,
23+however, are in separate sets, with one set per interpreter version.
24+
25+The interpreters have several common attributes. One of these attributes is
26+`pkgs`, which is a package set of Python libraries for this specific
27+interpreter. E.g., the `toolz` package corresponding to the default interpreter
28+is `python.pkgs.toolz`, and the CPython 3.5 version is `python35.pkgs.toolz`.
29+The main package set contains aliases to these package sets, e.g.
30+`pythonPackages` refers to `python.pkgs` and `python35Packages` to
31+`python35.pkgs`.
32+
33+#### Installing Python and packages
34+
35+The Nix and NixOS manuals explain how packages are generally installed. In the
36+case of Python and Nix, it is important to make a distinction between whether the
37+package is considered an application or a library.
38+
39+Applications on Nix are typically installed into your user
40+profile imperatively using `nix-env -i`, and on NixOS declaratively by adding the
41+package name to `environment.systemPackages` in `/etc/nixos/configuration.nix`.
42+Dependencies such as libraries are automatically installed and should not be
43+installed explicitly.
44+
45+The same goes for Python applications and libraries. Python applications can be
46+installed in your profile. But Python libraries you would like to use for
47+development cannot be installed, at least not individually, because they won't
48+be able to find each other resulting in import errors. Instead, it is possible
49+to create an environment with `python.buildEnv` or `python.withPackages` where
50+the interpreter and other executables are able to find each other and all of the
51+modules.
52+
53+In the following examples we create an environment with Python 3.5, `numpy` and
54+`toolz`. As you may imagine, there is one limitation here, and that's that
55+you can install only one environment at a time. You will notice the complaints
56+about collisions when you try to install a second environment.
57+
58+##### Environment defined in separate `.nix` file
59+
60+Create a file, e.g. `build.nix`, with the following expression
61+```nix
62+with import <nixpkgs> {};
63+
64+python35.withPackages (ps: with ps; [ numpy toolz ])
65+```
66+and install it in your profile with
67+```shell
68+nix-env -if build.nix
69+```
70+Now you can use the Python interpreter, as well as the extra packages (`numpy`,
71+`toolz`) that you added to the environment.
72+
73+##### Environment defined in `~/.config/nixpkgs/config.nix`
74+
75+If you prefer to, you could also add the environment as a package override to the Nixpkgs set, e.g.
76+using `config.nix`,
77+```nix
78+{ # ...
79+
80+ packageOverrides = pkgs: with pkgs; {
81+ myEnv = python35.withPackages (ps: with ps; [ numpy toolz ]);
82+ };
83+}
84+```
85+and install it in your profile with
86+```shell
87+nix-env -iA nixpkgs.myEnv
88+```
89+The environment is is installed by referring to the attribute, and considering
90+the `nixpkgs` channel was used.
91+
92+##### Environment defined in `/etc/nixos/configuration.nix`
93+
94+For the sake of completeness, here's another example how to install the environment system-wide.
95+
96+```nix
97+{ # ...
98+
99+ environment.systemPackages = with pkgs; [
100+ (python35.withPackages(ps: with ps; [ numpy toolz ]))
101+ ];
102+}
103+```
104+
105+#### Temporary Python environment with `nix-shell`
106+
107+The examples in the previous section showed how to install a Python environment
108+into a profile. For development you may need to use multiple environments.
109+`nix-shell` gives the possibility to temporarily load another environment, akin
110+to `virtualenv`.
111+
112+There are two methods for loading a shell with Python packages. The first and recommended method
113+is to create an environment with `python.buildEnv` or `python.withPackages` and load that. E.g.
114+```sh
115+$ nix-shell -p 'python35.withPackages(ps: with ps; [ numpy toolz ])'
116+```
117+opens a shell from which you can launch the interpreter
118+```sh
119+[nix-shell:~] python3
120+```
121+The other method, which is not recommended, does not create an environment and requires you to list the packages directly,
122+
123+```sh
124+$ nix-shell -p python35.pkgs.numpy python35.pkgs.toolz
125+```
126+Again, it is possible to launch the interpreter from the shell.
127+The Python interpreter has the attribute `pkgs` which contains all Python libraries for that specific interpreter.
128+
129+##### Load environment from `.nix` expression
130+As explained in the Nix manual, `nix-shell` can also load an
131+expression from a `.nix` file. Say we want to have Python 3.5, `numpy`
132+and `toolz`, like before, in an environment. Consider a `shell.nix` file
133+with
134+```nix
135+with import <nixpkgs> {};
136+
137+(python35.withPackages (ps: [ps.numpy ps.toolz])).env
138+```
139+Executing `nix-shell` gives you again a Nix shell from which you can run Python.
140+
141+What's happening here?
142+
143+1. We begin with importing the Nix Packages collections. `import <nixpkgs>` imports the `<nixpkgs>` function, `{}` calls it and the `with` statement brings all attributes of `nixpkgs` in the local scope. These attributes form the main package set.
144+2. Then we create a Python 3.5 environment with the `withPackages` function.
145+3. The `withPackages` function expects us to provide a function as an argument that takes the set of all python packages and returns a list of packages to include in the environment. Here, we select the packages `numpy` and `toolz` from the package set.
146+
147+##### Execute command with `--run`
148+A convenient option with `nix-shell` is the `--run`
149+option, with which you can execute a command in the `nix-shell`. We can
150+e.g. directly open a Python shell
151+```sh
152+$ nix-shell -p python35Packages.numpy python35Packages.toolz --run "python3"
153+```
154+or run a script
155+```sh
156+$ nix-shell -p python35Packages.numpy python35Packages.toolz --run "python3 myscript.py"
157+```
158+
159+##### `nix-shell` as shebang
160+In fact, for the second use case, there is a more convenient method. You can
161+add a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) to your script
162+specifying which dependencies `nix-shell` needs. With the following shebang, you
163+can just execute `./myscript.py`, and it will make available all dependencies and
164+run the script in the `python3` shell.
165+
166+```py
167+#! /usr/bin/env nix-shell
168+#! nix-shell -i python3 -p "python3.withPackages(ps: [ps.numpy])"
169+
170+import numpy
171+
172+print(numpy.__version__)
173+```
174+
175+### Developing with Python
176+
177+Now that you know how to get a working Python environment with Nix, it is time
178+to go forward and start actually developing with Python. We will first have a
179+look at how Python packages are packaged on Nix. Then, we will look at how you
180+can use development mode with your code.
181+
182+#### Packaging a library
183+
184+With Nix all packages are built by functions. The main function in Nix for
185+building Python libraries is `buildPythonPackage`. Let's see how we can build the
186+`toolz` package.
187+
188+```nix
189+{ # ...
190+
191+ toolz = buildPythonPackage rec {
192+ pname = "toolz";
193+ version = "0.7.4";
194+
195+ src = fetchPypi {
196+ inherit pname version;
197+ sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
198+ };
199+
200+ doCheck = false;
201+
202+ meta = {
203+ homepage = "http://github.com/pytoolz/toolz/";
204+ description = "List processing tools and functional utilities";
205+ license = licenses.bsd3;
206+ maintainers = with maintainers; [ fridh ];
207+ };
208+ };
209+}
210+```
211+
212+What happens here? The function `buildPythonPackage` is called and as argument
213+it accepts a set. In this case the set is a recursive set, `rec`. One of the
214+arguments is the name of the package, which consists of a basename (generally
215+following the name on PyPi) and a version. Another argument, `src` specifies the
216+source, which in this case is fetched from PyPI using the helper function
217+`fetchPypi`. The argument `doCheck` is used to set whether tests should be run
218+when building the package. Furthermore, we specify some (optional) meta
219+information. The output of the function is a derivation.
220+
221+An expression for `toolz` can be found in the Nixpkgs repository. As explained
222+in the introduction of this Python section, a derivation of `toolz` is available
223+for each interpreter version, e.g. `python35.pkgs.toolz` refers to the `toolz`
224+derivation corresponding to the CPython 3.5 interpreter.
225+The above example works when you're directly working on
226+`pkgs/top-level/python-packages.nix` in the Nixpkgs repository. Often though,
227+you will want to test a Nix expression outside of the Nixpkgs tree.
228+
229+The following expression creates a derivation for the `toolz` package,
230+and adds it along with a `numpy` package to a Python environment.
231+
232+```nix
233+with import <nixpkgs> {};
234+
235+( let
236+ my_toolz = python35.pkgs.buildPythonPackage rec {
237+ pname = "toolz";
238+ version = "0.7.4";
239+
240+ src = python35.pkgs.fetchPypi {
241+ inherit pname version;
242+ sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
243+ };
244+
245+ doCheck = false;
246+
247+ meta = {
248+ homepage = "http://github.com/pytoolz/toolz/";
249+ description = "List processing tools and functional utilities";
250+ };
251+ };
252+
253+ in python35.withPackages (ps: [ps.numpy my_toolz])
254+).env
255+```
256+Executing `nix-shell` will result in an environment in which you can use
257+Python 3.5 and the `toolz` package. As you can see we had to explicitly mention
258+for which Python version we want to build a package.
259+
260+So, what did we do here? Well, we took the Nix expression that we used earlier
261+to build a Python environment, and said that we wanted to include our own
262+version of `toolz`, named `my_toolz`. To introduce our own package in the scope
263+of `withPackages` we used a `let` expression. You can see that we used
264+`ps.numpy` to select numpy from the nixpkgs package set (`ps`). We did not take
265+`toolz` from the Nixpkgs package set this time, but instead took our own version
266+that we introduced with the `let` expression.
267+
268+#### Handling dependencies
269+
270+Our example, `toolz`, does not have any dependencies on other Python
271+packages or system libraries. According to the manual, `buildPythonPackage`
272+uses the arguments `buildInputs` and `propagatedBuildInputs` to specify dependencies. If something is
273+exclusively a build-time dependency, then the dependency should be included as a
274+`buildInput`, but if it is (also) a runtime dependency, then it should be added
275+to `propagatedBuildInputs`. Test dependencies are considered build-time dependencies.
276+
277+The following example shows which arguments are given to `buildPythonPackage` in
278+order to build [`datashape`](https://github.com/blaze/datashape).
279+
280+```nix
281+{ # ...
282+
283+ datashape = buildPythonPackage rec {
284+ pname = "datashape";
285+ version = "0.4.7";
286+
287+ src = fetchPypi {
288+ inherit pname version;
289+ sha256 = "14b2ef766d4c9652ab813182e866f493475e65e558bed0822e38bf07bba1a278";
290+ };
291+
292+ checkInputs = with self; [ pytest ];
293+ propagatedBuildInputs = with self; [ numpy multipledispatch dateutil ];
294+
295+ meta = {
296+ homepage = https://github.com/ContinuumIO/datashape;
297+ description = "A data description language";
298+ license = licenses.bsd2;
299+ maintainers = with maintainers; [ fridh ];
300+ };
301+ };
302+}
303+```
304+
305+We can see several runtime dependencies, `numpy`, `multipledispatch`, and
306+`dateutil`. Furthermore, we have one `buildInput`, i.e. `pytest`. `pytest` is a
307+test runner and is only used during the `checkPhase` and is therefore not added
308+to `propagatedBuildInputs`.
309+
310+In the previous case we had only dependencies on other Python packages to consider.
311+Occasionally you have also system libraries to consider. E.g., `lxml` provides
312+Python bindings to `libxml2` and `libxslt`. These libraries are only required
313+when building the bindings and are therefore added as `buildInputs`.
314+
315+```nix
316+{ # ...
317+
318+ lxml = buildPythonPackage rec {
319+ pname = "lxml";
320+ version = "3.4.4";
321+
322+ src = fetchPypi {
323+ inherit pname version;
324+ sha256 = "16a0fa97hym9ysdk3rmqz32xdjqmy4w34ld3rm3jf5viqjx65lxk";
325+ };
326+
327+ buildInputs = with self; [ pkgs.libxml2 pkgs.libxslt ];
328+
329+ meta = {
330+ description = "Pythonic binding for the libxml2 and libxslt libraries";
331+ homepage = http://lxml.de;
332+ license = licenses.bsd3;
333+ maintainers = with maintainers; [ sjourdois ];
334+ };
335+ };
336+}
337+```
338+
339+In this example `lxml` and Nix are able to work out exactly where the relevant
340+files of the dependencies are. This is not always the case.
341+
342+The example below shows bindings to The Fastest Fourier Transform in the West, commonly known as
343+FFTW. On Nix we have separate packages of FFTW for the different types of floats
344+(`"single"`, `"double"`, `"long-double"`). The bindings need all three types,
345+and therefore we add all three as `buildInputs`. The bindings don't expect to
346+find each of them in a different folder, and therefore we have to set `LDFLAGS`
347+and `CFLAGS`.
348+
349+```nix
350+{ # ...
351+
352+ pyfftw = buildPythonPackage rec {
353+ pname = "pyFFTW";
354+ version = "0.9.2";
355+
356+ src = fetchPypi {
357+ inherit pname version;
358+ sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074";
359+ };
360+
361+ buildInputs = [ pkgs.fftw pkgs.fftwFloat pkgs.fftwLongDouble];
362+
363+ propagatedBuildInputs = with self; [ numpy scipy ];
364+
365+ # Tests cannot import pyfftw. pyfftw works fine though.
366+ doCheck = false;
367+
368+ preConfigure = ''
369+ export LDFLAGS="-L${pkgs.fftw.dev}/lib -L${pkgs.fftwFloat.out}/lib -L${pkgs.fftwLongDouble.out}/lib"
370+ export CFLAGS="-I${pkgs.fftw.dev}/include -I${pkgs.fftwFloat.dev}/include -I${pkgs.fftwLongDouble.dev}/include"
371+ '';
372+
373+ meta = {
374+ description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms";
375+ homepage = http://hgomersall.github.com/pyFFTW/;
376+ license = with licenses; [ bsd2 bsd3 ];
377+ maintainers = with maintainers; [ fridh ];
378+ };
379+ };
380+}
381+```
382+Note also the line `doCheck = false;`, we explicitly disabled running the test-suite.
383+
384+
385+#### Develop local package
386+
387+As a Python developer you're likely aware of [development mode](http://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode) (`python setup.py develop`);
388+instead of installing the package this command creates a special link to the project code.
389+That way, you can run updated code without having to reinstall after each and every change you make.
390+Development mode is also available. Let's see how you can use it.
391+
392+In the previous Nix expression the source was fetched from an url. We can also refer to a local source instead using
393+`src = ./path/to/source/tree;`
394+
395+If we create a `shell.nix` file which calls `buildPythonPackage`, and if `src`
396+is a local source, and if the local source has a `setup.py`, then development
397+mode is activated.
398+
399+In the following example we create a simple environment that
400+has a Python 3.5 version of our package in it, as well as its dependencies and
401+other packages we like to have in the environment, all specified with `propagatedBuildInputs`.
402+Indeed, we can just add any package we like to have in our environment to `propagatedBuildInputs`.
403+
404+```nix
405+with import <nixpkgs> {};
406+with pkgs.python35Packages;
407+
408+buildPythonPackage rec {
409+ name = "mypackage";
410+ src = ./path/to/package/source;
411+ propagatedBuildInputs = [ pytest numpy pkgs.libsndfile ];
412+}
413+```
414+
415+It is important to note that due to how development mode is implemented on Nix it is not possible to have multiple packages simultaneously in development mode.
416+
417+
418+### Organising your packages
419+
420+So far we discussed how you can use Python on Nix, and how you can develop with
421+it. We've looked at how you write expressions to package Python packages, and we
422+looked at how you can create environments in which specified packages are
423+available.
424+
425+At some point you'll likely have multiple packages which you would
426+like to be able to use in different projects. In order to minimise unnecessary
427+duplication we now look at how you can maintain yourself a repository with your
428+own packages. The important functions here are `import` and `callPackage`.
429+
430+### Including a derivation using `callPackage`
431+
432+Earlier we created a Python environment using `withPackages`, and included the
433+`toolz` package via a `let` expression.
434+Let's split the package definition from the environment definition.
435+
436+We first create a function that builds `toolz` in `~/path/to/toolz/release.nix`
437+
438+```nix
439+{ pkgs, buildPythonPackage }:
440+
441+buildPythonPackage rec {
442+ pname = "toolz";
443+ version = "0.7.4";
444+
445+ src = fetchPypi {
446+ inherit pname version;
447+ sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
448+ };
449+
450+ meta = {
451+ homepage = "http://github.com/pytoolz/toolz/";
452+ description = "List processing tools and functional utilities";
453+ license = licenses.bsd3;
454+ maintainers = with maintainers; [ fridh ];
455+ };
456+}
457+```
458+
459+It takes two arguments, `pkgs` and `buildPythonPackage`.
460+We now call this function using `callPackage` in the definition of our environment
461+
462+```nix
463+with import <nixpkgs> {};
464+
465+( let
466+ toolz = pkgs.callPackage /path/to/toolz/release.nix {
467+ pkgs = pkgs;
468+ buildPythonPackage = pkgs.python35Packages.buildPythonPackage;
469+ };
470+ in pkgs.python35.withPackages (ps: [ ps.numpy toolz ])
471+).env
472+```
473+
474+Important to remember is that the Python version for which the package is made
475+depends on the `python` derivation that is passed to `buildPythonPackage`. Nix
476+tries to automatically pass arguments when possible, which is why generally you
477+don't explicitly define which `python` derivation should be used. In the above
478+example we use `buildPythonPackage` that is part of the set `python35Packages`,
479+and in this case the `python35` interpreter is automatically used.
480+
481+
482+
483+## Reference
484+
485+### Interpreters
486+
487+Versions 2.7, 3.3, 3.4, 3.5 and 3.6 of the CPython interpreter are available as
488+respectively `python27`, `python34`, `python35` and `python36`. The PyPy interpreter
489+is available as `pypy`. The aliases `python2` and `python3` correspond to respectively `python27` and
490+`python35`. The default interpreter, `python`, maps to `python2`.
491+The Nix expressions for the interpreters can be found in
492+`pkgs/development/interpreters/python`.
493+
494+All packages depending on any Python interpreter get appended
495+`out/{python.sitePackages}` to `$PYTHONPATH` if such directory
496+exists.
497+
498+#### Missing `tkinter` module standard library
499+
500+To reduce closure size the `Tkinter`/`tkinter` is available as a separate package, `pythonPackages.tkinter`.
501+
502+#### Attributes on interpreters packages
503+
504+Each interpreter has the following attributes:
505+
506+- `libPrefix`. Name of the folder in `${python}/lib/` for corresponding interpreter.
507+- `interpreter`. Alias for `${python}/bin/${executable}`.
508+- `buildEnv`. Function to build python interpreter environments with extra packages bundled together. See section *python.buildEnv function* for usage and documentation.
509+- `withPackages`. Simpler interface to `buildEnv`. See section *python.withPackages function* for usage and documentation.
510+- `sitePackages`. Alias for `lib/${libPrefix}/site-packages`.
511+- `executable`. Name of the interpreter executable, e.g. `python3.4`.
512+- `pkgs`. Set of Python packages for that specific interpreter. The package set can be modified by overriding the interpreter and passing `packageOverrides`.
513+
514+### Building packages and applications
515+
516+Python libraries and applications that use `setuptools` or
517+`distutils` are typically build with respectively the `buildPythonPackage` and
518+`buildPythonApplication` functions. These two functions also support installing a `wheel`.
519+
520+All Python packages reside in `pkgs/top-level/python-packages.nix` and all
521+applications elsewhere. In case a package is used as both a library and an application,
522+then the package should be in `pkgs/top-level/python-packages.nix` since only those packages are made
523+available for all interpreter versions. The preferred location for library expressions is in
524+`pkgs/development/python-modules`. It is important that these packages are
525+called from `pkgs/top-level/python-packages.nix` and not elsewhere, to guarantee
526+the right version of the package is built.
527+
528+Based on the packages defined in `pkgs/top-level/python-packages.nix` an
529+attribute set is created for each available Python interpreter. The available
530+sets are
531+
532+* `pkgs.python27Packages`
533+* `pkgs.python34Packages`
534+* `pkgs.python35Packages`
535+* `pkgs.python36Packages`
536+* `pkgs.pypyPackages`
537+
538+and the aliases
539+
540+* `pkgs.python2Packages` pointing to `pkgs.python27Packages`
541+* `pkgs.python3Packages` pointing to `pkgs.python36Packages`
542+* `pkgs.pythonPackages` pointing to `pkgs.python2Packages`
543+
544+#### `buildPythonPackage` function
545+
546+The `buildPythonPackage` function is implemented in
547+`pkgs/development/interpreters/python/build-python-package.nix`
548+
549+The following is an example:
550+```nix
551+
552+buildPythonPackage rec {
553+ version = "3.3.1";
554+ pname = "pytest";
555+
556+ preCheck = ''
557+ # don't test bash builtins
558+ rm testing/test_argcomplete.py
559+ '';
560+
561+ src = fetchPypi {
562+ inherit pname version;
563+ sha256 = "cf8436dc59d8695346fcd3ab296de46425ecab00d64096cebe79fb51ecb2eb93";
564+ };
565+
566+ checkInputs = [ hypothesis ];
567+ buildInputs = [ setuptools_scm ];
568+ propagatedBuildInputs = [ attrs py setuptools six pluggy ];
569+
570+ meta = with stdenv.lib; {
571+ maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ];
572+ description = "Framework for writing tests";
573+ };
574+}
575+
576+```
577+
578+The `buildPythonPackage` mainly does four things:
579+
580+* In the `buildPhase`, it calls `${python.interpreter} setup.py bdist_wheel` to
581+ build a wheel binary zipfile.
582+* In the `installPhase`, it installs the wheel file using `pip install *.whl`.
583+* In the `postFixup` phase, the `wrapPythonPrograms` bash function is called to
584+ wrap all programs in the `$out/bin/*` directory to include `$PATH`
585+ environment variable and add dependent libraries to script's `sys.path`.
586+* In the `installCheck` phase, `${python.interpreter} setup.py test` is ran.
587+
588+As in Perl, dependencies on other Python packages can be specified in the
589+`buildInputs` and `propagatedBuildInputs` attributes. If something is
590+exclusively a build-time dependency, use `buildInputs`; if it’s (also) a runtime
591+dependency, use `propagatedBuildInputs`.
592+
593+By default tests are run because `doCheck = true`. Test dependencies, like
594+e.g. the test runner, should be added to `buildInputs`.
595+
596+By default `meta.platforms` is set to the same value
597+as the interpreter unless overridden otherwise.
598+
599+##### `buildPythonPackage` parameters
600+
601+All parameters from `mkDerivation` function are still supported.
602+
603+* `namePrefix`: Prepended text to `${name}` parameter. Defaults to `"python3.3-"` for Python 3.3, etc. Set it to `""` if you're packaging an application or a command line tool.
604+* `disabled`: If `true`, package is not build for particular python interpreter version. Grep around `pkgs/top-level/python-packages.nix` for examples.
605+* `setupPyBuildFlags`: List of flags passed to `setup.py build_ext` command.
606+* `pythonPath`: List of packages to be added into `$PYTHONPATH`. Packages in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`).
607+* `preShellHook`: Hook to execute commands before `shellHook`.
608+* `postShellHook`: Hook to execute commands after `shellHook`.
609+* `makeWrapperArgs`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`.
610+* `installFlags`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"].
611+* `format`: Format of the source. Valid options are `setuptools` (default), `flit`, `wheel`, and `other`. `setuptools` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. In case you need to provide your own `buildPhase` and `installPhase` you can use `other`.
612+* `catchConflicts` If `true`, abort package build if a package name appears more than once in dependency tree. Default is `true`.
613+* `checkInputs` Dependencies needed for running the `checkPhase`. These are added to `buildInputs` when `doCheck = true`.
614+
615+##### Overriding Python packages
616+
617+The `buildPythonPackage` function has a `overridePythonAttrs` method that
618+can be used to override the package. In the following example we create an
619+environment where we have the `blaze` package using an older version of `pandas`.
620+We override first the Python interpreter and pass
621+`packageOverrides` which contains the overrides for packages in the package set.
622+
623+```nix
624+with import <nixpkgs> {};
625+
626+(let
627+ python = let
628+ packageOverrides = self: super: {
629+ pandas = super.pandas.overridePythonAttrs(old: rec {
630+ version = "0.19.1";
631+ src = super.fetchPypi {
632+ pname = "pandas";
633+ inherit version;
634+ sha256 = "08blshqj9zj1wyjhhw3kl2vas75vhhicvv72flvf1z3jvapgw295";
635+ };
636+ });
637+ };
638+ in pkgs.python3.override {inherit packageOverrides;};
639+
640+in python.withPackages(ps: [ps.blaze])).env
641+```
642+
643+#### `buildPythonApplication` function
644+
645+The `buildPythonApplication` function is practically the same as `buildPythonPackage`.
646+The difference is that `buildPythonPackage` by default prefixes the names of the packages with the version of the interpreter.
647+Because with an application we're not interested in multiple version the prefix is dropped.
648+
649+#### python.buildEnv function
650+
651+Python environments can be created using the low-level `pkgs.buildEnv` function.
652+This example shows how to create an environment that has the Pyramid Web Framework.
653+Saving the following as `default.nix`
654+```nix
655+with import <nixpkgs> {};
656+
657+python.buildEnv.override {
658+ extraLibs = [ pkgs.pythonPackages.pyramid ];
659+ ignoreCollisions = true;
660+}
661+```
662+
663+and running `nix-build` will create
664+```
665+/nix/store/cf1xhjwzmdki7fasgr4kz6di72ykicl5-python-2.7.8-env
666+```
667+
668+with wrapped binaries in `bin/`.
669+
670+You can also use the `env` attribute to create local environments with needed
671+packages installed. This is somewhat comparable to `virtualenv`. For example,
672+running `nix-shell` with the following `shell.nix`
673+```nix
674+with import <nixpkgs> {};
675+
676+(python3.buildEnv.override {
677+ extraLibs = with python3Packages; [ numpy requests ];
678+}).env
679+```
680+
681+will drop you into a shell where Python will have the
682+specified packages in its path.
683+
684+
685+##### `python.buildEnv` arguments
686+
687+* `extraLibs`: List of packages installed inside the environment.
688+* `postBuild`: Shell command executed after the build of environment.
689+* `ignoreCollisions`: Ignore file collisions inside the environment (default is `false`).
690+
691+#### python.withPackages function
692+
693+The `python.withPackages` function provides a simpler interface to the `python.buildEnv` functionality.
694+It takes a function as an argument that is passed the set of python packages and returns the list
695+of the packages to be included in the environment. Using the `withPackages` function, the previous
696+example for the Pyramid Web Framework environment can be written like this:
697+```nix
698+with import <nixpkgs> {};
699+
700+python.withPackages (ps: [ps.pyramid])
701+```
702+
703+`withPackages` passes the correct package set for the specific interpreter version as an
704+argument to the function. In the above example, `ps` equals `pythonPackages`.
705+But you can also easily switch to using python3:
706+```nix
707+with import <nixpkgs> {};
708+
709+python3.withPackages (ps: [ps.pyramid])
710+```
711+
712+Now, `ps` is set to `python3Packages`, matching the version of the interpreter.
713+
714+As `python.withPackages` simply uses `python.buildEnv` under the hood, it also supports the `env`
715+attribute. The `shell.nix` file from the previous section can thus be also written like this:
716+```nix
717+with import <nixpkgs> {};
718+
719+(python36.withPackages (ps: [ps.numpy ps.requests])).env
720+```
721+
722+In contrast to `python.buildEnv`, `python.withPackages` does not support the more advanced options
723+such as `ignoreCollisions = true` or `postBuild`. If you need them, you have to use `python.buildEnv`.
724+
725+Python 2 namespace packages may provide `__init__.py` that collide. In that case `python.buildEnv`
726+should be used with `ignoreCollisions = true`.
727+
728+### Development mode
729+
730+Development or editable mode is supported. To develop Python packages
731+`buildPythonPackage` has additional logic inside `shellPhase` to run `pip
732+install -e . --prefix $TMPDIR/`for the package.
733+
734+Warning: `shellPhase` is executed only if `setup.py` exists.
735+
736+Given a `default.nix`:
737+```nix
738+with import <nixpkgs> {};
739+
740+buildPythonPackage { name = "myproject";
741+
742+buildInputs = with pkgs.pythonPackages; [ pyramid ];
743+
744+src = ./.; }
745+```
746+
747+Running `nix-shell` with no arguments should give you
748+the environment in which the package would be built with
749+`nix-build`.
750+
751+Shortcut to setup environments with C headers/libraries and python packages:
752+```shell
753+nix-shell -p pythonPackages.pyramid zlib libjpeg git
754+```
755+
756+Note: There is a boolean value `lib.inNixShell` set to `true` if nix-shell is invoked.
757+
758+### Tools
759+
760+Packages inside nixpkgs are written by hand. However many tools exist in
761+community to help save time. No tool is preferred at the moment.
762+
763+- [python2nix](https://github.com/proger/python2nix) by Vladimir Kirillov
764+- [pypi2nix](https://github.com/garbas/pypi2nix) by Rok Garbas
765+- [pypi2nix](https://github.com/offlinehacker/pypi2nix) by Jaka Hudoklin
766+
767+### Deterministic builds
768+
769+Python 2.7, 3.5 and 3.6 are now built deterministically and 3.4 mostly.
770+Minor modifications had to be made to the interpreters in order to generate
771+deterministic bytecode. This has security implications and is relevant for
772+those using Python in a `nix-shell`.
773+
774+When the environment variable `DETERMINISTIC_BUILD` is set, all bytecode will have timestamp 1.
775+The `buildPythonPackage` function sets `DETERMINISTIC_BUILD=1` and
776+[PYTHONHASHSEED=0](https://docs.python.org/3.5/using/cmdline.html#envvar-PYTHONHASHSEED).
777+Both are also exported in `nix-shell`.
778+
779+
780+### Automatic tests
781+
782+It is recommended to test packages as part of the build process.
783+Source distributions (`sdist`) often include test files, but not always.
784+
785+By default the command `python setup.py test` is run as part of the
786+`checkPhase`, but often it is necessary to pass a custom `checkPhase`. An
787+example of such a situation is when `py.test` is used.
788+
789+#### Common issues
790+
791+- Non-working tests can often be deselected. By default `buildPythonPackage` runs `python setup.py test`.
792+ Most python modules follows the standard test protocol where the pytest runner can be used instead.
793+ `py.test` supports a `-k` parameter to ignore test methods or classes:
794+
795+ ```nix
796+ buildPythonPackage {
797+ # ...
798+ # assumes the tests are located in tests
799+ checkInputs = [ pytest ];
800+ checkPhase = ''
801+ py.test -k 'not function_name and not other_function' tests
802+ '';
803+ }
804+ ```
805+- Unicode issues can typically be fixed by including `glibcLocales` in `buildInputs` and exporting `LC_ALL=en_US.utf-8`.
806+- Tests that attempt to access `$HOME` can be fixed by using the following work-around before running tests (e.g. `preCheck`): `export HOME=$(mktemp -d)`
807+
808+## FAQ
809+
810+### How to solve circular dependencies?
811+
812+Consider the packages `A` and `B` that depend on each other. When packaging `B`,
813+a solution is to override package `A` not to depend on `B` as an input. The same
814+should also be done when packaging `A`.
815+
816+### How to override a Python package?
817+
818+We can override the interpreter and pass `packageOverrides`.
819+In the following example we rename the `pandas` package and build it.
820+```nix
821+with import <nixpkgs> {};
822+
823+(let
824+ python = let
825+ packageOverrides = self: super: {
826+ pandas = super.pandas.overridePythonAttrs(old: {name="foo";});
827+ };
828+ in pkgs.python35.override {inherit packageOverrides;};
829+
830+in python.withPackages(ps: [ps.pandas])).env
831+```
832+Using `nix-build` on this expression will build an environment that contains the
833+package `pandas` but with the new name `foo`.
834+
835+All packages in the package set will use the renamed package.
836+A typical use case is to switch to another version of a certain package.
837+For example, in the Nixpkgs repository we have multiple versions of `django` and `scipy`.
838+In the following example we use a different version of `scipy` and create an environment that uses it.
839+All packages in the Python package set will now use the updated `scipy` version.
840+
841+```nix
842+with import <nixpkgs> {};
843+
844+( let
845+ packageOverrides = self: super: {
846+ scipy = super.scipy_0_17;
847+ };
848+ in (pkgs.python35.override {inherit packageOverrides;}).withPackages (ps: [ps.blaze])
849+).env
850+```
851+The requested package `blaze` depends on `pandas` which itself depends on `scipy`.
852+
853+If you want the whole of Nixpkgs to use your modifications, then you can use `overlays`
854+as explained in this manual. In the following example we build a `inkscape` using a different version of `numpy`.
855+```nix
856+let
857+ pkgs = import <nixpkgs> {};
858+ newpkgs = import pkgs.path { overlays = [ (pkgsself: pkgssuper: {
859+ python27 = let
860+ packageOverrides = self: super: {
861+ numpy = super.numpy_1_10;
862+ };
863+ in pkgssuper.python27.override {inherit packageOverrides;};
864+ } ) ]; };
865+in newpkgs.inkscape
866+```
867+
868+### `python setup.py bdist_wheel` cannot create .whl
869+
870+Executing `python setup.py bdist_wheel` in a `nix-shell `fails with
871+```
872+ValueError: ZIP does not support timestamps before 1980
873+```
874+
875+This is because files from the Nix store (which have a timestamp of the UNIX epoch of January 1, 1970) are included in the .ZIP, but .ZIP archives follow the DOS convention of counting timestamps from 1980.
876+
877+The command `bdist_wheel` reads the `SOURCE_DATE_EPOCH` environment variable, which `nix-shell` sets to 1. Unsetting this variable or giving it a value corresponding to 1980 or later enables building wheels.
878+
879+Use 1980 as timestamp:
880+```shell
881+nix-shell --run "SOURCE_DATE_EPOCH=315532800 python3 setup.py bdist_wheel"
882+```
883+or the current time:
884+```shell
885+nix-shell --run "SOURCE_DATE_EPOCH=$(date +%s) python3 setup.py bdist_wheel"
886+```
887+or unset `SOURCE_DATE_EPOCH`:
888+```shell
889+nix-shell --run "unset SOURCE_DATE_EPOCH; python3 setup.py bdist_wheel"
890+```
891+
892+### `install_data` / `data_files` problems
893+
894+If you get the following error:
895+```
896+could not create '/nix/store/6l1bvljpy8gazlsw2aw9skwwp4pmvyxw-python-2.7.8/etc':
897+Permission denied
898+```
899+This is a [known bug](https://github.com/pypa/setuptools/issues/130) in `setuptools`.
900+Setuptools `install_data` does not respect `--prefix`. An example of such package using the feature is `pkgs/tools/X11/xpra/default.nix`.
901+As workaround install it as an extra `preInstall` step:
902+```shell
903+${python.interpreter} setup.py install_data --install-dir=$out --root=$out
904+sed -i '/ = data\_files/d' setup.py
905+```
906+
907+### Rationale of non-existent global site-packages
908+
909+On most operating systems a global `site-packages` is maintained. This however
910+becomes problematic if you want to run multiple Python versions or have multiple
911+versions of certain libraries for your projects. Generally, you would solve such
912+issues by creating virtual environments using `virtualenv`.
913+
914+On Nix each package has an isolated dependency tree which, in the case of
915+Python, guarantees the right versions of the interpreter and libraries or
916+packages are available. There is therefore no need to maintain a global `site-packages`.
917+
918+If you want to create a Python environment for development, then the recommended
919+method is to use `nix-shell`, either with or without the `python.buildEnv`
920+function.
921+
922+### How to consume python modules using pip in a virtualenv like I am used to on other Operating Systems ?
923+
924+This is an example of a `default.nix` for a `nix-shell`, which allows to consume a `virtualenv` environment,
925+and install python modules through `pip` the traditional way.
926+
927+Create this `default.nix` file, together with a `requirements.txt` and simply execute `nix-shell`.
928+
929+```nix
930+with import <nixpkgs> {};
931+with pkgs.python27Packages;
932+
933+stdenv.mkDerivation {
934+ name = "impurePythonEnv";
935+ buildInputs = [
936+ # these packages are required for virtualenv and pip to work:
937+ #
938+ python27Full
939+ python27Packages.virtualenv
940+ python27Packages.pip
941+ # the following packages are related to the dependencies of your python
942+ # project.
943+ # In this particular example the python modules listed in the
944+ # requirements.tx require the following packages to be installed locally
945+ # in order to compile any binary extensions they may require.
946+ #
947+ taglib
948+ openssl
949+ git
950+ libxml2
951+ libxslt
952+ libzip
953+ stdenv
954+ zlib ];
955+ src = null;
956+ shellHook = ''
957+ # set SOURCE_DATE_EPOCH so that we can use python wheels
958+ SOURCE_DATE_EPOCH=$(date +%s)
959+ virtualenv --no-setuptools venv
960+ export PATH=$PWD/venv/bin:$PATH
961+ pip install -r requirements.txt
962+ '';
963+}
964+```
965+
966+Note that the `pip install` is an imperative action. So every time `nix-shell`
967+is executed it will attempt to download the python modules listed in
968+requirements.txt. However these will be cached locally within the `virtualenv`
969+folder and not downloaded again.
970+
971+### How to override a Python package from `configuration.nix`?
972+
973+If you need to change a package's attribute(s) from `configuration.nix` you could do:
974+
975+```nix
976+ nixpkgs.config.packageOverrides = superP: {
977+ pythonPackages = superP.pythonPackages.override {
978+ overrides = self: super: {
979+ bepasty-server = super.bepasty-server.overrideAttrs ( oldAttrs: {
980+ src = pkgs.fetchgit {
981+ url = "https://github.com/bepasty/bepasty-server";
982+ sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps";
983+ rev = "e2516e8cf4f2afb5185337073607eb9e84a61d2d";
984+ };
985+ });
986+ };
987+ };
988+ };
989+```
990+
991+If you are using the `bepasty-server` package somewhere, for example in `systemPackages` or indirectly from `services.bepasty`, then a `nixos-rebuild switch` will rebuild the system but with the `bepasty-server` package using a different `src` attribute. This way one can modify `python` based software/libraries easily. Using `self` and `super` one can also alter dependencies (`buildInputs`) between the old state (`self`) and new state (`super`).
992+
993+### How to override a Python package using overlays?
994+
995+To alter a python package using overlays, you would use the following approach:
996+
997+```nix
998+self: super:
999+rec {
1000+ python = super.python.override {
1001+ packageOverrides = python-self: python-super: {
1002+ bepasty-server = python-super.bepasty-server.overrideAttrs ( oldAttrs: {
1003+ src = self.pkgs.fetchgit {
1004+ url = "https://github.com/bepasty/bepasty-server";
1005+ sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps";
1006+ rev = "e2516e8cf4f2afb5185337073607eb9e84a61d2d";
1007+ };
1008+ });
1009+ };
1010+ };
1011+ pythonPackages = python.pkgs;
1012+}
1013+```
1014+
1015+## Contributing
1016+
1017+### Contributing guidelines
1018+
1019+Following rules are desired to be respected:
1020+
1021+* Python libraries are called from `python-packages.nix` and packaged with `buildPythonPackage`. The expression of a library should be in `pkgs/development/python-modules/<name>/default.nix`. Libraries in `pkgs/top-level/python-packages.nix` are sorted quasi-alphabetically to avoid merge conflicts.
1022+* Python applications live outside of `python-packages.nix` and are packaged with `buildPythonApplication`.
1023+* Make sure libraries build for all Python interpreters.
1024+* By default we enable tests. Make sure the tests are found and, in the case of libraries, are passing for all interpreters. If certain tests fail they can be disabled individually. Try to avoid disabling the tests altogether. In any case, when you disable tests, leave a comment explaining why.
1025+* Commit names of Python libraries should reflect that they are Python libraries, so write for example `pythonPackages.numpy: 1.11 -> 1.12`.
1026+
doc/languages-frameworks/r.section.mdnew file+120
@@ -0,0 +1,120 @@
1+R packages
2+==========
3+
4+## Installation
5+
6+Define an environment for R that contains all the libraries that you'd like to
7+use by adding the following snippet to your $HOME/.config/nixpkgs/config.nix file:
8+
9+```nix
10+{
11+ packageOverrides = super: let self = super.pkgs; in
12+ {
13+
14+ rEnv = super.rWrapper.override {
15+ packages = with self.rPackages; [
16+ devtools
17+ ggplot2
18+ reshape2
19+ yaml
20+ optparse
21+ ];
22+ };
23+ };
24+}
25+```
26+
27+Then you can use `nix-env -f "<nixpkgs>" -iA rEnv` to install it into your user
28+profile. The set of available libraries can be discovered by running the
29+command `nix-env -f "<nixpkgs>" -qaP -A rPackages`. The first column from that
30+output is the name that has to be passed to rWrapper in the code snipped above.
31+
32+However, if you'd like to add a file to your project source to make the
33+environment available for other contributors, you can create a `default.nix`
34+file like so:
35+```nix
36+let
37+ pkgs = import <nixpkgs> {};
38+ stdenv = pkgs.stdenv;
39+in with pkgs; {
40+ myProject = stdenv.mkDerivation {
41+ name = "myProject";
42+ version = "1";
43+ src = if pkgs.lib.inNixShell then null else nix;
44+
45+ buildInputs = with rPackages; [
46+ R
47+ ggplot2
48+ knitr
49+ ];
50+ };
51+}
52+```
53+and then run `nix-shell .` to be dropped into a shell with those packages
54+available.
55+
56+## RStudio
57+
58+RStudio uses a standard set of packages and ignores any custom R
59+environments or installed packages you may have. To create a custom
60+environment, see `rstudioWrapper`, which functions similarly to
61+`rWrapper`:
62+
63+```nix
64+{
65+ packageOverrides = super: let self = super.pkgs; in
66+ {
67+
68+ rstudioEnv = super.rstudioWrapper.override {
69+ packages = with self.rPackages; [
70+ dplyr
71+ ggplot2
72+ reshape2
73+ ];
74+ };
75+ };
76+}
77+```
78+
79+Then like above, `nix-env -f "<nixpkgs>" -iA rstudioEnv` will install
80+this into your user profile.
81+
82+Alternatively, you can create a self-contained `shell.nix` without the need to
83+modify any configuration files:
84+
85+```nix
86+{ pkgs ? import <nixpkgs> {}
87+}:
88+
89+pkgs.rstudioWrapper.override {
90+ packages = with pkgs.rPackages; [ dplyr ggplot2 reshape2 ];
91+}
92+
93+```
94+
95+Executing `nix-shell` will then drop you into an environment equivalent to the
96+one above. If you need additional packages just add them to the list and
97+re-enter the shell.
98+
99+## Updating the package set
100+
101+```bash
102+nix-shell generate-shell.nix
103+
104+Rscript generate-r-packages.R cran > cran-packages.nix.new
105+mv cran-packages.nix.new cran-packages.nix
106+
107+Rscript generate-r-packages.R bioc > bioc-packages.nix.new
108+mv bioc-packages.nix.new bioc-packages.nix
109+```
110+
111+`generate-r-packages.R <repo>` reads `<repo>-packages.nix`, therefor the renaming.
112+
113+
114+## Testing if the Nix-expression could be evaluated
115+
116+```bash
117+nix-build test-evaluation.nix --dry-run
118+```
119+
120+If this exits fine, the expression is ok. If not, you have to edit `default.nix`
doc/languages-frameworks/rust.mddeleted−90
@@ -1,90 +0,0 @@
1−---
2−title: Rust
3−author: Matthias Beyer
4−date: 2017-03-05
5−---
6−
7−# User's Guide to the Rust Infrastructure
8−
9−To install the rust compiler and cargo put
10−
11−```
12−rust
13−```
14−
15−into the `environment.systemPackages` or bring them into
16−scope with `nix-shell -p rust`.
17−
18−For daily builds (beta and nightly) use either rustup from
19−nixpkgs or use the [Rust nightlies
20−overlay](#using-the-rust-nightlies-overlay).
21−
22−## Packaging Rust applications
23−
24−Rust applications are packaged by using the `buildRustPackage` helper from `rustPlatform`:
25−
26−```
27−with rustPlatform;
28−
29−buildRustPackage rec {
30− name = "ripgrep-${version}";
31− version = "0.4.0";
32−
33− src = fetchFromGitHub {
34− owner = "BurntSushi";
35− repo = "ripgrep";
36− rev = "${version}";
37− sha256 = "0y5d1n6hkw85jb3rblcxqas2fp82h3nghssa4xqrhqnz25l799pj";
38− };
39−
40− cargoSha256 = "0q68qyl2h6i0qsz82z840myxlnjay8p1w5z7hfyr8fqp7wgwa9cx";
41−
42− meta = with stdenv.lib; {
43− description = "A utility that combines the usability of The Silver Searcher with the raw speed of grep";
44− homepage = https://github.com/BurntSushi/ripgrep;
45− license = with licenses; [ unlicense ];
46− maintainers = [ maintainers.tailhook ];
47− platforms = platforms.all;
48− };
49−}
50−```
51−
52−`buildRustPackage` requires a `cargoSha256` attribute which is computed over
53−all crate sources of this package. Currently it is obtained by inserting a
54−fake checksum into the expression and building the package once. The correct
55−checksum can be then take from the failed build.
56−
57−To install crates with nix there is also an experimental project called
58−[nixcrates](https://github.com/fractalide/nixcrates).
59−
60−## Using the Rust nightlies overlay
61−
62−Mozilla provides an overlay for nixpkgs to bring a nightly version of Rust into scope.
63−This overlay can _also_ be used to install recent unstable or stable versions
64−of Rust, if desired.
65−
66−To use this overlay, clone
67−[nixpkgs-mozilla](https://github.com/mozilla/nixpkgs-mozilla),
68−and create a symbolic link to the file
69−[rust-overlay.nix](https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-overlay.nix)
70−in the `~/.config/nixpkgs/overlays` directory.
71−
72− $ git clone https://github.com/mozilla/nixpkgs-mozilla.git
73− $ mkdir -p ~/.config/nixpkgs/overlays
74− $ ln -s $(pwd)/nixpkgs-mozilla/rust-overlay.nix ~/.config/nixpkgs/overlays/rust-overlay.nix
75−
76−The latest version can be installed with the following command:
77−
78− $ nix-env -Ai nixos.latest.rustChannels.stable.rust
79−
80−Or using the attribute with nix-shell:
81−
82− $ nix-shell -p nixos.latest.rustChannels.stable.rust
83−
84−To install the beta or nightly channel, "stable" should be substituted by
85−"nightly" or "beta", or
86−use the function provided by this overlay to pull a version based on a
87−build date.
88−
89−The overlay automatically updates itself as it uses the same source as
90−[rustup](https://www.rustup.rs/).
doc/languages-frameworks/rust.section.mdnew file+393
@@ -0,0 +1,393 @@
1+---
2+title: Rust
3+author: Matthias Beyer
4+date: 2017-03-05
5+---
6+
7+# User's Guide to the Rust Infrastructure
8+
9+To install the rust compiler and cargo put
10+
11+```
12+rustc
13+cargo
14+```
15+
16+into the `environment.systemPackages` or bring them into
17+scope with `nix-shell -p rustc cargo`.
18+
19+> If you are using NixOS and you want to use rust without a nix expression you
20+> probably want to add the following in your `configuration.nix` to build
21+> crates with C dependencies.
22+>
23+> environment.systemPackages = [binutils gcc gnumake openssl pkgconfig]
24+
25+For daily builds (beta and nightly) use either rustup from
26+nixpkgs or use the [Rust nightlies
27+overlay](#using-the-rust-nightlies-overlay).
28+
29+## Compiling Rust applications with Cargo
30+
31+Rust applications are packaged by using the `buildRustPackage` helper from `rustPlatform`:
32+
33+```
34+rustPlatform.buildRustPackage rec {
35+ name = "ripgrep-${version}";
36+ version = "0.4.0";
37+
38+ src = fetchFromGitHub {
39+ owner = "BurntSushi";
40+ repo = "ripgrep";
41+ rev = "${version}";
42+ sha256 = "0y5d1n6hkw85jb3rblcxqas2fp82h3nghssa4xqrhqnz25l799pj";
43+ };
44+
45+ cargoSha256 = "0q68qyl2h6i0qsz82z840myxlnjay8p1w5z7hfyr8fqp7wgwa9cx";
46+
47+ meta = with stdenv.lib; {
48+ description = "A fast line-oriented regex search tool, similar to ag and ack";
49+ homepage = https://github.com/BurntSushi/ripgrep;
50+ license = licenses.unlicense;
51+ maintainers = [ maintainers.tailhook ];
52+ platforms = platforms.all;
53+ };
54+}
55+```
56+
57+`buildRustPackage` requires a `cargoSha256` attribute which is computed over
58+all crate sources of this package. Currently it is obtained by inserting a
59+fake checksum into the expression and building the package once. The correct
60+checksum can be then take from the failed build.
61+
62+To install crates with nix there is also an experimental project called
63+[nixcrates](https://github.com/fractalide/nixcrates).
64+
65+## Compiling Rust crates using Nix instead of Cargo
66+
67+### Simple operation
68+
69+When run, `cargo build` produces a file called `Cargo.lock`,
70+containing pinned versions of all dependencies. Nixpkgs contains a
71+tool called `carnix` (`nix-env -iA nixos.carnix`), which can be used
72+to turn a `Cargo.lock` into a Nix expression.
73+
74+That Nix expression calls `rustc` directly (hence bypassing Cargo),
75+and can be used to compile a crate and all its dependencies. Here is
76+an example for a minimal `hello` crate:
77+
78+
79+ $ cargo new hello
80+ $ cd hello
81+ $ cargo build
82+ Compiling hello v0.1.0 (file:///tmp/hello)
83+ Finished dev [unoptimized + debuginfo] target(s) in 0.20 secs
84+ $ carnix -o hello.nix --src ./. Cargo.lock --standalone
85+ $ nix-build hello.nix -A hello_0_1_0
86+
87+Now, the file produced by the call to `carnix`, called `hello.nix`, looks like:
88+
89+```
90+# Generated by carnix 0.6.5: carnix -o hello.nix --src ./. Cargo.lock --standalone
91+{ lib, buildPlatform, buildRustCrate, fetchgit }:
92+let kernel = buildPlatform.parsed.kernel.name;
93+ # ... (content skipped)
94+in
95+rec {
96+ hello = f: hello_0_1_0 { features = hello_0_1_0_features { hello_0_1_0 = f; }; };
97+ hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
98+ crateName = "hello";
99+ version = "0.1.0";
100+ authors = [ "pe@pijul.org <pe@pijul.org>" ];
101+ src = ./.;
102+ inherit dependencies buildDependencies features;
103+ };
104+ hello_0_1_0 = { features?(hello_0_1_0_features {}) }: hello_0_1_0_ {};
105+ hello_0_1_0_features = f: updateFeatures f (rec {
106+ hello_0_1_0.default = (f.hello_0_1_0.default or true);
107+ }) [ ];
108+}
109+```
110+
111+In particular, note that the argument given as `--src` is copied
112+verbatim to the source. If we look at a more complicated
113+dependencies, for instance by adding a single line `libc="*"` to our
114+`Cargo.toml`, we first need to run `cargo build` to update the
115+`Cargo.lock`. Then, `carnix` needs to be run again, and produces the
116+following nix file:
117+
118+```
119+# Generated by carnix 0.6.5: carnix -o hello.nix --src ./. Cargo.lock --standalone
120+{ lib, buildPlatform, buildRustCrate, fetchgit }:
121+let kernel = buildPlatform.parsed.kernel.name;
122+ # ... (content skipped)
123+in
124+rec {
125+ hello = f: hello_0_1_0 { features = hello_0_1_0_features { hello_0_1_0 = f; }; };
126+ hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
127+ crateName = "hello";
128+ version = "0.1.0";
129+ authors = [ "pe@pijul.org <pe@pijul.org>" ];
130+ src = ./.;
131+ inherit dependencies buildDependencies features;
132+ };
133+ libc_0_2_36_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
134+ crateName = "libc";
135+ version = "0.2.36";
136+ authors = [ "The Rust Project Developers" ];
137+ sha256 = "01633h4yfqm0s302fm0dlba469bx8y6cs4nqc8bqrmjqxfxn515l";
138+ inherit dependencies buildDependencies features;
139+ };
140+ hello_0_1_0 = { features?(hello_0_1_0_features {}) }: hello_0_1_0_ {
141+ dependencies = mapFeatures features ([ libc_0_2_36 ]);
142+ };
143+ hello_0_1_0_features = f: updateFeatures f (rec {
144+ hello_0_1_0.default = (f.hello_0_1_0.default or true);
145+ libc_0_2_36.default = true;
146+ }) [ libc_0_2_36_features ];
147+ libc_0_2_36 = { features?(libc_0_2_36_features {}) }: libc_0_2_36_ {
148+ features = mkFeatures (features.libc_0_2_36 or {});
149+ };
150+ libc_0_2_36_features = f: updateFeatures f (rec {
151+ libc_0_2_36.default = (f.libc_0_2_36.default or true);
152+ libc_0_2_36.use_std =
153+ (f.libc_0_2_36.use_std or false) ||
154+ (f.libc_0_2_36.default or false) ||
155+ (libc_0_2_36.default or false);
156+ }) [];
157+}
158+```
159+
160+Here, the `libc` crate has no `src` attribute, so `buildRustCrate`
161+will fetch it from [crates.io](https://crates.io). A `sha256`
162+attribute is still needed for Nix purity.
163+
164+### Handling external dependencies
165+
166+Some crates require external libraries. For crates from
167+[crates.io](https://crates.io), such libraries can be specified in
168+`defaultCrateOverrides` package in nixpkgs itself.
169+
170+Starting from that file, one can add more overrides, to add features
171+or build inputs by overriding the hello crate in a seperate file.
172+
173+```
174+with import <nixpkgs> {};
175+((import ./hello.nix).hello {}).override {
176+ crateOverrides = defaultCrateOverrides // {
177+ hello = attrs: { buildInputs = [ openssl ]; };
178+ };
179+}
180+```
181+
182+Here, `crateOverrides` is expected to be a attribute set, where the
183+key is the crate name without version number and the value a function.
184+The function gets all attributes passed to `buildRustCrate` as first
185+argument and returns a set that contains all attribute that should be
186+overwritten.
187+
188+For more complicated cases, such as when parts of the crate's
189+derivation depend on the the crate's version, the `attrs` argument of
190+the override above can be read, as in the following example, which
191+patches the derivation:
192+
193+```
194+with import <nixpkgs> {};
195+((import ./hello.nix).hello {}).override {
196+ crateOverrides = defaultCrateOverrides // {
197+ hello = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0") {
198+ postPatch = ''
199+ substituteInPlace lib/zoneinfo.rs \
200+ --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
201+ '';
202+ };
203+ };
204+}
205+```
206+
207+Another situation is when we want to override a nested
208+dependency. This actually works in the exact same way, since the
209+`crateOverrides` parameter is forwarded to the crate's
210+dependencies. For instance, to override the build inputs for crate
211+`libc` in the example above, where `libc` is a dependency of the main
212+crate, we could do:
213+
214+```
215+with import <nixpkgs> {};
216+((import hello.nix).hello {}).override {
217+ crateOverrides = defaultCrateOverrides // {
218+ libc = attrs: { buildInputs = []; };
219+ };
220+}
221+```
222+
223+### Options and phases configuration
224+
225+Actually, the overrides introduced in the previous section are more
226+general. A number of other parameters can be overridden:
227+
228+- The version of rustc used to compile the crate:
229+
230+ ```
231+ (hello {}).override { rust = pkgs.rust; };
232+ ```
233+
234+- Whether to build in release mode or debug mode (release mode by
235+ default):
236+
237+ ```
238+ (hello {}).override { release = false; };
239+ ```
240+
241+- Whether to print the commands sent to rustc when building
242+ (equivalent to `--verbose` in cargo:
243+
244+ ```
245+ (hello {}).override { verbose = false; };
246+ ```
247+
248+- Extra arguments to be passed to `rustc`:
249+
250+ ```
251+ (hello {}).override { extraRustcOpts = "-Z debuginfo=2"; };
252+ ```
253+
254+- Phases, just like in any other derivation, can be specified using
255+ the following attributes: `preUnpack`, `postUnpack`, `prePatch`,
256+ `patches`, `postPatch`, `preConfigure` (in the case of a Rust crate,
257+ this is run before calling the "build" script), `postConfigure`
258+ (after the "build" script),`preBuild`, `postBuild`, `preInstall` and
259+ `postInstall`. As an example, here is how to create a new module
260+ before running the build script:
261+
262+ ```
263+ (hello {}).override {
264+ preConfigure = ''
265+ echo "pub const PATH=\"${hi.out}\";" >> src/path.rs"
266+ '';
267+ };
268+ ```
269+
270+### Features
271+
272+One can also supply features switches. For example, if we want to
273+compile `diesel_cli` only with the `postgres` feature, and no default
274+features, we would write:
275+
276+```
277+(callPackage ./diesel.nix {}).diesel {
278+ default = false;
279+ postgres = true;
280+}
281+```
282+
283+Where `diesel.nix` is the file generated by Carnix, as explained above.
284+
285+
286+## Setting Up `nix-shell`
287+Oftentimes you want to develop code from within `nix-shell`. Unfortunately
288+`buildRustCrate` does not support common `nix-shell` operations directly
289+(see [this issue](https://github.com/NixOS/nixpkgs/issues/37945))
290+so we will use `stdenv.mkDerivation` instead.
291+
292+Using the example `hello` project above, we want to do the following:
293+- Have access to `cargo` and `rustc`
294+- Have the `openssl` library available to a crate through it's _normal_
295+ compilation mechanism (`pkg-config`).
296+
297+A typical `shell.nix` might look like:
298+
299+```
300+with import <nixpkgs> {};
301+
302+stdenv.mkDerivation {
303+ name = "rust-env";
304+ buildInputs = [
305+ rustc cargo
306+
307+ # Example Additional Dependencies
308+ pkgconfig openssl
309+ ];
310+
311+ # Set Environment Variables
312+ RUST_BACKTRACE = 1;
313+}
314+```
315+
316+You should now be able to run the following:
317+```
318+$ nix-shell --pure
319+$ cargo build
320+$ cargo test
321+```
322+
323+### Controlling Rust Version Inside `nix-shell`
324+To control your rust version (i.e. use nightly) from within `shell.nix` (or
325+other nix expressions) you can use the following `shell.nix`
326+
327+```
328+# Latest Nightly
329+with import <nixpkgs> {};
330+let src = fetchFromGitHub {
331+ owner = "mozilla";
332+ repo = "nixpkgs-mozilla";
333+ # commit from: 2018-03-27
334+ rev = "2945b0b6b2fd19e7d23bac695afd65e320efcebe";
335+ sha256 = "034m1dryrzh2lmjvk3c0krgip652dql46w5yfwpvh7gavd3iypyw";
336+ };
337+in
338+with import "${src.out}/rust-overlay.nix" pkgs pkgs;
339+stdenv.mkDerivation {
340+ name = "rust-env";
341+ buildInputs = [
342+ # Note: to use use stable, just replace `nightly` with `stable`
343+ latest.rustChannels.nightly.rust
344+
345+ # Add some extra dependencies from `pkgs`
346+ pkgconfig openssl
347+ ];
348+
349+ # Set Environment Variables
350+ RUST_BACKTRACE = 1;
351+}
352+```
353+
354+Now run:
355+```
356+$ rustc --version
357+rustc 1.26.0-nightly (188e693b3 2018-03-26)
358+```
359+
360+To see that you are using nightly.
361+
362+
363+## Using the Rust nightlies overlay
364+
365+Mozilla provides an overlay for nixpkgs to bring a nightly version of Rust into scope.
366+This overlay can _also_ be used to install recent unstable or stable versions
367+of Rust, if desired.
368+
369+To use this overlay, clone
370+[nixpkgs-mozilla](https://github.com/mozilla/nixpkgs-mozilla),
371+and create a symbolic link to the file
372+[rust-overlay.nix](https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-overlay.nix)
373+in the `~/.config/nixpkgs/overlays` directory.
374+
375+ $ git clone https://github.com/mozilla/nixpkgs-mozilla.git
376+ $ mkdir -p ~/.config/nixpkgs/overlays
377+ $ ln -s $(pwd)/nixpkgs-mozilla/rust-overlay.nix ~/.config/nixpkgs/overlays/rust-overlay.nix
378+
379+The latest version can be installed with the following command:
380+
381+ $ nix-env -Ai nixos.latest.rustChannels.stable.rust
382+
383+Or using the attribute with nix-shell:
384+
385+ $ nix-shell -p nixos.latest.rustChannels.stable.rust
386+
387+To install the beta or nightly channel, "stable" should be substituted by
388+"nightly" or "beta", or
389+use the function provided by this overlay to pull a version based on a
390+build date.
391+
392+The overlay automatically updates itself as it uses the same source as
393+[rustup](https://www.rustup.rs/).
doc/languages-frameworks/texlive.xml+3
@@ -39,6 +39,9 @@ nix-repl> :l &lt;nixpkgs>
3939nix-repl> texlive.collection-&lt;TAB>
4040 </programlisting>
4141 </para></listitem>
42+ <listitem><para>
43+ Note that the wrapper assumes that the result has a chance to be useful. For example, the core executables should be present, as well as some core data files. The supported way of ensuring this is by including some scheme, for example <varname>scheme-basic</varname>, into the combination.
44+ </para></listitem>
4245 </itemizedlist>
4346</section>
4447
doc/languages-frameworks/vim.md → doc/languages-frameworks/vim.section.mdrenamed

The content is the same.

doc/manual.xml+1−1
@@ -9,7 +9,7 @@
99
1010 </info>
1111
12− <xi:include href="introduction.xml" />
12+ <xi:include href="introduction.chapter.xml" />
1313 <xi:include href="quick-start.xml" />
1414 <xi:include href="stdenv.xml" />
1515 <xi:include href="multiple-output.xml" />
doc/meta.xml+2−2
@@ -53,7 +53,7 @@ $ nix-env -qa hello --json
5353 "x86_64-linux",
5454 "armv5tel-linux",
5555 "armv7l-linux",
56− "mips64el-linux",
56+ "mips32-linux",
5757 "x86_64-darwin",
5858 "i686-cygwin",
5959 "i686-freebsd",
@@ -174,7 +174,7 @@ meta-attributes</title>
174174 maintainers of this Nix expression. If
175175 you would like to be a maintainer of a package, you may want to add
176176 yourself to <link
177− xlink:href="https://github.com/NixOS/nixpkgs/blob/master/lib/maintainers.nix"><filename>nixpkgs/lib/maintainers.nix</filename></link>
177+ xlink:href="https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix"><filename>nixpkgs/maintainers/maintainer-list.nix</filename></link>
178178 and write something like <literal>[ stdenv.lib.maintainers.alice
179179 stdenv.lib.maintainers.bob ]</literal>.</para></listitem>
180180 </varlistentry>
doc/multiple-output.xml+1−1
@@ -68,7 +68,7 @@
6868
6969 <varlistentry><term><varname>
7070 $outputDevdoc</varname></term><listitem><para>
71− is for <emphasis>developer</emphasis> documentation. Currently we count gtk-doc in there. It goes to <varname>devdoc</varname> or is removed (!) by default. This is because e.g. gtk-doc tends to be rather large and completely unused by nixpkgs users.
71+ is for <emphasis>developer</emphasis> documentation. Currently we count gtk-doc and devhelp books in there. It goes to <varname>devdoc</varname> or is removed (!) by default. This is because e.g. gtk-doc tends to be rather large and completely unused by nixpkgs users.
7272 </para></listitem></varlistentry>
7373
7474 <varlistentry><term><varname>
doc/overrides.cssnew file+9
@@ -0,0 +1,9 @@
1+.docbook .xref img[src^=images\/callouts\/],
2+.screen img,
3+.programlisting img {
4+ width: 1em;
5+}
6+
7+.calloutlist img {
8+ width: 1.5em;
9+}
doc/package-notes.xml+43−5
@@ -660,6 +660,32 @@ cp ${myEmacsConfig} $out/share/emacs/site-lisp/default.el
660660 passing <command>-q</command> to the Emacs command.
661661</para>
662662
663+<para>
664+ Sometimes <varname>emacsWithPackages</varname> is not enough, as
665+ this package set has some priorities imposed on packages (with
666+ the lowest priority assigned to Melpa Unstable, and the highest for
667+ packages manually defined in
668+ <filename>pkgs/top-level/emacs-packages.nix</filename>). But you
669+ can't control this priorities when some package is installed as a
670+ dependency. You can override it on per-package-basis, providing all
671+ the required dependencies manually - but it's tedious and there is
672+ always a possibility that an unwanted dependency will sneak in
673+ through some other package. To completely override such a package
674+ you can use <varname>overrideScope</varname>.
675+</para>
676+
677+<screen>
678+overrides = super: self: rec {
679+ haskell-mode = self.melpaPackages.haskell-mode;
680+ ...
681+};
682+((emacsPackagesNgGen emacs).overrideScope overrides).emacsWithPackages (p: with p; [
683+ # here both these package will use haskell-mode of our own choice
684+ ghc-mod
685+ dante
686+])
687+</screen>
688+
663689</section>
664690
665691</section>
@@ -667,11 +693,13 @@ cp ${myEmacsConfig} $out/share/emacs/site-lisp/default.el
667693<section xml:id="sec-weechat">
668694<title>Weechat</title>
669695<para>
670−Weechat can currently be configured to include your choice of plugins.
671−To make use of this functionality, install an expression that overrides its configuration such as
696+Weechat can be configured to include your choice of plugins, reducing its
697+closure size from the default configuration which includes all available
698+plugins. To make use of this functionality, install an expression that
699+overrides its configuration such as
672700<programlisting>weechat.override {configure = {availablePlugins, ...}: {
673− plugins = with availablePlugins; [ python perl ];
674− }
701+ plugins = with availablePlugins; [ python perl ];
702+ }
675703}</programlisting>
676704</para>
677705<para>
@@ -685,7 +713,7 @@ the <literal>inotify.py</literal> script in weechat-scripts requires
685713D-Bus or libnotify, and the <literal>fish.py</literal> script requires
686714pycrypto. To use these scripts, use the <literal>python</literal>
687715plugin's <literal>withPackages</literal> attribute:
688−<programlisting>weechat.override {configure = {availablePlugins, ...}: {
716+<programlisting>weechat.override { configure = {availablePlugins, ...}: {
689717 plugins = with availablePlugins; [
690718 (python.withPackages (ps: with ps; [ pycrypto python-dbus ]))
691719 ];
@@ -693,5 +721,15 @@ plugin's <literal>withPackages</literal> attribute:
693721}
694722</programlisting>
695723</para>
724+<para>
725+In order to also keep all default plugins installed, it is possible to use
726+the following method:
727+<programlisting>weechat.override { configure = { availablePlugins, ... }: {
728+ plugins = builtins.attrValues (availablePlugins // {
729+ python = availablePlugins.python.withPackages (ps: with ps; [ pycrypto python-dbus ]);
730+ });
731+}; }
732+</programlisting>
733+</para>
696734</section>
697735</chapter>
doc/reviewing-contributions.xml+99−99
@@ -7,123 +7,123 @@
77<title>Reviewing contributions</title>
88
99<warning>
10− <para>The following section is a draft and reviewing policy is still being
10+ <para>The following section is a draft and reviewing policy is still being
1111 discussed.</para>
1212</warning>
1313
14−<para>The nixpkgs projects receives a fairly high number of contributions via
15− GitHub pull-requests. Reviewing and approving these is an important task and a
14+<para>The nixpkgs projects receives a fairly high number of contributions via
15+ GitHub pull-requests. Reviewing and approving these is an important task and a
1616 way to contribute to the project.</para>
1717
18−<para>The high change rate of nixpkgs make any pull request that is open for
19− long enough subject to conflicts that will require extra work from the
20− submitter or the merger. Reviewing pull requests in a timely manner and being
21− responsive to the comments is the key to avoid these. GitHub provides sort
22− filters that can be used to see the <link
23− xlink:href="https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc">most
24− recently</link> and the <link
25− xlink:href="https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-asc">least
18+<para>The high change rate of nixpkgs make any pull request that is open for
19+ long enough subject to conflicts that will require extra work from the
20+ submitter or the merger. Reviewing pull requests in a timely manner and being
21+ responsive to the comments is the key to avoid these. GitHub provides sort
22+ filters that can be used to see the <link
23+ xlink:href="https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc">most
24+ recently</link> and the <link
25+ xlink:href="https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-asc">least
2626 recently</link> updated pull-requests.</para>
2727
28−<para>When reviewing a pull request, please always be nice and polite.
29− Controversial changes can lead to controversial opinions, but it is important
28+<para>When reviewing a pull request, please always be nice and polite.
29+ Controversial changes can lead to controversial opinions, but it is important
3030 to respect every community members and their work.</para>
3131
32−<para>GitHub provides reactions, they are a simple and quick way to provide
33− feedback to pull-requests or any comments. The thumb-down reaction should be
34− used with care and if possible accompanied with some explanations so the
32+<para>GitHub provides reactions, they are a simple and quick way to provide
33+ feedback to pull-requests or any comments. The thumb-down reaction should be
34+ used with care and if possible accompanied with some explanations so the
3535 submitter has directions to improve his contribution.</para>
3636
37−<para>Pull-requests reviews should include a list of what has been reviewed in a
38− comment, so other reviewers and mergers can know the state of the
37+<para>Pull-requests reviews should include a list of what has been reviewed in a
38+ comment, so other reviewers and mergers can know the state of the
3939 review.</para>
4040
41−<para>All the review template samples provided in this section are generic and
42− meant as examples. Their usage is optional and the reviewer is free to adapt
41+<para>All the review template samples provided in this section are generic and
42+ meant as examples. Their usage is optional and the reviewer is free to adapt
4343 them to his liking.</para>
4444
4545<section><title>Package updates</title>
4646
47−<para>A package update is the most trivial and common type of pull-request.
48− These pull-requests mainly consist in updating the version part of the package
47+<para>A package update is the most trivial and common type of pull-request.
48+ These pull-requests mainly consist in updating the version part of the package
4949 name and the source hash.</para>
50−<para>It can happen that non trivial updates include patches or more complex
50+<para>It can happen that non trivial updates include patches or more complex
5151 changes.</para>
5252
5353<para>Reviewing process:</para>
5454
5555<itemizedlist>
56− <listitem><para>Add labels to the pull-request. (Requires commit
56+ <listitem><para>Add labels to the pull-request. (Requires commit
5757 rights)</para>
5858 <itemizedlist>
59− <listitem><para><literal>8.has: package (update)</literal> and any topic
59+ <listitem><para><literal>8.has: package (update)</literal> and any topic
6060 label that fit the updated package.</para></listitem>
6161 </itemizedlist>
6262 </listitem>
63− <listitem><para>Ensure that the package versioning is fitting the
63+ <listitem><para>Ensure that the package versioning is fitting the
6464 guidelines.</para></listitem>
65− <listitem><para>Ensure that the commit text is fitting the
65+ <listitem><para>Ensure that the commit text is fitting the
6666 guidelines.</para></listitem>
6767 <listitem><para>Ensure that the package maintainers are notified.</para>
6868 <itemizedlist>
69− <listitem><para>mention-bot usually notify GitHub users based on the
70− submitted changes, but it can happen that it misses some of the
69+ <listitem><para>mention-bot usually notify GitHub users based on the
70+ submitted changes, but it can happen that it misses some of the
7171 package maintainers.</para></listitem>
7272 </itemizedlist>
7373 </listitem>
74− <listitem><para>Ensure that the meta field contains correct
74+ <listitem><para>Ensure that the meta field contains correct
7575 information.</para>
7676 <itemizedlist>
77− <listitem><para>License can change with version updates, so it should be
77+ <listitem><para>License can change with version updates, so it should be
7878 checked to be fitting upstream license.</para></listitem>
79− <listitem><para>If the package has no maintainer, a maintainer must be
80− set. This can be the update submitter or a community member that
79+ <listitem><para>If the package has no maintainer, a maintainer must be
80+ set. This can be the update submitter or a community member that
8181 accepts to take maintainership of the package.</para></listitem>
8282 </itemizedlist>
8383 </listitem>
8484 <listitem><para>Ensure that the code contains no typos.</para></listitem>
8585 <listitem><para>Building the package locally.</para>
8686 <itemizedlist>
87− <listitem><para>Pull-requests are often targeted to the master or staging
88− branch so building the pull-request locally as it is submitted can
87+ <listitem><para>Pull-requests are often targeted to the master or staging
88+ branch so building the pull-request locally as it is submitted can
8989 trigger a large amount of source builds.</para>
90− <para>It is possible to rebase the changes on nixos-unstable or
91− nixpkgs-unstable for easier review by running the following commands
90+ <para>It is possible to rebase the changes on nixos-unstable or
91+ nixpkgs-unstable for easier review by running the following commands
9292 from a nixpkgs clone.
9393<screen>
94−$ git remote add channels https://github.com/NixOS/nixpkgs-channels.git <co
94+$ git remote add channels https://github.com/NixOS/nixpkgs-channels.git <co
9595 xml:id='reviewing-rebase-1' />
9696$ git fetch channels nixos-unstable <co xml:id='reviewing-rebase-2' />
9797$ git fetch origin pull/PRNUMBER/head <co xml:id='reviewing-rebase-3' />
98−$ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD <co
98+$ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD <co
9999 xml:id='reviewing-rebase-4' />
100100</screen>
101101 <calloutlist>
102102 <callout arearefs='reviewing-rebase-1'>
103− <para>This should be done only once to be able to fetch channel
103+ <para>This should be done only once to be able to fetch channel
104104 branches from the nixpkgs-channels repository.</para>
105105 </callout>
106106 <callout arearefs='reviewing-rebase-2'>
107107 <para>Fetching the nixos-unstable branch.</para>
108108 </callout>
109109 <callout arearefs='reviewing-rebase-3'>
110− <para>Fetching the pull-request changes, <varname>PRNUMBER</varname>
111− is the number at the end of the pull-request title and
112− <varname>BASEBRANCH</varname> the base branch of the
110+ <para>Fetching the pull-request changes, <varname>PRNUMBER</varname>
111+ is the number at the end of the pull-request title and
112+ <varname>BASEBRANCH</varname> the base branch of the
113113 pull-request.</para>
114114 </callout>
115− <callout arearefs='reviewing-rebase-3'>
116− <para>Rebasing the pull-request changes to the nixos-unstable
115+ <callout arearefs='reviewing-rebase-4'>
116+ <para>Rebasing the pull-request changes to the nixos-unstable
117117 branch.</para>
118118 </callout>
119119 </calloutlist>
120120 </para>
121121 </listitem>
122122 <listitem>
123− <para>The <link xlink:href="https://github.com/madjar/nox">nox</link>
124− tool can be used to review a pull-request content in a single command.
125− It doesn't rebase on a channel branch so it might trigger multiple
126− source builds. <varname>PRNUMBER</varname> should be replaced by the
123+ <para>The <link xlink:href="https://github.com/madjar/nox">nox</link>
124+ tool can be used to review a pull-request content in a single command.
125+ It doesn't rebase on a channel branch so it might trigger multiple
126+ source builds. <varname>PRNUMBER</varname> should be replaced by the
127127 number at the end of the pull-request title.</para>
128128<screen>
129129$ nix-shell -p nox --run "nox-review -k pr PRNUMBER"
@@ -153,42 +153,42 @@ $ nix-shell -p nox --run "nox-review -k pr PRNUMBER"
153153
154154<section><title>New packages</title>
155155
156−<para>New packages are a common type of pull-requests. These pull requests
156+<para>New packages are a common type of pull-requests. These pull requests
157157 consists in adding a new nix-expression for a package.</para>
158158
159159<para>Reviewing process:</para>
160160
161161<itemizedlist>
162− <listitem><para>Add labels to the pull-request. (Requires commit
162+ <listitem><para>Add labels to the pull-request. (Requires commit
163163 rights)</para>
164164 <itemizedlist>
165− <listitem><para><literal>8.has: package (new)</literal> and any topic
165+ <listitem><para><literal>8.has: package (new)</literal> and any topic
166166 label that fit the new package.</para></listitem>
167167 </itemizedlist>
168168 </listitem>
169− <listitem><para>Ensure that the package versioning is fitting the
169+ <listitem><para>Ensure that the package versioning is fitting the
170170 guidelines.</para></listitem>
171− <listitem><para>Ensure that the commit name is fitting the
171+ <listitem><para>Ensure that the commit name is fitting the
172172 guidelines.</para></listitem>
173− <listitem><para>Ensure that the meta field contains correct
173+ <listitem><para>Ensure that the meta field contains correct
174174 information.</para>
175175 <itemizedlist>
176− <listitem><para>License must be checked to be fitting upstream
176+ <listitem><para>License must be checked to be fitting upstream
177177 license.</para></listitem>
178− <listitem><para>Platforms should be set or the package will not get binary
178+ <listitem><para>Platforms should be set or the package will not get binary
179179 substitutes.</para></listitem>
180− <listitem><para>A maintainer must be set, this can be the package
181− submitter or a community member that accepts to take maintainership of
180+ <listitem><para>A maintainer must be set, this can be the package
181+ submitter or a community member that accepts to take maintainership of
182182 the package.</para></listitem>
183183 </itemizedlist>
184184 </listitem>
185185 <listitem><para>Ensure that the code contains no typos.</para></listitem>
186186 <listitem><para>Ensure the package source.</para>
187187 <itemizedlist>
188− <listitem><para>Mirrors urls should be used when
188+ <listitem><para>Mirrors urls should be used when
189189 available.</para></listitem>
190− <listitem><para>The most appropriate function should be used (e.g.
191− packages from GitHub should use
190+ <listitem><para>The most appropriate function should be used (e.g.
191+ packages from GitHub should use
192192 <literal>fetchFromGitHub</literal>).</para></listitem>
193193 </itemizedlist>
194194 </listitem>
@@ -223,49 +223,49 @@ $ nix-shell -p nox --run "nox-review -k pr PRNUMBER"
223223
224224<section><title>Module updates</title>
225225
226−<para>Module updates are submissions changing modules in some ways. These often
226+<para>Module updates are submissions changing modules in some ways. These often
227227 contains changes to the options or introduce new options.</para>
228228
229229<para>Reviewing process</para>
230230
231231<itemizedlist>
232− <listitem><para>Add labels to the pull-request. (Requires commit
232+ <listitem><para>Add labels to the pull-request. (Requires commit
233233 rights)</para>
234234 <itemizedlist>
235− <listitem><para><literal>8.has: module (update)</literal> and any topic
235+ <listitem><para><literal>8.has: module (update)</literal> and any topic
236236 label that fit the module.</para></listitem>
237237 </itemizedlist>
238238 </listitem>
239239 <listitem><para>Ensure that the module maintainers are notified.</para>
240240 <itemizedlist>
241− <listitem><para>Mention-bot notify GitHub users based on the submitted
242− changes, but it can happen that it miss some of the package
241+ <listitem><para>Mention-bot notify GitHub users based on the submitted
242+ changes, but it can happen that it miss some of the package
243243 maintainers.</para></listitem>
244244 </itemizedlist>
245245 </listitem>
246− <listitem><para>Ensure that the module tests, if any, are
246+ <listitem><para>Ensure that the module tests, if any, are
247247 succeeding.</para></listitem>
248248 <listitem><para>Ensure that the introduced options are correct.</para>
249249 <itemizedlist>
250− <listitem><para>Type should be appropriate (string related types differs
251− in their merging capabilities, <literal>optionSet</literal> and
250+ <listitem><para>Type should be appropriate (string related types differs
251+ in their merging capabilities, <literal>optionSet</literal> and
252252 <literal>string</literal> types are deprecated).</para></listitem>
253− <listitem><para>Description, default and example should be
253+ <listitem><para>Description, default and example should be
254254 provided.</para></listitem>
255255 </itemizedlist>
256256 </listitem>
257257 <listitem><para>Ensure that option changes are backward compatible.</para>
258258 <itemizedlist>
259− <listitem><para><literal>mkRenamedOptionModule</literal> and
260− <literal>mkAliasOptionModule</literal> functions provide way to make
259+ <listitem><para><literal>mkRenamedOptionModule</literal> and
260+ <literal>mkAliasOptionModule</literal> functions provide way to make
261261 option changes backward compatible.</para></listitem>
262262 </itemizedlist>
263263 </listitem>
264− <listitem><para>Ensure that removed options are declared with
264+ <listitem><para>Ensure that removed options are declared with
265265 <literal>mkRemovedOptionModule</literal></para></listitem>
266− <listitem><para>Ensure that changes that are not backward compatible are
266+ <listitem><para>Ensure that changes that are not backward compatible are
267267 mentioned in release notes.</para></listitem>
268− <listitem><para>Ensure that documentations affected by the change is
268+ <listitem><para>Ensure that documentations affected by the change is
269269 updated.</para></listitem>
270270</itemizedlist>
271271
@@ -294,37 +294,37 @@ $ nix-shell -p nox --run "nox-review -k pr PRNUMBER"
294294<para>New modules submissions introduce a new module to NixOS.</para>
295295
296296<itemizedlist>
297− <listitem><para>Add labels to the pull-request. (Requires commit
297+ <listitem><para>Add labels to the pull-request. (Requires commit
298298 rights)</para>
299299 <itemizedlist>
300− <listitem><para><literal>8.has: module (new)</literal> and any topic label
300+ <listitem><para><literal>8.has: module (new)</literal> and any topic label
301301 that fit the module.</para></listitem>
302302 </itemizedlist>
303303 </listitem>
304− <listitem><para>Ensure that the module tests, if any, are
304+ <listitem><para>Ensure that the module tests, if any, are
305305 succeeding.</para></listitem>
306306 <listitem><para>Ensure that the introduced options are correct.</para>
307307 <itemizedlist>
308− <listitem><para>Type should be appropriate (string related types differs
309− in their merging capabilities, <literal>optionSet</literal> and
308+ <listitem><para>Type should be appropriate (string related types differs
309+ in their merging capabilities, <literal>optionSet</literal> and
310310 <literal>string</literal> types are deprecated).</para></listitem>
311− <listitem><para>Description, default and example should be
311+ <listitem><para>Description, default and example should be
312312 provided.</para></listitem>
313313 </itemizedlist>
314314 </listitem>
315− <listitem><para>Ensure that module <literal>meta</literal> field is
315+ <listitem><para>Ensure that module <literal>meta</literal> field is
316316 present</para>
317317 <itemizedlist>
318− <listitem><para>Maintainers should be declared in
318+ <listitem><para>Maintainers should be declared in
319319 <literal>meta.maintainers</literal>.</para></listitem>
320− <listitem><para>Module documentation should be declared with
320+ <listitem><para>Module documentation should be declared with
321321 <literal>meta.doc</literal>.</para></listitem>
322322 </itemizedlist>
323323 </listitem>
324− <listitem><para>Ensure that the module respect other modules
324+ <listitem><para>Ensure that the module respect other modules
325325 functionality.</para>
326326 <itemizedlist>
327− <listitem><para>For example, enabling a module should not open firewall
327+ <listitem><para>For example, enabling a module should not open firewall
328328 ports by default.</para></listitem>
329329 </itemizedlist>
330330 </listitem>
@@ -340,7 +340,7 @@ $ nix-shell -p nox --run "nox-review -k pr PRNUMBER"
340340- [ ] options have default
341341- [ ] options have example
342342- [ ] options have descriptions
343−- [ ] No unneeded package is added to system.environmentPackages
343+- [ ] No unneeded package is added to environment.systemPackages
344344- [ ] meta.maintainers is set
345345- [ ] module documentation is declared in meta.doc
346346
@@ -355,22 +355,22 @@ $ nix-shell -p nox --run "nox-review -k pr PRNUMBER"
355355
356356<para>Other type of submissions requires different reviewing steps.</para>
357357
358−<para>If you consider having enough knowledge and experience in a topic and
359− would like to be a long-term reviewer for related submissions, please contact
360− the current reviewers for that topic. They will give you information about the
358+<para>If you consider having enough knowledge and experience in a topic and
359+ would like to be a long-term reviewer for related submissions, please contact
360+ the current reviewers for that topic. They will give you information about the
361361 reviewing process.
362−The main reviewers for a topic can be hard to find as there is no list, but
363−checking past pull-requests to see who reviewed or git-blaming the code to see
362+The main reviewers for a topic can be hard to find as there is no list, but
363+checking past pull-requests to see who reviewed or git-blaming the code to see
364364who committed to that topic can give some hints.</para>
365365
366−<para>Container system, boot system and library changes are some examples of the
366+<para>Container system, boot system and library changes are some examples of the
367367 pull requests fitting this category.</para>
368368
369369</section>
370370
371371<section><title>Merging pull-requests</title>
372372
373−<para>It is possible for community members that have enough knowledge and
373+<para>It is possible for community members that have enough knowledge and
374374 experience on a special topic to contribute by merging pull requests.</para>
375375
376376<para>TODO: add the procedure to request merging rights.</para>
@@ -380,13 +380,13 @@ The following paragraph about how to deal with unactive contributors is just a
380380proposition and should be modified to what the community agrees to be the right
381381policy.
382382
383−<para>Please note that contributors with commit rights unactive for more than
383+<para>Please note that contributors with commit rights unactive for more than
384384 three months will have their commit rights revoked.</para>
385385-->
386386
387−<para>In a case a contributor leaves definitively the Nix community, he should
388− create an issue or notify the mailing list with references of packages and
389− modules he maintains so the maintainership can be taken over by other
387+<para>In a case a contributor leaves definitively the Nix community, he should
388+ create an issue or notify the mailing list with references of packages and
389+ modules he maintains so the maintainership can be taken over by other
390390 contributors.</para>
391391
392392</section>
doc/shell.nixnew file+4
@@ -0,0 +1,4 @@
1+{ pkgs ? import ../. {} }:
2+(import ./default.nix).overrideAttrs (x: {
3+ buildInputs = x.buildInputs ++ [ pkgs.xmloscopy ];
4+})
doc/shell.section.mdnew file+22
@@ -0,0 +1,22 @@
1+---
2+title: pkgs.mkShell
3+author: zimbatm
4+date: 2017-10-30
5+---
6+
7+# mkShell
8+
9+pkgs.mkShell is a special kind of derivation that is only useful when using
10+it combined with nix-shell. It will in fact fail to instantiate when invoked
11+with nix-build.
12+
13+## Usage
14+
15+```nix
16+{ pkgs ? import <nixpkgs> {} }:
17+pkgs.mkShell {
18+ # this will make all the build inputs from hello and gnutar available to the shell environment
19+ inputsFrom = with pkgs; [ hello gnutar ];
20+ buildInputs = [ pkgs.gnumake ];
21+}
22+```
doc/stdenv.xml+402−68
@@ -179,68 +179,283 @@ genericBuild
179179</section>
180180
181181
182−<section xml:id="ssec-stdenv-attributes"><title>Attributes</title>
182+<section xml:id="ssec-stdenv-dependencies"><title>Specifying dependencies</title>
183+
184+<para>
185+ As described in the Nix manual, almost any <filename>*.drv</filename> store path in a derivation's attribute set will induce a dependency on that derivation.
186+ <varname>mkDerivation</varname>, however, takes a few attributes intended to, between them, include all the dependencies of a package.
187+ This is done both for structure and consistency, but also so that certain other setup can take place.
188+ For example, certain dependencies need their bin directories added to the <envar>PATH</envar>.
189+ That is built-in, but other setup is done via a pluggable mechanism that works in conjunction with these dependency attributes.
190+ See <xref linkend="ssec-setup-hooks"/> for details.
191+</para>
192+<para>
193+ Dependencies can be broken down along three axes: their host and target platforms relative to the new derivation's, and whether they are propagated.
194+ The platform distinctions are motivated by cross compilation; see <xref linkend="chap-cross"/> for exactly what each platform means.
195+ <footnote><para>
196+ The build platform is ignored because it is a mere implementation detail of the package satisfying the dependency:
197+ As a general programming principle, dependencies are always <emphasis>specified</emphasis> as interfaces, not concrete implementation.
198+ </para></footnote>
199+ But even if one is not cross compiling, the platforms imply whether or not the dependency is needed at run-time or build-time, a concept that makes perfect sense outside of cross compilation.
200+ For now, the run-time/build-time distinction is just a hint for mental clarity, but in the future it perhaps could be enforced.
201+</para>
202+<para>
203+ The extension of <envar>PATH</envar> with dependencies, alluded to above, proceeds according to the relative platforms alone.
204+ The process is carried out only for dependencies whose host platform matches the new derivation's build platform–i.e. which run on the platform where the new derivation will be built.
205+ <footnote><para>
206+ Currently, that means for native builds all dependencies are put on the <envar>PATH</envar>.
207+ But in the future that may not be the case for sake of matching cross:
208+ the platforms would be assumed to be unique for native and cross builds alike, so only the <varname>depsBuild*</varname> and <varname>nativeBuildDependencies</varname> dependencies would affect the <envar>PATH</envar>.
209+ </para></footnote>
210+ For each dependency <replaceable>dep</replaceable> of those dependencies, <filename><replaceable>dep</replaceable>/bin</filename>, if present, is added to the <envar>PATH</envar> environment variable.
211+</para>
212+<para>
213+ The dependency is propagated when it forces some of its other-transitive (non-immediate) downstream dependencies to also take it on as an immediate dependency.
214+ Nix itself already takes a package's transitive dependencies into account, but this propagation ensures nixpkgs-specific infrastructure like setup hooks (mentioned above) also are run as if the propagated dependency.
215+</para>
216+<para>
217+ It is important to note dependencies are not necessary propagated as the same sort of dependency that they were before, but rather as the corresponding sort so that the platform rules still line up.
218+ The exact rules for dependency propagation can be given by assigning each sort of dependency two integers based one how it's host and target platforms are offset from the depending derivation's platforms.
219+ Those offsets are given are given below in the descriptions of each dependency list attribute.
220+ Algorithmically, we traverse propagated inputs, accumulating every propagated dep's propagated deps and adjusting them to account for the "shift in perspective" described by the current dep's platform offsets.
221+ This results in sort a transitive closure of the dependency relation, with the offsets being approximately summed when two dependency links are combined.
222+ We also prune transitive deps whose combined offsets go out-of-bounds, which can be viewed as a filter over that transitive closure removing dependencies that are blatantly absurd.
223+</para>
224+<para>
225+ We can define the process precisely with <link xlink:href="https://en.wikipedia.org/wiki/Natural_deduction">Natural Deduction</link> using the inference rules.
226+ This probably seems a bit obtuse, but so is the bash code that actually implements it!
227+ <footnote><para>
228+ The <function>findInputs</function> function, currently residing in <filename>pkgs/stdenv/generic/setup.sh</filename>, implements the propagation logic.
229+ </para></footnote>
230+ They're confusing in very different ways so...hopefully if something doesn't make sense in one presentation, it does in the other!
231+ <programlisting>
232+let mapOffset(h, t, i) = i + (if i &lt;= 0 then h else t - 1)
233+
234+propagated-dep(h0, t0, A, B)
235+propagated-dep(h1, t1, B, C)
236+h0 + h1 in {-1, 0, 1}
237+h0 + t1 in {-1, 0, 1}
238+-------------------------------------- Transitive property
239+propagated-dep(mapOffset(h0, t0, h1),
240+ mapOffset(h0, t0, t1),
241+ A, C)</programlisting>
242+ <programlisting>
243+let mapOffset(h, t, i) = i + (if i &lt;= 0 then h else t - 1)
244+
245+dep(h0, _, A, B)
246+propagated-dep(h1, t1, B, C)
247+h0 + h1 in {-1, 0, 1}
248+h0 + t1 in {-1, 0, -1}
249+-------------------------------------- Take immediate deps' propagated deps
250+propagated-dep(mapOffset(h0, t0, h1),
251+ mapOffset(h0, t0, t1),
252+ A, C)</programlisting>
253+ <programlisting>
254+propagated-dep(h, t, A, B)
255+-------------------------------------- Propagated deps count as deps
256+dep(h, t, A, B)</programlisting>
257+ Some explanation of this monstrosity is in order.
258+ In the common case, the target offset of a dependency is the successor to the target offset: <literal>t = h + 1</literal>.
259+ That means that:
260+ <programlisting>
261+let f(h, t, i) = i + (if i &lt;= 0 then h else t - 1)
262+let f(h, h + 1, i) = i + (if i &lt;= 0 then h else (h + 1) - 1)
263+let f(h, h + 1, i) = i + (if i &lt;= 0 then h else h)
264+let f(h, h + 1, i) = i + h
265+ </programlisting>
266+ This is where the "sum-like" comes from above:
267+ We can just sum all the host offset to get the host offset of the transitive dependency.
268+ The target offset is the transitive dep is simply the host offset + 1, just as it was with the dependencies composed to make this transitive one;
269+ it can be ignored as it doesn't add any new information.
270+</para>
271+<para>
272+ Because of the bounds checks, the uncommon cases are <literal>h = t</literal> and <literal>h + 2 = t</literal>.
273+ In the former case, the motivation for <function>mapOffset</function> is that since its host and target platforms are the same, no transitive dep of it should be able to "discover" an offset greater than its reduced target offsets.
274+ <function>mapOffset</function> effectively "squashes" all its transitive dependencies' offsets so that none will ever be greater than the target offset of the original <literal>h = t</literal> package.
275+ In the other case, <literal>h + 1</literal> is skipped over between the host and target offsets.
276+ Instead of squashing the offsets, we need to "rip" them apart so no transitive dependencies' offset is that one.
277+</para>
278+<para>
279+Overall, the unifying theme here is that propagation shouldn't be introducing transitive dependencies involving platforms the needing package is unaware of.
280+The offset bounds checking and definition of <function>mapOffset</function> together ensure that this is the case.
281+Discovering a new offset is discovering a new platform, and since those platforms weren't in the derivation "spec" of the needing package, they cannot be relevant.
282+From a capability perspective, we can imagine that the host and target platforms of a package are the capabilities a package requires, and the depending package must provide the capability to the dependency.
283+</para>
183284
184285<variablelist>
185− <title>Variables affecting <literal>stdenv</literal>
186− initialisation</title>
286+ <title>Variables specifying dependencies</title>
287+
288+ <varlistentry>
289+ <term><varname>depsBuildBuild</varname></term>
290+ <listitem>
291+ <para>
292+ A list of dependencies whose host and target platforms are the new derivation's build platform.
293+ This means a <literal>-1</literal> host and <literal>-1</literal> target offset from the new derivation's platforms.
294+ They are programs/libraries used at build time that furthermore produce programs/libraries also used at build time.
295+ If the dependency doesn't care about the target platform (i.e. isn't a compiler or similar tool), put it in <varname>nativeBuildInputs</varname>instead.
296+ The most common use for this <literal>buildPackages.stdenv.cc</literal>, the default C compiler for this role.
297+ That example crops up more than one might think in old commonly used C libraries.
298+ </para>
299+ <para>
300+ Since these packages are able to be run at build time, that are always added to the <envar>PATH</envar>, as described above.
301+ But since these packages are only guaranteed to be able to run then, they shouldn't persist as run-time dependencies.
302+ This isn't currently enforced, but could be in the future.
303+ </para>
304+ </listitem>
305+ </varlistentry>
187306
188307 <varlistentry>
189− <term><varname>NIX_DEBUG</varname></term>
308+ <term><varname>nativeBuildInputs</varname></term>
309+ <listitem>
310+ <para>
311+ A list of dependencies whose host platform is the new derivation's build platform, and target platform is the new derivation's host platform.
312+ This means a <literal>-1</literal> host offset and <literal>0</literal> target offset from the new derivation's platforms.
313+ They are programs/libraries used at build time that, if they are a compiler or similar tool, produce code to run at run time—i.e. tools used to build the new derivation.
314+ If the dependency doesn't care about the target platform (i.e. isn't a compiler or similar tool), put it here, rather than in <varname>depsBuildBuild</varname> or <varname>depsBuildTarget</varname>.
315+ This would be called <varname>depsBuildHost</varname> but for historical continuity.
316+ </para>
317+ <para>
318+ Since these packages are able to be run at build time, that are added to the <envar>PATH</envar>, as described above.
319+ But since these packages only are guaranteed to be able to run then, they shouldn't persist as run-time dependencies.
320+ This isn't currently enforced, but could be in the future.
321+ </para>
322+ </listitem>
323+ </varlistentry>
324+
325+ <varlistentry>
326+ <term><varname>depsBuildTarget</varname></term>
327+ <listitem>
328+ <para>
329+ A list of dependencies whose host platform is the new derivation's build platform, and target platform is the new derivation's target platform.
330+ This means a <literal>-1</literal> host offset and <literal>1</literal> target offset from the new derivation's platforms.
331+ They are programs used at build time that produce code to run at run with code produced by the depending package.
332+ Most commonly, these would tools used to build the runtime or standard library the currently-being-built compiler will inject into any code it compiles.
333+ In many cases, the currently-being built compiler is itself employed for that task, but when that compiler won't run (i.e. its build and host platform differ) this is not possible.
334+ Other times, the compiler relies on some other tool, like binutils, that is always built separately so the dependency is unconditional.
335+ </para>
336+ <para>
337+ This is a somewhat confusing dependency to wrap ones head around, and for good reason.
338+ As the only one where the platform offsets are not adjacent integers, it requires thinking of a bootstrapping stage <emphasis>two</emphasis> away from the current one.
339+ It and it's use-case go hand in hand and are both considered poor form:
340+ try not to need this sort dependency, and try not avoid building standard libraries / runtimes in the same derivation as the compiler produces code using them.
341+ Instead strive to build those like a normal library, using the newly-built compiler just as a normal library would.
342+ In short, do not use this attribute unless you are packaging a compiler and are sure it is needed.
343+ </para>
344+ <para>
345+ Since these packages are able to be run at build time, that are added to the <envar>PATH</envar>, as described above.
346+ But since these packages only are guaranteed to be able to run then, they shouldn't persist as run-time dependencies.
347+ This isn't currently enforced, but could be in the future.
348+ </para>
349+ </listitem>
350+ </varlistentry>
351+
352+ <varlistentry>
353+ <term><varname>depsHostHost</varname></term>
190354 <listitem><para>
191− A natural number indicating how much information to log.
192− If set to 1 or higher, <literal>stdenv</literal> will print moderate debug information during the build.
193− In particular, the <command>gcc</command> and <command>ld</command> wrapper scripts will print out the complete command line passed to the wrapped tools.
194− If set to 6 or higher, the <literal>stdenv</literal> setup script will be run with <literal>set -x</literal> tracing.
195− If set to 7 or higher, the <command>gcc</command> and <command>ld</command> wrapper scripts will also be run with <literal>set -x</literal> tracing.
355+ A list of dependencies whose host and target platforms match the new derivation's host platform.
356+ This means a both <literal>0</literal> host offset and <literal>0</literal> target offset from the new derivation's host platform.
357+ These are packages used at run-time to generate code also used at run-time.
358+ In practice, that would usually be tools used by compilers for metaprogramming/macro systems, or libraries used by the macros/metaprogramming code itself.
359+ It's always preferable to use a <varname>depsBuildBuild</varname> dependency in the derivation being built than a <varname>depsHostHost</varname> on the tool doing the building for this purpose.
196360 </para></listitem>
197361 </varlistentry>
198362
199−</variablelist>
363+ <varlistentry>
364+ <term><varname>buildInputs</varname></term>
365+ <listitem>
366+ <para>
367+ A list of dependencies whose host platform and target platform match the new derivation's.
368+ This means a <literal>0</literal> host offset and <literal>1</literal> target offset from the new derivation's host platform.
369+ This would be called <varname>depsHostTarget</varname> but for historical continuity.
370+ If the dependency doesn't care about the target platform (i.e. isn't a compiler or similar tool), put it here, rather than in <varname>depsBuildBuild</varname>.
371+ </para>
372+ <para>
373+ These often are programs/libraries used by the new derivation at <emphasis>run</emphasis>-time, but that isn't always the case.
374+ For example, the machine code in a statically linked library is only used at run time, but the derivation containing the library is only needed at build time.
375+ Even in the dynamic case, the library may also be needed at build time to appease the linker.
376+ </para>
377+ </listitem>
378+ </varlistentry>
200379
201−<variablelist>
202− <title>Variables specifying dependencies</title>
380+ <varlistentry>
381+ <term><varname>depsTargetTarget</varname></term>
382+ <listitem><para>
383+ A list of dependencies whose host platform matches the new derivation's target platform.
384+ This means a <literal>1</literal> offset from the new derivation's platforms.
385+ These are packages that run on the target platform, e.g. the standard library or run-time deps of standard library that a compiler insists on knowing about.
386+ It's poor form in almost all cases for a package to depend on another from a future stage [future stage corresponding to positive offset].
387+ Do not use this attribute unless you are packaging a compiler and are sure it is needed.
388+ </para></listitem>
389+ </varlistentry>
203390
204391 <varlistentry>
205− <term><varname>nativeBuildInputs</varname></term>
392+ <term><varname>depsBuildBuildPropagated</varname></term>
206393 <listitem><para>
207− A list of dependencies used by the new derivation at <emphasis>build</emphasis>-time.
208− I.e. these dependencies should not make it into the package's runtime-closure, though this is currently not checked.
209− For each dependency <replaceable>dir</replaceable>, the directory <filename><replaceable>dir</replaceable>/bin</filename>, if it exists, is added to the <envar>PATH</envar> environment variable.
210− Other environment variables are also set up via a pluggable mechanism.
211− For instance, if <varname>buildInputs</varname> contains Perl, then the <filename>lib/site_perl</filename> subdirectory of each input is added to the <envar>PERL5LIB</envar> environment variable.
212− See <xref linkend="ssec-setup-hooks"/> for details.
394+ The propagated equivalent of <varname>depsBuildBuild</varname>.
395+ This perhaps never ought to be used, but it is included for consistency [see below for the others].
213396 </para></listitem>
214397 </varlistentry>
215398
216399 <varlistentry>
217− <term><varname>buildInputs</varname></term>
400+ <term><varname>propagatedNativeBuildInputs</varname></term>
218401 <listitem><para>
219− A list of dependencies used by the new derivation at <emphasis>run</emphasis>-time.
220− Currently, the build-time environment is modified in the exact same way as with <varname>nativeBuildInputs</varname>.
221− This is problematic in that when cross-compiling, foreign executables can clobber native ones on the <envar>PATH</envar>.
222− Even more confusing is static-linking.
223− A statically-linked library should be listed here because ultimately that generated machine code will be used at run-time, even though a derivation containing the object files or static archives will only be used at build-time.
224− A less confusing solution to this would be nice.
402+ The propagated equivalent of <varname>nativeBuildInputs</varname>.
403+ This would be called <varname>depsBuildHostPropagated</varname> but for historical continuity.
404+ For example, if package <varname>Y</varname> has <literal>propagatedNativeBuildInputs = [X]</literal>, and package <varname>Z</varname> has <literal>buildInputs = [Y]</literal>, then package <varname>Z</varname> will be built as if it included package <varname>X</varname> in its <varname>nativeBuildInputs</varname>.
405+ If instead, package <varname>Z</varname> has <literal>nativeBuildInputs = [Y]</literal>, then <varname>Z</varname> will be built as if it included <varname>X</varname> in the <varname>depsBuildBuild</varname> of package <varname>Z</varname>, because of the sum of the two <literal>-1</literal> host offsets.
225406 </para></listitem>
226407 </varlistentry>
227408
409+ <varlistentry>
410+ <term><varname>depsBuildTargetPropagated</varname></term>
411+ <listitem><para>
412+ The propagated equivalent of <varname>depsBuildTarget</varname>.
413+ This is prefixed for the same reason of alerting potential users.
414+ </para></listitem>
415+ </varlistentry>
228416
229417 <varlistentry>
230− <term><varname>propagatedNativeBuildInputs</varname></term>
418+ <term><varname>depsHostHostPropagated</varname></term>
231419 <listitem><para>
232− Like <varname>nativeBuildInputs</varname>, but these dependencies are <emphasis>propagated</emphasis>:
233− that is, the dependencies listed here are added to the <varname>nativeBuildInputs</varname> of any package that uses <emphasis>this</emphasis> package as a dependency.
234− So if package Y has <literal>propagatedNativeBuildInputs = [X]</literal>, and package Z has <literal>nativeBuildInputs = [Y]</literal>,
235− then package X will appear in Z’s build environment automatically.
420+ The propagated equivalent of <varname>depsHostHost</varname>.
236421 </para></listitem>
237422 </varlistentry>
238423
239424 <varlistentry>
240425 <term><varname>propagatedBuildInputs</varname></term>
241426 <listitem><para>
242− Like <varname>buildInputs</varname>, but propagated just like <varname>propagatedNativeBuildInputs</varname>.
243− This inherits <varname>buildInputs</varname>'s flaws of clobbering native executables when cross-compiling and being confusing for static linking.
427+ The propagated equivalent of <varname>buildInputs</varname>.
428+ This would be called <varname>depsHostTargetPropagated</varname> but for historical continuity.
429+ </para></listitem>
430+ </varlistentry>
431+
432+ <varlistentry>
433+ <term><varname>depsTargetTarget</varname></term>
434+ <listitem><para>
435+ The propagated equivalent of <varname>depsTargetTarget</varname>.
436+ This is prefixed for the same reason of alerting potential users.
437+ </para></listitem>
438+ </varlistentry>
439+
440+</variablelist>
441+
442+</section>
443+
444+
445+<section xml:id="ssec-stdenv-attributes"><title>Attributes</title>
446+
447+<variablelist>
448+ <title>Variables affecting <literal>stdenv</literal>
449+ initialisation</title>
450+
451+ <varlistentry>
452+ <term><varname>NIX_DEBUG</varname></term>
453+ <listitem><para>
454+ A natural number indicating how much information to log.
455+ If set to 1 or higher, <literal>stdenv</literal> will print moderate debug information during the build.
456+ In particular, the <command>gcc</command> and <command>ld</command> wrapper scripts will print out the complete command line passed to the wrapped tools.
457+ If set to 6 or higher, the <literal>stdenv</literal> setup script will be run with <literal>set -x</literal> tracing.
458+ If set to 7 or higher, the <command>gcc</command> and <command>ld</command> wrapper scripts will also be run with <literal>set -x</literal> tracing.
244459 </para></listitem>
245460 </varlistentry>
246461
@@ -251,10 +466,17 @@ genericBuild
251466
252467 <varlistentry>
253468 <term><varname>enableParallelBuilding</varname></term>
254− <listitem><para>If set, <literal>stdenv</literal> will pass specific
255− flags to <literal>make</literal> and other build tools to enable
256− parallel building with up to <literal>build-cores</literal>
257− workers.</para></listitem>
469+ <listitem>
470+ <para>If set to <literal>true</literal>, <literal>stdenv</literal> will
471+ pass specific flags to <literal>make</literal> and other build tools to
472+ enable parallel building with up to <literal>build-cores</literal>
473+ workers.</para>
474+
475+ <para>Unless set to <literal>false</literal>, some build systems with good
476+ support for parallel building including <literal>cmake</literal>,
477+ <literal>meson</literal>, and <literal>qmake</literal> will set it to
478+ <literal>true</literal>.</para>
479+ </listitem>
258480 </varlistentry>
259481
260482 <varlistentry>
@@ -649,7 +871,7 @@ script) if it exists.</para>
649871 By default, when cross compiling, the configure script has <option>--build=...</option> and <option>--host=...</option> passed.
650872 Packages can instead pass <literal>[ "build" "host" "target" ]</literal> or a subset to control exactly which platform flags are passed.
651873 Compilers and other tools should use this to also pass the target platform, for example.
652− Note eventually these will be passed when in native builds too, to improve determinism: build-time guessing, as is done today, is a risk of impurity.
874+ <footnote><para>Eventually these will be passed when in native builds too, to improve determinism: build-time guessing, as is done today, is a risk of impurity.</para></footnote>
653875 </para></listitem>
654876 </varlistentry>
655877
@@ -773,13 +995,14 @@ but only if the <varname>doCheck</varname> variable is enabled.</para>
773995
774996 <varlistentry>
775997 <term><varname>doCheck</varname></term>
776− <listitem><para>If set to a non-empty string, the check phase is
777− executed, otherwise it is skipped (default). Thus you should set
778−
779− <programlisting>
780−doCheck = true;</programlisting>
781−
782− in the derivation to enable checks.</para></listitem>
998+ <listitem><para>
999+ Controls whether the check phase is executed.
1000+ By default it is skipped, but if <varname>doCheck</varname> is set to true, the check phase is usually executed.
1001+ Thus you should set <programlisting>doCheck = true;</programlisting> in the derivation to enable checks.
1002+ The exception is cross compilation.
1003+ Cross compiled builds never run tests, no matter how <varname>doCheck</varname> is set,
1004+ as the newly-built program won't run on the platform used to build it.
1005+ </para></listitem>
7831006 </varlistentry>
7841007
7851008 <varlistentry>
@@ -916,6 +1139,20 @@ following:
9161139 <listitem><para>If set, libraries and executables are not
9171140 stripped. By default, they are.</para></listitem>
9181141 </varlistentry>
1142+ <varlistentry>
1143+ <term><varname>dontStripHost</varname></term>
1144+ <listitem><para>
1145+ Like <varname>dontStripHost</varname>, but only affects the <command>strip</command> command targetting the package's host platform.
1146+ Useful when supporting cross compilation, but otherwise feel free to ignore.
1147+ </para></listitem>
1148+ </varlistentry>
1149+ <varlistentry>
1150+ <term><varname>dontStripTarget</varname></term>
1151+ <listitem><para>
1152+ Like <varname>dontStripHost</varname>, but only affects the <command>strip</command> command targetting the packages' target platform.
1153+ Useful when supporting cross compilation, but otherwise feel free to ignore.
1154+ </para></listitem>
1155+ </varlistentry>
9191156
9201157 <varlistentry>
9211158 <term><varname>dontMoveSbin</varname></term>
@@ -1044,12 +1281,14 @@ installcheck</command>.</para>
10441281
10451282 <varlistentry>
10461283 <term><varname>doInstallCheck</varname></term>
1047− <listitem><para>If set to a non-empty string, the installCheck phase is
1048− executed, otherwise it is skipped (default). Thus you should set
1049−
1050− <programlisting>doInstallCheck = true;</programlisting>
1051−
1052− in the derivation to enable install checks.</para></listitem>
1284+ <listitem><para>
1285+ Controls whether the installCheck phase is executed.
1286+ By default it is skipped, but if <varname>doInstallCheck</varname> is set to true, the installCheck phase is usually executed.
1287+ Thus you should set <programlisting>doInstallCheck = true;</programlisting> in the derivation to enable install checks.
1288+ The exception is cross compilation.
1289+ Cross compiled builds never run tests, no matter how <varname>doInstallCheck</varname> is set,
1290+ as the newly-built program won't run on the platform used to build it.
1291+ </para></listitem>
10531292 </varlistentry>
10541293
10551294 <varlistentry>
@@ -1346,46 +1585,127 @@ someVar=$(stripHash $name)
13461585
13471586<section xml:id="ssec-setup-hooks"><title>Package setup hooks</title>
13481587
1349−<para>The following packages provide a setup hook:
1350−
1588+<para>
1589+ Nix itself considers a build-time dependency merely something that should previously be built and accessible at build time—packages themselves are on their own to perform any additional setup.
1590+ In most cases, that is fine, and the downstream derivation can deal with it's own dependencies.
1591+ But for a few common tasks, that would result in almost every package doing the same sort of setup work---depending not on the package itself, but entirely on which dependencies were used.
1592+</para>
1593+<para>
1594+ In order to alleviate this burden, the <firstterm>setup hook></firstterm>mechanism was written, where any package can include a shell script that [by convention rather than enforcement by Nix], any downstream reverse-dependency will source as part of its build process.
1595+ That allows the downstream dependency to merely specify its dependencies, and lets those dependencies effectively initialize themselves.
1596+ No boilerplate mirroring the list of dependencies is needed.
1597+</para>
1598+<para>
1599+ The Setup hook mechanism is a bit of a sledgehammer though: a powerful feature with a broad and indiscriminate area of effect.
1600+ The combination of its power and implicit use may be expedient, but isn't without costs.
1601+ Nix itself is unchanged, but the spirit of adding dependencies being effect-free is violated even if the letter isn't.
1602+ For example, if a derivation path is mentioned more than once, Nix itself doesn't care and simply makes sure the dependency derivation is already built just the same—depending is just needing something to exist, and needing is idempotent.
1603+ However, a dependency specified twice will have its setup hook run twice, and that could easily change the build environment (though a well-written setup hook will therefore strive to be idempotent so this is in fact not observable).
1604+ More broadly, setup hooks are anti-modular in that multiple dependencies, whether the same or different, should not interfere and yet their setup hooks may well do so.
1605+</para>
1606+<para>
1607+ The most typical use of the setup hook is actually to add other hooks which are then run (i.e. after all the setup hooks) on each dependency.
1608+ For example, the C compiler wrapper's setup hook feeds itself flags for each dependency that contains relevant libaries and headers.
1609+ This is done by defining a bash function, and appending its name to one of
1610+ <envar>envBuildBuildHooks</envar>`,
1611+ <envar>envBuildHostHooks</envar>`,
1612+ <envar>envBuildTargetHooks</envar>`,
1613+ <envar>envHostHostHooks</envar>`,
1614+ <envar>envHostTargetHooks</envar>`, or
1615+ <envar>envTargetTargetHooks</envar>`.
1616+ These 6 bash variables correspond to the 6 sorts of dependencies by platform (there's 12 total but we ignore the propagated/non-propagated axis).
1617+</para>
1618+<para>
1619+ Packages adding a hook should not hard code a specific hook, but rather choose a variable <emphasis>relative</emphasis> to how they are included.
1620+ Returning to the C compiler wrapper example, if it itself is an <literal>n</literal> dependency, then it only wants to accumulate flags from <literal>n + 1</literal> dependencies, as only those ones match the compiler's target platform.
1621+ The <envar>hostOffset</envar> variable is defined with the current dependency's host offset <envar>targetOffset</envar> with its target offset, before it's setup hook is sourced.
1622+ Additionally, since most environment hooks don't care about the target platform,
1623+ That means the setup hook can append to the right bash array by doing something like
1624+ <programlisting language="bash">
1625+addEnvHooks "$hostOffset" myBashFunction
1626+ </programlisting>
1627+</para>
1628+<para>
1629+ The <emphasis>existence</emphasis> of setups hooks has long been documented and packages inside Nixpkgs are free to use these mechanism.
1630+ Other packages, however, should not rely on these mechanisms not changing between Nixpkgs versions.
1631+ Because of the existing issues with this system, there's little benefit from mandating it be stable for any period of time.
1632+</para>
1633+<para>
1634+ Here are some packages that provide a setup hook.
1635+ Since the mechanism is modular, this probably isn't an exhaustive list.
1636+ Then again, since the mechanism is only to be used as a last resort, it might be.
13511637<variablelist>
13521638
13531639 <varlistentry>
1354− <term>CC Wrapper</term>
1640+ <term>Bintools Wrapper</term>
13551641 <listitem>
13561642 <para>
1357− CC Wrapper wraps a C toolchain for a bunch of miscellaneous purposes.
1358− Specifically, a C compiler (GCC or Clang), Binutils (or the CCTools + binutils mashup when targetting Darwin), and a C standard library (glibc or Darwin's libSystem) are all fed in, and dependency finding, hardening (see below), and purity checks for each are handled by CC Wrapper.
1359− Packages typically depend on only CC Wrapper, instead of those 3 inputs directly.
1643+ Bintools Wrapper wraps the binary utilities for a bunch of miscellaneous purposes.
1644+ These are GNU Binutils when targetting Linux, and a mix of cctools and GNU binutils for Darwin.
1645+ [The "Bintools" name is supposed to be a compromise between "Binutils" and "cctools" not denoting any specific implementation.]
1646+ Specifically, the underlying bintools package, and a C standard library (glibc or Darwin's libSystem, just for the dynamic loader) are all fed in, and dependency finding, hardening (see below), and purity checks for each are handled by Bintools Wrapper.
1647+ Packages typically depend on CC Wrapper, which in turn (at run time) depends on Bintools Wrapper.
13601648 </para>
13611649 <para>
1362− Dependency finding is undoubtedly the main task of CC wrapper.
1650+ Bintools Wrapper was only just recently split off from CC Wrapper, so the division of labor is still being worked out.
1651+ For example, it shouldn't care about about the C standard library, but just take a derivation with the dynamic loader (which happens to be the glibc on linux).
1652+ Dependency finding however is a task both wrappers will continue to need to share, and probably the most important to understand.
13631653 It is currently accomplished by collecting directories of host-platform dependencies (i.e. <varname>buildInputs</varname> and <varname>nativeBuildInputs</varname>) in environment variables.
1364− CC wrapper's setup hook causes any <filename>include</filename> subdirectory of such a dependency to be added to <envar>NIX_CFLAGS_COMPILE</envar>, and any <filename>lib</filename> and <filename>lib64</filename> subdirectories to <envar>NIX_LDFLAGS</envar>.
1365− The setup hook itself contains some lengthy comments describing the exact convoluted mechanism by which this is accomplished.
1654+ Bintools Wrapper's setup hook causes any <filename>lib</filename> and <filename>lib64</filename> subdirectories to be added to <envar>NIX_LDFLAGS</envar>.
1655+ Since CC Wrapper and Bintools Wrapper use the same strategy, most of the Bintools Wrapper code is sparsely commented and refers to CC Wrapper.
1656+ But CC Wrapper's code, by contrast, has quite lengthy comments.
1657+ Bintools Wrapper merely cites those, rather than repeating them, to avoid falling out of sync.
13661658 </para>
13671659 <para>
13681660 A final task of the setup hook is defining a number of standard environment variables to tell build systems which executables full-fill which purpose.
1369− They are defined to just be the base name of the tools, under the assumption that CC Wrapper's binaries will be on the path.
1661+ They are defined to just be the base name of the tools, under the assumption that Bintools Wrapper's binaries will be on the path.
13701662 Firstly, this helps poorly-written packages, e.g. ones that look for just <command>gcc</command> when <envar>CC</envar> isn't defined yet <command>clang</command> is to be used.
1371− Secondly, this helps packages not get confused when cross-compiling, in which case multiple CC wrappers may be simultaneous in use (targeting different platforms).
1372− <envar>BUILD_</envar>- and <envar>TARGET_</envar>-prefixed versions of the normal environment variable are defined for the additional CC Wrappers, properly disambiguating them.
1663+ Secondly, this helps packages not get confused when cross-compiling, in which case multiple Bintools Wrappers may simultaneously be in use.
1664+ <footnote><para>
1665+ Each wrapper targets a single platform, so if binaries for multiple platforms are needed, the underlying binaries must be wrapped multiple times.
1666+ As this is a property of the wrapper itself, the multiple wrappings are needed whether or not the same underlying binaries can target multiple platforms.
1667+ </para></footnote>
1668+ <envar>BUILD_</envar>- and <envar>TARGET_</envar>-prefixed versions of the normal environment variable are defined for the additional Bintools Wrappers, properly disambiguating them.
13731669 </para>
13741670 <para>
1375− A problem with this final task is that CC Wrapper is honest and defines <envar>LD</envar> as <command>ld</command>.
1671+ A problem with this final task is that Bintools Wrapper is honest and defines <envar>LD</envar> as <command>ld</command>.
13761672 Most packages, however, firstly use the C compiler for linking, secondly use <envar>LD</envar> anyways, defining it as the C compiler, and thirdly, only so define <envar>LD</envar> when it is undefined as a fallback.
1377− This triple-threat means CC Wrapper will break those packages, as LD is already defined as the actually linker which the package won't override yet doesn't want to use.
1673+ This triple-threat means Bintools Wrapper will break those packages, as LD is already defined as the actual linker which the package won't override yet doesn't want to use.
13781674 The workaround is to define, just for the problematic package, <envar>LD</envar> as the C compiler.
13791675 A good way to do this would be <command>preConfigure = "LD=$CC"</command>.
13801676 </para>
13811677 </listitem>
13821678 </varlistentry>
13831679
1680+ <varlistentry>
1681+ <term>CC Wrapper</term>
1682+ <listitem>
1683+ <para>
1684+ CC Wrapper wraps a C toolchain for a bunch of miscellaneous purposes.
1685+ Specifically, a C compiler (GCC or Clang), wrapped binary tools, and a C standard library (glibc or Darwin's libSystem, just for the dynamic loader) are all fed in, and dependency finding, hardening (see below), and purity checks for each are handled by CC Wrapper.
1686+ Packages typically depend on CC Wrapper, which in turn (at run time) depends on Bintools Wrapper.
1687+ </para>
1688+ <para>
1689+ Dependency finding is undoubtedly the main task of CC Wrapper.
1690+ This works just like Bintools Wrapper, except that any <filename>include</filename> subdirectory of any relevant dependency is added to <envar>NIX_CFLAGS_COMPILE</envar>.
1691+ The setup hook itself contains some lengthy comments describing the exact convoluted mechanism by which this is accomplished.
1692+ </para>
1693+ <para>
1694+ CC Wrapper also like Bintools Wrapper defines standard environment variables with the names of the tools it wraps, for the same reasons described above.
1695+ Importantly, while it includes a <command>cc</command> symlink to the c compiler for portability, the <envar>CC</envar> will be defined using the compiler's "real name" (i.e. <command>gcc</command> or <command>clang</command>).
1696+ This helps lousy build systems that inspect on the name of the compiler rather than run it.
1697+ </para>
1698+ </listitem>
1699+ </varlistentry>
1700+
13841701 <varlistentry>
13851702 <term>Perl</term>
1386− <listitem><para>Adds the <filename>lib/site_perl</filename> subdirectory
1387− of each build input to the <envar>PERL5LIB</envar>
1388− environment variable.</para></listitem>
1703+ <listitem>
1704+ <para>
1705+ Adds the <filename>lib/site_perl</filename> subdirectory of each build input to the <envar>PERL5LIB</envar> environment variable.
1706+ For instance, if <varname>buildInputs</varname> contains Perl, then the <filename>lib/site_perl</filename> subdirectory of each input is added to the <envar>PERL5LIB</envar> environment variable.
1707+ </para>
1708+ </listitem>
13891709 </varlistentry>
13901710
13911711 <varlistentry>
@@ -1482,6 +1802,20 @@ someVar=$(stripHash $name)
14821802 disabled or patched to work with PaX.</para></listitem>
14831803 </varlistentry>
14841804
1805+ <varlistentry>
1806+ <term>autoPatchelfHook</term>
1807+ <listitem><para>This is a special setup hook which helps in packaging
1808+ proprietary software in that it automatically tries to find missing shared
1809+ library dependencies of ELF files. All packages within the
1810+ <envar>runtimeDependencies</envar> environment variable are unconditionally
1811+ added to executables, which is useful for programs that use
1812+ <citerefentry>
1813+ <refentrytitle>dlopen</refentrytitle>
1814+ <manvolnum>3</manvolnum>
1815+ </citerefentry>
1816+ to load libraries at runtime.</para></listitem>
1817+ </varlistentry>
1818+
14851819</variablelist>
14861820
14871821</para>
doc/style.css+23−7
@@ -29,8 +29,8 @@ h2 /* chapters, appendices, subtitle */
2929}
3030
3131/* Extra space between chapters, appendices. */
32−div.chapter > div.titlepage h2, div.appendix > div.titlepage h2
33−{
32+div.chapter > div.titlepage h2, div.appendix > div.titlepage h2
33+{
3434 margin-top: 1.5em;
3535}
3636
@@ -104,7 +104,7 @@ pre.screen, pre.programlisting
104104 padding: 3px 3px;
105105 margin-left: 1.5em;
106106 margin-right: 1.5em;
107− color: #600000;
107+
108108 background: #f4f4f8;
109109 font-family: monospace;
110110 border-radius: 0.4em;
@@ -118,7 +118,6 @@ div.example pre.programlisting
118118 margin: 0 0 0 0;
119119}
120120
121−
122121/***************************************************************************
123122 Notes, warnings etc:
124123 ***************************************************************************/
@@ -172,7 +171,7 @@ div.navfooter *
172171
173172
174173/***************************************************************************
175− Links colors and highlighting:
174+ Links colors and highlighting:
176175 ***************************************************************************/
177176
178177a { text-decoration: none; }
@@ -209,7 +208,7 @@ tt, code
209208.term
210209{
211210 font-weight: bold;
212−
211+
213212}
214213
215214div.variablelist dd p, div.glosslist dd p
@@ -249,7 +248,24 @@ table
249248 box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
250249}
251250
251+table.simplelist
252+{
253+ text-align: left;
254+ color: #005aa0;
255+ border: 0;
256+ padding: 5px;
257+ background: #fffff5;
258+ font-weight: normal;
259+ font-style: italic;
260+ box-shadow: none;
261+ margin-bottom: 1em;
262+}
263+
264+div.navheader table, div.navfooter table {
265+ box-shadow: none;
266+}
267+
252268div.affiliation
253269{
254270 font-style: italic;
255−}
271+}
doc/submitting-changes.xml+2−2
@@ -317,11 +317,11 @@ Additional information.
317317 </para>
318318 <para>
319319 review uncommitted changes:
320− <screen>nix-shell -p nox --run nox-review wip</screen>
320+ <screen>nix-shell -p nox --run "nox-review wip"</screen>
321321 </para>
322322 <para>
323323 review changes from pull request number 12345:
324− <screen>nix-shell -p nox --run nox-review pr 12345</screen>
324+ <screen>nix-shell -p nox --run "nox-review pr 12345"</screen>
325325 </para>
326326 </section>
327327 <section>
lib/customisation.nix+18−13
@@ -1,7 +1,7 @@
11{ lib }:
22let
33
4− inherit (builtins) attrNames isFunction;
4+ inherit (builtins) attrNames;
55
66in
77
@@ -36,7 +36,7 @@ rec {
3636 overrideDerivation = drv: f:
3737 let
3838 newDrv = derivation (drv.drvAttrs // (f drv));
39− in addPassthru newDrv (
39+ in lib.flip (extendDerivation true) newDrv (
4040 { meta = drv.meta or {};
4141 passthru = if drv ? passthru then drv.passthru else {};
4242 }
@@ -72,7 +72,7 @@ rec {
7272 makeOverridable = f: origArgs:
7373 let
7474 ff = f origArgs;
75− overrideWith = newArgs: origArgs // (if builtins.isFunction newArgs then newArgs origArgs else newArgs);
75+ overrideWith = newArgs: origArgs // (if lib.isFunction newArgs then newArgs origArgs else newArgs);
7676 in
7777 if builtins.isAttrs ff then (ff // {
7878 override = newArgs: makeOverridable f (overrideWith newArgs);
@@ -81,7 +81,7 @@ rec {
8181 ${if ff ? overrideAttrs then "overrideAttrs" else null} = fdrv:
8282 makeOverridable (args: (f args).overrideAttrs fdrv) origArgs;
8383 })
84− else if builtins.isFunction ff then {
84+ else if lib.isFunction ff then {
8585 override = newArgs: makeOverridable f (overrideWith newArgs);
8686 __functor = self: ff;
8787 overrideDerivation = throw "overrideDerivation not yet supported for functors";
@@ -112,8 +112,8 @@ rec {
112112 */
113113 callPackageWith = autoArgs: fn: args:
114114 let
115− f = if builtins.isFunction fn then fn else import fn;
116− auto = builtins.intersectAttrs (builtins.functionArgs f) autoArgs;
115+ f = if lib.isFunction fn then fn else import fn;
116+ auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs;
117117 in makeOverridable f (auto // args);
118118
119119
@@ -122,8 +122,8 @@ rec {
122122 individual attributes. */
123123 callPackagesWith = autoArgs: fn: args:
124124 let
125− f = if builtins.isFunction fn then fn else import fn;
126− auto = builtins.intersectAttrs (builtins.functionArgs f) autoArgs;
125+ f = if lib.isFunction fn then fn else import fn;
126+ auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs;
127127 origArgs = auto // args;
128128 pkgs = f origArgs;
129129 mkAttrOverridable = name: pkg: makeOverridable (newArgs: (f newArgs).${name}) origArgs;
@@ -131,8 +131,8 @@ rec {
131131
132132
133133 /* Add attributes to each output of a derivation without changing
134− the derivation itself. */
135− addPassthru = drv: passthru:
134+ the derivation itself and check a given condition when evaluating. */
135+ extendDerivation = condition: passthru: drv:
136136 let
137137 outputs = drv.outputs or [ "out" ];
138138
@@ -142,13 +142,18 @@ rec {
142142 outputToAttrListElement = outputName:
143143 { name = outputName;
144144 value = commonAttrs // {
145− inherit (drv.${outputName}) outPath drvPath type outputName;
145+ inherit (drv.${outputName}) type outputName;
146+ drvPath = assert condition; drv.${outputName}.drvPath;
147+ outPath = assert condition; drv.${outputName}.outPath;
146148 };
147149 };
148150
149151 outputsList = map outputToAttrListElement outputs;
150− in commonAttrs // { outputUnspecified = true; };
151−
152+ in commonAttrs // {
153+ outputUnspecified = true;
154+ drvPath = assert condition; drv.drvPath;
155+ outPath = assert condition; drv.outPath;
156+ };
152157
153158 /* Strip a derivation of all non-essential attributes, returning
154159 only those needed by hydra-eval-jobs. Also strictly evaluate the
lib/debug.nix+2−2
@@ -2,10 +2,10 @@
22
33let
44
5−inherit (builtins) trace attrNamesToStr isAttrs isFunction isList isInt
5+inherit (builtins) trace attrNamesToStr isAttrs isList isInt
66 isString isBool head substring attrNames;
77
8−inherit (lib) all id mapAttrsFlatten elem;
8+inherit (lib) all id mapAttrsFlatten elem isFunction;
99
1010in
1111
lib/default.nix+16−13
@@ -5,9 +5,11 @@
55 */
66let
77
8− callLibs = file: import file { inherit lib; };
8+ inherit (import ./fixed-points.nix {}) makeExtensible;
99
10− lib = rec {
10+ lib = makeExtensible (self: let
11+ callLibs = file: import file { lib = self; };
12+ in with self; {
1113
1214 # often used, or depending on very little
1315 trivial = callLibs ./trivial.nix;
@@ -21,10 +23,10 @@ let
2123
2224 # packaging
2325 customisation = callLibs ./customisation.nix;
24− maintainers = callLibs ./maintainers.nix;
26+ maintainers = import ../maintainers/maintainer-list.nix;
2527 meta = callLibs ./meta.nix;
2628 sources = callLibs ./sources.nix;
27−
29+ versions = callLibs ./versions.nix;
2830
2931 # module system
3032 modules = callLibs ./modules.nix;
@@ -41,23 +43,23 @@ let
4143 generators = callLibs ./generators.nix;
4244 misc = callLibs ./deprecated.nix;
4345 # domain-specific
44− sandbox = callLibs ./sandbox.nix;
4546 fetchers = callLibs ./fetchers.nix;
4647
4748 # Eval-time filesystem handling
4849 filesystem = callLibs ./filesystem.nix;
4950
5051 # back-compat aliases
51− platforms = systems.doubles;
52+ platforms = systems.forMeta;
5253
5354 inherit (builtins) add addErrorContext attrNames
5455 concatLists deepSeq elem elemAt filter genericClosure genList
55− getAttr hasAttr head isAttrs isBool isFunction isInt isList
56+ getAttr hasAttr head isAttrs isBool isInt isList
5657 isString length lessThan listToAttrs pathExists readFile
5758 replaceStrings seq stringLength sub substring tail;
5859 inherit (trivial) id const concat or and boolToString mergeAttrs
5960 flip mapNullable inNixShell min max importJSON warn info
60− nixpkgsVersion mod;
61+ nixpkgsVersion mod compare splitByAndCompare
62+ functionArgs setFunctionArgs isFunction;
6163
6264 inherit (fixedPoints) fix fix' extends composeExtensions
6365 makeExtensible makeExtensibleWithCustomName;
@@ -72,8 +74,8 @@ let
7274 inherit (lists) singleton foldr fold foldl foldl' imap0 imap1
7375 concatMap flatten remove findSingle findFirst any all count
7476 optional optionals toList range partition zipListsWith zipLists
75− reverseList listDfs toposort sort take drop sublist last init
76− crossLists unique intersectLists subtractLists
77+ reverseList listDfs toposort sort naturalSort compareLists take drop sublist
78+ last init crossLists unique intersectLists subtractLists
7779 mutuallyExclusive;
7880 inherit (strings) concatStrings concatMapStrings concatImapStrings
7981 intersperse concatStringsSep concatMapStringsSep
@@ -88,13 +90,14 @@ let
8890 inherit (stringsWithDeps) textClosureList textClosureMap
8991 noDepEntry fullDepEntry packEntry stringAfter;
9092 inherit (customisation) overrideDerivation makeOverridable
91− callPackageWith callPackagesWith addPassthru hydraJob makeScope;
93+ callPackageWith callPackagesWith extendDerivation
94+ hydraJob makeScope;
9295 inherit (meta) addMetaAttrs dontDistribute setName updateName
9396 appendToName mapDerivationAttrset lowPrio lowPrioSet hiPrio
9497 hiPrioSet;
9598 inherit (sources) pathType pathIsDirectory cleanSourceFilter
9699 cleanSource sourceByRegex sourceFilesBySuffices
97− commitIdFromGitRepo;
100+ commitIdFromGitRepo cleanSourceWith pathHasContext canCleanSource;
98101 inherit (modules) evalModules closeModules unifyModuleSyntax
99102 applyIfFunction unpackSubmodule packSubmodule mergeModules
100103 mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions
@@ -127,5 +130,5 @@ let
127130 mergeAttrsNoOverride mergeAttrByFunc mergeAttrsByFuncDefaults
128131 mergeAttrsByFuncDefaultsClean mergeAttrBy
129132 prepareDerivationArgs nixType imap overridableDelayableArgs;
130− };
133+ });
131134in lib
lib/deprecated.nix+4−4
@@ -1,6 +1,6 @@
11{ lib }:
22let
3− inherit (builtins) isFunction head tail isList isAttrs isInt attrNames;
3+ inherit (builtins) head tail isList isAttrs isInt attrNames;
44
55in
66
@@ -53,7 +53,7 @@ rec {
5353 f: # the function applied to the arguments
5454 initial: # you pass attrs, the functions below are passing a function taking the fix argument
5555 let
56− takeFixed = if isFunction initial then initial else (fixed : initial); # transform initial to an expression always taking the fixed argument
56+ takeFixed = if lib.isFunction initial then initial else (fixed : initial); # transform initial to an expression always taking the fixed argument
5757 tidy = args:
5858 let # apply all functions given in "applyPreTidy" in sequence
5959 applyPreTidyFun = fold ( n: a: x: n ( a x ) ) lib.id (maybeAttr "applyPreTidy" [] args);
@@ -63,7 +63,7 @@ rec {
6363 let args = takeFixed fixed;
6464 mergeFun = args.${n};
6565 in if isAttrs x then (mergeFun args x)
66− else assert isFunction x;
66+ else assert lib.isFunction x;
6767 mergeFun args (x ( args // { inherit fixed; }));
6868 in overridableDelayableArgs f newArgs;
6969 in
@@ -374,7 +374,7 @@ rec {
374374 if isAttrs x then
375375 if x ? outPath then "derivation"
376376 else "attrs"
377− else if isFunction x then "function"
377+ else if lib.isFunction x then "function"
378378 else if isList x then "list"
379379 else if x == true then "bool"
380380 else if x == false then "bool"
lib/generators.nix+52−9
@@ -4,6 +4,12 @@
44 * They all follow a similar interface:
55 * generator { config-attrs } data
66 *
7+ * `config-attrs` are “holes” in the generators
8+ * with sensible default implementations that
9+ * can be overwritten. The default implementations
10+ * are mostly generators themselves, called with
11+ * their respective default values; they can be reused.
12+ *
713 * Tests can be found in ./tests.nix
814 * Documentation in the manual, #sec-generators
915 */
@@ -14,19 +20,54 @@ let
1420 libAttr = lib.attrsets;
1521
1622 flipMapAttrs = flip libAttr.mapAttrs;
23+
24+ inherit (lib) isFunction;
1725in
1826
1927rec {
2028
29+ ## -- HELPER FUNCTIONS & DEFAULTS --
30+
31+ /* Convert a value to a sensible default string representation.
32+ * The builtin `toString` function has some strange defaults,
33+ * suitable for bash scripts but not much else.
34+ */
35+ mkValueStringDefault = {}: v: with builtins;
36+ let err = t: v: abort
37+ ("generators.mkValueStringDefault: " +
38+ "${t} not supported: ${toPretty {} v}");
39+ in if isInt v then toString v
40+ # we default to not quoting strings
41+ else if isString v then v
42+ # isString returns "1", which is not a good default
43+ else if true == v then "true"
44+ # here it returns to "", which is even less of a good default
45+ else if false == v then "false"
46+ else if null == v then "null"
47+ # if you have lists you probably want to replace this
48+ else if isList v then err "lists" v
49+ # same as for lists, might want to replace
50+ else if isAttrs v then err "attrsets" v
51+ else if isFunction v then err "functions" v
52+ else err "this value is" (toString v);
53+
54+
2155 /* Generate a line of key k and value v, separated by
2256 * character sep. If sep appears in k, it is escaped.
2357 * Helper for synaxes with different separators.
2458 *
25− * mkKeyValueDefault ":" "f:oo" "bar"
59+ * mkValueString specifies how values should be formatted.
60+ *
61+ * mkKeyValueDefault {} ":" "f:oo" "bar"
2662 * > "f\:oo:bar"
2763 */
28− mkKeyValueDefault = sep: k: v:
29− "${libStr.escape [sep] k}${sep}${toString v}";
64+ mkKeyValueDefault = {
65+ mkValueString ? mkValueStringDefault {}
66+ }: sep: k: v:
67+ "${libStr.escape [sep] k}${sep}${mkValueString v}";
68+
69+
70+ ## -- FILE FORMAT GENERATORS --
3071
3172
3273 /* Generate a key-value-style config file from an attrset.
@@ -34,7 +75,7 @@ rec {
3475 * mkKeyValue is the same as in toINI.
3576 */
3677 toKeyValue = {
37− mkKeyValue ? mkKeyValueDefault "="
78+ mkKeyValue ? mkKeyValueDefault {} "="
3879 }: attrs:
3980 let mkLine = k: v: mkKeyValue k v + "\n";
4081 in libStr.concatStrings (libAttr.mapAttrsToList mkLine attrs);
@@ -64,7 +105,7 @@ rec {
64105 # apply transformations (e.g. escapes) to section names
65106 mkSectionName ? (name: libStr.escape [ "[" "]" ] name),
66107 # format a setting line from key and value
67− mkKeyValue ? mkKeyValueDefault "="
108+ mkKeyValue ? mkKeyValueDefault {} "="
68109 }: attrsOfAttrs:
69110 let
70111 # map function to string for each key val
@@ -92,6 +133,7 @@ rec {
92133 */
93134 toYAML = {}@args: toJSON args;
94135
136+
95137 /* Pretty print a value, akin to `builtins.trace`.
96138 * Should probably be a builtin as well.
97139 */
@@ -102,11 +144,12 @@ rec {
102144 allowPrettyValues ? false
103145 }@args: v: with builtins;
104146 if isInt v then toString v
105− else if isBool v then (if v == true then "true" else "false")
106− else if isString v then "\"" + v + "\""
147+ else if isString v then ''"${libStr.escape [''"''] v}"''
148+ else if true == v then "true"
149+ else if false == v then "false"
107150 else if null == v then "null"
108151 else if isFunction v then
109− let fna = functionArgs v;
152+ let fna = lib.functionArgs v;
110153 showFnas = concatStringsSep "," (libAttr.mapAttrsToList
111154 (name: hasDefVal: if hasDefVal then "(${name})" else name)
112155 fna);
@@ -126,6 +169,6 @@ rec {
126169 (name: value:
127170 "${toPretty args name} = ${toPretty args value};") v)
128171 + " }"
129− else "toPretty: should never happen (v = ${v})";
172+ else abort "generators.toPretty: should never happen (v = ${v})";
130173
131174}
lib/licenses.nix+60−4
@@ -2,7 +2,7 @@
22let
33
44 spdx = lic: lic // {
5− url = "http://spdx.org/licenses/${lic.spdxId}";
5+ url = "http://spdx.org/licenses/${lic.spdxId}.html";
66 };
77
88in
@@ -15,7 +15,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
1515
1616 afl21 = spdx {
1717 spdxId = "AFL-2.1";
18− fullName = "Academic Free License";
18+ fullName = "Academic Free License v2.1";
19+ };
20+
21+ afl3 = spdx {
22+ spdxId = "AFL-3.0";
23+ fullName = "Academic Free License v3.0";
1924 };
2025
2126 agpl3 = spdx {
@@ -74,6 +79,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
7479 fullName = ''Beerware License'';
7580 };
7681
82+ bsd0 = spdx {
83+ spdxId = "0BSD";
84+ fullName = "BSD Zero Clause License";
85+ };
86+
7787 bsd2 = spdx {
7888 spdxId = "BSD-2-Clause";
7989 fullName = ''BSD 2-clause "Simplified" License'';
@@ -89,6 +99,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
8999 fullName = ''BSD 4-clause "Original" or "Old" License'';
90100 };
91101
102+ clArtistic = spdx {
103+ spdxId = "ClArtistic";
104+ fullName = "Clarified Artistic License";
105+ };
106+
92107 cc0 = spdx {
93108 spdxId = "CC0-1.0";
94109 fullName = "Creative Commons Zero v1.0 Universal";
@@ -164,6 +179,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
164179 fullName = "CeCILL-C Free Software License Agreement";
165180 };
166181
182+ cpal10 = spdx {
183+ spdxId = "CPAL-1.0";
184+ fullName = "Common Public Attribution License 1.0";
185+ };
186+
167187 cpl10 = spdx {
168188 spdxId = "CPL-1.0";
169189 fullName = "Common Public License 1.0";
@@ -195,6 +215,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
195215 fullName = "Eclipse Public License 1.0";
196216 };
197217
218+ epl20 = spdx {
219+ spdxId = "EPL-2.0";
220+ fullName = "Eclipse Public License 2.0";
221+ };
222+
198223 epson = {
199224 fullName = "Seiko Epson Corporation Software License Agreement for Linux";
200225 url = https://download.ebz.epson.net/dsc/du/02/eula/global/LINUX_EN.html;
@@ -259,7 +284,7 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
259284
260285 gpl2Oss = {
261286 fullName = "GNU General Public License version 2 only (with OSI approved licenses linking exception)";
262− url = http://www.mysql.com/about/legal/licensing/foss-exception;
287+ url = https://www.mysql.com/about/legal/licensing/foss-exception;
263288 };
264289
265290 gpl2Plus = spdx {
@@ -304,6 +329,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
304329 free = false;
305330 };
306331
332+ inria-icesl = {
333+ fullName = "INRIA Non-Commercial License Agreement for IceSL";
334+ url = "http://shapeforge.loria.fr/icesl/EULA_IceSL_binary.pdf";
335+ free = false;
336+ };
337+
307338 ipa = spdx {
308339 spdxId = "IPA";
309340 fullName = "IPA Font License";
@@ -426,6 +457,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
426457 fullName = "Notion modified LGPL";
427458 };
428459
460+ nposl3 = spdx {
461+ spdxId = "NPOSL-3.0";
462+ fullName = "Non-Profit Open Software License 3.0";
463+ };
464+
429465 ofl = spdx {
430466 spdxId = "OFL-1.1";
431467 fullName = "SIL Open Font License 1.1";
@@ -441,6 +477,16 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
441477 fullName = "OpenSSL License";
442478 };
443479
480+ osl21 = spdx {
481+ spdxId = "OSL-2.1";
482+ fullName = "Open Software License 2.1";
483+ };
484+
485+ osl3 = spdx {
486+ spdxId = "OSL-3.0";
487+ fullName = "Open Software License 3.0";
488+ };
489+
444490 php301 = spdx {
445491 spdxId = "PHP-3.01";
446492 fullName = "PHP License v3.01";
@@ -451,6 +497,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
451497 fullName = "PostgreSQL License";
452498 };
453499
500+ postman = {
501+ fullName = "Postman EULA";
502+ url = https://www.getpostman.com/licenses/postman_base_app;
503+ free = false;
504+ };
505+
454506 psfl = spdx {
455507 spdxId = "Python-2.0";
456508 fullName = "Python Software Foundation License version 2";
@@ -538,6 +590,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
538590 fullName = "Vovida Software License v1.0";
539591 };
540592
593+ watcom = spdx {
594+ spdxId = "Watcom-1.0";
595+ fullName = "Sybase Open Watcom Public License 1.0";
596+ };
597+
541598 w3c = spdx {
542599 spdxId = "W3C";
543600 fullName = "W3C Software Notice and License";
@@ -572,5 +629,4 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
572629 spdxId = "ZPL-2.1";
573630 fullName = "Zope Public License 2.1";
574631 };
575−
576632}
lib/lists.nix+52−3
@@ -1,7 +1,9 @@
11# General list operations.
22{ lib }:
33with lib.trivial;
4−
4+let
5+ inherit (lib.strings) toInt;
6+in
57rec {
68
79 inherit (builtins) head tail length isList elemAt concatLists filter elem genList;
@@ -385,6 +387,49 @@ rec {
385387 if len < 2 then list
386388 else (sort strictLess pivot.left) ++ [ first ] ++ (sort strictLess pivot.right));
387389
390+ /* Compare two lists element-by-element.
391+
392+ Example:
393+ compareLists compare [] []
394+ => 0
395+ compareLists compare [] [ "a" ]
396+ => -1
397+ compareLists compare [ "a" ] []
398+ => 1
399+ compareLists compare [ "a" "b" ] [ "a" "c" ]
400+ => 1
401+ */
402+ compareLists = cmp: a: b:
403+ if a == []
404+ then if b == []
405+ then 0
406+ else -1
407+ else if b == []
408+ then 1
409+ else let rel = cmp (head a) (head b); in
410+ if rel == 0
411+ then compareLists cmp (tail a) (tail b)
412+ else rel;
413+
414+ /* Sort list using "Natural sorting".
415+ Numeric portions of strings are sorted in numeric order.
416+
417+ Example:
418+ naturalSort ["disk11" "disk8" "disk100" "disk9"]
419+ => ["disk8" "disk9" "disk11" "disk100"]
420+ naturalSort ["10.46.133.149" "10.5.16.62" "10.54.16.25"]
421+ => ["10.5.16.62" "10.46.133.149" "10.54.16.25"]
422+ naturalSort ["v0.2" "v0.15" "v0.0.9"]
423+ => [ "v0.0.9" "v0.2" "v0.15" ]
424+ */
425+ naturalSort = lst:
426+ let
427+ vectorise = s: map (x: if isList x then toInt (head x) else x) (builtins.split "(0|[1-9][0-9]*)" s);
428+ prepared = map (x: [ (vectorise x) x ]) lst; # remember vectorised version for O(n) regex splits
429+ less = a: b: (compareLists compare (head a) (head b)) < 0;
430+ in
431+ map (x: elemAt x 1) (sort less prepared);
432+
388433 /* Return the first (at most) N elements of a list.
389434
390435 Example:
@@ -440,8 +485,12 @@ rec {
440485 init = list: assert list != []; take (length list - 1) list;
441486
442487
443− /* FIXME(zimbatm) Not used anywhere
444− */
488+ /* return the image of the cross product of some lists by a function
489+
490+ Example:
491+ crossLists (x:y: "${toString x}${toString y}") [[1 2] [3 4]]
492+ => [ "13" "14" "23" "24" ]
493+ */
445494 crossLists = f: foldl (fs: args: concatMap (f: map f args) fs) [f];
446495
447496
lib/maintainers.nixdeleted−721
@@ -1,721 +0,0 @@
1−{ ...}:
2−/* List of NixOS maintainers. The format is:
3−
4− handle = "Real Name <address@example.org>";
5−
6− where <handle> is preferred to be your GitHub username (so it's easy
7− to ping a package @<handle>), and <Real Name> is your real name, not
8− a pseudonym. Please keep the list alphabetically sorted. */
9−{
10− a1russell = "Adam Russell <adamlr6+pub@gmail.com>";
11− aaronschif = "Aaron Schif <aaronschif@gmail.com>";
12− abaldeau = "Andreas Baldeau <andreas@baldeau.net>";
13− abbradar = "Nikolay Amiantov <ab@fmap.me>";
14− abigailbuccaneer = "Abigail Bunyan <abigailbuccaneer@gmail.com>";
15− aboseley = "Adam Boseley <adam.boseley@gmail.com>";
16− abuibrahim = "Ruslan Babayev <ruslan@babayev.com>";
17− acowley = "Anthony Cowley <acowley@gmail.com>";
18− adelbertc = "Adelbert Chang <adelbertc@gmail.com>";
19− adev = "Adrien Devresse <adev@adev.name>";
20− adisbladis = "Adam Hose <adis@blad.is>";
21− Adjective-Object = "Maxwell Huang-Hobbs <mhuan13@gmail.com>";
22− adnelson = "Allen Nelson <ithinkican@gmail.com>";
23− adolfogc = "Adolfo E. García Castro <adolfo.garcia.cr@gmail.com>";
24− aespinosa = "Allan Espinosa <allan.espinosa@outlook.com>";
25− aflatter = "Alexander Flatter <flatter@fastmail.fm>";
26− afldcr = "James Alexander Feldman-Crough <alex@fldcr.com>";
27− aforemny = "Alexander Foremny <alexanderforemny@googlemail.com>";
28− afranchuk = "Alex Franchuk <alex.franchuk@gmail.com>";
29− aherrmann = "Andreas Herrmann <andreash87@gmx.ch>";
30− ahmedtd = "Taahir Ahmed <ahmed.taahir@gmail.com>";
31− ak = "Alexander Kjeldaas <ak@formalprivacy.com>";
32− akaWolf = "Artjom Vejsel <akawolf0@gmail.com>";
33− akc = "Anders Claesson <akc@akc.is>";
34− alexvorobiev = "Alex Vorobiev <alexander.vorobiev@gmail.com";
35− algorith = "Dries Van Daele <dries_van_daele@telenet.be>";
36− alibabzo = "Alistair Bill <alistair.bill@gmail.com>";
37− all = "Nix Committers <nix-commits@lists.science.uu.nl>";
38− alunduil = "Alex Brandt <alunduil@alunduil.com>";
39− ambrop72 = "Ambroz Bizjak <ambrop7@gmail.com>";
40− amiddelk = "Arie Middelkoop <amiddelk@gmail.com>";
41− amiloradovsky = "Andrew Miloradovsky <miloradovsky@gmail.com>";
42− amorsillo = "Andrew Morsillo <andrew.morsillo@gmail.com>";
43− AndersonTorres = "Anderson Torres <torres.anderson.85@gmail.com>";
44− anderspapitto = "Anders Papitto <anderspapitto@gmail.com>";
45− andir = "Andreas Rammhold <andreas@rammhold.de>";
46− andres = "Andres Loeh <ksnixos@andres-loeh.de>";
47− andrestylianos = "Andre S. Ramos <andre.stylianos@gmail.com>";
48− andrewrk = "Andrew Kelley <superjoe30@gmail.com>";
49− andsild = "Anders Sildnes <andsild@gmail.com>";
50− aneeshusa = "Aneesh Agrawal <aneeshusa@gmail.com>";
51− ankhers = "Justin Wood <justin.k.wood@gmail.com>";
52− antono = "Antono Vasiljev <self@antono.info>";
53− antonxy = "Anton Schirg <anton.schirg@posteo.de>";
54− apeschar = "Albert Peschar <albert@peschar.net>";
55− apeyroux = "Alexandre Peyroux <alex@px.io>";
56− ardumont = "Antoine R. Dumont <eniotna.t@gmail.com>";
57− aristid = "Aristid Breitkreuz <aristidb@gmail.com>";
58− arobyn = "Alexei Robyn <shados@shados.net>";
59− artuuge = "Artur E. Ruuge <artuuge@gmail.com>";
60− ashalkhakov = "Artyom Shalkhakov <artyom.shalkhakov@gmail.com>";
61− aske = "Kirill Boltaev <aske@fmap.me>";
62− asppsa = "Alastair Pharo <asppsa@gmail.com>";
63− astsmtl = "Alexander Tsamutali <astsmtl@yandex.ru>";
64− asymmetric = "Lorenzo Manacorda <lorenzo@mailbox.org>";
65− aszlig = "aszlig <aszlig@nix.build>";
66− auntie = "Jonathan Glines <auntieNeo@gmail.com>";
67− avnik = "Alexander V. Nikolaev <avn@avnik.info>";
68− aycanirican = "Aycan iRiCAN <iricanaycan@gmail.com>";
69− bachp = "Pascal Bach <pascal.bach@nextrem.ch>";
70− badi = "Badi' Abdul-Wahid <abdulwahidc@gmail.com>";
71− balajisivaraman = "Balaji Sivaraman <sivaraman.balaji@gmail.com>";
72− barrucadu = "Michael Walker <mike@barrucadu.co.uk>";
73− basvandijk = "Bas van Dijk <v.dijk.bas@gmail.com>";
74− Baughn = "Svein Ove Aas <sveina@gmail.com>";
75− bcarrell = "Brandon Carrell <brandoncarrell@gmail.com>";
76− bcdarwin = "Ben Darwin <bcdarwin@gmail.com>";
77− bdimcheff = "Brandon Dimcheff <brandon@dimcheff.com>";
78− bendlas = "Herwig Hochleitner <herwig@bendlas.net>";
79− benley = "Benjamin Staffin <benley@gmail.com>";
80− bennofs = "Benno Fünfstück <benno.fuenfstueck@gmail.com>";
81− benwbooth = "Ben Booth <benwbooth@gmail.com>";
82− berdario = "Dario Bertini <berdario@gmail.com>";
83− bergey = "Daniel Bergey <bergey@teallabs.org>";
84− bhipple = "Benjamin Hipple <bhipple@protonmail.com>";
85− binarin = "Alexey Lebedeff <binarin@binarin.ru>";
86− bjg = "Brian Gough <bjg@gnu.org>";
87− bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>";
88− bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";
89− bobakker = "Bo Bakker <bobakk3r@gmail.com>";
90− bobvanderlinden = "Bob van der Linden <bobvanderlinden@gmail.com>";
91− bodil = "Bodil Stokke <nix@bodil.org>";
92− boothead = "Ben Ford <ben@perurbis.com>";
93− bosu = "Boris Sukholitko <boriss@gmail.com>";
94− bradediger = "Brad Ediger <brad@bradediger.com>";
95− bramd = "Bram Duvigneau <bram@bramd.nl>";
96− bstrik = "Berno Strik <dutchman55@gmx.com>";
97− bzizou = "Bruno Bzeznik <Bruno@bzizou.net>";
98− c0bw3b = "Renaud <c0bw3b@gmail.com>";
99− c0dehero = "CodeHero <codehero@nerdpol.ch>";
100− calbrecht = "Christian Albrecht <christian.albrecht@mayflower.de>";
101− calrama = "Moritz Maxeiner <moritz@ucworks.org>";
102− calvertvl = "Victor Calvert <calvertvl@gmail.com>";
103− campadrenalin = "Philip Horger <campadrenalin@gmail.com>";
104− canndrew = "Andrew Cann <shum@canndrew.org>";
105− carlsverre = "Carl Sverre <accounts@carlsverre.com>";
106− casey = "Casey Rodarmor <casey@rodarmor.net>";
107− catern = "Spencer Baugh <sbaugh@catern.com>";
108− caugner = "Claas Augner <nixos@caugner.de>";
109− cdepillabout = "Dennis Gosnell <cdep.illabout@gmail.com>";
110− cfouche = "Chaddaï Fouché <chaddai.fouche@gmail.com>";
111− changlinli = "Changlin Li <mail@changlinli.com>";
112− chaoflow = "Florian Friesdorf <flo@chaoflow.net>";
113− chattered = "Phil Scott <me@philscotted.com>";
114− ChengCat = "Yucheng Zhang <yu@cheng.cat>";
115− choochootrain = "Hurshal Patel <hurshal@imap.cc>";
116− chpatrick = "Patrick Chilton <chpatrick@gmail.com>";
117− chris-martin = "Chris Martin <ch.martin@gmail.com>";
118− chrisjefferson = "Christopher Jefferson <chris@bubblescope.net>";
119− chrisrosset = "Christopher Rosset <chris@rosset.org.uk>";
120− christopherpoole = "Christopher Mark Poole <mail@christopherpoole.net>";
121− ciil = "Simon Lackerbauer <simon@lackerbauer.com>";
122− ckampka = "Christian Kampka <christian@kampka.net>";
123− ckauhaus = "Christian Kauhaus <christian@kauhaus.de>";
124− cko = "Christine Koppelt <christine.koppelt@gmail.com>";
125− cleverca22 = "Michael Bishop <cleverca22@gmail.com>";
126− cmcdragonkai = "Roger Qiu <roger.qiu@matrix.ai>";
127− cmfwyp = "cmfwyp <cmfwyp@riseup.net>";
128− cobbal = "Andrew Cobb <andrew.cobb@gmail.com>";
129− coconnor = "Corey O'Connor <coreyoconnor@gmail.com>";
130− codsl = "codsl <codsl@riseup.net>";
131− codyopel = "Cody Opel <codyopel@gmail.com>";
132− colemickens = "Cole Mickens <cole.mickens@gmail.com>";
133− colescott = "Cole Scott <colescottsf@gmail.com>";
134− copumpkin = "Dan Peebles <pumpkingod@gmail.com>";
135− corngood = "David McFarland <corngood@gmail.com>";
136− coroa = "Jonas Hörsch <jonas@chaoflow.net>";
137− couchemar = "Andrey Pavlov <couchemar@yandex.ru>";
138− cpages = "Carles Pagès <page@ruiec.cat>";
139− cransom = "Casey Ransom <cransom@hubns.net>";
140− cryptix = "Henry Bubert <cryptix@riseup.net>";
141− CrystalGamma = "Jona Stubbe <nixos@crystalgamma.de>";
142− cstrahan = "Charles Strahan <charles@cstrahan.com>";
143− csingley = "Christopher Singley <csingley@gmail.com>";
144− cwoac = "Oliver Matthews <oliver@codersoffortune.net>";
145− DamienCassou = "Damien Cassou <damien@cassou.me>";
146− danbst = "Danylo Hlynskyi <abcz2.uprola@gmail.com>";
147− dancek = "Hannu Hartikainen <hannu.hartikainen@gmail.com>";
148− danharaj = "Dan Haraj <dan@obsidian.systems>";
149− danielfullmer = "Daniel Fullmer <danielrf12@gmail.com>";
150− dasuxullebt = "Christoph-Simon Senjak <christoph.senjak@googlemail.com>";
151− david50407 = "David Kuo <me@davy.tw>";
152− davidak = "David Kleuker <post@davidak.de>";
153− davidrusu = "David Rusu <davidrusu.me@gmail.com>";
154− davorb = "Davor Babic <davor@davor.se>";
155− dbohdan = "Danyil Bohdan <danyil.bohdan@gmail.com>";
156− dbrock = "Daniel Brockman <daniel@brockman.se>";
157− deepfire = "Kosyrev Serge <_deepfire@feelingofgreen.ru>";
158− demin-dmitriy = "Dmitriy Demin <demindf@gmail.com>";
159− derchris = "Christian Gerbrandt <derchris@me.com>";
160− DerGuteMoritz = "Moritz Heidkamp <moritz@twoticketsplease.de>";
161− dermetfan = "Robin Stumm <serverkorken@gmail.com>";
162− DerTim1 = "Tim Digel <tim.digel@active-group.de>";
163− desiderius = "Didier J. Devroye <didier@devroye.name>";
164− devhell = "devhell <\"^\"@regexmail.net>";
165− dezgeg = "Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>";
166− dfordivam = "Divam <dfordivam+nixpkgs@gmail.com>";
167− dfoxfranke = "Daniel Fox Franke <dfoxfranke@gmail.com>";
168− dgonyeo = "Derek Gonyeo <derek@gonyeo.com>";
169− dipinhora = "Dipin Hora <dipinhora+github@gmail.com>";
170− disassembler = "Samuel Leathers <disasm@gmail.com>";
171− dizfer = "David Izquierdo <david@izquierdofernandez.com>";
172− dmalikov = "Dmitry Malikov <malikov.d.y@gmail.com>";
173− DmitryTsygankov = "Dmitry Tsygankov <dmitry.tsygankov@gmail.com>";
174− dmjio = "David Johnson <djohnson.m@gmail.com>";
175− dochang = "Desmond O. Chang <dochang@gmail.com>";
176− domenkozar = "Domen Kozar <domen@dev.si>";
177− dotlambda = "Robert Schütz <rschuetz17@gmail.com>";
178− doublec = "Chris Double <chris.double@double.co.nz>";
179− dpaetzel = "David Pätzel <david.a.paetzel@gmail.com>";
180− dpflug = "David Pflug <david@pflug.email>";
181− drets = "Dmytro Rets <dmitryrets@gmail.com>";
182− drewkett = "Andrew Burkett <burkett.andrew@gmail.com>";
183− dsferruzza = "David Sferruzza <david.sferruzza@gmail.com>";
184− dtzWill = "Will Dietz <nix@wdtz.org>";
185− dupgit = "Olivier Delhomme <olivier.delhomme@free.fr>";
186− dywedir = "Vladyslav M. <dywedir@protonmail.ch>";
187− e-user = "Alexander Kahl <nixos@sodosopa.io>";
188− earldouglas = "James Earl Douglas <james@earldouglas.com>";
189− ebzzry = "Rommel Martinez <ebzzry@ebzzry.io>";
190− edanaher = "Evan Danaher <nixos@edanaher.net>";
191− edef = "edef <edef@edef.eu>";
192− ederoyd46 = "Matthew Brown <matt@ederoyd.co.uk>";
193− eduarrrd = "Eduard Bachmakov <e.bachmakov@gmail.com>";
194− edwtjo = "Edward Tjörnhammar <ed@cflags.cc>";
195− eelco = "Eelco Dolstra <eelco.dolstra@logicblox.com>";
196− ehegnes = "Eric Hegnes <eric.hegnes@gmail.com>";
197− ehmry = "Emery Hemingway <emery@vfemail.net>";
198− eikek = "Eike Kettner <eike.kettner@posteo.de>";
199− ekleog = "Leo Gaspard <leo@gaspard.io>";
200− elasticdog = "Aaron Bull Schaefer <aaron@elasticdog.com>";
201− eleanor = "Dejan Lukan <dejan@proteansec.com>";
202− elijahcaine = "Elijah Caine <elijahcainemv@gmail.com>";
203− elitak = "Eric Litak <elitak@gmail.com>";
204− ellis = "Ellis Whitehead <nixos@ellisw.net>";
205− eperuffo = "Emanuele Peruffo <info@emanueleperuffo.com>";
206− epitrochoid = "Mabry Cervin <mpcervin@uncg.edu>";
207− eqyiel = "Ruben Maher <r@rkm.id.au>";
208− ericbmerritt = "Eric Merritt <eric@afiniate.com>";
209− ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";
210− erictapen = "Justin Humm <justin.humm@posteo.de>";
211− erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
212− ertes = "Ertugrul Söylemez <esz@posteo.de>";
213− ethercrow = "Dmitry Ivanov <ethercrow@gmail.com>";
214− etu = "Elis Hirwing <elis@hirwing.se>";
215− exi = "Reno Reckling <nixos@reckling.org>";
216− exlevan = "Alexey Levan <exlevan@gmail.com>";
217− expipiplus1 = "Joe Hermaszewski <nix@monoid.al>";
218− fadenb = "Tristan Helmich <tristan.helmich+nixos@gmail.com>";
219− falsifian = "James Cook <james.cook@utoronto.ca>";
220− fare = "Francois-Rene Rideau <fahree@gmail.com>";
221− fgaz = "Francesco Gazzetta <francygazz@gmail.com>";
222− FireyFly = "Jonas Höglund <nix@firefly.nu>";
223− flokli = "Florian Klink <flokli@flokli.de>";
224− florianjacob = "Florian Jacob <projects+nixos@florianjacob.de>";
225− flosse = "Markus Kohlhase <mail@markus-kohlhase.de>";
226− fluffynukeit = "Daniel Austin <dan@fluffynukeit.com>";
227− fmthoma = "Franz Thoma <f.m.thoma@googlemail.com>";
228− forkk = "Andrew Okin <forkk@forkk.net>";
229− fornever = "Friedrich von Never <friedrich@fornever.me>";
230− fpletz = "Franz Pletz <fpletz@fnordicwalking.de>";
231− fps = "Florian Paul Schmidt <mista.tapas@gmx.net>";
232− fridh = "Frederik Rietdijk <fridh@fridh.nl>";
233− frlan = "Frank Lanitz <frank@frank.uvena.de>";
234− fro_ozen = "fro_ozen <fro_ozen@gmx.de>";
235− ftrvxmtrx = "Siarhei Zirukin <ftrvxmtrx@gmail.com>";
236− funfunctor = "Edward O'Callaghan <eocallaghan@alterapraxis.com>";
237− fuuzetsu = "Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>";
238− fuzzy-id = "Thomas Bach <hacking+nixos@babibo.de>";
239− fxfactorial = "Edgar Aroutiounian <edgar.factorial@gmail.com>";
240− gabesoft = "Gabriel Adomnicai <gabesoft@gmail.com>";
241− gal_bolle = "Florent Becker <florent.becker@ens-lyon.org>";
242− garbas = "Rok Garbas <rok@garbas.si>";
243− garrison = "Jim Garrison <jim@garrison.cc>";
244− gavin = "Gavin Rogers <gavin@praxeology.co.uk>";
245− gebner = "Gabriel Ebner <gebner@gebner.org>";
246− geistesk = "Alvar Penning <post@0x21.biz>";
247− georgewhewell = "George Whewell <georgerw@gmail.com>";
248− gilligan = "Tobias Pflug <tobias.pflug@gmail.com>";
249− giogadi = "Luis G. Torres <lgtorres42@gmail.com>";
250− gleber = "Gleb Peregud <gleber.p@gmail.com>";
251− glenns = "Glenn Searby <glenn.searby@gmail.com>";
252− globin = "Robin Gloster <mail@glob.in>";
253− gnidorah = "Alex Ivanov <yourbestfriend@opmbx.org>";
254− goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";
255− Gonzih = "Max Gonzih <gonzih@gmail.com>";
256− goodrone = "Andrew Trachenko <goodrone@gmail.com>";
257− gpyh = "Yacine Hmito <yacine.hmito@gmail.com>";
258− grahamc = "Graham Christensen <graham@grahamc.com>";
259− grburst = "Julius Elias <grburst@openmailbox.org>";
260− gridaphobe = "Eric Seidel <eric@seidel.io>";
261− guibert = "David Guibert <david.guibert@gmail.com>";
262− guibou = "Guillaume Bouchard <guillaum.bouchard@gmail.com>";
263− guillaumekoenig = "Guillaume Koenig <guillaume.edward.koenig@gmail.com>";
264− guyonvarch = "Joris Guyonvarch <joris@guyonvarch.me>";
265− hakuch = "Jesse Haber-Kucharsky <hakuch@gmail.com>";
266− hamhut1066 = "Hamish Hutchings <github@hamhut1066.com>";
267− havvy = "Ryan Scheel <ryan.havvy@gmail.com>";
268− hbunke = "Hendrik Bunke <bunke.hendrik@gmail.com>";
269− hce = "Hans-Christian Esperer <hc@hcesperer.org>";
270− hectorj = "Hector Jusforgues <hector.jusforgues+nixos@gmail.com>";
271− hedning = "Tor Hedin Brønner <torhedinbronner@gmail.com>";
272− heel = "Sergii Paryzhskyi <parizhskiy@gmail.com>";
273− henrytill = "Henry Till <henrytill@gmail.com>";
274− hhm = "hhm <heehooman+nixpkgs@gmail.com>";
275− hinton = "Tom Hinton <t@larkery.com>";
276− hodapp = "Chris Hodapp <hodapp87@gmail.com>";
277− hrdinka = "Christoph Hrdinka <c.nix@hrdinka.at>";
278− htr = "Hugo Tavares Reis <hugo@linux.com>";
279− iand675 = "Ian Duncan <ian@iankduncan.com>";
280− ianwookim = "Ian-Woo Kim <ianwookim@gmail.com>";
281− iblech = "Ingo Blechschmidt <iblech@speicherleck.de>";
282− igsha = "Igor Sharonov <igor.sharonov@gmail.com>";
283− ikervagyok = "Balázs Lengyel <ikervagyok@gmail.com>";
284− infinisil = "Silvan Mosberger <infinisil@icloud.com>";
285− ironpinguin = "Michele Catalano <michele@catalano.de>";
286− ivan-tkatchev = "Ivan Tkatchev <tkatchev@gmail.com>";
287− ixmatus = "Parnell Springmeyer <parnell@digitalmentat.com>";
288− j-keck = "Jürgen Keck <jhyphenkeck@gmail.com>";
289− jagajaga = "Arseniy Seroka <ars.seroka@gmail.com>";
290− jammerful = "jammerful <jammerful@gmail.com>";
291− jansol = "Jan Solanti <jan.solanti@paivola.fi>";
292− javaguirre = "Javier Aguirre <contacto@javaguirre.net>";
293− jb55 = "William Casarin <jb55@jb55.com>";
294− jbedo = "Justin Bedő <cu@cua0.org>";
295− jcumming = "Jack Cummings <jack@mudshark.org>";
296− jdagilliland = "Jason Gilliland <jdagilliland@gmail.com>";
297− jefdaj = "Jeffrey David Johnson <jefdaj@gmail.com>";
298− jensbin = "Jens Binkert <jensbin@protonmail.com>";
299− jerith666 = "Matt McHenry <github@matt.mchenryfamily.org>";
300− jfb = "James Felix Black <james@yamtime.com>";
301− jfrankenau = "Johannes Frankenau <johannes@frankenau.net>";
302− jgeerds = "Jascha Geerds <jascha@jgeerds.name>";
303− jgertm = "Tim Jaeger <jger.tm@gmail.com>";
304− jgillich = "Jakob Gillich <jakob@gillich.me>";
305− jhhuh = "Ji-Haeng Huh <jhhuh.note@gmail.com>";
306− jirkamarsik = "Jirka Marsik <jiri.marsik89@gmail.com>";
307− jlesquembre = "José Luis Lafuente <jl@lafuente.me>";
308− jluttine = "Jaakko Luttinen <jaakko.luttinen@iki.fi>";
309− joachifm = "Joachim Fasting <joachifm@fastmail.fm>";
310− joamaki = "Jussi Maki <joamaki@gmail.com>";
311− joelmo = "Joel Moberg <joel.moberg@gmail.com>";
312− joelteon = "Joel Taylor <me@joelt.io>";
313− johbo = "Johannes Bornhold <johannes@bornhold.name>";
314− johnmh = "John M. Harris, Jr. <johnmh@openblox.org>";
315− johnramsden = "John Ramsden <johnramsden@riseup.net>";
316− joko = "Ioannis Koutras <ioannis.koutras@gmail.com>";
317− jonafato = "Jon Banafato <jon@jonafato.com>";
318− joncojonathan = "Jonathan Haddock <joncojonathan@gmail.com>";
319− jpierre03 = "Jean-Pierre PRUNARET <nix@prunetwork.fr>";
320− jpotier = "Martin Potier <jpo.contributes.to.nixos@marvid.fr>";
321− jraygauthier = "Raymond Gauthier <jraygauthier@gmail.com>";
322− jtojnar = "Jan Tojnar <jtojnar@gmail.com>";
323− juliendehos = "Julien Dehos <dehos@lisic.univ-littoral.fr>";
324− jwiegley = "John Wiegley <johnw@newartisans.com>";
325− jwilberding = "Jordan Wilberding <jwilberding@afiniate.com>";
326− jyp = "Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>";
327− jzellner = "Jeff Zellner <jeffz@eml.cc>";
328− kaiha = "Kai Harries <kai.harries@gmail.com>";
329− kamilchm = "Kamil Chmielewski <kamil.chm@gmail.com>";
330− kampfschlaefer = "Arnold Krille <arnold@arnoldarts.de>";
331− karolchmist = "karolchmist <info+nix@chmist.com>";
332− kentjames = "James Kent <jameschristopherkent@gmail.com";
333− kevincox = "Kevin Cox <kevincox@kevincox.ca>";
334− khumba = "Bryan Gardiner <bog@khumba.net>";
335− KibaFox = "Kiba Fox <kiba.fox@foxypossibilities.com>";
336− kierdavis = "Kier Davis <kierdavis@gmail.com>";
337− kiloreux = "Kiloreux Emperex <kiloreux@gmail.com>";
338− kini = "Keshav Kini <keshav.kini@gmail.com>";
339− kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
340− knedlsepp = "Josef Kemetmüller <josef.kemetmueller@gmail.com>";
341− konimex = "Muhammad Herdiansyah <herdiansyah@netc.eu>";
342− koral = "Koral <koral@mailoo.org>";
343− kovirobi = "Kovacsics Robert <kovirobi@gmail.com>";
344− kquick = "Kevin Quick <quick@sparq.org>";
345− kragniz = "Louis Taylor <louis@kragniz.eu>";
346− kristoff3r = "Kristoffer Søholm <k.soeholm@gmail.com>";
347− ktosiek = "Tomasz Kontusz <tomasz.kontusz@gmail.com>";
348− kuznero = "Roman Kuznetsov <roman@kuznero.com>";
349− lassulus = "Lassulus <lassulus@gmail.com>";
350− layus = "Guillaume Maudoux <layus.on@gmail.com>";
351− ldesgoui = "Lucas Desgouilles <ldesgoui@gmail.com>";
352− league = "Christopher League <league@contrapunctus.net>";
353− lebastr = "Alexander Lebedev <lebastr@gmail.com>";
354− leemachin = "Lee Machin <me@mrl.ee>";
355− leenaars = "Michiel Leenaars <ml.software@leenaa.rs>";
356− leonardoce = "Leonardo Cecchi <leonardo.cecchi@gmail.com>";
357− lethalman = "Luca Bruno <lucabru@src.gnome.org>";
358− lewo = "Antoine Eiche <lewo@abesis.fr>";
359− lheckemann = "Linus Heckemann <git@sphalerite.org>";
360− lhvwb = "Nathaniel Baxter <nathaniel.baxter@gmail.com>";
361− lihop = "Leroy Hopson <nixos@leroy.geek.nz>";
362− linquize = "Linquize <linquize@yahoo.com.hk>";
363− linus = "Linus Arver <linusarver@gmail.com>";
364− lluchs = "Lukas Werling <lukas.werling@gmail.com>";
365− lnl7 = "Daiderd Jordan <daiderd@gmail.com>";
366− lo1tuma = "Mathias Schreck <schreck.mathias@gmail.com>";
367− loskutov = "Ignat Loskutov <ignat.loskutov@gmail.com>";
368− lovek323 = "Jason O'Conal <jason@oconal.id.au>";
369− lowfatcomputing = "Andreas Wagner <andreas.wagner@lowfatcomputing.org>";
370− lsix = "Lancelot SIX <lsix@lancelotsix.com>";
371− ltavard = "Laure Tavard <laure.tavard@univ-grenoble-alpes.fr>";
372− lucas8 = "Luc Chabassier <luc.linux@mailoo.org>";
373− ludo = "Ludovic Courtès <ludo@gnu.org>";
374− lufia = "Kyohei Kadota <lufia@lufia.org>";
375− luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
376− lukego = "Luke Gorrie <luke@snabb.co>";
377− lw = "Sergey Sofeychuk <lw@fmap.me>";
378− lyt = "Tim Liou <wheatdoge@gmail.com>";
379− m3tti = "Mathaeus Sander <mathaeus.peter.sander@gmail.com>";
380− ma27 = "Maximilian Bosch <maximilian@mbosch.me>";
381− madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
382− magnetophon = "Bart Brouns <bart@magnetophon.nl>";
383− mahe = "Matthias Herrmann <matthias.mh.herrmann@gmail.com>";
384− makefu = "Felix Richter <makefu@syntax-fehler.de>";
385− malyn = "Michael Alyn Miller <malyn@strangeGizmo.com>";
386− manveru = "Michael Fellinger <m.fellinger@gmail.com>";
387− marcweber = "Marc Weber <marco-oweber@gmx.de>";
388− markus1189 = "Markus Hauck <markus1189@gmail.com>";
389− markWot = "Markus Wotringer <markus@wotringer.de>";
390− martijnvermaat = "Martijn Vermaat <martijn@vermaat.name>";
391− martingms = "Martin Gammelsæter <martin@mg.am>";
392− matejc = "Matej Cotman <cotman.matej@gmail.com>";
393− mathnerd314 = "Mathnerd314 <mathnerd314.gph+hs@gmail.com>";
394− matthewbauer = "Matthew Bauer <mjbauer95@gmail.com>";
395− matthiasbeyer = "Matthias Beyer <mail@beyermatthias.de>";
396− maurer = "Matthew Maurer <matthew.r.maurer+nix@gmail.com>";
397− mbakke = "Marius Bakke <mbakke@fastmail.com>";
398− mbbx6spp = "Susan Potter <me@susanpotter.net>";
399− mbe = "Brandon Edens <brandonedens@gmail.com>";
400− mboes = "Mathieu Boespflug <mboes@tweag.net>";
401− mbrgm = "Marius Bergmann <marius@yeai.de>";
402− mcmtroffaes = "Matthias C. M. Troffaes <matthias.troffaes@gmail.com>";
403− mdaiter = "Matthew S. Daiter <mdaiter8121@gmail.com>";
404− meditans = "Carlo Nucera <meditans@gmail.com>";
405− mehandes = "Matt Deming <niewskici@gmail.com>";
406− meisternu = "Matt Miemiec <meister@krutt.org>";
407− metabar = "Celine Mercier <softs@metabarcoding.org>";
408− mgdelacroix = "Miguel de la Cruz <mgdelacroix@gmail.com>";
409− mguentner = "Maximilian Güntner <code@klandest.in>";
410− mic92 = "Jörg Thalheim <joerg@thalheim.io>";
411− michaelpj = "Michael Peyton Jones <michaelpj@gmail.com>";
412− michalrus = "Michal Rus <m@michalrus.com>";
413− michelk = "Michel Kuhlmann <michel@kuhlmanns.info>";
414− midchildan = "midchildan <midchildan+nix@gmail.com>";
415− mikefaille = "Michaël Faille <michael@faille.io>";
416− miltador = "Vasiliy Solovey <miltador@yandex.ua>";
417− mimadrid = "Miguel Madrid <mimadrid@ucm.es>";
418− mirdhyn = "Merlin Gaillard <mirdhyn@gmail.com>";
419− mirrexagon = "Andrew Abbott <mirrexagon@mirrexagon.com>";
420− mjanczyk = "Marcin Janczyk <m@dragonvr.pl>";
421− mlieberman85 = "Michael Lieberman <mlieberman85@gmail.com>";
422− modulistic = "Pablo Costa <modulistic@gmail.com>";
423− mog = "Matthew O'Gorman <mog-lists@rldn.net>";
424− montag451 = "montag451 <montag451@laposte.net>";
425− moosingin3space = "Nathan Moos <moosingin3space@gmail.com>";
426− moretea = "Maarten Hoogendoorn <maarten@moretea.nl>";
427− mornfall = "Petr Ročkai <me@mornfall.net>";
428− MostAwesomeDude = "Corbin Simpson <cds@corbinsimpson.com>";
429− mounium = "Katona László <muoniurn@gmail.com>";
430− MP2E = "Cray Elliott <MP2E@archlinux.us>";
431− mpcsh = "Mark Cohen <m@mpc.sh>";
432− mpscholten = "Marc Scholten <marc@mpscholten.de>";
433− mpsyco = "Francis St-Amour <fr.st-amour@gmail.com>";
434− msackman = "Matthew Sackman <matthew@wellquite.org>";
435− mschristiansen = "Mikkel Christiansen <mikkel@rheosystems.com>";
436− msteen = "Matthijs Steen <emailmatthijs@gmail.com>";
437− mt-caret = "Masayuki Takeda <mtakeda.enigsol@gmail.com>";
438− mtreskin = "Max Treskin <zerthurd@gmail.com>";
439− mudri = "James Wood <lamudri@gmail.com>";
440− muflax = "Stefan Dorn <mail@muflax.com>";
441− myrl = "Myrl Hex <myrl.0xf@gmail.com>";
442− namore = "Roman Naumann <namor@hemio.de>";
443− nand0p = "Fernando Jose Pando <nando@hex7.com>";
444− Nate-Devv = "Nathan Moore <natedevv@gmail.com>";
445− nathan-gs = "Nathan Bijnens <nathan@nathan.gs>";
446− nckx = "Tobias Geerinckx-Rice <github@tobias.gr>";
447− ndowens = "Nathan Owens <ndowens04@gmail.com>";
448− neeasade = "Nathan Isom <nathanisom27@gmail.com>";
449− nequissimus = "Tim Steinbach <tim@nequissimus.com>";
450− nfjinjing = "Jinjing Wang <nfjinjing@gmail.com>";
451− nh2 = "Niklas Hambüchen <mail@nh2.me>";
452− nhooyr = "Anmol Sethi <anmol@aubble.com>";
453− nickhu = "Nick Hu <me@nickhu.co.uk>";
454− nicknovitski = "Nick Novitski <nixpkgs@nicknovitski.com>";
455− nico202 = "Nicolò Balzarotti <anothersms@gmail.com>";
456− NikolaMandic = "Ratko Mladic <nikola@mandic.email>";
457− nixy = "Andrew R. M. <nixy@nixy.moe>";
458− nocoolnametom = "Tom Doggett <nocoolnametom@gmail.com>";
459− notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
460− np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";
461− nslqqq = "Nikita Mikhailov <nslqqq@gmail.com>";
462− nthorne = "Niklas Thörne <notrupertthorne@gmail.com>";
463− nyarly = "Judson Lester <nyarly@gmail.com>";
464− obadz = "obadz <obadz-nixos@obadz.com>";
465− ocharles = "Oliver Charles <ollie@ocharles.org.uk>";
466− odi = "Oliver Dunkl <oliver.dunkl@gmail.com>";
467− offline = "Jaka Hudoklin <jakahudoklin@gmail.com>";
468− oida = "oida <oida@posteo.de>";
469− okasu = "Okasu <oka.sux@gmail.com>";
470− olcai = "Erik Timan <dev@timan.info>";
471− olejorgenb = "Ole Jørgen Brønner <olejorgenb@yahoo.no>";
472− olynch = "Owen Lynch <owen@olynch.me>";
473− orbekk = "KJ Ørbekk <kjetil.orbekk@gmail.com>";
474− orbitz = "Malcolm Matalka <mmatalka@gmail.com>";
475− orivej = "Orivej Desh <orivej@gmx.fr>";
476− osener = "Ozan Sener <ozan@ozansener.com>";
477− otwieracz = "Slawomir Gonet <slawek@otwiera.cz>";
478− oxij = "Jan Malakhovski <oxij@oxij.org>";
479− paholg = "Paho Lurie-Gregg <paho@paholg.com>";
480− pakhfn = "Fedor Pakhomov <pakhfn@gmail.com>";
481− palo = "Ingolf Wanger <palipalo9@googlemail.com>";
482− panaeon = "Vitalii Voloshyn <vitalii.voloshyn@gmail.com";
483− paperdigits = "Mica Semrick <mica@silentumbrella.com>";
484− pashev = "Igor Pashev <pashev.igor@gmail.com>";
485− patternspandemic = "Brad Christensen <patternspandemic@live.com>";
486− pawelpacana = "Paweł Pacana <pawel.pacana@gmail.com>";
487− pbogdan = "Piotr Bogdan <ppbogdan@gmail.com>";
488− periklis = "theopompos@gmail.com";
489− pesterhazy = "Paulus Esterhazy <pesterhazy@gmail.com>";
490− peterhoeg = "Peter Hoeg <peter@hoeg.com>";
491− peterromfeldhk = "Peter Romfeld <peter.romfeld.hk@gmail.com>";
492− peti = "Peter Simons <simons@cryp.to>";
493− philandstuff = "Philip Potter <philip.g.potter@gmail.com>";
494− phile314 = "Philipp Hausmann <nix@314.ch>";
495− Phlogistique = "Noé Rubinstein <noe.rubinstein@gmail.com>";
496− phreedom = "Evgeny Egorochkin <phreedom@yandex.ru>";
497− phunehehe = "Hoang Xuan Phu <phunehehe@gmail.com>";
498− pierrer = "Pierre Radermecker <pierrer@pi3r.be>";
499− pierron = "Nicolas B. Pierron <nixos@nbp.name>";
500− piotr = "Piotr Pietraszkiewicz <ppietrasa@gmail.com>";
501− pjbarnoy = "Perry Barnoy <pjbarnoy@gmail.com>";
502− pjones = "Peter Jones <pjones@devalot.com>";
503− pkmx = "Chih-Mao Chen <pkmx.tw@gmail.com>";
504− plcplc = "Philip Lykke Carlsen <plcplc@gmail.com>";
505− plumps = "Maksim Bronsky <maks.bronsky@web.de";
506− pmahoney = "Patrick Mahoney <pat@polycrystal.org>";
507− pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>";
508− polyrod = "Maurizio Di Pietro <dc1mdp@gmail.com>";
509− pradeepchhetri = "Pradeep Chhetri <pradeep.chhetri89@gmail.com>";
510− prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>";
511− primeos = "Michael Weiss <dev.primeos@gmail.com>";
512− profpatsch = "Profpatsch <mail@profpatsch.de>";
513− proglodyte = "Proglodyte <proglodyte23@gmail.com>";
514− pshendry = "Paul Hendry <paul@pshendry.com>";
515− psibi = "Sibi <sibi@psibi.in>";
516− pstn = "Philipp Steinpaß <philipp@xndr.de>";
517− pSub = "Pascal Wittmann <mail@pascal-wittmann.de>";
518− puffnfresh = "Brian McKenna <brian@brianmckenna.org>";
519− pxc = "Patrick Callahan <patrick.callahan@latitudeengineering.com>";
520− qknight = "Joachim Schiele <js@lastlog.de>";
521− ragge = "Ragnar Dahlen <r.dahlen@gmail.com>";
522− ralith = "Benjamin Saunders <ben.e.saunders@gmail.com>";
523− ramkromberg = "Ram Kromberg <ramkromberg@mail.com>";
524− rardiol = "Ricardo Ardissone <ricardo.ardissone@gmail.com>";
525− rasendubi = "Alexey Shmalko <rasen.dubi@gmail.com>";
526− raskin = "Michael Raskin <7c6f434c@mail.ru>";
527− ravloony = "Tom Macdonald <ravloony@gmail.com>";
528− rbasso = "Rafael Basso <rbasso@sharpgeeks.net>";
529− redbaron = "Maxim Ivanov <ivanov.maxim@gmail.com>";
530− redvers = "Redvers Davies <red@infect.me>";
531− refnil = "Martin Lavoie <broemartino@gmail.com>";
532− regnat = "Théophane Hufschmitt <regnat@regnat.ovh>";
533− relrod = "Ricky Elrod <ricky@elrod.me>";
534− renzo = "Renzo Carbonara <renzocarbonara@gmail.com>";
535− retrry = "Tadas Barzdžius <retrry@gmail.com>";
536− rht = "rht <rhtbot@protonmail.com>";
537− richardipsum = "Richard Ipsum <richardipsum@fastmail.co.uk>";
538− rick68 = "Wei-Ming Yang <rick68@gmail.com>";
539− rickynils = "Rickard Nilsson <rickynils@gmail.com>";
540− ris = "Robert Scott <code@humanleg.org.uk>";
541− rlupton20 = "Richard Lupton <richard.lupton@gmail.com>";
542− rnhmjoj = "Michele Guerini Rocco <micheleguerinirocco@me.com>";
543− rob = "Rob Vermaas <rob.vermaas@gmail.com>";
544− robberer = "Longrin Wischnewski <robberer@freakmail.de>";
545− robbinch = "Robbin C. <robbinch33@gmail.com>";
546− roberth = "Robert Hensing <nixpkgs@roberthensing.nl>";
547− robertodr = "Roberto Di Remigio <roberto.diremigio@gmail.com>";
548− robgssp = "Rob Glossop <robgssp@gmail.com>";
549− roblabla = "Robin Lambertz <robinlambertz+dev@gmail.com>";
550− roconnor = "Russell O'Connor <roconnor@theorem.ca>";
551− romildo = "José Romildo Malaquias <malaquias@gmail.com>";
552− rongcuid = "Rongcui Dong <rongcuid@outlook.com>";
553− rszibele = "Richard Szibele <richard@szibele.com>";
554− rtreffer = "Rene Treffer <treffer+nixos@measite.de>";
555− rushmorem = "Rushmore Mushambi <rushmore@webenchanter.com>";
556− rvl = "Rodney Lorrimar <dev+nix@rodney.id.au>";
557− rvlander = "Gaëtan André <rvlander@gaetanandre.eu>";
558− rvolosatovs = "Roman Volosatovs <rvolosatovs@riseup.net";
559− ryanartecona = "Ryan Artecona <ryanartecona@gmail.com>";
560− ryansydnor = "Ryan Sydnor <ryan.t.sydnor@gmail.com>";
561− ryantm = "Ryan Mulligan <ryan@ryantm.com>";
562− rybern = "Ryan Bernstein <ryan.bernstein@columbia.edu>";
563− rycee = "Robert Helgesson <robert@rycee.net>";
564− ryneeverett = "Ryne Everett <ryneeverett@gmail.com>";
565− rzetterberg = "Richard Zetterberg <richard.zetterberg@gmail.com>";
566− s1lvester = "Markus Silvester <s1lvester@bockhacker.me>";
567− samdroid-apps = "Sam Parkinson <sam@sam.today>";
568− samuelrivas = "Samuel Rivas <samuelrivas@gmail.com>";
569− sander = "Sander van der Burg <s.vanderburg@tudelft.nl>";
570− sargon = "Daniel Ehlers <danielehlers@mindeye.net>";
571− sauyon = "Sauyon Lee <s@uyon.co>";
572− schmitthenner = "Fabian Schmitthenner <development@schmitthenner.eu>";
573− schneefux = "schneefux <schneefux+nixos_pkg@schneefux.xyz>";
574− schristo = "Scott Christopher <schristopher@konputa.com>";
575− scolobb = "Sergiu Ivanov <sivanov@colimite.fr>";
576− sdll = "Sasha Illarionov <sasha.delly@gmail.com>";
577− SeanZicari = "Sean Zicari <sean.zicari@gmail.com>";
578− sepi = "Raffael Mancini <raffael@mancini.lu>";
579− seppeljordan = "Sebastian Jordan <sebastian.jordan.mail@googlemail.com>";
580− shanemikel = "Shane Pearlman <shanemikel1@gmail.com>";
581− shawndellysse = "Shawn Dellysse <sdellysse@gmail.com>";
582− sheenobu = "Sheena Artrip <sheena.artrip@gmail.com>";
583− sheganinans = "Aistis Raulinaitis <sheganinans@gmail.com>";
584− shell = "Shell Turner <cam.turn@gmail.com>";
585− shlevy = "Shea Levy <shea@shealevy.com>";
586− siddharthist = "Langston Barrett <langston.barrett@gmail.com>";
587− sifmelcara = "Ming Chuan <ming@culpring.com>";
588− sigma = "Yann Hodique <yann.hodique@gmail.com>";
589− simonvandel = "Simon Vandel Sillesen <simon.vandel@gmail.com>";
590− sivteck = "Sivaram Balakrishnan <sivaram1992@gmail.com>";
591− sjagoe = "Simon Jagoe <simon@simonjagoe.com>";
592− sjmackenzie = "Stewart Mackenzie <setori88@gmail.com>";
593− sjourdois = "Stéphane ‘kwisatz’ Jourdois <sjourdois@gmail.com>";
594− skeidel = "Sven Keidel <svenkeidel@gmail.com>";
595− skrzyp = "Jakub Skrzypnik <jot.skrzyp@gmail.com>";
596− sleexyz = "Sean Lee <freshdried@gmail.com>";
597− smironov = "Sergey Mironov <grrwlf@gmail.com>";
598− snyh = "Xia Bin <snyh@snyh.org>";
599− solson = "Scott Olson <scott@solson.me>";
600− sorpaas = "Wei Tang <hi@that.world>";
601− sorki = "Richard Marko <srk@48.io>";
602− spacefrogg = "Michael Raitza <spacefrogg-nixos@meterriblecrew.net>";
603− spencerjanssen = "Spencer Janssen <spencerjanssen@gmail.com>";
604− spinus = "Tomasz Czyż <tomasz.czyz@gmail.com>";
605− sprock = "Roger Mason <rmason@mun.ca>";
606− spwhitt = "Spencer Whitt <sw@swhitt.me>";
607− srhb = "Sarah Brofeldt <sbrofeldt@gmail.com>";
608− SShrike = "Severen Redwood <severen@shrike.me>";
609− stephenmw = "Stephen Weinberg <stephen@q5comm.com>";
610− sternenseemann = "Lukas Epple <post@lukasepple.de>";
611− stesie = "Stefan Siegl <stesie@brokenpipe.de>";
612− steveej = "Stefan Junker <mail@stefanjunker.de>";
613− stumoss = "Stuart Moss <samoss@gmail.com>";
614− SuprDewd = "Bjarki Ágúst Guðmundsson <suprdewd@gmail.com>";
615− swarren83 = "Shawn Warren <shawn.w.warren@gmail.com>";
616− swflint = "Samuel W. Flint <swflint@flintfam.org>";
617− swistak35 = "Rafał Łasocha <me@swistak35.com>";
618− symphorien = "Guillaume Girol <symphorien_nixpkgs@xlumurb.eu>";
619− szczyp = "Szczyp <qb@szczyp.com>";
620− sztupi = "Attila Sztupak <attila.sztupak@gmail.com>";
621− taeer = "Taeer Bar-Yam <taeer@necsi.edu>";
622− tailhook = "Paul Colomiets <paul@colomiets.name>";
623− taketwo = "Sergey Alexandrov <alexandrov88@gmail.com>";
624− takikawa = "Asumu Takikawa <asumu@igalia.com>";
625− taktoa = "Remy Goldschmidt <taktoa@gmail.com>";
626− taku0 = "Takuo Yonezawa <mxxouy6x3m_github@tatapa.org>";
627− tari = "Peter Marheine <peter@taricorp.net>";
628− tavyc = "Octavian Cerna <octavian.cerna@gmail.com>";
629− TealG = "Teal Gaure <~@Teal.Gr>";
630− teh = "Tom Hunger <tehunger@gmail.com>";
631− telotortium = "Robert Irelan <rirelan@gmail.com>";
632− teto = "Matthieu Coudron <mcoudron@hotmail.com>";
633− tex = "Milan Svoboda <milan.svoboda@centrum.cz>";
634− thall = "Niclas Thall <niclas.thall@gmail.com>";
635− thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
636− the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>";
637− theuni = "Christian Theune <ct@flyingcircus.io>";
638− ThomasMader = "Thomas Mader <thomas.mader@gmail.com>";
639− thoughtpolice = "Austin Seipp <aseipp@pobox.com>";
640− timbertson = "Tim Cuthbertson <tim@gfxmonk.net>";
641− timokau = "Timo Kaufmann <timokau@zoho.com>";
642− titanous = "Jonathan Rudenberg <jonathan@titanous.com>";
643− tnias = "Philipp Bartsch <phil@grmr.de>";
644− tohl = "Tomas Hlavaty <tom@logand.com>";
645− tokudan = "Daniel Frank <git@danielfrank.net>";
646− tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
647− tomsmeets = "Tom Smeets <tom@tsmeets.nl>";
648− travisbhartwell = "Travis B. Hartwell <nafai@travishartwell.net>";
649− trevorj = "Trevor Joynson <nix@trevor.joynson.io>";
650− trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>";
651− tstrobel = "Thomas Strobel <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains>";
652− ttuegel = "Thomas Tuegel <ttuegel@mailbox.org>";
653− tv = "Tomislav Viljetić <tv@shackspace.de>";
654− tvestelind = "Tomas Vestelind <tomas.vestelind@fripost.org>";
655− tvorog = "Marsel Zaripov <marszaripov@gmail.com>";
656− tweber = "Thorsten Weber <tw+nixpkgs@360vier.de>";
657− twey = "James ‘Twey’ Kay <twey@twey.co.uk>";
658− uralbash = "Svintsov Dmitry <root@uralbash.ru>";
659− utdemir = "Utku Demir <me@utdemir.com>";
660− #urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>"; inactive since 2012
661− uwap = "uwap <me@uwap.name>";
662− vaibhavsagar = "Vaibhav Sagar <vaibhavsagar@gmail.com>";
663− valeriangalliat = "Valérian Galliat <val@codejam.info>";
664− vandenoever = "Jos van den Oever <jos@vandenoever.info>";
665− vanschelven = "Klaas van Schelven <klaas@vanschelven.com>";
666− vanzef = "Ivan Solyankin <vanzef@gmail.com>";
667− vbgl = "Vincent Laporte <Vincent.Laporte@gmail.com>";
668− vbmithr = "Vincent Bernardoff <vb@luminar.eu.org>";
669− vcunat = "Vladimír Čunát <vcunat@gmail.com>";
670− vdemeester = "Vincent Demeester <vincent@sbr.pm>";
671− veprbl = "Dmitry Kalinkin <veprbl@gmail.com>";
672− vifino = "Adrian Pistol <vifino@tty.sh>";
673− vinymeuh = "VinyMeuh <vinymeuh@gmail.com>";
674− viric = "Lluís Batlle i Rossell <viric@viric.name>";
675− vizanto = "Danny Wilson <danny@prime.vc>";
676− vklquevs = "vklquevs <vklquevs@gmail.com>";
677− vlstill = "Vladimír Štill <xstill@fi.muni.cz>";
678− vmandela = "Venkateswara Rao Mandela <venkat.mandela@gmail.com>";
679− vmchale = "Vanessa McHale <tmchale@wisc.edu>";
680− volhovm = "Mikhail Volkhov <volhovm.cs@gmail.com>";
681− volth = "Jaroslavas Pocepko <jaroslavas@volth.com>";
682− vozz = "Oliver Hunt <oliver.huntuk@gmail.com>";
683− vrthra = "Rahul Gopinath <rahul@gopinath.org>";
684− vyp = "vyp <elisp.vim@gmail.com>";
685− wedens = "wedens <kirill.wedens@gmail.com>";
686− willibutz = "Willi Butz <willibutz@posteo.de>";
687− willtim = "Tim Philip Williams <tim.williams.public@gmail.com>";
688− winden = "Antonio Vargas Gonzalez <windenntw@gmail.com>";
689− wizeman = "Ricardo M. Correia <rcorreia@wizy.org>";
690− wjlroe = "William Roe <willroe@gmail.com>";
691− wkennington = "William A. Kennington III <william@wkennington.com>";
692− wmertens = "Wout Mertens <Wout.Mertens@gmail.com>";
693− woffs = "Frank Doepper <github@woffs.de>";
694− womfoo = "Kranium Gikos Mendoza <kranium@gikos.net>";
695− wscott = "Wayne Scott <wsc9tt@gmail.com>";
696− wyvie = "Elijah Rum <elijahrum@gmail.com>";
697− xnwdd = "Guillermo NWDD <nwdd+nixos@no.team>";
698− xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>";
699− xwvvvvwx = "David Terry <davidterry@posteo.de>";
700− xzfc = "Albert Safin <xzfcpw@gmail.com>";
701− yarr = "Dmitry V. <savraz@gmail.com>";
702− yegortimoshenko = "Yegor Timoshenko <yegortimoshenko@gmail.com>";
703− ylwghst = "Burim Augustin Berisa <ylwghst@onionmail.info>";
704− yochai = "Yochai <yochai@titat.info>";
705− yorickvp = "Yorick van Pelt <yorickvanpelt@gmail.com>";
706− yuriaisaka = "Yuri Aisaka <yuri.aisaka+nix@gmail.com>";
707− yurrriq = "Eric Bailey <eric@ericb.me>";
708− z77z = "Marco Maggesi <maggesi@math.unifi.it>";
709− zagy = "Christian Zagrodnick <cz@flyingcircus.io>";
710− zalakain = "Unai Zalakain <contact@unaizalakain.info>";
711− zarelit = "David Costa <david@zarel.net>";
712− zauberpony = "Elmar Athmer <elmar@athmer.org>";
713− zef = "Zef Hemel <zef@zef.me>";
714− zimbatm = "zimbatm <zimbatm@zimbatm.com>";
715− Zimmi48 = "Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>";
716− zohl = "Al Zohali <zohl@fmap.me>";
717− zoomulator = "Kim Simmons <zoomulator@gmail.com>";
718− zraexy = "David Mell <zraexy@gmail.com>";
719− zx2c4 = "Jason A. Donenfeld <Jason@zx2c4.com>";
720− zzamboni = "Diego Zamboni <diego@zzamboni.org>";
721−}
lib/meta.nix+21
@@ -67,4 +67,25 @@ rec {
6767 */
6868 hiPrioSet = set: mapDerivationAttrset hiPrio set;
6969
70+
71+ /* Check to see if a platform is matched by the given `meta.platforms`
72+ element.
73+
74+ A `meta.platform` pattern is either
75+
76+ 1. (legacy) a system string.
77+
78+ 2. (modern) a pattern for the platform `parsed` field.
79+
80+ We can inject these into a patten for the whole of a structured platform,
81+ and then match that.
82+ */
83+ platformMatch = platform: elem: let
84+ pattern =
85+ if builtins.isString elem
86+ then { system = elem; }
87+ else { parsed = elem; };
88+ in lib.matchAttrs pattern platform;
89+
90+ enableIfAvailable = p: if p.meta.available or true then [ p ] else [];
7091}
lib/modules.nix+3−3
@@ -59,7 +59,7 @@ rec {
5959 };
6060 };
6161
62− closed = closeModules (modules ++ [ internalModule ]) ({ inherit config options; lib = import ./.; } // specialArgs);
62+ closed = closeModules (modules ++ [ internalModule ]) ({ inherit config options lib; } // specialArgs);
6363
6464 options = mergeModules prefix (reverseList (filterModules (specialArgs.modulesPath or "") closed));
6565
@@ -155,7 +155,7 @@ rec {
155155 # a module will resolve strictly the attributes used as argument but
156156 # not their values. The values are forwarding the result of the
157157 # evaluation of the option.
158− requiredArgs = builtins.attrNames (builtins.functionArgs f);
158+ requiredArgs = builtins.attrNames (lib.functionArgs f);
159159 context = name: ''while evaluating the module argument `${name}' in "${key}":'';
160160 extraArgs = builtins.listToAttrs (map (name: {
161161 inherit name;
@@ -660,7 +660,7 @@ rec {
660660 doRename = { from, to, visible, warn, use }:
661661 let
662662 toOf = attrByPath to
663− (abort "Renaming error: option `${showOption to}' does not exists.");
663+ (abort "Renaming error: option `${showOption to}' does not exist.");
664664 in
665665 { config, options, ... }:
666666 { options = setAttrByPath from (mkOption {
lib/options.nix+6−4
@@ -14,6 +14,7 @@ rec {
1414 , defaultText ? null # Textual representation of the default, for in the manual.
1515 , example ? null # Example value used in the manual.
1616 , description ? null # String describing the option.
17+ , relatedPackages ? null # Related packages used in the manual (see `genRelatedPackages` in ../nixos/doc/manual/default.nix).
1718 , type ? null # Option type, providing type-checking and value merging.
1819 , apply ? null # Function that converts the option value to something else.
1920 , internal ? null # Whether the option is for NixOS developers only.
@@ -76,7 +77,6 @@ rec {
7677 getValues = map (x: x.value);
7778 getFiles = map (x: x.file);
7879
79−
8080 # Generate documentation template from the list of option declaration like
8181 # the set generated with filterOptionSets.
8282 optionAttrSetToDocList = optionAttrSetToDocList' [];
@@ -85,6 +85,7 @@ rec {
8585 concatMap (opt:
8686 let
8787 docOption = rec {
88+ loc = opt.loc;
8889 name = showOption opt.loc;
8990 description = opt.description or (throw "Option `${name}' has no description.");
9091 declarations = filter (x: x != unknownModule) opt.declarations;
@@ -93,9 +94,10 @@ rec {
9394 readOnly = opt.readOnly or false;
9495 type = opt.type.description or null;
9596 }
96− // (if opt ? example then { example = scrubOptionValue opt.example; } else {})
97− // (if opt ? default then { default = scrubOptionValue opt.default; } else {})
98− // (if opt ? defaultText then { default = opt.defaultText; } else {});
97+ // optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
98+ // optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
99+ // optionalAttrs (opt ? defaultText) { default = opt.defaultText; }
100+ // optionalAttrs (opt ? relatedPackages && opt.relatedPackages != null) { inherit (opt) relatedPackages; };
99101
100102 subOptions =
101103 let ss = opt.type.getSubOptions opt.loc;
lib/sandbox.nixdeleted−48
@@ -1,48 +0,0 @@
1−{ lib }:
2−with lib.strings;
3−
4−/* Helpers for creating lisp S-exprs for the Apple sandbox
5−
6−lib.sandbox.allowFileRead [ "/usr/bin/file" ];
7− # => "(allow file-read* (literal \"/usr/bin/file\"))";
8−
9−lib.sandbox.allowFileRead {
10− literal = [ "/usr/bin/file" ];
11− subpath = [ "/usr/lib/system" ];
12−}
13− # => "(allow file-read* (literal \"/usr/bin/file\") (subpath \"/usr/lib/system\"))"
14−*/
15−
16−let
17−
18−sexp = tokens: "(" + builtins.concatStringsSep " " tokens + ")";
19−generateFileList = files:
20− if builtins.isList files
21− then concatMapStringsSep " " (x: sexp [ "literal" ''"${x}"'' ]) files
22− else if builtins.isString files
23− then generateFileList [ files ]
24− else concatStringsSep " " (
25− (map (x: sexp [ "literal" ''"${x}"'' ]) (files.literal or [])) ++
26− (map (x: sexp [ "subpath" ''"${x}"'' ]) (files.subpath or []))
27− );
28−applyToFiles = f: act: files: f "${act} ${generateFileList files}";
29−genActions = actionName: let
30− action = feature: sexp [ actionName feature ];
31− self = {
32− "${actionName}" = action;
33− "${actionName}File" = applyToFiles action "file*";
34− "${actionName}FileRead" = applyToFiles action "file-read*";
35− "${actionName}FileReadMetadata" = applyToFiles action "file-read-metadata";
36− "${actionName}DirectoryList" = self."${actionName}FileReadMetadata";
37− "${actionName}FileWrite" = applyToFiles action "file-write*";
38− "${actionName}FileWriteMetadata" = applyToFiles action "file-write-metadata";
39− };
40− in self;
41−
42−in
43−
44−genActions "allow" // genActions "deny" // {
45− importProfile = derivation: ''
46− (import "${derivation}")
47− '';
48−}
lib/sources.nix+30−5
@@ -26,14 +26,35 @@ rec {
2626 (type == "symlink" && lib.hasPrefix "result" baseName)
2727 );
2828
29− cleanSource = builtins.filterSource cleanSourceFilter;
29+ cleanSource = src: cleanSourceWith { filter = cleanSourceFilter; inherit src; };
30+
31+ # Like `builtins.filterSource`, except it will compose with itself,
32+ # allowing you to chain multiple calls together without any
33+ # intermediate copies being put in the nix store.
34+ #
35+ # lib.cleanSourceWith f (lib.cleanSourceWith g ./.) # Succeeds!
36+ # builtins.filterSource f (builtins.filterSource g ./.) # Fails!
37+ cleanSourceWith = { filter, src }:
38+ let
39+ isFiltered = src ? _isLibCleanSourceWith;
40+ origSrc = if isFiltered then src.origSrc else src;
41+ filter' = if isFiltered then name: type: filter name type && src.filter name type else filter;
42+ in {
43+ inherit origSrc;
44+ filter = filter';
45+ outPath = builtins.filterSource filter' origSrc;
46+ _isLibCleanSourceWith = true;
47+ };
3048
3149 # Filter sources by a list of regular expressions.
3250 #
3351 # E.g. `src = sourceByRegex ./my-subproject [".*\.py$" "^database.sql$"]`
34− sourceByRegex = src: regexes: builtins.filterSource (path: type:
35− let relPath = lib.removePrefix (toString src + "/") (toString path);
36− in lib.any (re: builtins.match re relPath != null) regexes) src;
52+ sourceByRegex = src: regexes: cleanSourceWith {
53+ filter = (path: type:
54+ let relPath = lib.removePrefix (toString src + "/") (toString path);
55+ in lib.any (re: builtins.match re relPath != null) regexes);
56+ inherit src;
57+ };
3758
3859 # Get all files ending with the specified suffices from the given
3960 # directory or its descendants. E.g. `sourceFilesBySuffices ./dir
@@ -42,7 +63,7 @@ rec {
4263 let filter = name: type:
4364 let base = baseNameOf (toString name);
4465 in type == "directory" || lib.any (ext: lib.hasSuffix ext base) exts;
45− in builtins.filterSource filter path;
66+ in cleanSourceWith { inherit filter; src = path; };
4667
4768
4869 # Get the commit id of a git repo
@@ -72,4 +93,8 @@ rec {
7293 else lib.head matchRef
7394 else throw ("Not a .git directory: " + path);
7495 in lib.flip readCommitFromFile "HEAD";
96+
97+ pathHasContext = builtins.hasContext or (lib.hasPrefix builtins.storeDir);
98+
99+ canCleanSource = src: src ? _isLibCleanSourceWith || !(pathHasContext (toString src));
75100}
lib/strings.nix+16−1
@@ -219,6 +219,14 @@ rec {
219219 */
220220 escapeShellArgs = concatMapStringsSep " " escapeShellArg;
221221
222+ /* Turn a string into a Nix expression representing that string
223+
224+ Example:
225+ escapeNixString "hello\${}\n"
226+ => "\"hello\\\${}\\n\""
227+ */
228+ escapeNixString = s: escape ["$"] (builtins.toJSON s);
229+
222230 /* Obsolete - use replaceStrings instead. */
223231 replaceChars = builtins.replaceStrings or (
224232 del: new: s:
@@ -429,6 +437,13 @@ rec {
429437 */
430438 fixedWidthNumber = width: n: fixedWidthString width "0" (toString n);
431439
440+ /* Check whether a value can be coerced to a string */
441+ isCoercibleToString = x:
442+ builtins.elem (builtins.typeOf x) [ "path" "string" "null" "int" "float" "bool" ] ||
443+ (builtins.isList x && lib.all isCoercibleToString x) ||
444+ x ? outPath ||
445+ x ? __toString;
446+
432447 /* Check whether a value is a store path.
433448
434449 Example:
@@ -442,7 +457,7 @@ rec {
442457 => false
443458 */
444459 isStorePath = x:
445− builtins.isString x
460+ isCoercibleToString x
446461 && builtins.substring 0 1 (toString x) == "/"
447462 && dirOf (builtins.toPath x) == builtins.storeDir;
448463
lib/systems/default.nix+14−5
@@ -3,6 +3,7 @@
33
44rec {
55 doubles = import ./doubles.nix { inherit lib; };
6+ forMeta = import ./for-meta.nix { inherit lib; };
67 parse = import ./parse.nix { inherit lib; };
78 inspect = import ./inspect.nix { inherit lib; };
89 platforms = import ./platforms.nix { inherit lib; };
@@ -23,12 +24,15 @@ rec {
2324 config = parse.tripleFromSystem final.parsed;
2425 # Just a guess, based on `system`
2526 platform = platforms.selectBySystem final.system;
27+ # Derived meta-data
2628 libc =
27− /**/ if final.isDarwin then "libSystem"
28− else if final.isMinGW then "msvcrt"
29− else if final.isLinux then "glibc"
29+ /**/ if final.isDarwin then "libSystem"
30+ else if final.isMinGW then "msvcrt"
31+ else if final.isMusl then "musl"
32+ else if final.isAndroid then "bionic"
33+ else if final.isLinux /* default */ then "glibc"
3034 # TODO(@Ericson2314) think more about other operating systems
31− else "native/impure";
35+ else "native/impure";
3236 extensions = {
3337 sharedLibrary =
3438 /**/ if final.isDarwin then ".dylib"
@@ -38,7 +42,12 @@ rec {
3842 /**/ if final.isWindows then ".exe"
3943 else "";
4044 };
45+ # Misc boolean options
46+ useAndroidPrebuilt = false;
47+ useiOSPrebuilt = false;
48+ isiPhoneSimulator = false;
4149 } // mapAttrs (n: v: v final.parsed) inspect.predicates
4250 // args;
43− in final;
51+ in assert final.useAndroidPrebuilt -> final.isAndroid;
52+ final;
4453}
lib/systems/doubles.nix+7−6
@@ -1,15 +1,15 @@
11{ lib }:
22let
33 inherit (lib) lists;
4− parse = import ./parse.nix { inherit lib; };
5− inherit (import ./inspect.nix { inherit lib; }) predicates;
4+ inherit (lib.systems) parse;
5+ inherit (lib.systems.inspect) predicates;
66 inherit (lib.attrsets) matchAttrs;
77
88 all = [
99 "aarch64-linux"
1010 "armv5tel-linux" "armv6l-linux" "armv7l-linux"
1111
12− "mips64el-linux"
12+ "mipsel-linux"
1313
1414 "i686-cygwin" "i686-freebsd" "i686-linux" "i686-netbsd" "i686-openbsd"
1515
@@ -24,19 +24,20 @@ let
2424in rec {
2525 inherit all;
2626
27− allBut = platforms: lists.filter (x: !(builtins.elem x platforms)) all;
2827 none = [];
2928
3029 arm = filterDoubles predicates.isArm;
30+ aarch64 = filterDoubles predicates.isAarch64;
31+ x86 = filterDoubles predicates.isx86;
3132 i686 = filterDoubles predicates.isi686;
32− mips = filterDoubles predicates.isMips;
3333 x86_64 = filterDoubles predicates.isx86_64;
34+ mips = filterDoubles predicates.isMips;
3435
3536 cygwin = filterDoubles predicates.isCygwin;
3637 darwin = filterDoubles predicates.isDarwin;
3738 freebsd = filterDoubles predicates.isFreeBSD;
3839 # Should be better, but MinGW is unclear, and HURD is bit-rotted.
39− gnu = filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnu; });
40+ gnu = filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnu; });
4041 illumos = filterDoubles predicates.isSunOS;
4142 linux = filterDoubles predicates.isLinux;
4243 netbsd = filterDoubles predicates.isNetBSD;
lib/systems/examples.nix+29−35
@@ -11,84 +11,78 @@ rec {
1111
1212 sheevaplug = rec {
1313 config = "armv5tel-unknown-linux-gnueabi";
14− bigEndian = false;
1514 arch = "armv5tel";
1615 float = "soft";
17− withTLS = true;
18− libc = "glibc";
1916 platform = platforms.sheevaplug;
20− openssl.system = "linux-generic32";
21− inherit (platform) gcc;
2217 };
2318
2419 raspberryPi = rec {
2520 config = "armv6l-unknown-linux-gnueabihf";
26− bigEndian = false;
2721 arch = "armv6l";
2822 float = "hard";
2923 fpu = "vfp";
30− withTLS = true;
31− libc = "glibc";
3224 platform = platforms.raspberrypi;
33− openssl.system = "linux-generic32";
34− inherit (platform) gcc;
3525 };
3626
3727 armv7l-hf-multiplatform = rec {
3828 config = "arm-unknown-linux-gnueabihf";
39− bigEndian = false;
4029 arch = "armv7-a";
4130 float = "hard";
4231 fpu = "vfpv3-d16";
43− withTLS = true;
44− libc = "glibc";
4532 platform = platforms.armv7l-hf-multiplatform;
46− openssl.system = "linux-generic32";
47− inherit (platform) gcc;
4833 };
4934
5035 aarch64-multiplatform = rec {
5136 config = "aarch64-unknown-linux-gnu";
52− bigEndian = false;
5337 arch = "aarch64";
54− withTLS = true;
55− libc = "glibc";
5638 platform = platforms.aarch64-multiplatform;
57− inherit (platform) gcc;
39+ };
40+
41+ aarch64-android-prebuilt = rec {
42+ config = "aarch64-unknown-linux-android";
43+ arch = "aarch64";
44+ platform = platforms.aarch64-multiplatform;
45+ useAndroidPrebuilt = true;
5846 };
5947
6048 scaleway-c1 = armv7l-hf-multiplatform // rec {
6149 platform = platforms.scaleway-c1;
62− inherit (platform) gcc;
63− inherit (gcc) fpu;
50+ inherit (platform.gcc) fpu;
6451 };
6552
6653 pogoplug4 = rec {
6754 arch = "armv5tel";
68− config = "armv5tel-softfloat-linux-gnueabi";
55+ config = "armv5tel-unknown-linux-gnueabi";
6956 float = "soft";
70−
7157 platform = platforms.pogoplug4;
72−
73− inherit (platform) gcc;
74− libc = "glibc";
75−
76− withTLS = true;
77− openssl.system = "linux-generic32";
7858 };
7959
8060 fuloongminipc = rec {
81− config = "mips64el-unknown-linux-gnu";
82− bigEndian = false;
61+ config = "mipsel-unknown-linux-gnu";
8362 arch = "mips";
8463 float = "hard";
85− withTLS = true;
86− libc = "glibc";
8764 platform = platforms.fuloong2f_n32;
88− openssl.system = "linux-generic32";
89− inherit (platform) gcc;
9065 };
9166
67+ muslpi = raspberryPi // {
68+ config = "armv6l-unknown-linux-musleabihf";
69+ };
70+
71+ aarch64-multiplatform-musl = aarch64-multiplatform // {
72+ config = "aarch64-unknown-linux-musl";
73+ };
74+
75+ musl64 = { config = "x86_64-unknown-linux-musl"; };
76+ musl32 = { config = "i686-unknown-linux-musl"; };
77+
78+ riscv = bits: {
79+ config = "riscv${bits}-unknown-linux-gnu";
80+ platform = platforms.riscv-multiplatform bits;
81+ };
82+ riscv64 = riscv "64";
83+ riscv32 = riscv "32";
84+
85+
9286 #
9387 # Darwin
9488 #
lib/systems/for-meta.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib }:
2+let
3+ inherit (lib.systems) parse;
4+ inherit (lib.systems.inspect) patterns;
5+
6+in rec {
7+ all = [ {} ]; # `{}` matches anything
8+ none = [];
9+
10+ arm = [ patterns.isArm ];
11+ aarch64 = [ patterns.isAarch64 ];
12+ x86 = [ patterns.isx86 ];
13+ i686 = [ patterns.isi686 ];
14+ x86_64 = [ patterns.isx86_64 ];
15+ mips = [ patterns.isMips ];
16+ riscv = [ patterns.isRiscV ];
17+
18+ cygwin = [ patterns.isCygwin ];
19+ darwin = [ patterns.isDarwin ];
20+ freebsd = [ patterns.isFreeBSD ];
21+ # Should be better, but MinGW is unclear, and HURD is bit-rotted.
22+ gnu = [ { kernel = parse.kernels.linux; abi = parse.abis.gnu; } ];
23+ illumos = [ patterns.isSunOS ];
24+ linux = [ patterns.isLinux ];
25+ netbsd = [ patterns.isNetBSD ];
26+ openbsd = [ patterns.isOpenBSD ];
27+ unix = patterns.isUnix; # Actually a list
28+ windows = [ patterns.isWindows ];
29+
30+ inherit (lib.systems.doubles) mesaPlatforms;
31+}
lib/systems/inspect.nix+37−28
@@ -5,38 +5,47 @@ with lib.lists;
55
66rec {
77 patterns = rec {
8− "32bit" = { cpu = { bits = 32; }; };
9− "64bit" = { cpu = { bits = 64; }; };
10− i686 = { cpu = cpuTypes.i686; };
11− x86_64 = { cpu = cpuTypes.x86_64; };
12− PowerPC = { cpu = cpuTypes.powerpc; };
13− x86 = { cpu = { family = "x86"; }; };
14− Arm = { cpu = { family = "arm"; }; };
15− Aarch64 = { cpu = { family = "aarch64"; }; };
16− Mips = { cpu = { family = "mips"; }; };
17− BigEndian = { cpu = { significantByte = significantBytes.bigEndian; }; };
18− LittleEndian = { cpu = { significantByte = significantBytes.littleEndian; }; };
19−
20− BSD = { kernel = { families = { inherit (kernelFamilies) bsd; }; }; };
21− Unix = [ BSD Darwin Linux SunOS Hurd Cygwin ];
22−
23− Darwin = { kernel = kernels.darwin; };
24− Linux = { kernel = kernels.linux; };
25− SunOS = { kernel = kernels.solaris; };
26− FreeBSD = { kernel = kernels.freebsd; };
27− Hurd = { kernel = kernels.hurd; };
28− NetBSD = { kernel = kernels.netbsd; };
29− OpenBSD = { kernel = kernels.openbsd; };
30− Windows = { kernel = kernels.windows; };
31− Cygwin = { kernel = kernels.windows; abi = abis.cygnus; };
32− MinGW = { kernel = kernels.windows; abi = abis.gnu; };
8+ isi686 = { cpu = cpuTypes.i686; };
9+ isx86_64 = { cpu = cpuTypes.x86_64; };
10+ isPowerPC = { cpu = cpuTypes.powerpc; };
11+ isx86 = { cpu = { family = "x86"; }; };
12+ isArm = { cpu = { family = "arm"; }; };
13+ isAarch64 = { cpu = { family = "aarch64"; }; };
14+ isMips = { cpu = { family = "mips"; }; };
15+ isRiscV = { cpu = { family = "riscv"; }; };
16+ isWasm = { cpu = { family = "wasm"; }; };
17+
18+ is32bit = { cpu = { bits = 32; }; };
19+ is64bit = { cpu = { bits = 64; }; };
20+ isBigEndian = { cpu = { significantByte = significantBytes.bigEndian; }; };
21+ isLittleEndian = { cpu = { significantByte = significantBytes.littleEndian; }; };
22+
23+ isBSD = { kernel = { families = { inherit (kernelFamilies) bsd; }; }; };
24+ isDarwin = { kernel = { families = { inherit (kernelFamilies) darwin; }; }; };
25+ isUnix = [ isBSD isDarwin isLinux isSunOS isHurd isCygwin ];
26+
27+ isMacOS = { kernel = kernels.macos; };
28+ isiOS = { kernel = kernels.ios; };
29+ isLinux = { kernel = kernels.linux; };
30+ isSunOS = { kernel = kernels.solaris; };
31+ isFreeBSD = { kernel = kernels.freebsd; };
32+ isHurd = { kernel = kernels.hurd; };
33+ isNetBSD = { kernel = kernels.netbsd; };
34+ isOpenBSD = { kernel = kernels.openbsd; };
35+ isWindows = { kernel = kernels.windows; };
36+ isCygwin = { kernel = kernels.windows; abi = abis.cygnus; };
37+ isMinGW = { kernel = kernels.windows; abi = abis.gnu; };
38+
39+ isAndroid = [ { abi = abis.android; } { abi = abis.androideabi; } ];
40+ isMusl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf ];
41+
42+ isEfi = map (family: { cpu.family = family; })
43+ [ "x86" "arm" "aarch64" ];
3344 };
3445
3546 matchAnyAttrs = patterns:
3647 if builtins.isList patterns then attrs: any (pattern: matchAttrs pattern attrs) patterns
3748 else matchAttrs patterns;
3849
39− predicates = mapAttrs'
40− (name: value: nameValuePair ("is" + name) (matchAnyAttrs value))
41− patterns;
50+ predicates = mapAttrs (_: matchAnyAttrs) patterns;
4251}
lib/systems/parse.nix+147−36
@@ -4,6 +4,16 @@
44# http://llvm.org/docs/doxygen/html/Triple_8cpp_source.html especially
55# Triple::normalize. Parsing should essentially act as a more conservative
66# version of that last function.
7+#
8+# Most of the types below come in "open" and "closed" pairs. The open ones
9+# specify what information we need to know about systems in general, and the
10+# closed ones are sub-types representing the whitelist of systems we support in
11+# practice.
12+#
13+# Code in the remainder of nixpkgs shouldn't rely on the closed ones in
14+# e.g. exhaustive cases. Its more a sanity check to make sure nobody defines
15+# systems that overlap with existing ones and won't notice something amiss.
16+#
717{ lib }:
818with lib.lists;
919with lib.types;
@@ -11,29 +21,52 @@ with lib.attrsets;
1121with (import ./inspect.nix { inherit lib; }).predicates;
1222
1323let
14− setTypesAssert = type: pred:
24+ inherit (lib.options) mergeOneOption;
25+
26+ setTypes = type:
1527 mapAttrs (name: value:
16− assert pred value;
17− setType type ({ inherit name; } // value));
18− setTypes = type: setTypesAssert type (_: true);
28+ assert type.check value;
29+ setType type.name ({ inherit name; } // value));
1930
2031in
2132
2233rec {
2334
24− isSignificantByte = isType "significant-byte";
25− significantBytes = setTypes "significant-byte" {
35+ ################################################################################
36+
37+ types.openSignificantByte = mkOptionType {
38+ name = "significant-byte";
39+ description = "Endianness";
40+ merge = mergeOneOption;
41+ };
42+
43+ types.significantByte = enum (attrValues significantBytes);
44+
45+ significantBytes = setTypes types.openSignificantByte {
2646 bigEndian = {};
2747 littleEndian = {};
2848 };
2949
30− isCpuType = isType "cpu-type";
31− cpuTypes = with significantBytes; setTypesAssert "cpu-type"
32− (x: elem x.bits [8 16 32 64 128]
33− && (if 8 < x.bits
34− then isSignificantByte x.significantByte
35− else !(x ? significantByte)))
36− {
50+ ################################################################################
51+
52+ # Reasonable power of 2
53+ types.bitWidth = enum [ 8 16 32 64 128 ];
54+
55+ ################################################################################
56+
57+ types.openCpuType = mkOptionType {
58+ name = "cpu-type";
59+ description = "instruction set architecture name and information";
60+ merge = mergeOneOption;
61+ check = x: types.bitWidth.check x.bits
62+ && (if 8 < x.bits
63+ then types.significantByte.check x.significantByte
64+ else !(x ? significantByte));
65+ };
66+
67+ types.cpuType = enum (attrValues cpuTypes);
68+
69+ cpuTypes = with significantBytes; setTypes types.openCpuType {
3770 arm = { bits = 32; significantByte = littleEndian; family = "arm"; };
3871 armv5tel = { bits = 32; significantByte = littleEndian; family = "arm"; };
3972 armv6l = { bits = 32; significantByte = littleEndian; family = "arm"; };
@@ -42,20 +75,45 @@ rec {
4275 aarch64 = { bits = 64; significantByte = littleEndian; family = "aarch64"; };
4376 i686 = { bits = 32; significantByte = littleEndian; family = "x86"; };
4477 x86_64 = { bits = 64; significantByte = littleEndian; family = "x86"; };
45− mips64el = { bits = 32; significantByte = littleEndian; family = "mips"; };
78+ mips = { bits = 32; significantByte = bigEndian; family = "mips"; };
79+ mipsel = { bits = 32; significantByte = littleEndian; family = "mips"; };
80+ mips64 = { bits = 64; significantByte = bigEndian; family = "mips"; };
81+ mips64el = { bits = 64; significantByte = littleEndian; family = "mips"; };
4682 powerpc = { bits = 32; significantByte = bigEndian; family = "power"; };
83+ riscv32 = { bits = 32; significantByte = littleEndian; family = "riscv"; };
84+ riscv64 = { bits = 64; significantByte = littleEndian; family = "riscv"; };
85+ wasm32 = { bits = 32; significantByte = littleEndian; family = "wasm"; };
86+ wasm64 = { bits = 64; significantByte = littleEndian; family = "wasm"; };
87+ };
88+
89+ ################################################################################
90+
91+ types.openVendor = mkOptionType {
92+ name = "vendor";
93+ description = "vendor for the platform";
94+ merge = mergeOneOption;
4795 };
4896
49− isVendor = isType "vendor";
50− vendors = setTypes "vendor" {
97+ types.vendor = enum (attrValues vendors);
98+
99+ vendors = setTypes types.openVendor {
51100 apple = {};
52101 pc = {};
53102
54103 unknown = {};
55104 };
56105
57− isExecFormat = isType "exec-format";
58− execFormats = setTypes "exec-format" {
106+ ################################################################################
107+
108+ types.openExecFormat = mkOptionType {
109+ name = "exec-format";
110+ description = "executable container used by the kernel";
111+ merge = mergeOneOption;
112+ };
113+
114+ types.execFormat = enum (attrValues execFormats);
115+
116+ execFormats = setTypes types.openExecFormat {
59117 aout = {}; # a.out
60118 elf = {};
61119 macho = {};
@@ -64,16 +122,38 @@ rec {
64122 unknown = {};
65123 };
66124
67− isKernelFamily = isType "kernel-family";
68− kernelFamilies = setTypes "kernel-family" {
125+ ################################################################################
126+
127+ types.openKernelFamily = mkOptionType {
128+ name = "exec-format";
129+ description = "executable container used by the kernel";
130+ merge = mergeOneOption;
131+ };
132+
133+ types.kernelFamily = enum (attrValues kernelFamilies);
134+
135+ kernelFamilies = setTypes types.openKernelFamily {
69136 bsd = {};
137+ darwin = {};
70138 };
71139
72− isKernel = x: isType "kernel" x;
73− kernels = with execFormats; with kernelFamilies; setTypesAssert "kernel"
74− (x: isExecFormat x.execFormat && all isKernelFamily (attrValues x.families))
75− {
76− darwin = { execFormat = macho; families = { }; };
140+ ################################################################################
141+
142+ types.openKernel = mkOptionType {
143+ name = "kernel";
144+ description = "kernel name and information";
145+ merge = mergeOneOption;
146+ check = x: types.execFormat.check x.execFormat
147+ && all types.kernelFamily.check (attrValues x.families);
148+ };
149+
150+ types.kernel = enum (attrValues kernels);
151+
152+ kernels = with execFormats; with kernelFamilies; setTypes types.openKernel {
153+ # TODO(@Ericson2314): Don't want to mass-rebuild yet to keeping 'darwin' as
154+ # the nnormalized name for macOS.
155+ macos = { execFormat = macho; families = { inherit darwin; }; name = "darwin"; };
156+ ios = { execFormat = macho; families = { inherit darwin; }; };
77157 freebsd = { execFormat = elf; families = { inherit bsd; }; };
78158 hurd = { execFormat = elf; families = { }; };
79159 linux = { execFormat = elf; families = { }; };
@@ -83,14 +163,28 @@ rec {
83163 solaris = { execFormat = elf; families = { }; };
84164 windows = { execFormat = pe; families = { }; };
85165 } // { # aliases
166+ # 'darwin' is the kernel for all of them. We choose macOS by default.
167+ darwin = kernels.macos;
86168 # TODO(@Ericson2314): Handle these Darwin version suffixes more generally.
87− darwin10 = kernels.darwin;
88− darwin14 = kernels.darwin;
169+ darwin10 = kernels.macos;
170+ darwin14 = kernels.macos;
171+ watchos = kernels.ios;
172+ tvos = kernels.ios;
89173 win32 = kernels.windows;
90174 };
91175
92− isAbi = isType "abi";
93− abis = setTypes "abi" {
176+ ################################################################################
177+
178+ types.openAbi = mkOptionType {
179+ name = "abi";
180+ description = "binary interface for compiled code and syscalls";
181+ merge = mergeOneOption;
182+ };
183+
184+ types.abi = enum (attrValues abis);
185+
186+ abis = setTypes types.openAbi {
187+ android = {};
94188 cygnus = {};
95189 gnu = {};
96190 msvc = {};
@@ -98,16 +192,31 @@ rec {
98192 androideabi = {};
99193 gnueabi = {};
100194 gnueabihf = {};
195+ musleabi = {};
196+ musleabihf = {};
197+ musl = {};
101198
102199 unknown = {};
103200 };
104201
202+ ################################################################################
203+
204+ types.parsedPlatform = mkOptionType {
205+ name = "system";
206+ description = "fully parsed representation of llvm- or nix-style platform tuple";
207+ merge = mergeOneOption;
208+ check = { cpu, vendor, kernel, abi }:
209+ types.cpuType.check cpu
210+ && types.vendor.check vendor
211+ && types.kernel.check kernel
212+ && types.abi.check abi;
213+ };
214+
105215 isSystem = isType "system";
106− mkSystem = { cpu, vendor, kernel, abi }:
107− assert isCpuType cpu && isVendor vendor && isKernel kernel && isAbi abi;
108− setType "system" {
109− inherit cpu vendor kernel abi;
110− };
216+
217+ mkSystem = components:
218+ assert types.parsedPlatform.check components;
219+ setType "system" components;
111220
112221 mkSkeletonFromList = l: {
113222 "2" = # We only do 2-part hacks for things Nix already supports
@@ -162,12 +271,14 @@ rec {
162271 mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s));
163272
164273 doubleFromSystem = { cpu, vendor, kernel, abi, ... }:
165− if abi == abis.cygnus
166− then "${cpu.name}-cygwin"
274+ /**/ if abi == abis.cygnus then "${cpu.name}-cygwin"
275+ else if kernel.families ? darwin then "${cpu.name}-darwin"
167276 else "${cpu.name}-${kernel.name}";
168277
169278 tripleFromSystem = { cpu, vendor, kernel, abi, ... } @ sys: assert isSystem sys; let
170279 optAbi = lib.optionalString (abi != abis.unknown) "-${abi.name}";
171280 in "${cpu.name}-${vendor.name}-${kernel.name}${optAbi}";
172281
282+ ################################################################################
283+
173284}
lib/systems/platforms.nix+19−10
@@ -2,7 +2,6 @@
22rec {
33 pcBase = {
44 name = "pc";
5− kernelHeadersBaseConfig = "defconfig";
65 kernelBaseConfig = "defconfig";
76 # Build whatever possible as a module, if not stated in the extra config.
87 kernelAutoModules = true;
@@ -30,7 +29,6 @@ rec {
3029 };
3130
3231 kernelMajor = "2.6";
33− kernelHeadersBaseConfig = "multi_v5_defconfig";
3432 kernelBaseConfig = "multi_v5_defconfig";
3533 kernelArch = "arm";
3634 kernelAutoModules = false;
@@ -54,7 +52,6 @@ rec {
5452 sheevaplug = {
5553 name = "sheevaplug";
5654 kernelMajor = "2.6";
57− kernelHeadersBaseConfig = "multi_v5_defconfig";
5855 kernelBaseConfig = "multi_v5_defconfig";
5956 kernelArch = "arm";
6057 kernelAutoModules = false;
@@ -168,7 +165,6 @@ rec {
168165 raspberrypi = {
169166 name = "raspberrypi";
170167 kernelMajor = "2.6";
171− kernelHeadersBaseConfig = "bcm2835_defconfig";
172168 kernelBaseConfig = "bcmrpi_defconfig";
173169 kernelDTB = true;
174170 kernelArch = "arm";
@@ -347,7 +343,6 @@ rec {
347343 utilite = {
348344 name = "utilite";
349345 kernelMajor = "2.6";
350− kernelHeadersBaseConfig = "multi_v7_defconfig";
351346 kernelBaseConfig = "multi_v7_defconfig";
352347 kernelArch = "arm";
353348 kernelAutoModules = false;
@@ -379,13 +374,11 @@ rec {
379374 # patch.
380375
381376 kernelBaseConfig = "guruplug_defconfig";
382− #kernelHeadersBaseConfig = "guruplug_defconfig";
383377 };
384378
385379 fuloong2f_n32 = {
386380 name = "fuloong2f_n32";
387381 kernelMajor = "2.6";
388− kernelHeadersBaseConfig = "fuloong2e_defconfig";
389382 kernelBaseConfig = "lemote2f_defconfig";
390383 kernelArch = "mips";
391384 kernelAutoModules = false;
@@ -471,7 +464,6 @@ rec {
471464 armv7l-hf-multiplatform = {
472465 name = "armv7l-hf-multiplatform";
473466 kernelMajor = "2.6"; # Using "2.6" enables 2.6 kernel syscalls in glibc.
474− kernelHeadersBaseConfig = "multi_v7_defconfig";
475467 kernelBaseConfig = "multi_v7_defconfig";
476468 kernelArch = "arm";
477469 kernelDTB = true;
@@ -479,6 +471,11 @@ rec {
479471 kernelPreferBuiltin = true;
480472 kernelTarget = "zImage";
481473 kernelExtraConfig = ''
474+ # Serial port for Raspberry Pi 3. Upstream forgot to add it to the ARMv7 defconfig.
475+ SERIAL_8250_BCM2835AUX y
476+ SERIAL_8250_EXTENDED y
477+ SERIAL_8250_SHARE_IRQ y
478+
482479 # Fix broken sunxi-sid nvmem driver.
483480 TI_CPTS y
484481
@@ -512,7 +509,6 @@ rec {
512509 aarch64-multiplatform = {
513510 name = "aarch64-multiplatform";
514511 kernelMajor = "2.6"; # Using "2.6" enables 2.6 kernel syscalls in glibc.
515− kernelHeadersBaseConfig = "defconfig";
516512 kernelBaseConfig = "defconfig";
517513 kernelArch = "arm64";
518514 kernelDTB = true;
@@ -545,6 +541,19 @@ rec {
545541 };
546542 };
547543
544+ riscv-multiplatform = bits: {
545+ name = "riscv-multiplatform";
546+ kernelArch = "riscv";
547+ bfdEmulation = "elf${bits}lriscv";
548+ kernelTarget = "vmlinux";
549+ kernelAutoModules = true;
550+ kernelBaseConfig = "defconfig";
551+ kernelExtraConfig = ''
552+ FTRACE n
553+ SERIAL_OF_PLATFORM y
554+ '';
555+ };
556+
548557 selectBySystem = system: {
549558 "i686-linux" = pc32;
550559 "x86_64-linux" = pc64;
@@ -552,6 +561,6 @@ rec {
552561 "armv6l-linux" = raspberrypi;
553562 "armv7l-linux" = armv7l-hf-multiplatform;
554563 "aarch64-linux" = aarch64-multiplatform;
555− "mips64el-linux" = fuloong2f_n32;
564+ "mipsel-linux" = fuloong2f_n32;
556565 }.${system} or pcBase;
557566}
lib/tests/misc.nix+29−1
@@ -93,6 +93,7 @@ runTests {
9393 "${builtins.storeDir}/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11";
9494 in {
9595 storePath = isStorePath goodPath;
96+ storePathDerivation = isStorePath (import ../.. {}).hello;
9697 storePathAppendix = isStorePath
9798 "${goodPath}/bin/python";
9899 nonAbsolute = isStorePath (concatStrings (tail (stringToCharacters goodPath)));
@@ -106,6 +107,7 @@ runTests {
106107 };
107108 expected = {
108109 storePath = true;
110+ storePathDerivation = true;
109111 storePathAppendix = false;
110112 nonAbsolute = false;
111113 asPath = true;
@@ -201,10 +203,33 @@ runTests {
201203# in alphabetical order
202204
203205 testMkKeyValueDefault = {
204− expr = generators.mkKeyValueDefault ":" "f:oo" "bar";
206+ expr = generators.mkKeyValueDefault {} ":" "f:oo" "bar";
205207 expected = ''f\:oo:bar'';
206208 };
207209
210+ testMkValueString = {
211+ expr = let
212+ vals = {
213+ int = 42;
214+ string = ''fo"o'';
215+ bool = true;
216+ bool2 = false;
217+ null = null;
218+ # float = 42.23; # floats are strange
219+ };
220+ in mapAttrs
221+ (const (generators.mkValueStringDefault {}))
222+ vals;
223+ expected = {
224+ int = "42";
225+ string = ''fo"o'';
226+ bool = "true";
227+ bool2 = "false";
228+ null = "null";
229+ # float = "42.23" true false [ "bar" ] ]'';
230+ };
231+ };
232+
208233 testToKeyValue = {
209234 expr = generators.toKeyValue {} {
210235 key = "value";
@@ -247,6 +272,8 @@ runTests {
247272 "section 1" = {
248273 attribute1 = 5;
249274 x = "Me-se JarJar Binx";
275+ # booleans are converted verbatim by default
276+ boolean = false;
250277 };
251278 "foo[]" = {
252279 "he\\h=he" = "this is okay";
@@ -258,6 +285,7 @@ runTests {
258285
259286 [section 1]
260287 attribute1=5
288+ boolean=false
261289 x=Me-se JarJar Binx
262290 '';
263291 };
lib/tests/release.nix+1−2
@@ -13,7 +13,6 @@ pkgs.stdenv.mkDerivation {
1313 export NIX_DB_DIR=$TEST_ROOT/db
1414 export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
1515 export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
16− export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
1716 export NIX_STATE_DIR=$TEST_ROOT/var/nix
1817 export NIX_STORE_DIR=$TEST_ROOT/store
1918 export PAGER=cat
@@ -21,7 +20,7 @@ pkgs.stdenv.mkDerivation {
2120 nix-store --init
2221
2322 cd ${pkgs.path}/lib/tests
24− ./modules.sh
23+ bash ./modules.sh
2524
2625 [[ "$(nix-instantiate --eval --strict misc.nix)" == "[ ]" ]]
2726
lib/tests/systems.nix+2−2
@@ -16,7 +16,7 @@ in with lib.systems.doubles; lib.runTests {
1616
1717 arm = assertTrue (mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv7l-linux" ]);
1818 i686 = assertTrue (mseteq i686 [ "i686-linux" "i686-freebsd" "i686-netbsd" "i686-openbsd" "i686-cygwin" ]);
19− mips = assertTrue (mseteq mips [ "mips64el-linux" ]);
19+ mips = assertTrue (mseteq mips [ "mipsel-linux" ]);
2020 x86_64 = assertTrue (mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" ]);
2121
2222 cygwin = assertTrue (mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ]);
@@ -24,7 +24,7 @@ in with lib.systems.doubles; lib.runTests {
2424 freebsd = assertTrue (mseteq freebsd [ "i686-freebsd" "x86_64-freebsd" ]);
2525 gnu = assertTrue (mseteq gnu (linux /* ++ hurd ++ kfreebsd ++ ... */));
2626 illumos = assertTrue (mseteq illumos [ "x86_64-solaris" ]);
27− linux = assertTrue (mseteq linux [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ]);
27+ linux = assertTrue (mseteq linux [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mipsel-linux" ]);
2828 netbsd = assertTrue (mseteq netbsd [ "i686-netbsd" "x86_64-netbsd" ]);
2929 openbsd = assertTrue (mseteq openbsd [ "i686-openbsd" "x86_64-openbsd" ]);
3030 unix = assertTrue (mseteq unix (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos));
lib/trivial.nix+62−1
@@ -52,7 +52,7 @@ rec {
5252
5353 # Pull in some builtins not included elsewhere.
5454 inherit (builtins)
55− pathExists readFile isBool isFunction
55+ pathExists readFile isBool
5656 isInt add sub lessThan
5757 seq deepSeq genericClosure;
5858
@@ -81,6 +81,42 @@ rec {
8181 */
8282 mod = base: int: base - (int * (builtins.div base int));
8383
84+ /* C-style comparisons
85+
86+ a < b, compare a b => -1
87+ a == b, compare a b => 0
88+ a > b, compare a b => 1
89+ */
90+ compare = a: b:
91+ if a < b
92+ then -1
93+ else if a > b
94+ then 1
95+ else 0;
96+
97+ /* Split type into two subtypes by predicate `p`, take all elements
98+ of the first subtype to be less than all the elements of the
99+ second subtype, compare elements of a single subtype with `yes`
100+ and `no` respectively.
101+
102+ Example:
103+
104+ let cmp = splitByAndCompare (hasPrefix "foo") compare compare; in
105+
106+ cmp "a" "z" => -1
107+ cmp "fooa" "fooz" => -1
108+
109+ cmp "f" "a" => 1
110+ cmp "fooa" "a" => -1
111+ # while
112+ compare "fooa" "a" => 1
113+
114+ */
115+ splitByAndCompare = p: yes: no: a: b:
116+ if p a
117+ then if p b then yes a b else -1
118+ else if p b then 1 else no a b;
119+
84120 /* Reads a JSON file. */
85121 importJSON = path:
86122 builtins.fromJSON (builtins.readFile path);
@@ -99,4 +135,29 @@ rec {
99135 */
100136 warn = msg: builtins.trace "WARNING: ${msg}";
101137 info = msg: builtins.trace "INFO: ${msg}";
138+
139+ # | Add metadata about expected function arguments to a function.
140+ # The metadata should match the format given by
141+ # builtins.functionArgs, i.e. a set from expected argument to a bool
142+ # representing whether that argument has a default or not.
143+ # setFunctionArgs : (a → b) → Map String Bool → (a → b)
144+ #
145+ # This function is necessary because you can't dynamically create a
146+ # function of the { a, b ? foo, ... }: format, but some facilities
147+ # like callPackage expect to be able to query expected arguments.
148+ setFunctionArgs = f: args:
149+ { # TODO: Should we add call-time "type" checking like built in?
150+ __functor = self: f;
151+ __functionArgs = args;
152+ };
153+
154+ # | Extract the expected function arguments from a function.
155+ # This works both with nix-native { a, b ? foo, ... }: style
156+ # functions and functions with args set with 'setFunctionArgs'. It
157+ # has the same return type and semantics as builtins.functionArgs.
158+ # setFunctionArgs : (a → b) → Map String Bool.
159+ functionArgs = f: f.__functionArgs or (builtins.functionArgs f);
160+
161+ isFunction = f: builtins.isFunction f ||
162+ (f ? __functor && isFunction (f.__functor f));
102163}
lib/types.nix+11
@@ -174,6 +174,13 @@ rec {
174174 merge = mergeOneOption;
175175 };
176176
177+ strMatching = pattern: mkOptionType {
178+ name = "strMatching ${escapeNixString pattern}";
179+ description = "string matching the pattern ${pattern}";
180+ check = x: str.check x && builtins.match pattern x != null;
181+ inherit (str) merge;
182+ };
183+
177184 # Merge multiple definitions by concatenating them (with the given
178185 # separator between the values).
179186 separatedString = sep: mkOptionType rec {
@@ -249,6 +256,10 @@ rec {
249256 functor = (defaultFunctor name) // { wrapped = elemType; };
250257 };
251258
259+ nonEmptyListOf = elemType:
260+ let list = addCheck (types.listOf elemType) (l: l != []);
261+ in list // { description = "non-empty " + list.description; };
262+
252263 attrsOf = elemType: mkOptionType rec {
253264 name = "attrsOf";
254265 description = "attribute set of ${elemType.description}s";
lib/versions.nixnew file+47
@@ -0,0 +1,47 @@
1+/* Version string functions. */
2+{ lib }:
3+
4+let
5+
6+ splitVersion = builtins.splitVersion or (lib.splitString ".");
7+
8+in
9+
10+rec {
11+
12+ /* Get the major version string from a string.
13+
14+ Example:
15+ major "1.2.3"
16+ => "1"
17+ */
18+ major = v: builtins.elemAt (splitVersion v) 0;
19+
20+ /* Get the minor version string from a string.
21+
22+ Example:
23+ minor "1.2.3"
24+ => "2"
25+ */
26+ minor = v: builtins.elemAt (splitVersion v) 1;
27+
28+ /* Get the patch version string from a string.
29+
30+ Example:
31+ patch "1.2.3"
32+ => "3"
33+ */
34+ patch = v: builtins.elemAt (splitVersion v) 2;
35+
36+ /* Get string of the first two parts (major and minor)
37+ of a version string.
38+
39+ Example:
40+ majorMinor "1.2.3"
41+ => "1.2"
42+ */
43+ majorMinor = v:
44+ builtins.concatStringsSep "."
45+ (lib.take 2 (splitVersion v));
46+
47+}
maintainers/maintainer-list.nixnew file+4163
@@ -0,0 +1,4163 @@
1+/* List of NixOS maintainers.
2+
3+ handle = {
4+ name = "Real name";
5+ email = "address@example.org";
6+ github = "GithubUsername";
7+ };
8+
9+ where `name` is your real name, `email` is your maintainer email
10+ address and `github` is your GitHub handle (as it appears in the
11+ URL of your profile page, `https://github.com/<userhandle>`).
12+ address
13+ The only required fields are `name` and `email`.
14+ More fields may be added in the future.
15+
16+ Please keep the list alphabetically sorted.
17+ See `../maintainers/scripts/check-maintainer-github-handles.sh`
18+ for an example on how to work with this data.
19+ */
20+{
21+ Adjective-Object = {
22+ email = "mhuan13@gmail.com";
23+ github = "Adjective-Object";
24+ name = "Maxwell Huang-Hobbs";
25+ };
26+ AndersonTorres = {
27+ email = "torres.anderson.85@gmail.com";
28+ github = "AndersonTorres";
29+ name = "Anderson Torres";
30+ };
31+ Baughn = {
32+ email = "sveina@gmail.com";
33+ github = "Baughn";
34+ name = "Svein Ove Aas";
35+ };
36+ ChengCat = {
37+ email = "yu@cheng.cat";
38+ github = "ChengCat";
39+ name = "Yucheng Zhang";
40+ };
41+ CrystalGamma = {
42+ email = "nixos@crystalgamma.de";
43+ github = "CrystalGamma";
44+ name = "Jona Stubbe";
45+ };
46+ DamienCassou = {
47+ email = "damien@cassou.me";
48+ github = "DamienCassou";
49+ name = "Damien Cassou";
50+ };
51+ DerGuteMoritz = {
52+ email = "moritz@twoticketsplease.de";
53+ github = "DerGuteMoritz";
54+ name = "Moritz Heidkamp";
55+ };
56+ DerTim1 = {
57+ email = "tim.digel@active-group.de";
58+ github = "DerTim1";
59+ name = "Tim Digel";
60+ };
61+ DmitryTsygankov = {
62+ email = "dmitry.tsygankov@gmail.com";
63+ github = "DmitryTsygankov";
64+ name = "Dmitry Tsygankov";
65+ };
66+ Esteth = {
67+ email = "adam.copp@gmail.com";
68+ name = "Adam Copp";
69+ };
70+ FireyFly = {
71+ email = "nix@firefly.nu";
72+ github = "FireyFly";
73+ name = "Jonas Höglund";
74+ };
75+ Fresheyeball = {
76+ email = "fresheyeball@gmail.com";
77+ github = "fresheyeball";
78+ name = "Isaac Shapira";
79+ };
80+ Gonzih = {
81+ email = "gonzih@gmail.com";
82+ github = "Gonzih";
83+ name = "Max Gonzih";
84+ };
85+ Jo = {
86+ email = "0x4A6F@shackspace.de";
87+ name = "Joachim Ernst";
88+ };
89+ KibaFox = {
90+ email = "kiba.fox@foxypossibilities.com";
91+ github = "KibaFox";
92+ name = "Kiba Fox";
93+ };
94+ MP2E = {
95+ email = "MP2E@archlinux.us";
96+ github = "MP2E";
97+ name = "Cray Elliott";
98+ };
99+ Mogria = {
100+ email = "m0gr14@gmail.com";
101+ github = "mogria";
102+ name = "Mogria";
103+ };
104+ MostAwesomeDude = {
105+ email = "cds@corbinsimpson.com";
106+ github = "MostAwesomeDude";
107+ name = "Corbin Simpson";
108+ };
109+ Nate-Devv = {
110+ email = "natedevv@gmail.com";
111+ name = "Nathan Moore";
112+ };
113+ NikolaMandic = {
114+ email = "nikola@mandic.email";
115+ github = "NikolaMandic";
116+ name = "Ratko Mladic";
117+ };
118+ Phlogistique = {
119+ email = "noe.rubinstein@gmail.com";
120+ github = "Phlogistique";
121+ name = "Noé Rubinstein";
122+ };
123+ Profpatsch = {
124+ email = "mail@profpatsch.de";
125+ github = "Profpatsch";
126+ name = "Profpatsch";
127+ };
128+ roosemberth = {
129+ email = "roosembert.palacios+nixpkgs@gmail.com";
130+ github = "roosemberth";
131+ name = "Roosembert (Roosemberth) Palacios";
132+ };
133+ SShrike = {
134+ email = "severen@shrike.me";
135+ github = "severen";
136+ name = "Severen Redwood";
137+ };
138+ SeanZicari = {
139+ email = "sean.zicari@gmail.com";
140+ github = "SeanZicari";
141+ name = "Sean Zicari";
142+ };
143+ StijnDW = {
144+ email = "stekke@airmail.cc";
145+ github = "StijnDW";
146+ name = "Stijn DW";
147+ };
148+ StillerHarpo = {
149+ email = "florianengel39@gmail.com";
150+ github = "StillerHarpo";
151+ name = "Florian Engel";
152+ };
153+ SuprDewd = {
154+ email = "suprdewd@gmail.com";
155+ github = "SuprDewd";
156+ name = "Bjarki Ágúst Guðmundsson";
157+ };
158+ TealG = {
159+ email = "~@Teal.Gr";
160+ github = "TealG";
161+ name = "Teal Gaure";
162+ };
163+ ThomasMader = {
164+ email = "thomas.mader@gmail.com";
165+ github = "ThomasMader";
166+ name = "Thomas Mader";
167+ };
168+ Zimmi48 = {
169+ email = "theo.zimmermann@univ-paris-diderot.fr";
170+ github = "Zimmi48";
171+ name = "Théo Zimmermann";
172+ };
173+ a1russell = {
174+ email = "adamlr6+pub@gmail.com";
175+ github = "a1russell";
176+ name = "Adam Russell";
177+ };
178+ aaronschif = {
179+ email = "aaronschif@gmail.com";
180+ github = "aaronschif";
181+ name = "Aaron Schif";
182+ };
183+ abaldeau = {
184+ email = "andreas@baldeau.net";
185+ github = "baldo";
186+ name = "Andreas Baldeau";
187+ };
188+ abbradar = {
189+ email = "ab@fmap.me";
190+ github = "abbradar";
191+ name = "Nikolay Amiantov";
192+ };
193+ abigailbuccaneer = {
194+ email = "abigailbuccaneer@gmail.com";
195+ github = "abigailbuccaneer";
196+ name = "Abigail Bunyan";
197+ };
198+ aborsu = {
199+ email = "a.borsu@gmail.com";
200+ github = "aborsu";
201+ name = "Augustin Borsu";
202+ };
203+ aboseley = {
204+ email = "adam.boseley@gmail.com";
205+ github = "aboseley";
206+ name = "Adam Boseley";
207+ };
208+ abuibrahim = {
209+ email = "ruslan@babayev.com";
210+ github = "abuibrahim";
211+ name = "Ruslan Babayev";
212+ };
213+ acowley = {
214+ email = "acowley@gmail.com";
215+ github = "acowley";
216+ name = "Anthony Cowley";
217+ };
218+ adelbertc = {
219+ email = "adelbertc@gmail.com";
220+ github = "adelbertc";
221+ name = "Adelbert Chang";
222+ };
223+ adev = {
224+ email = "adev@adev.name";
225+ github = "adevress";
226+ name = "Adrien Devresse";
227+ };
228+ adisbladis = {
229+ email = "adis@blad.is";
230+ github = "adisbladis";
231+ name = "Adam Hose";
232+ };
233+ adnelson = {
234+ email = "ithinkican@gmail.com";
235+ github = "adnelson";
236+ name = "Allen Nelson";
237+ };
238+ adolfogc = {
239+ email = "adolfo.garcia.cr@gmail.com";
240+ github = "adolfogc";
241+ name = "Adolfo E. García Castro";
242+ };
243+ aespinosa = {
244+ email = "allan.espinosa@outlook.com";
245+ github = "aespinosa";
246+ name = "Allan Espinosa";
247+ };
248+ aflatter = {
249+ email = "flatter@fastmail.fm";
250+ github = "aflatter";
251+ name = "Alexander Flatter";
252+ };
253+ afldcr = {
254+ email = "alex@fldcr.com";
255+ github = "afldcr";
256+ name = "James Alexander Feldman-Crough";
257+ };
258+ aforemny = {
259+ email = "alexanderforemny@googlemail.com";
260+ github = "aforemny";
261+ name = "Alexander Foremny";
262+ };
263+ afranchuk = {
264+ email = "alex.franchuk@gmail.com";
265+ github = "afranchuk";
266+ name = "Alex Franchuk";
267+ };
268+ aherrmann = {
269+ email = "andreash87@gmx.ch";
270+ github = "aherrmann";
271+ name = "Andreas Herrmann";
272+ };
273+ ahmedtd = {
274+ email = "ahmed.taahir@gmail.com";
275+ github = "ahmedtd";
276+ name = "Taahir Ahmed";
277+ };
278+ aij = {
279+ email = "aij+git@mrph.org";
280+ github = "aij";
281+ name = "Ivan Jager";
282+ };
283+ ajgrf = {
284+ email = "a@ajgrf.com";
285+ github = "ajgrf";
286+ name = "Alex Griffin";
287+ };
288+ ak = {
289+ email = "ak@formalprivacy.com";
290+ github = "alexanderkjeldaas";
291+ name = "Alexander Kjeldaas";
292+ };
293+ akaWolf = {
294+ email = "akawolf0@gmail.com";
295+ github = "akaWolf";
296+ name = "Artjom Vejsel";
297+ };
298+ akc = {
299+ email = "akc@akc.is";
300+ github = "akc";
301+ name = "Anders Claesson";
302+ };
303+ akru = {
304+ email = "mail@akru.me";
305+ github = "akru";
306+ name = "Alexander Krupenkin ";
307+ };
308+ alexchapman = {
309+ name = "Alex Chapman";
310+ email = "alex@farfromthere.net";
311+ github = "AJChapman";
312+ };
313+ alexvorobiev = {
314+ email = "alexander.vorobiev@gmail.com";
315+ github = "alexvorobiev";
316+ name = "Alex Vorobiev";
317+ };
318+ algorith = {
319+ email = "dries_van_daele@telenet.be";
320+ name = "Dries Van Daele";
321+ };
322+ alibabzo = {
323+ email = "alistair.bill@gmail.com";
324+ github = "alibabzo";
325+ name = "Alistair Bill";
326+ };
327+ all = {
328+ email = "nix-commits@lists.science.uu.nl";
329+ name = "Nix Committers";
330+ };
331+ alunduil = {
332+ email = "alunduil@alunduil.com";
333+ github = "alunduil";
334+ name = "Alex Brandt";
335+ };
336+ ambrop72 = {
337+ email = "ambrop7@gmail.com";
338+ github = "ambrop72";
339+ name = "Ambroz Bizjak";
340+ };
341+ amiddelk = {
342+ email = "amiddelk@gmail.com";
343+ github = "amiddelk";
344+ name = "Arie Middelkoop";
345+ };
346+ amiloradovsky = {
347+ email = "miloradovsky@gmail.com";
348+ github = "amiloradovsky";
349+ name = "Andrew Miloradovsky";
350+ };
351+ aminechikhaoui = {
352+ email = "amine.chikhaoui91@gmail.com";
353+ github = "AmineChikhaoui";
354+ name = "Amine Chikhaoui";
355+ };
356+ amorsillo = {
357+ email = "andrew.morsillo@gmail.com";
358+ github = "AndrewMorsillo";
359+ name = "Andrew Morsillo";
360+ };
361+ anderspapitto = {
362+ email = "anderspapitto@gmail.com";
363+ github = "anderspapitto";
364+ name = "Anders Papitto";
365+ };
366+ andir = {
367+ email = "andreas@rammhold.de";
368+ github = "andir";
369+ name = "Andreas Rammhold";
370+ };
371+ andres = {
372+ email = "ksnixos@andres-loeh.de";
373+ github = "kosmikus";
374+ name = "Andres Loeh";
375+ };
376+ andrestylianos = {
377+ email = "andre.stylianos@gmail.com";
378+ github = "andrestylianos";
379+ name = "Andre S. Ramos";
380+ };
381+ andrew-d = {
382+ email = "andrew@du.nham.ca";
383+ github = "andrew-d";
384+ name = "Andrew Dunham";
385+ };
386+ andrewrk = {
387+ email = "superjoe30@gmail.com";
388+ github = "andrewrk";
389+ name = "Andrew Kelley";
390+ };
391+ andsild = {
392+ email = "andsild@gmail.com";
393+ github = "andsild";
394+ name = "Anders Sildnes";
395+ };
396+ aneeshusa = {
397+ email = "aneeshusa@gmail.com";
398+ github = "aneeshusa";
399+ name = "Aneesh Agrawal";
400+ };
401+ ankhers = {
402+ email = "justin.k.wood@gmail.com";
403+ github = "ankhers";
404+ name = "Justin Wood";
405+ };
406+ antono = {
407+ email = "self@antono.info";
408+ github = "antono";
409+ name = "Antono Vasiljev";
410+ };
411+ antonxy = {
412+ email = "anton.schirg@posteo.de";
413+ github = "antonxy";
414+ name = "Anton Schirg";
415+ };
416+ apeschar = {
417+ email = "albert@peschar.net";
418+ github = "apeschar";
419+ name = "Albert Peschar";
420+ };
421+ apeyroux = {
422+ email = "alex@px.io";
423+ github = "apeyroux";
424+ name = "Alexandre Peyroux";
425+ };
426+ arcadio = {
427+ email = "arc@well.ox.ac.uk";
428+ github = "arcadio";
429+ name = "Arcadio Rubio García";
430+ };
431+ ardumont = {
432+ email = "eniotna.t@gmail.com";
433+ github = "ardumont";
434+ name = "Antoine R. Dumont";
435+ };
436+ aristid = {
437+ email = "aristidb@gmail.com";
438+ github = "aristidb";
439+ name = "Aristid Breitkreuz";
440+ };
441+ arobyn = {
442+ email = "shados@shados.net";
443+ github = "shados";
444+ name = "Alexei Robyn";
445+ };
446+ artuuge = {
447+ email = "artuuge@gmail.com";
448+ github = "artuuge";
449+ name = "Artur E. Ruuge";
450+ };
451+ ashalkhakov = {
452+ email = "artyom.shalkhakov@gmail.com";
453+ github = "ashalkhakov";
454+ name = "Artyom Shalkhakov";
455+ };
456+ ashgillman = {
457+ email = "gillmanash@gmail.com";
458+ github = "ashgillman";
459+ name = "Ashley Gillman";
460+ };
461+ aske = {
462+ email = "aske@fmap.me";
463+ github = "aske";
464+ name = "Kirill Boltaev";
465+ };
466+ asppsa = {
467+ email = "asppsa@gmail.com";
468+ github = "asppsa";
469+ name = "Alastair Pharo";
470+ };
471+ astsmtl = {
472+ email = "astsmtl@yandex.ru";
473+ github = "astsmtl";
474+ name = "Alexander Tsamutali";
475+ };
476+ asymmetric = {
477+ email = "lorenzo@mailbox.org";
478+ github = "asymmetric";
479+ name = "Lorenzo Manacorda";
480+ };
481+ aszlig = {
482+ email = "aszlig@nix.build";
483+ github = "aszlig";
484+ name = "aszlig";
485+ };
486+ auntie = {
487+ email = "auntieNeo@gmail.com";
488+ github = "auntie";
489+ name = "Jonathan Glines";
490+ };
491+ avnik = {
492+ email = "avn@avnik.info";
493+ github = "avnik";
494+ name = "Alexander V. Nikolaev";
495+ };
496+ aycanirican = {
497+ email = "iricanaycan@gmail.com";
498+ github = "aycanirican";
499+ name = "Aycan iRiCAN";
500+ };
501+ babariviere = {
502+ email = "babariviere@protonmail.com";
503+ github = "babariviere";
504+ name = "babariviere";
505+ };
506+ bachp = {
507+ email = "pascal.bach@nextrem.ch";
508+ github = "bachp";
509+ name = "Pascal Bach";
510+ };
511+ backuitist = {
512+ email = "biethb@gmail.com";
513+ github = "backuitist";
514+ name = "Bruno Bieth";
515+ };
516+ badi = {
517+ email = "abdulwahidc@gmail.com";
518+ github = "badi";
519+ name = "Badi' Abdul-Wahid";
520+ };
521+ balajisivaraman = {
522+ email = "sivaraman.balaji@gmail.com";
523+ name = "Balaji Sivaraman";
524+ };
525+ bandresen = {
526+ email = "bandresen@gmail.com";
527+ github = "bandresen";
528+ name = "Benjamin Andresen";
529+ };
530+ barrucadu = {
531+ email = "mike@barrucadu.co.uk";
532+ github = "barrucadu";
533+ name = "Michael Walker";
534+ };
535+ basvandijk = {
536+ email = "v.dijk.bas@gmail.com";
537+ github = "basvandijk";
538+ name = "Bas van Dijk";
539+ };
540+ bcarrell = {
541+ email = "brandoncarrell@gmail.com";
542+ github = "bcarrell";
543+ name = "Brandon Carrell";
544+ };
545+ bcdarwin = {
546+ email = "bcdarwin@gmail.com";
547+ github = "bcdarwin";
548+ name = "Ben Darwin";
549+ };
550+ bdimcheff = {
551+ email = "brandon@dimcheff.com";
552+ github = "bdimcheff";
553+ name = "Brandon Dimcheff";
554+ };
555+ bendlas = {
556+ email = "herwig@bendlas.net";
557+ github = "bendlas";
558+ name = "Herwig Hochleitner";
559+ };
560+ benley = {
561+ email = "benley@gmail.com";
562+ github = "benley";
563+ name = "Benjamin Staffin";
564+ };
565+ bennofs = {
566+ email = "benno.fuenfstueck@gmail.com";
567+ github = "bennofs";
568+ name = "Benno Fünfstück";
569+ };
570+ benwbooth = {
571+ email = "benwbooth@gmail.com";
572+ github = "benwbooth";
573+ name = "Ben Booth";
574+ };
575+ berce = {
576+ email = "bert.moens@gmail.com";
577+ github = "berce";
578+ name = "Bert Moens";
579+ };
580+ berdario = {
581+ email = "berdario@gmail.com";
582+ github = "berdario";
583+ name = "Dario Bertini";
584+ };
585+ bergey = {
586+ email = "bergey@teallabs.org";
587+ github = "bergey";
588+ name = "Daniel Bergey";
589+ };
590+ bfortz = {
591+ email = "bernard.fortz@gmail.com";
592+ github = "bfortz";
593+ name = "Bernard Fortz";
594+ };
595+ bgamari = {
596+ email = "ben@smart-cactus.org";
597+ github = "bgamari";
598+ name = "Ben Gamari";
599+ };
600+ bhipple = {
601+ email = "bhipple@protonmail.com";
602+ github = "bhipple";
603+ name = "Benjamin Hipple";
604+ };
605+ binarin = {
606+ email = "binarin@binarin.ru";
607+ github = "binarin";
608+ name = "Alexey Lebedeff";
609+ };
610+ bjg = {
611+ email = "bjg@gnu.org";
612+ name = "Brian Gough";
613+ };
614+ bjornfor = {
615+ email = "bjorn.forsman@gmail.com";
616+ github = "bjornfor";
617+ name = "Bjørn Forsman";
618+ };
619+ bkchr = {
620+ email = "nixos@kchr.de";
621+ github = "bkchr";
622+ name = "Bastian Köcher";
623+ };
624+ bluescreen303 = {
625+ email = "mathijs@bluescreen303.nl";
626+ github = "bluescreen303";
627+ name = "Mathijs Kwik";
628+ };
629+ bobakker = {
630+ email = "bobakk3r@gmail.com";
631+ github = "bobakker";
632+ name = "Bo Bakker";
633+ };
634+ bobvanderlinden = {
635+ email = "bobvanderlinden@gmail.com";
636+ github = "bobvanderlinden";
637+ name = "Bob van der Linden";
638+ };
639+ bodil = {
640+ email = "nix@bodil.org";
641+ github = "bodil";
642+ name = "Bodil Stokke";
643+ };
644+ boothead = {
645+ email = "ben@perurbis.com";
646+ github = "boothead";
647+ name = "Ben Ford";
648+ };
649+ bosu = {
650+ email = "boriss@gmail.com";
651+ github = "bosu";
652+ name = "Boris Sukholitko";
653+ };
654+ bradediger = {
655+ email = "brad@bradediger.com";
656+ github = "bradediger";
657+ name = "Brad Ediger";
658+ };
659+ brainrape = {
660+ email = "martonboros@gmail.com";
661+ github = "brainrape";
662+ name = "Marton Boros";
663+ };
664+ bramd = {
665+ email = "bram@bramd.nl";
666+ github = "bramd";
667+ name = "Bram Duvigneau";
668+ };
669+ bstrik = {
670+ email = "dutchman55@gmx.com";
671+ github = "bstrik";
672+ name = "Berno Strik";
673+ };
674+ bugworm = {
675+ email = "bugworm@zoho.com";
676+ github = "bugworm";
677+ name = "Roman Gerasimenko";
678+ };
679+ bzizou = {
680+ email = "Bruno@bzizou.net";
681+ github = "bzizou";
682+ name = "Bruno Bzeznik";
683+ };
684+ c0bw3b = {
685+ email = "c0bw3b@gmail.com";
686+ github = "c0bw3b";
687+ name = "Renaud";
688+ };
689+ c0dehero = {
690+ email = "codehero@nerdpol.ch";
691+ name = "CodeHero";
692+ };
693+ calbrecht = {
694+ email = "christian.albrecht@mayflower.de";
695+ github = "calbrecht";
696+ name = "Christian Albrecht";
697+ };
698+ calvertvl = {
699+ email = "calvertvl@gmail.com";
700+ github = "calvertvl";
701+ name = "Victor Calvert";
702+ };
703+ campadrenalin = {
704+ email = "campadrenalin@gmail.com";
705+ github = "campadrenalin";
706+ name = "Philip Horger";
707+ };
708+ canndrew = {
709+ email = "shum@canndrew.org";
710+ github = "canndrew";
711+ name = "Andrew Cann";
712+ };
713+ carlsverre = {
714+ email = "accounts@carlsverre.com";
715+ github = "carlsverre";
716+ name = "Carl Sverre";
717+ };
718+ cartr = {
719+ email = "carter.sande@duodecima.technology";
720+ github = "cartr";
721+ name = "Carter Sande";
722+ };
723+ casey = {
724+ email = "casey@rodarmor.net";
725+ github = "casey";
726+ name = "Casey Rodarmor";
727+ };
728+ catern = {
729+ email = "sbaugh@catern.com";
730+ github = "catern";
731+ name = "Spencer Baugh";
732+ };
733+ caugner = {
734+ email = "nixos@caugner.de";
735+ github = "caugner";
736+ name = "Claas Augner";
737+ };
738+ cdepillabout = {
739+ email = "cdep.illabout@gmail.com";
740+ github = "cdepillabout";
741+ name = "Dennis Gosnell";
742+ };
743+ cfouche = {
744+ email = "chaddai.fouche@gmail.com";
745+ github = "Chaddai";
746+ name = "Chaddaï Fouché";
747+ };
748+ changlinli = {
749+ email = "mail@changlinli.com";
750+ github = "changlinli";
751+ name = "Changlin Li";
752+ };
753+ chaoflow = {
754+ email = "flo@chaoflow.net";
755+ github = "chaoflow";
756+ name = "Florian Friesdorf";
757+ };
758+ chattered = {
759+ email = "me@philscotted.com";
760+ name = "Phil Scott";
761+ };
762+ chiiruno = {
763+ email = "okinan@protonmail.com";
764+ github = "chiiruno";
765+ name = "Okina Matara";
766+ };
767+ choochootrain = {
768+ email = "hurshal@imap.cc";
769+ github = "choochootrain";
770+ name = "Hurshal Patel";
771+ };
772+ chpatrick = {
773+ email = "chpatrick@gmail.com";
774+ github = "chpatrick";
775+ name = "Patrick Chilton";
776+ };
777+ chreekat = {
778+ email = "b@chreekat.net";
779+ github = "chreekat";
780+ name = "Bryan Richter";
781+ };
782+ chris-martin = {
783+ email = "ch.martin@gmail.com";
784+ github = "chris-martin";
785+ name = "Chris Martin";
786+ };
787+ chrisjefferson = {
788+ email = "chris@bubblescope.net";
789+ github = "chrisjefferson";
790+ name = "Christopher Jefferson";
791+ };
792+ chrisrosset = {
793+ email = "chris@rosset.org.uk";
794+ github = "chrisrosset";
795+ name = "Christopher Rosset";
796+ };
797+ christopherpoole = {
798+ email = "mail@christopherpoole.net";
799+ github = "christopherpoole";
800+ name = "Christopher Mark Poole";
801+ };
802+ ciil = {
803+ email = "simon@lackerbauer.com";
804+ github = "ciil";
805+ name = "Simon Lackerbauer";
806+ };
807+ ck3d = {
808+ email = "ck3d@gmx.de";
809+ github = "ck3d";
810+ name = "Christian Kögler";
811+ };
812+ ckampka = {
813+ email = "christian@kampka.net";
814+ github = "kampka";
815+ name = "Christian Kampka";
816+ };
817+ ckauhaus = {
818+ email = "kc@flyingcircus.io";
819+ github = "ckauhaus";
820+ name = "Christian Kauhaus";
821+ };
822+ cko = {
823+ email = "christine.koppelt@gmail.com";
824+ github = "cko";
825+ name = "Christine Koppelt";
826+ };
827+ cleverca22 = {
828+ email = "cleverca22@gmail.com";
829+ github = "cleverca22";
830+ name = "Michael Bishop";
831+ };
832+ cmcdragonkai = {
833+ email = "roger.qiu@matrix.ai";
834+ github = "cmcdragonkai";
835+ name = "Roger Qiu";
836+ };
837+ cmfwyp = {
838+ email = "cmfwyp@riseup.net";
839+ github = "cmfwyp";
840+ name = "cmfwyp";
841+ };
842+ cobbal = {
843+ email = "andrew.cobb@gmail.com";
844+ github = "cobbal";
845+ name = "Andrew Cobb";
846+ };
847+ coconnor = {
848+ email = "coreyoconnor@gmail.com";
849+ github = "coreyoconnor";
850+ name = "Corey O'Connor";
851+ };
852+ codsl = {
853+ email = "codsl@riseup.net";
854+ github = "codsl";
855+ name = "codsl";
856+ };
857+ codyopel = {
858+ email = "codyopel@gmail.com";
859+ github = "codyopel";
860+ name = "Cody Opel";
861+ };
862+ colemickens = {
863+ email = "cole.mickens@gmail.com";
864+ github = "colemickens";
865+ name = "Cole Mickens";
866+ };
867+ colescott = {
868+ email = "colescottsf@gmail.com";
869+ github = "colescott";
870+ name = "Cole Scott";
871+ };
872+ copumpkin = {
873+ email = "pumpkingod@gmail.com";
874+ github = "copumpkin";
875+ name = "Dan Peebles";
876+ };
877+ corngood = {
878+ email = "corngood@gmail.com";
879+ github = "corngood";
880+ name = "David McFarland";
881+ };
882+ coroa = {
883+ email = "jonas@chaoflow.net";
884+ github = "coroa";
885+ name = "Jonas Hörsch";
886+ };
887+ couchemar = {
888+ email = "couchemar@yandex.ru";
889+ github = "couchemar";
890+ name = "Andrey Pavlov";
891+ };
892+ cpages = {
893+ email = "page@ruiec.cat";
894+ github = "cpages";
895+ name = "Carles Pagès";
896+ };
897+ cransom = {
898+ email = "cransom@hubns.net";
899+ github = "cransom";
900+ name = "Casey Ransom";
901+ };
902+ cryptix = {
903+ email = "cryptix@riseup.net";
904+ github = "cryptix";
905+ name = "Henry Bubert";
906+ };
907+ csingley = {
908+ email = "csingley@gmail.com";
909+ github = "csingley";
910+ name = "Christopher Singley";
911+ };
912+ cstrahan = {
913+ email = "charles@cstrahan.com";
914+ github = "cstrahan";
915+ name = "Charles Strahan";
916+ };
917+ cwoac = {
918+ email = "oliver@codersoffortune.net";
919+ github = "cwoac";
920+ name = "Oliver Matthews";
921+ };
922+ danbst = {
923+ email = "abcz2.uprola@gmail.com";
924+ github = "danbst";
925+ name = "Danylo Hlynskyi";
926+ };
927+ dancek = {
928+ email = "hannu.hartikainen@gmail.com";
929+ github = "dancek";
930+ name = "Hannu Hartikainen";
931+ };
932+ danharaj = {
933+ email = "dan@obsidian.systems";
934+ github = "danharaj";
935+ name = "Dan Haraj";
936+ };
937+ danielfullmer = {
938+ email = "danielrf12@gmail.com";
939+ github = "danielfullmer";
940+ name = "Daniel Fullmer";
941+ };
942+ dasuxullebt = {
943+ email = "christoph.senjak@googlemail.com";
944+ name = "Christoph-Simon Senjak";
945+ };
946+ david50407 = {
947+ email = "me@davy.tw";
948+ github = "david50407";
949+ name = "David Kuo";
950+ };
951+ davidak = {
952+ email = "post@davidak.de";
953+ github = "davidak";
954+ name = "David Kleuker";
955+ };
956+ davidrusu = {
957+ email = "davidrusu.me@gmail.com";
958+ github = "davidrusu";
959+ name = "David Rusu";
960+ };
961+ davorb = {
962+ email = "davor@davor.se";
963+ github = "davorb";
964+ name = "Davor Babic";
965+ };
966+ dbohdan = {
967+ email = "danyil.bohdan@gmail.com";
968+ github = "dbohdan";
969+ name = "Danyil Bohdan";
970+ };
971+ dbrock = {
972+ email = "daniel@brockman.se";
973+ github = "dbrock";
974+ name = "Daniel Brockman";
975+ };
976+ deepfire = {
977+ email = "_deepfire@feelingofgreen.ru";
978+ github = "deepfire";
979+ name = "Kosyrev Serge";
980+ };
981+ demin-dmitriy = {
982+ email = "demindf@gmail.com";
983+ github = "demin-dmitriy";
984+ name = "Dmitriy Demin";
985+ };
986+ derchris = {
987+ email = "derchris@me.com";
988+ github = "derchrisuk";
989+ name = "Christian Gerbrandt";
990+ };
991+ dermetfan = {
992+ email = "serverkorken@gmail.com";
993+ github = "dermetfan";
994+ name = "Robin Stumm";
995+ };
996+ desiderius = {
997+ email = "didier@devroye.name";
998+ github = "desiderius";
999+ name = "Didier J. Devroye";
1000+ };
1001+ devhell = {
1002+ email = "\"^\"@regexmail.net";
1003+ github = "devhell";
1004+ name = "devhell";
1005+ };
1006+ dezgeg = {
1007+ email = "tuomas.tynkkynen@iki.fi";
1008+ github = "dezgeg";
1009+ name = "Tuomas Tynkkynen";
1010+ };
1011+ dfordivam = {
1012+ email = "dfordivam+nixpkgs@gmail.com";
1013+ github = "dfordivam";
1014+ name = "Divam";
1015+ };
1016+ dfoxfranke = {
1017+ email = "dfoxfranke@gmail.com";
1018+ github = "dfoxfranke";
1019+ name = "Daniel Fox Franke";
1020+ };
1021+ dgonyeo = {
1022+ email = "derek@gonyeo.com";
1023+ github = "dgonyeo";
1024+ name = "Derek Gonyeo";
1025+ };
1026+ dipinhora = {
1027+ email = "dipinhora+github@gmail.com";
1028+ github = "dipinhora";
1029+ name = "Dipin Hora";
1030+ };
1031+ disassembler = {
1032+ email = "disasm@gmail.com";
1033+ github = "disassembler";
1034+ name = "Samuel Leathers";
1035+ };
1036+ dizfer = {
1037+ email = "david@izquierdofernandez.com";
1038+ github = "dizfer";
1039+ name = "David Izquierdo";
1040+ };
1041+ dmalikov = {
1042+ email = "malikov.d.y@gmail.com";
1043+ github = "dmalikov";
1044+ name = "Dmitry Malikov";
1045+ };
1046+ dmjio = {
1047+ email = "djohnson.m@gmail.com";
1048+ github = "dmjio";
1049+ name = "David Johnson";
1050+ };
1051+ dochang = {
1052+ email = "dochang@gmail.com";
1053+ github = "dochang";
1054+ name = "Desmond O. Chang";
1055+ };
1056+ domenkozar = {
1057+ email = "domen@dev.si";
1058+ github = "domenkozar";
1059+ name = "Domen Kozar";
1060+ };
1061+ dotlambda = {
1062+ email = "rschuetz17@gmail.com";
1063+ github = "dotlambda";
1064+ name = "Robert Schütz";
1065+ };
1066+ doublec = {
1067+ email = "chris.double@double.co.nz";
1068+ github = "doublec";
1069+ name = "Chris Double";
1070+ };
1071+ dpaetzel = {
1072+ email = "david.a.paetzel@gmail.com";
1073+ github = "dpaetzel";
1074+ name = "David Pätzel";
1075+ };
1076+ dpflug = {
1077+ email = "david@pflug.email";
1078+ github = "dpflug";
1079+ name = "David Pflug";
1080+ };
1081+ drets = {
1082+ email = "dmitryrets@gmail.com";
1083+ github = "drets";
1084+ name = "Dmytro Rets";
1085+ };
1086+ drewkett = {
1087+ email = "burkett.andrew@gmail.com";
1088+ name = "Andrew Burkett";
1089+ };
1090+ dsferruzza = {
1091+ email = "david.sferruzza@gmail.com";
1092+ github = "dsferruzza";
1093+ name = "David Sferruzza";
1094+ };
1095+ dtzWill = {
1096+ email = "nix@wdtz.org";
1097+ github = "dtzWill";
1098+ name = "Will Dietz";
1099+ };
1100+ dywedir = {
1101+ email = "dywedir@protonmail.ch";
1102+ github = "dywedir";
1103+ name = "Vladyslav M.";
1104+ };
1105+ dzabraev = {
1106+ email = "dzabraew@gmail.com";
1107+ github = "dzabraev";
1108+ name = "Maksim Dzabraev";
1109+ };
1110+ e-user = {
1111+ email = "nixos@sodosopa.io";
1112+ github = "e-user";
1113+ name = "Alexander Kahl";
1114+ };
1115+ earldouglas = {
1116+ email = "james@earldouglas.com";
1117+ github = "earldouglas";
1118+ name = "James Earl Douglas";
1119+ };
1120+ earvstedt = {
1121+ email = "erik.arvstedt@gmail.com";
1122+ github = "erikarvstedt";
1123+ name = "Erik Arvstedt";
1124+ };
1125+ ebzzry = {
1126+ email = "ebzzry@ebzzry.io";
1127+ github = "ebzzry";
1128+ name = "Rommel Martinez";
1129+ };
1130+ edanaher = {
1131+ email = "nixos@edanaher.net";
1132+ github = "edanaher";
1133+ name = "Evan Danaher";
1134+ };
1135+ edef = {
1136+ email = "edef@edef.eu";
1137+ github = "edef1c";
1138+ name = "edef";
1139+ };
1140+ ederoyd46 = {
1141+ email = "matt@ederoyd.co.uk";
1142+ github = "ederoyd46";
1143+ name = "Matthew Brown";
1144+ };
1145+ eduarrrd = {
1146+ email = "e.bachmakov@gmail.com";
1147+ github = "eduarrrd";
1148+ name = "Eduard Bachmakov";
1149+ };
1150+ edwtjo = {
1151+ email = "ed@cflags.cc";
1152+ github = "edwtjo";
1153+ name = "Edward Tjörnhammar";
1154+ };
1155+ eelco = {
1156+ email = "eelco.dolstra@logicblox.com";
1157+ github = "edolstra";
1158+ name = "Eelco Dolstra";
1159+ };
1160+ ehegnes = {
1161+ email = "eric.hegnes@gmail.com";
1162+ github = "ehegnes";
1163+ name = "Eric Hegnes";
1164+ };
1165+ ehmry = {
1166+ email = "emery@vfemail.net";
1167+ name = "Emery Hemingway";
1168+ };
1169+ eikek = {
1170+ email = "eike.kettner@posteo.de";
1171+ github = "eikek";
1172+ name = "Eike Kettner";
1173+ };
1174+ ekleog = {
1175+ email = "leo@gaspard.io";
1176+ github = "ekleog";
1177+ name = "Leo Gaspard";
1178+ };
1179+ elasticdog = {
1180+ email = "aaron@elasticdog.com";
1181+ github = "elasticdog";
1182+ name = "Aaron Bull Schaefer";
1183+ };
1184+ eleanor = {
1185+ email = "dejan@proteansec.com";
1186+ github = "proteansec";
1187+ name = "Dejan Lukan";
1188+ };
1189+ elijahcaine = {
1190+ email = "elijahcainemv@gmail.com";
1191+ github = "pop";
1192+ name = "Elijah Caine";
1193+ };
1194+ elitak = {
1195+ email = "elitak@gmail.com";
1196+ github = "elitak";
1197+ name = "Eric Litak";
1198+ };
1199+ ellis = {
1200+ email = "nixos@ellisw.net";
1201+ github = "ellis";
1202+ name = "Ellis Whitehead";
1203+ };
1204+ elvishjerricco = {
1205+ email = "elvishjerricco@gmail.com";
1206+ github = "ElvishJerricco";
1207+ name = "Will Fancher";
1208+ };
1209+ endgame = {
1210+ email = "jack@jackkelly.name";
1211+ github = "endgame";
1212+ name = "Jack Kelly";
1213+ };
1214+ enzime = {
1215+ email = "enzime@users.noreply.github.com";
1216+ github = "enzime";
1217+ name = "Michael Hoang";
1218+ };
1219+ eperuffo = {
1220+ email = "info@emanueleperuffo.com";
1221+ github = "emanueleperuffo";
1222+ name = "Emanuele Peruffo";
1223+ };
1224+ epitrochoid = {
1225+ email = "mpcervin@uncg.edu";
1226+ name = "Mabry Cervin";
1227+ };
1228+ eqyiel = {
1229+ email = "r@rkm.id.au";
1230+ github = "eqyiel";
1231+ name = "Ruben Maher";
1232+ };
1233+ ericbmerritt = {
1234+ email = "eric@afiniate.com";
1235+ github = "ericbmerritt";
1236+ name = "Eric Merritt";
1237+ };
1238+ erosennin = {
1239+ email = "ag@sologoc.com";
1240+ github = "erosennin";
1241+ name = "Andrey Golovizin";
1242+ };
1243+ ericsagnes = {
1244+ email = "eric.sagnes@gmail.com";
1245+ github = "ericsagnes";
1246+ name = "Eric Sagnes";
1247+ };
1248+ ericson2314 = {
1249+ email = "John.Ericson@Obsidian.Systems";
1250+ github = "ericson2314";
1251+ name = "John Ericson";
1252+ };
1253+ erictapen = {
1254+ email = "justin.humm@posteo.de";
1255+ github = "erictapen";
1256+ name = "Justin Humm";
1257+ };
1258+ erikryb = {
1259+ email = "erik.rybakken@math.ntnu.no";
1260+ github = "erikryb";
1261+ name = "Erik Rybakken";
1262+ };
1263+ ertes = {
1264+ email = "esz@posteo.de";
1265+ github = "ertes";
1266+ name = "Ertugrul Söylemez";
1267+ };
1268+ ethercrow = {
1269+ email = "ethercrow@gmail.com";
1270+ github = "ethercrow";
1271+ name = "Dmitry Ivanov";
1272+ };
1273+ etu = {
1274+ email = "elis@hirwing.se";
1275+ github = "etu";
1276+ name = "Elis Hirwing";
1277+ };
1278+ exfalso = {
1279+ email = "0slemi0@gmail.com";
1280+ github = "exfalso";
1281+ name = "Andras Slemmer";
1282+ };
1283+ exi = {
1284+ email = "nixos@reckling.org";
1285+ github = "exi";
1286+ name = "Reno Reckling";
1287+ };
1288+ exlevan = {
1289+ email = "exlevan@gmail.com";
1290+ github = "exlevan";
1291+ name = "Alexey Levan";
1292+ };
1293+ expipiplus1 = {
1294+ email = "nix@monoid.al";
1295+ github = "expipiplus1";
1296+ name = "Joe Hermaszewski";
1297+ };
1298+ f-breidenstein = {
1299+ email = "mail@felixbreidenstein.de";
1300+ github = "f-breidenstein";
1301+ name = "Felix Breidenstein";
1302+ };
1303+ fadenb = {
1304+ email = "tristan.helmich+nixos@gmail.com";
1305+ github = "fadenb";
1306+ name = "Tristan Helmich";
1307+ };
1308+ falsifian = {
1309+ email = "james.cook@utoronto.ca";
1310+ github = "falsifian";
1311+ name = "James Cook";
1312+ };
1313+ fare = {
1314+ email = "fahree@gmail.com";
1315+ github = "fare";
1316+ name = "Francois-Rene Rideau";
1317+ };
1318+ fdns = {
1319+ email = "fdns02@gmail.com";
1320+ github = "fdns";
1321+ name = "Felipe Espinoza";
1322+ };
1323+ fgaz = {
1324+ email = "francygazz@gmail.com";
1325+ github = "fgaz";
1326+ name = "Francesco Gazzetta";
1327+ };
1328+ flokli = {
1329+ email = "flokli@flokli.de";
1330+ github = "flokli";
1331+ name = "Florian Klink";
1332+ };
1333+ florianjacob = {
1334+ email = "projects+nixos@florianjacob.de";
1335+ github = "florianjacob";
1336+ name = "Florian Jacob";
1337+ };
1338+ flosse = {
1339+ email = "mail@markus-kohlhase.de";
1340+ github = "flosse";
1341+ name = "Markus Kohlhase";
1342+ };
1343+ fluffynukeit = {
1344+ email = "dan@fluffynukeit.com";
1345+ github = "fluffynukeit";
1346+ name = "Daniel Austin";
1347+ };
1348+ fmthoma = {
1349+ email = "f.m.thoma@googlemail.com";
1350+ github = "fmthoma";
1351+ name = "Franz Thoma";
1352+ };
1353+ forkk = {
1354+ email = "forkk@forkk.net";
1355+ github = "forkk";
1356+ name = "Andrew Okin";
1357+ };
1358+ fornever = {
1359+ email = "friedrich@fornever.me";
1360+ github = "fornever";
1361+ name = "Friedrich von Never";
1362+ };
1363+ fpletz = {
1364+ email = "fpletz@fnordicwalking.de";
1365+ github = "fpletz";
1366+ name = "Franz Pletz";
1367+ };
1368+ fps = {
1369+ email = "mista.tapas@gmx.net";
1370+ github = "fps";
1371+ name = "Florian Paul Schmidt";
1372+ };
1373+ fridh = {
1374+ email = "fridh@fridh.nl";
1375+ github = "fridh";
1376+ name = "Frederik Rietdijk";
1377+ };
1378+ frlan = {
1379+ email = "frank@frank.uvena.de";
1380+ github = "frlan";
1381+ name = "Frank Lanitz";
1382+ };
1383+ fro_ozen = {
1384+ email = "fro_ozen@gmx.de";
1385+ github = "froozen";
1386+ name = "fro_ozen";
1387+ };
1388+ ftrvxmtrx = {
1389+ email = "ftrvxmtrx@gmail.com";
1390+ github = "ftrvxmtrx";
1391+ name = "Siarhei Zirukin";
1392+ };
1393+ funfunctor = {
1394+ email = "eocallaghan@alterapraxis.com";
1395+ name = "Edward O'Callaghan";
1396+ };
1397+ fuuzetsu = {
1398+ email = "fuuzetsu@fuuzetsu.co.uk";
1399+ github = "fuuzetsu";
1400+ name = "Mateusz Kowalczyk";
1401+ };
1402+ fuzzy-id = {
1403+ email = "hacking+nixos@babibo.de";
1404+ name = "Thomas Bach";
1405+ };
1406+ fxfactorial = {
1407+ email = "edgar.factorial@gmail.com";
1408+ github = "fxfactorial";
1409+ name = "Edgar Aroutiounian";
1410+ };
1411+ gabesoft = {
1412+ email = "gabesoft@gmail.com";
1413+ github = "gabesoft";
1414+ name = "Gabriel Adomnicai";
1415+ };
1416+ gal_bolle = {
1417+ email = "florent.becker@ens-lyon.org";
1418+ github = "FlorentBecker";
1419+ name = "Florent Becker";
1420+ };
1421+ garbas = {
1422+ email = "rok@garbas.si";
1423+ github = "garbas";
1424+ name = "Rok Garbas";
1425+ };
1426+ garrison = {
1427+ email = "jim@garrison.cc";
1428+ github = "garrison";
1429+ name = "Jim Garrison";
1430+ };
1431+ gavin = {
1432+ email = "gavin@praxeology.co.uk";
1433+ github = "gavinrogers";
1434+ name = "Gavin Rogers";
1435+ };
1436+ gebner = {
1437+ email = "gebner@gebner.org";
1438+ github = "gebner";
1439+ name = "Gabriel Ebner";
1440+ };
1441+ geistesk = {
1442+ email = "post@0x21.biz";
1443+ github = "geistesk";
1444+ name = "Alvar Penning";
1445+ };
1446+ genesis = {
1447+ email = "ronan@aimao.org";
1448+ github = "bignaux";
1449+ name = "Ronan Bignaux";
1450+ };
1451+ georgewhewell = {
1452+ email = "georgerw@gmail.com";
1453+ github = "georgewhewell";
1454+ name = "George Whewell";
1455+ };
1456+ gilligan = {
1457+ email = "tobias.pflug@gmail.com";
1458+ github = "gilligan";
1459+ name = "Tobias Pflug";
1460+ };
1461+ giogadi = {
1462+ email = "lgtorres42@gmail.com";
1463+ github = "giogadi";
1464+ name = "Luis G. Torres";
1465+ };
1466+ gleber = {
1467+ email = "gleber.p@gmail.com";
1468+ github = "gleber";
1469+ name = "Gleb Peregud";
1470+ };
1471+ glenns = {
1472+ email = "glenn.searby@gmail.com";
1473+ github = "glenns";
1474+ name = "Glenn Searby";
1475+ };
1476+ globin = {
1477+ email = "mail@glob.in";
1478+ github = "globin";
1479+ name = "Robin Gloster";
1480+ };
1481+ gnidorah = {
1482+ email = "yourbestfriend@opmbx.org";
1483+ github = "gnidorah";
1484+ name = "Alex Ivanov";
1485+ };
1486+ goibhniu = {
1487+ email = "cillian.deroiste@gmail.com";
1488+ github = "cillianderoiste";
1489+ name = "Cillian de Róiste";
1490+ };
1491+ goodrone = {
1492+ email = "goodrone@gmail.com";
1493+ github = "goodrone";
1494+ name = "Andrew Trachenko";
1495+ };
1496+ gpyh = {
1497+ email = "yacine.hmito@gmail.com";
1498+ github = "yacinehmito";
1499+ name = "Yacine Hmito";
1500+ };
1501+ grahamc = {
1502+ email = "graham@grahamc.com";
1503+ github = "grahamc";
1504+ name = "Graham Christensen";
1505+ };
1506+ grburst = {
1507+ email = "grburst@openmailbox.org";
1508+ github = "grburst";
1509+ name = "Julius Elias";
1510+ };
1511+ gridaphobe = {
1512+ email = "eric@seidel.io";
1513+ github = "gridaphobe";
1514+ name = "Eric Seidel";
1515+ };
1516+ guibert = {
1517+ email = "david.guibert@gmail.com";
1518+ github = "dguibert";
1519+ name = "David Guibert";
1520+ };
1521+ guibou = {
1522+ email = "guillaum.bouchard@gmail.com";
1523+ github = "guibou";
1524+ name = "Guillaume Bouchard";
1525+ };
1526+ guillaumekoenig = {
1527+ email = "guillaume.edward.koenig@gmail.com";
1528+ github = "guillaumekoenig";
1529+ name = "Guillaume Koenig";
1530+ };
1531+ guyonvarch = {
1532+ email = "joris@guyonvarch.me";
1533+ github = "guyonvarch";
1534+ name = "Joris Guyonvarch";
1535+ };
1536+ hakuch = {
1537+ email = "hakuch@gmail.com";
1538+ github = "hakuch";
1539+ name = "Jesse Haber-Kucharsky";
1540+ };
1541+ hamhut1066 = {
1542+ email = "github@hamhut1066.com";
1543+ github = "hamhut1066";
1544+ name = "Hamish Hutchings";
1545+ };
1546+ havvy = {
1547+ email = "ryan.havvy@gmail.com";
1548+ github = "havvy";
1549+ name = "Ryan Scheel";
1550+ };
1551+ hbunke = {
1552+ email = "bunke.hendrik@gmail.com";
1553+ github = "hbunke";
1554+ name = "Hendrik Bunke";
1555+ };
1556+ hce = {
1557+ email = "hc@hcesperer.org";
1558+ github = "hce";
1559+ name = "Hans-Christian Esperer";
1560+ };
1561+ hectorj = {
1562+ email = "hector.jusforgues+nixos@gmail.com";
1563+ github = "hectorj";
1564+ name = "Hector Jusforgues";
1565+ };
1566+ hedning = {
1567+ email = "torhedinbronner@gmail.com";
1568+ github = "hedning";
1569+ name = "Tor Hedin Brønner";
1570+ };
1571+ heel = {
1572+ email = "parizhskiy@gmail.com";
1573+ github = "heel";
1574+ name = "Sergii Paryzhskyi";
1575+ };
1576+ henrytill = {
1577+ email = "henrytill@gmail.com";
1578+ github = "henrytill";
1579+ name = "Henry Till";
1580+ };
1581+ hhm = {
1582+ email = "heehooman+nixpkgs@gmail.com";
1583+ github = "hhm0";
1584+ name = "hhm";
1585+ };
1586+ hinton = {
1587+ email = "t@larkery.com";
1588+ name = "Tom Hinton";
1589+ };
1590+ hodapp = {
1591+ email = "hodapp87@gmail.com";
1592+ github = "Hodapp87";
1593+ name = "Chris Hodapp";
1594+ };
1595+ hrdinka = {
1596+ email = "c.nix@hrdinka.at";
1597+ github = "hrdinka";
1598+ name = "Christoph Hrdinka";
1599+ };
1600+ hschaeidt = {
1601+ email = "he.schaeidt@gmail.com";
1602+ github = "hschaeidt";
1603+ name = "Hendrik Schaeidt";
1604+ };
1605+ htr = {
1606+ email = "hugo@linux.com";
1607+ github = "htr";
1608+ name = "Hugo Tavares Reis";
1609+ };
1610+ hyphon81 = {
1611+ email = "zero812n@gmail.com";
1612+ github = "hyphon81";
1613+ name = "Masato Yonekawa";
1614+ };
1615+ iand675 = {
1616+ email = "ian@iankduncan.com";
1617+ github = "iand675";
1618+ name = "Ian Duncan";
1619+ };
1620+ ianwookim = {
1621+ email = "ianwookim@gmail.com";
1622+ github = "wavewave";
1623+ name = "Ian-Woo Kim";
1624+ };
1625+ iblech = {
1626+ email = "iblech@speicherleck.de";
1627+ github = "iblech";
1628+ name = "Ingo Blechschmidt";
1629+ };
1630+ idontgetoutmuch = {
1631+ email = "dominic@steinitz.org";
1632+ github = "idontgetoutmuch";
1633+ name = "Dominic Steinitz";
1634+ };
1635+ igsha = {
1636+ email = "igor.sharonov@gmail.com";
1637+ github = "igsha";
1638+ name = "Igor Sharonov";
1639+ };
1640+ ikervagyok = {
1641+ email = "ikervagyok@gmail.com";
1642+ github = "ikervagyok";
1643+ name = "Balázs Lengyel";
1644+ };
1645+ ilya-kolpakov = {
1646+ email = "ilya.kolpakov@gmail.com";
1647+ github = "ilya-kolpakov";
1648+ name = "Ilya Kolpakov";
1649+ };
1650+ infinisil = {
1651+ email = "infinisil@icloud.com";
1652+ github = "infinisil";
1653+ name = "Silvan Mosberger";
1654+ };
1655+ ironpinguin = {
1656+ email = "michele@catalano.de";
1657+ github = "ironpinguin";
1658+ name = "Michele Catalano";
1659+ };
1660+ ivan-tkatchev = {
1661+ email = "tkatchev@gmail.com";
1662+ name = "Ivan Tkatchev";
1663+ };
1664+ ixmatus = {
1665+ email = "parnell@digitalmentat.com";
1666+ github = "ixmatus";
1667+ name = "Parnell Springmeyer";
1668+ };
1669+ ixxie = {
1670+ email = "matan@fluxcraft.net";
1671+ github = "ixxie";
1672+ name = "Matan Bendix Shenhav";
1673+ };
1674+ izorkin = {
1675+ email = "Izorkin@gmail.com";
1676+ github = "izorkin";
1677+ name = "Yurii Izorkin";
1678+ };
1679+ j-keck = {
1680+ email = "jhyphenkeck@gmail.com";
1681+ github = "j-keck";
1682+ name = "Jürgen Keck";
1683+ };
1684+ jagajaga = {
1685+ email = "ars.seroka@gmail.com";
1686+ github = "jagajaga";
1687+ name = "Arseniy Seroka";
1688+ };
1689+ jammerful = {
1690+ email = "jammerful@gmail.com";
1691+ github = "jammerful";
1692+ name = "jammerful";
1693+ };
1694+ jansol = {
1695+ email = "jan.solanti@paivola.fi";
1696+ github = "jansol";
1697+ name = "Jan Solanti";
1698+ };
1699+ javaguirre = {
1700+ email = "contacto@javaguirre.net";
1701+ github = "javaguirre";
1702+ name = "Javier Aguirre";
1703+ };
1704+ jb55 = {
1705+ email = "jb55@jb55.com";
1706+ github = "jb55";
1707+ name = "William Casarin";
1708+ };
1709+ jbedo = {
1710+ email = "cu@cua0.org";
1711+ github = "jbedo";
1712+ name = "Justin Bedő";
1713+ };
1714+ jcumming = {
1715+ email = "jack@mudshark.org";
1716+ name = "Jack Cummings";
1717+ };
1718+ jdagilliland = {
1719+ email = "jdagilliland@gmail.com";
1720+ github = "jdagilliland";
1721+ name = "Jason Gilliland";
1722+ };
1723+ jefdaj = {
1724+ email = "jefdaj@gmail.com";
1725+ github = "jefdaj";
1726+ name = "Jeffrey David Johnson";
1727+ };
1728+ jensbin = {
1729+ email = "jensbin@protonmail.com";
1730+ github = "jensbin";
1731+ name = "Jens Binkert";
1732+ };
1733+ jerith666 = {
1734+ email = "github@matt.mchenryfamily.org";
1735+ github = "jerith666";
1736+ name = "Matt McHenry";
1737+ };
1738+ jfb = {
1739+ email = "james@yamtime.com";
1740+ github = "tftio";
1741+ name = "James Felix Black";
1742+ };
1743+ jfrankenau = {
1744+ email = "johannes@frankenau.net";
1745+ github = "jfrankenau";
1746+ name = "Johannes Frankenau";
1747+ };
1748+ jgeerds = {
1749+ email = "jascha@geerds.org";
1750+ github = "jgeerds";
1751+ name = "Jascha Geerds";
1752+ };
1753+ jgertm = {
1754+ email = "jger.tm@gmail.com";
1755+ github = "jgertm";
1756+ name = "Tim Jaeger";
1757+ };
1758+ jgillich = {
1759+ email = "jakob@gillich.me";
1760+ github = "jgillich";
1761+ name = "Jakob Gillich";
1762+ };
1763+ jhhuh = {
1764+ email = "jhhuh.note@gmail.com";
1765+ github = "jhhuh";
1766+ name = "Ji-Haeng Huh";
1767+ };
1768+ jirkamarsik = {
1769+ email = "jiri.marsik89@gmail.com";
1770+ github = "jirkamarsik";
1771+ name = "Jirka Marsik";
1772+ };
1773+ jlesquembre = {
1774+ email = "jl@lafuente.me";
1775+ github = "jlesquembre";
1776+ name = "José Luis Lafuente";
1777+ };
1778+ jluttine = {
1779+ email = "jaakko.luttinen@iki.fi";
1780+ github = "jluttine";
1781+ name = "Jaakko Luttinen";
1782+ };
1783+ joachifm = {
1784+ email = "joachifm@fastmail.fm";
1785+ github = "joachifm";
1786+ name = "Joachim Fasting";
1787+ };
1788+ joamaki = {
1789+ email = "joamaki@gmail.com";
1790+ github = "joamaki";
1791+ name = "Jussi Maki";
1792+ };
1793+ joelmo = {
1794+ email = "joel.moberg@gmail.com";
1795+ github = "joelmo";
1796+ name = "Joel Moberg";
1797+ };
1798+ joelteon = {
1799+ email = "me@joelt.io";
1800+ name = "Joel Taylor";
1801+ };
1802+ johbo = {
1803+ email = "johannes@bornhold.name";
1804+ github = "johbo";
1805+ name = "Johannes Bornhold";
1806+ };
1807+ johnazoidberg = {
1808+ email = "git@danielschaefer.me";
1809+ github = "johnazoidberg";
1810+ name = "Daniel Schäfer";
1811+ };
1812+ johnchildren = {
1813+ email = "john.a.children@gmail.com";
1814+ github = "johnchildren";
1815+ name = "John Children";
1816+ };
1817+ johnmh = {
1818+ email = "johnmh@openblox.org";
1819+ github = "johnmh";
1820+ name = "John M. Harris, Jr.";
1821+ };
1822+ johnramsden = {
1823+ email = "johnramsden@riseup.net";
1824+ github = "johnramsden";
1825+ name = "John Ramsden";
1826+ };
1827+ joko = {
1828+ email = "ioannis.koutras@gmail.com";
1829+ github = "jokogr";
1830+ name = "Ioannis Koutras";
1831+ };
1832+ jonafato = {
1833+ email = "jon@jonafato.com";
1834+ github = "jonafato";
1835+ name = "Jon Banafato";
1836+ };
1837+ joncojonathan = {
1838+ email = "joncojonathan@gmail.com";
1839+ github = "joncojonathan";
1840+ name = "Jonathan Haddock";
1841+ };
1842+ jpdoyle = {
1843+ email = "joethedoyle@gmail.com";
1844+ github = "jpdoyle";
1845+ name = "Joe Doyle";
1846+ };
1847+ jpierre03 = {
1848+ email = "nix@prunetwork.fr";
1849+ github = "jpierre03";
1850+ name = "Jean-Pierre PRUNARET";
1851+ };
1852+ jpotier = {
1853+ email = "jpo.contributes.to.nixos@marvid.fr";
1854+ github = "jpotier";
1855+ name = "Martin Potier";
1856+ };
1857+ jraygauthier = {
1858+ email = "jraygauthier@gmail.com";
1859+ github = "jraygauthier";
1860+ name = "Raymond Gauthier";
1861+ };
1862+ jtojnar = {
1863+ email = "jtojnar@gmail.com";
1864+ github = "jtojnar";
1865+ name = "Jan Tojnar";
1866+ };
1867+ juliendehos = {
1868+ email = "dehos@lisic.univ-littoral.fr";
1869+ github = "juliendehos";
1870+ name = "Julien Dehos";
1871+ };
1872+ jwiegley = {
1873+ email = "johnw@newartisans.com";
1874+ github = "jwiegley";
1875+ name = "John Wiegley";
1876+ };
1877+ jwilberding = {
1878+ email = "jwilberding@afiniate.com";
1879+ name = "Jordan Wilberding";
1880+ };
1881+ jyp = {
1882+ email = "jeanphilippe.bernardy@gmail.com";
1883+ github = "jyp";
1884+ name = "Jean-Philippe Bernardy";
1885+ };
1886+ jzellner = {
1887+ email = "jeffz@eml.cc";
1888+ github = "sofuture";
1889+ name = "Jeff Zellner";
1890+ };
1891+ kaiha = {
1892+ email = "kai.harries@gmail.com";
1893+ github = "kaiha";
1894+ name = "Kai Harries";
1895+ };
1896+ kamilchm = {
1897+ email = "kamil.chm@gmail.com";
1898+ github = "kamilchm";
1899+ name = "Kamil Chmielewski";
1900+ };
1901+ kampfschlaefer = {
1902+ email = "arnold@arnoldarts.de";
1903+ github = "kampfschlaefer";
1904+ name = "Arnold Krille";
1905+ };
1906+ karolchmist = {
1907+ email = "info+nix@chmist.com";
1908+ name = "karolchmist";
1909+ };
1910+ kazcw = {
1911+ email = "kaz@lambdaverse.org";
1912+ github = "kazcw";
1913+ name = "Kaz Wesley";
1914+ };
1915+ kentjames = {
1916+ email = "jameschristopherkent@gmail.com";
1917+ github = "kentjames";
1918+ name = "James Kent";
1919+ };
1920+ kevincox = {
1921+ email = "kevincox@kevincox.ca";
1922+ github = "kevincox";
1923+ name = "Kevin Cox";
1924+ };
1925+ khumba = {
1926+ email = "bog@khumba.net";
1927+ github = "khumba";
1928+ name = "Bryan Gardiner";
1929+ };
1930+ kierdavis = {
1931+ email = "kierdavis@gmail.com";
1932+ github = "kierdavis";
1933+ name = "Kier Davis";
1934+ };
1935+ kiloreux = {
1936+ email = "kiloreux@gmail.com";
1937+ github = "kiloreux";
1938+ name = "Kiloreux Emperex";
1939+ };
1940+ kini = {
1941+ email = "keshav.kini@gmail.com";
1942+ github = "kini";
1943+ name = "Keshav Kini";
1944+ };
1945+ kkallio = {
1946+ email = "tierpluspluslists@gmail.com";
1947+ name = "Karn Kallio";
1948+ };
1949+ knedlsepp = {
1950+ email = "josef.kemetmueller@gmail.com";
1951+ github = "knedlsepp";
1952+ name = "Josef Kemetmüller";
1953+ };
1954+ konimex = {
1955+ email = "herdiansyah@netc.eu";
1956+ github = "konimex";
1957+ name = "Muhammad Herdiansyah";
1958+ };
1959+ koral = {
1960+ email = "koral@mailoo.org";
1961+ github = "k0ral";
1962+ name = "Koral";
1963+ };
1964+ kovirobi = {
1965+ email = "kovirobi@gmail.com";
1966+ github = "kovirobi";
1967+ name = "Kovacsics Robert";
1968+ };
1969+ kquick = {
1970+ email = "quick@sparq.org";
1971+ github = "kquick";
1972+ name = "Kevin Quick";
1973+ };
1974+ kragniz = {
1975+ email = "louis@kragniz.eu";
1976+ github = "kragniz";
1977+ name = "Louis Taylor";
1978+ };
1979+ krav = {
1980+ email = "kristoffer@microdisko.no";
1981+ github = "krav";
1982+ name = "Kristoffer Thømt Ravneberg";
1983+ };
1984+ kristoff3r = {
1985+ email = "k.soeholm@gmail.com";
1986+ github = "kristoff3r";
1987+ name = "Kristoffer Søholm";
1988+ };
1989+ ktosiek = {
1990+ email = "tomasz.kontusz@gmail.com";
1991+ github = "ktosiek";
1992+ name = "Tomasz Kontusz";
1993+ };
1994+ kuznero = {
1995+ email = "roman@kuznero.com";
1996+ github = "kuznero";
1997+ name = "Roman Kuznetsov";
1998+ };
1999+ lasandell = {
2000+ email = "lasandell@gmail.com";
2001+ github = "lasandell";
2002+ name = "Luke Sandell";
2003+ };
2004+ lassulus = {
2005+ email = "lassulus@gmail.com";
2006+ github = "Lassulus";
2007+ name = "Lassulus";
2008+ };
2009+ layus = {
2010+ email = "layus.on@gmail.com";
2011+ github = "layus";
2012+ name = "Guillaume Maudoux";
2013+ };
2014+ lblasc = {
2015+ email = "lblasc@znode.net";
2016+ github = "lblasc";
2017+ name = "Luka Blaskovic";
2018+ };
2019+ ldesgoui = {
2020+ email = "ldesgoui@gmail.com";
2021+ github = "ldesgoui";
2022+ name = "Lucas Desgouilles";
2023+ };
2024+ league = {
2025+ email = "league@contrapunctus.net";
2026+ github = "league";
2027+ name = "Christopher League";
2028+ };
2029+ lebastr = {
2030+ email = "lebastr@gmail.com";
2031+ github = "lebastr";
2032+ name = "Alexander Lebedev";
2033+ };
2034+ ledif = {
2035+ email = "refuse@gmail.com";
2036+ github = "ledif";
2037+ name = "Adam Fidel";
2038+ };
2039+ leemachin = {
2040+ email = "me@mrl.ee";
2041+ github = "leemachin";
2042+ name = "Lee Machin";
2043+ };
2044+ leenaars = {
2045+ email = "ml.software@leenaa.rs";
2046+ github = "leenaars";
2047+ name = "Michiel Leenaars";
2048+ };
2049+ leo60228 = {
2050+ email = "iakornfeld@gmail.com";
2051+ github = "leo60228";
2052+ name = "leo60228";
2053+ };
2054+ leonardoce = {
2055+ email = "leonardo.cecchi@gmail.com";
2056+ github = "leonardoce";
2057+ name = "Leonardo Cecchi";
2058+ };
2059+ lejonet = {
2060+ email = "daniel@kuehn.se";
2061+ github = "lejonet";
2062+ name = "Daniel Kuehn";
2063+ };
2064+ lethalman = {
2065+ email = "lucabru@src.gnome.org";
2066+ github = "lethalman";
2067+ name = "Luca Bruno";
2068+ };
2069+ lewo = {
2070+ email = "lewo@abesis.fr";
2071+ github = "nlewo";
2072+ name = "Antoine Eiche";
2073+ };
2074+ lheckemann = {
2075+ email = "git@sphalerite.org";
2076+ github = "lheckemann";
2077+ name = "Linus Heckemann";
2078+ };
2079+ lhvwb = {
2080+ email = "nathaniel.baxter@gmail.com";
2081+ github = "nathanielbaxter";
2082+ name = "Nathaniel Baxter";
2083+ };
2084+ lihop = {
2085+ email = "nixos@leroy.geek.nz";
2086+ github = "lihop";
2087+ name = "Leroy Hopson";
2088+ };
2089+ limeytexan = {
2090+ email = "limeytexan@gmail.com";
2091+ github = "limeytexan";
2092+ name = "Michael Brantley";
2093+ };
2094+ linquize = {
2095+ email = "linquize@yahoo.com.hk";
2096+ github = "linquize";
2097+ name = "Linquize";
2098+ };
2099+ linus = {
2100+ email = "linusarver@gmail.com";
2101+ github = "listx";
2102+ name = "Linus Arver";
2103+ };
2104+ lluchs = {
2105+ email = "lukas.werling@gmail.com";
2106+ github = "lluchs";
2107+ name = "Lukas Werling";
2108+ };
2109+ lnl7 = {
2110+ email = "daiderd@gmail.com";
2111+ github = "lnl7";
2112+ name = "Daiderd Jordan";
2113+ };
2114+ lo1tuma = {
2115+ email = "schreck.mathias@gmail.com";
2116+ github = "lo1tuma";
2117+ name = "Mathias Schreck";
2118+ };
2119+ lopsided98 = {
2120+ email = "benwolsieffer@gmail.com";
2121+ github = "lopsided98";
2122+ name = "Ben Wolsieffer";
2123+ };
2124+ loskutov = {
2125+ email = "ignat.loskutov@gmail.com";
2126+ github = "loskutov";
2127+ name = "Ignat Loskutov";
2128+ };
2129+ lovek323 = {
2130+ email = "jason@oconal.id.au";
2131+ github = "lovek323";
2132+ name = "Jason O'Conal";
2133+ };
2134+ lowfatcomputing = {
2135+ email = "andreas.wagner@lowfatcomputing.org";
2136+ github = "lowfatcomputing";
2137+ name = "Andreas Wagner";
2138+ };
2139+ lschuermann = {
2140+ email = "leon.git@is.currently.online";
2141+ github = "lschuermann";
2142+ name = "Leon Schuermann";
2143+ };
2144+ lsix = {
2145+ email = "lsix@lancelotsix.com";
2146+ github = "lsix";
2147+ name = "Lancelot SIX";
2148+ };
2149+ ltavard = {
2150+ email = "laure.tavard@univ-grenoble-alpes.fr";
2151+ github = "ltavard";
2152+ name = "Laure Tavard";
2153+ };
2154+ lucas8 = {
2155+ email = "luc.linux@mailoo.org";
2156+ github = "lucas8";
2157+ name = "Luc Chabassier";
2158+ };
2159+ ludo = {
2160+ email = "ludo@gnu.org";
2161+ github = "civodul";
2162+ name = "Ludovic Courtès";
2163+ };
2164+ lufia = {
2165+ email = "lufia@lufia.org";
2166+ github = "lufia";
2167+ name = "Kyohei Kadota";
2168+ };
2169+ luispedro = {
2170+ email = "luis@luispedro.org";
2171+ github = "luispedro";
2172+ name = "Luis Pedro Coelho";
2173+ };
2174+ lukego = {
2175+ email = "luke@snabb.co";
2176+ github = "lukego";
2177+ name = "Luke Gorrie";
2178+ };
2179+ luz = {
2180+ email = "luz666@daum.net";
2181+ github = "Luz";
2182+ name = "Luz";
2183+ };
2184+ lw = {
2185+ email = "lw@fmap.me";
2186+ github = "lolwat97";
2187+ name = "Sergey Sofeychuk";
2188+ };
2189+ lyt = {
2190+ email = "wheatdoge@gmail.com";
2191+ name = "Tim Liou";
2192+ };
2193+ m3tti = {
2194+ email = "mathaeus.peter.sander@gmail.com";
2195+ name = "Mathaeus Sander";
2196+ };
2197+ ma27 = {
2198+ email = "maximilian@mbosch.me";
2199+ github = "ma27";
2200+ name = "Maximilian Bosch";
2201+ };
2202+ madjar = {
2203+ email = "georges.dubus@compiletoi.net";
2204+ github = "madjar";
2205+ name = "Georges Dubus";
2206+ };
2207+ magnetophon = {
2208+ email = "bart@magnetophon.nl";
2209+ github = "magnetophon";
2210+ name = "Bart Brouns";
2211+ };
2212+ mahe = {
2213+ email = "matthias.mh.herrmann@gmail.com";
2214+ github = "2chilled";
2215+ name = "Matthias Herrmann";
2216+ };
2217+ makefu = {
2218+ email = "makefu@syntax-fehler.de";
2219+ github = "makefu";
2220+ name = "Felix Richter";
2221+ };
2222+ malyn = {
2223+ email = "malyn@strangeGizmo.com";
2224+ github = "malyn";
2225+ name = "Michael Alyn Miller";
2226+ };
2227+ manveru = {
2228+ email = "m.fellinger@gmail.com";
2229+ github = "manveru";
2230+ name = "Michael Fellinger";
2231+ };
2232+ marcweber = {
2233+ email = "marco-oweber@gmx.de";
2234+ github = "marcweber";
2235+ name = "Marc Weber";
2236+ };
2237+ markWot = {
2238+ email = "markus@wotringer.de";
2239+ name = "Markus Wotringer";
2240+ };
2241+ markus1189 = {
2242+ email = "markus1189@gmail.com";
2243+ github = "markus1189";
2244+ name = "Markus Hauck";
2245+ };
2246+ markuskowa = {
2247+ email = "markus.kowalewski@gmail.com";
2248+ github = "markuskowa";
2249+ name = "Markus Kowalewski";
2250+ };
2251+ marsam = {
2252+ email = "marsam@users.noreply.github.com";
2253+ github = "marsam";
2254+ name = "Mario Rodas";
2255+ };
2256+ martijnvermaat = {
2257+ email = "martijn@vermaat.name";
2258+ github = "martijnvermaat";
2259+ name = "Martijn Vermaat";
2260+ };
2261+ martingms = {
2262+ email = "martin@mg.am";
2263+ github = "martingms";
2264+ name = "Martin Gammelsæter";
2265+ };
2266+ matejc = {
2267+ email = "cotman.matej@gmail.com";
2268+ github = "matejc";
2269+ name = "Matej Cotman";
2270+ };
2271+ mathnerd314 = {
2272+ email = "mathnerd314.gph+hs@gmail.com";
2273+ github = "mathnerd314";
2274+ name = "Mathnerd314";
2275+ };
2276+ matthewbauer = {
2277+ email = "mjbauer95@gmail.com";
2278+ github = "matthewbauer";
2279+ name = "Matthew Bauer";
2280+ };
2281+ matthiasbeyer = {
2282+ email = "mail@beyermatthias.de";
2283+ github = "matthiasbeyer";
2284+ name = "Matthias Beyer";
2285+ };
2286+ maurer = {
2287+ email = "matthew.r.maurer+nix@gmail.com";
2288+ github = "maurer";
2289+ name = "Matthew Maurer";
2290+ };
2291+ mbakke = {
2292+ email = "mbakke@fastmail.com";
2293+ github = "mbakke";
2294+ name = "Marius Bakke";
2295+ };
2296+ mbbx6spp = {
2297+ email = "me@susanpotter.net";
2298+ github = "mbbx6spp";
2299+ name = "Susan Potter";
2300+ };
2301+ mbe = {
2302+ email = "brandonedens@gmail.com";
2303+ github = "brandonedens";
2304+ name = "Brandon Edens";
2305+ };
2306+ mbode = {
2307+ email = "maxbode@gmail.com";
2308+ github = "mbode";
2309+ name = "Maximilian Bode";
2310+ };
2311+ mboes = {
2312+ email = "mboes@tweag.net";
2313+ github = "mboes";
2314+ name = "Mathieu Boespflug";
2315+ };
2316+ mbrgm = {
2317+ email = "marius@yeai.de";
2318+ github = "mbrgm";
2319+ name = "Marius Bergmann";
2320+ };
2321+ mcmtroffaes = {
2322+ email = "matthias.troffaes@gmail.com";
2323+ github = "mcmtroffaes";
2324+ name = "Matthias C. M. Troffaes";
2325+ };
2326+ mdaiter = {
2327+ email = "mdaiter8121@gmail.com";
2328+ github = "mdaiter";
2329+ name = "Matthew S. Daiter";
2330+ };
2331+ meditans = {
2332+ email = "meditans@gmail.com";
2333+ github = "meditans";
2334+ name = "Carlo Nucera";
2335+ };
2336+ mehandes = {
2337+ email = "niewskici@gmail.com";
2338+ github = "mehandes";
2339+ name = "Matt Deming";
2340+ };
2341+ meisternu = {
2342+ email = "meister@krutt.org";
2343+ github = "meisternu";
2344+ name = "Matt Miemiec";
2345+ };
2346+ metabar = {
2347+ email = "softs@metabarcoding.org";
2348+ name = "Celine Mercier";
2349+ };
2350+ mgdelacroix = {
2351+ email = "mgdelacroix@gmail.com";
2352+ github = "mgdelacroix";
2353+ name = "Miguel de la Cruz";
2354+ };
2355+ mgttlinger = {
2356+ email = "megoettlinger@gmail.com";
2357+ github = "mgttlinger";
2358+ name = "Merlin Göttlinger";
2359+ };
2360+ mguentner = {
2361+ email = "code@klandest.in";
2362+ github = "mguentner";
2363+ name = "Maximilian Güntner";
2364+ };
2365+ mic92 = {
2366+ email = "joerg@thalheim.io";
2367+ github = "mic92";
2368+ name = "Jörg Thalheim";
2369+ };
2370+ michaelpj = {
2371+ email = "michaelpj@gmail.com";
2372+ github = "michaelpj";
2373+ name = "Michael Peyton Jones";
2374+ };
2375+ michalrus = {
2376+ email = "m@michalrus.com";
2377+ github = "michalrus";
2378+ name = "Michal Rus";
2379+ };
2380+ michelk = {
2381+ email = "michel@kuhlmanns.info";
2382+ github = "michelk";
2383+ name = "Michel Kuhlmann";
2384+ };
2385+ mickours = {
2386+ email = "mickours@gmail.com<";
2387+ github = "mickours";
2388+ name = "Michael Mercier";
2389+ };
2390+ midchildan = {
2391+ email = "midchildan+nix@gmail.com";
2392+ github = "midchildan";
2393+ name = "midchildan";
2394+ };
2395+ mikefaille = {
2396+ email = "michael@faille.io";
2397+ github = "mikefaille";
2398+ name = "Michaël Faille";
2399+ };
2400+ mikoim = {
2401+ email = "ek@esh.ink";
2402+ github = "mikoim";
2403+ name = "Eshin Kunishima";
2404+ };
2405+ miltador = {
2406+ email = "miltador@yandex.ua";
2407+ name = "Vasiliy Solovey";
2408+ };
2409+ mimadrid = {
2410+ email = "mimadrid@ucm.es";
2411+ github = "mimadrid";
2412+ name = "Miguel Madrid";
2413+ };
2414+ mirdhyn = {
2415+ email = "mirdhyn@gmail.com";
2416+ github = "mirdhyn";
2417+ name = "Merlin Gaillard";
2418+ };
2419+ mirrexagon = {
2420+ email = "mirrexagon@mirrexagon.com";
2421+ github = "mirrexagon";
2422+ name = "Andrew Abbott";
2423+ };
2424+ mjanczyk = {
2425+ email = "m@dragonvr.pl";
2426+ github = "mjanczyk";
2427+ name = "Marcin Janczyk";
2428+ };
2429+ mjp = {
2430+ email = "mike@mythik.co.uk";
2431+ github = "MikePlayle";
2432+ name = "Mike Playle";
2433+ };
2434+ mkg = {
2435+ email = "mkg@vt.edu";
2436+ github = "mkgvt";
2437+ name = "Mark K Gardner";
2438+ };
2439+ mlieberman85 = {
2440+ email = "mlieberman85@gmail.com";
2441+ github = "mlieberman85";
2442+ name = "Michael Lieberman";
2443+ };
2444+ mmahut = {
2445+ email = "marek.mahut@gmail.com";
2446+ github = "mmahut";
2447+ name = "Marek Mahut";
2448+ };
2449+ moaxcp = {
2450+ email = "moaxcp@gmail.com";
2451+ github = "moaxcp";
2452+ name = "John Mercier";
2453+ };
2454+ modulistic = {
2455+ email = "modulistic@gmail.com";
2456+ github = "modulistic";
2457+ name = "Pablo Costa";
2458+ };
2459+ mog = {
2460+ email = "mog-lists@rldn.net";
2461+ github = "mogorman";
2462+ name = "Matthew O'Gorman";
2463+ };
2464+ montag451 = {
2465+ email = "montag451@laposte.net";
2466+ github = "montag451";
2467+ name = "montag451";
2468+ };
2469+ moosingin3space = {
2470+ email = "moosingin3space@gmail.com";
2471+ github = "moosingin3space";
2472+ name = "Nathan Moos";
2473+ };
2474+ moredread = {
2475+ email = "code@apb.name";
2476+ github = "moredread";
2477+ name = "André-Patrick Bubel";
2478+ };
2479+ moretea = {
2480+ email = "maarten@moretea.nl";
2481+ github = "moretea";
2482+ name = "Maarten Hoogendoorn";
2483+ };
2484+ mounium = {
2485+ email = "muoniurn@gmail.com";
2486+ github = "mounium";
2487+ name = "Katona László";
2488+ };
2489+ mpcsh = {
2490+ email = "m@mpc.sh";
2491+ github = "mpcsh";
2492+ name = "Mark Cohen";
2493+ };
2494+ mpickering = {
2495+ email = "matthewtpickering@gmail.com";
2496+ github = "mpickering";
2497+ name = "Matthew Pickering";
2498+ };
2499+ mpscholten = {
2500+ email = "marc@mpscholten.de";
2501+ github = "mpscholten";
2502+ name = "Marc Scholten";
2503+ };
2504+ mpsyco = {
2505+ email = "fr.st-amour@gmail.com";
2506+ github = "fstamour";
2507+ name = "Francis St-Amour";
2508+ };
2509+ mrVanDalo = {
2510+ email = "contact@ingolf-wagner.de";
2511+ github = "mrVanDalo";
2512+ name = "Ingolf Wanger";
2513+ };
2514+ msackman = {
2515+ email = "matthew@wellquite.org";
2516+ name = "Matthew Sackman";
2517+ };
2518+ mschristiansen = {
2519+ email = "mikkel@rheosystems.com";
2520+ github = "mschristiansen";
2521+ name = "Mikkel Christiansen";
2522+ };
2523+ msiedlarek = {
2524+ email = "mikolaj@siedlarek.pl";
2525+ github = "msiedlarek";
2526+ name = "Mikołaj Siedlarek";
2527+ };
2528+ mstarzyk = {
2529+ email = "mstarzyk@gmail.com";
2530+ github = "mstarzyk";
2531+ name = "Maciek Starzyk";
2532+ };
2533+ msteen = {
2534+ email = "emailmatthijs@gmail.com";
2535+ github = "msteen";
2536+ name = "Matthijs Steen";
2537+ };
2538+ mt-caret = {
2539+ email = "mtakeda.enigsol@gmail.com";
2540+ github = "mt-caret";
2541+ name = "Masayuki Takeda";
2542+ };
2543+ MtP = {
2544+ email = "marko.nixos@poikonen.de";
2545+ github = "MtP76";
2546+ name = "Marko Poikonen";
2547+ };
2548+ mtreskin = {
2549+ email = "zerthurd@gmail.com";
2550+ github = "Zert";
2551+ name = "Max Treskin";
2552+ };
2553+ mudri = {
2554+ email = "lamudri@gmail.com";
2555+ github = "laMudri";
2556+ name = "James Wood";
2557+ };
2558+ muflax = {
2559+ email = "mail@muflax.com";
2560+ github = "muflax";
2561+ name = "Stefan Dorn";
2562+ };
2563+ myrl = {
2564+ email = "myrl.0xf@gmail.com";
2565+ github = "myrl";
2566+ name = "Myrl Hex";
2567+ };
2568+ nadrieril = {
2569+ email = "nadrieril@gmail.com";
2570+ github = "nadrieril";
2571+ name = "Nadrieril Feneanar";
2572+ };
2573+ namore = {
2574+ email = "namor@hemio.de";
2575+ github = "namore";
2576+ name = "Roman Naumann";
2577+ };
2578+ nand0p = {
2579+ email = "nando@hex7.com";
2580+ github = "nand0p";
2581+ name = "Fernando Jose Pando";
2582+ };
2583+ nathan-gs = {
2584+ email = "nathan@nathan.gs";
2585+ github = "nathan-gs";
2586+ name = "Nathan Bijnens";
2587+ };
2588+ nckx = {
2589+ email = "github@tobias.gr";
2590+ github = "nckx";
2591+ name = "Tobias Geerinckx-Rice";
2592+ };
2593+ ndowens = {
2594+ email = "ndowens04@gmail.com";
2595+ github = "ndowens";
2596+ name = "Nathan Owens";
2597+ };
2598+ neeasade = {
2599+ email = "nathanisom27@gmail.com";
2600+ github = "neeasade";
2601+ name = "Nathan Isom";
2602+ };
2603+ nequissimus = {
2604+ email = "tim@nequissimus.com";
2605+ github = "nequissimus";
2606+ name = "Tim Steinbach";
2607+ };
2608+ nfjinjing = {
2609+ email = "nfjinjing@gmail.com";
2610+ github = "nfjinjing";
2611+ name = "Jinjing Wang";
2612+ };
2613+ nh2 = {
2614+ email = "mail@nh2.me";
2615+ github = "nh2";
2616+ name = "Niklas Hambüchen";
2617+ };
2618+ nhooyr = {
2619+ email = "anmol@aubble.com";
2620+ github = "nhooyr";
2621+ name = "Anmol Sethi";
2622+ };
2623+ nickhu = {
2624+ email = "me@nickhu.co.uk";
2625+ github = "nickhu";
2626+ name = "Nick Hu";
2627+ };
2628+ nicknovitski = {
2629+ email = "nixpkgs@nicknovitski.com";
2630+ github = "nicknovitski";
2631+ name = "Nick Novitski";
2632+ };
2633+ nico202 = {
2634+ email = "anothersms@gmail.com";
2635+ github = "nico202";
2636+ name = "Nicolò Balzarotti";
2637+ };
2638+ ninjatrappeur = {
2639+ email = "felix@alternativebit.fr";
2640+ github = "ninjatrappeur";
2641+ name = "Félix Baylac-Jacqué";
2642+ };
2643+ nioncode = {
2644+ email = "nioncode+github@gmail.com";
2645+ github = "nioncode";
2646+ name = "Nicolas Schneider";
2647+ };
2648+ nipav = {
2649+ email = "niko.pavlinek@gmail.com";
2650+ github = "nipav";
2651+ name = "Niko Pavlinek";
2652+ };
2653+ nixy = {
2654+ email = "nixy@nixy.moe";
2655+ github = "nixy";
2656+ name = "Andrew R. M.";
2657+ };
2658+ nmattia = {
2659+ email = "nicolas@nmattia.com";
2660+ github = "nmattia";
2661+ name = "Nicolas Mattia";
2662+ };
2663+ nocoolnametom = {
2664+ email = "nocoolnametom@gmail.com";
2665+ github = "nocoolnametom";
2666+ name = "Tom Doggett";
2667+ };
2668+ notthemessiah = {
2669+ email = "brian.cohen.88@gmail.com";
2670+ github = "notthemessiah";
2671+ name = "Brian Cohen";
2672+ };
2673+ np = {
2674+ email = "np.nix@nicolaspouillard.fr";
2675+ github = "np";
2676+ name = "Nicolas Pouillard";
2677+ };
2678+ nslqqq = {
2679+ email = "nslqqq@gmail.com";
2680+ name = "Nikita Mikhailov";
2681+ };
2682+ nthorne = {
2683+ email = "notrupertthorne@gmail.com";
2684+ github = "nthorne";
2685+ name = "Niklas Thörne";
2686+ };
2687+ nyanloutre = {
2688+ email = "paul@nyanlout.re";
2689+ github = "nyanloutre";
2690+ name = "Paul Trehiou";
2691+ };
2692+ nyarly = {
2693+ email = "nyarly@gmail.com";
2694+ github = "nyarly";
2695+ name = "Judson Lester";
2696+ };
2697+ obadz = {
2698+ email = "obadz-nixos@obadz.com";
2699+ github = "obadz";
2700+ name = "obadz";
2701+ };
2702+ ocharles = {
2703+ email = "ollie@ocharles.org.uk";
2704+ github = "ocharles";
2705+ name = "Oliver Charles";
2706+ };
2707+ odi = {
2708+ email = "oliver.dunkl@gmail.com";
2709+ github = "odi";
2710+ name = "Oliver Dunkl";
2711+ };
2712+ offline = {
2713+ email = "jakahudoklin@gmail.com";
2714+ github = "offlinehacker";
2715+ name = "Jaka Hudoklin";
2716+ };
2717+ oida = {
2718+ email = "oida@posteo.de";
2719+ github = "oida";
2720+ name = "oida";
2721+ };
2722+ okasu = {
2723+ email = "oka.sux@gmail.com";
2724+ name = "Okasu";
2725+ };
2726+ olcai = {
2727+ email = "dev@timan.info";
2728+ github = "olcai";
2729+ name = "Erik Timan";
2730+ };
2731+ olejorgenb = {
2732+ email = "olejorgenb@yahoo.no";
2733+ github = "olejorgenb";
2734+ name = "Ole Jørgen Brønner";
2735+ };
2736+ olynch = {
2737+ email = "owen@olynch.me";
2738+ github = "olynch";
2739+ name = "Owen Lynch";
2740+ };
2741+ orbekk = {
2742+ email = "kjetil.orbekk@gmail.com";
2743+ github = "orbekk";
2744+ name = "KJ Ørbekk";
2745+ };
2746+ orbitz = {
2747+ email = "mmatalka@gmail.com";
2748+ github = "orbitz";
2749+ name = "Malcolm Matalka";
2750+ };
2751+ orivej = {
2752+ email = "orivej@gmx.fr";
2753+ github = "orivej";
2754+ name = "Orivej Desh";
2755+ };
2756+ osener = {
2757+ email = "ozan@ozansener.com";
2758+ github = "osener";
2759+ name = "Ozan Sener";
2760+ };
2761+ otwieracz = {
2762+ email = "slawek@otwiera.cz";
2763+ github = "otwieracz";
2764+ name = "Slawomir Gonet";
2765+ };
2766+ oxij = {
2767+ email = "oxij@oxij.org";
2768+ github = "oxij";
2769+ name = "Jan Malakhovski";
2770+ };
2771+ pSub = {
2772+ email = "mail@pascal-wittmann.de";
2773+ github = "pSub";
2774+ name = "Pascal Wittmann";
2775+ };
2776+ paholg = {
2777+ email = "paho@paholg.com";
2778+ github = "paholg";
2779+ name = "Paho Lurie-Gregg";
2780+ };
2781+ pakhfn = {
2782+ email = "pakhfn@gmail.com";
2783+ github = "pakhfn";
2784+ name = "Fedor Pakhomov";
2785+ };
2786+ panaeon = {
2787+ email = "vitalii.voloshyn@gmail.com";
2788+ github = "panaeon";
2789+ name = "Vitalii Voloshyn";
2790+ };
2791+ paperdigits = {
2792+ email = "mica@silentumbrella.com";
2793+ github = "paperdigits";
2794+ name = "Mica Semrick";
2795+ };
2796+ paraseba = {
2797+ email = "paraseba@gmail.com";
2798+ github = "paraseba";
2799+ name = "Sebastian Galkin";
2800+ };
2801+ pashev = {
2802+ email = "pashev.igor@gmail.com";
2803+ github = "ip1981";
2804+ name = "Igor Pashev";
2805+ };
2806+ patternspandemic = {
2807+ email = "patternspandemic@live.com";
2808+ github = "patternspandemic";
2809+ name = "Brad Christensen";
2810+ };
2811+ pawelpacana = {
2812+ email = "pawel.pacana@gmail.com";
2813+ github = "pawelpacana";
2814+ name = "Paweł Pacana";
2815+ };
2816+ pbogdan = {
2817+ email = "ppbogdan@gmail.com";
2818+ github = "pbogdan";
2819+ name = "Piotr Bogdan";
2820+ };
2821+ pcarrier = {
2822+ email = "pc@rrier.ca";
2823+ github = "pcarrier";
2824+ name = "Pierre Carrier";
2825+ };
2826+ periklis = {
2827+ email = "theopompos@gmail.com";
2828+ github = "periklis";
2829+ name = "Periklis Tsirakidis";
2830+ };
2831+ pesterhazy = {
2832+ email = "pesterhazy@gmail.com";
2833+ github = "pesterhazy";
2834+ name = "Paulus Esterhazy";
2835+ };
2836+ peterhoeg = {
2837+ email = "peter@hoeg.com";
2838+ github = "peterhoeg";
2839+ name = "Peter Hoeg";
2840+ };
2841+ peterromfeldhk = {
2842+ email = "peter.romfeld.hk@gmail.com";
2843+ github = "peterromfeldhk";
2844+ name = "Peter Romfeld";
2845+ };
2846+ peti = {
2847+ email = "simons@cryp.to";
2848+ github = "peti";
2849+ name = "Peter Simons";
2850+ };
2851+ philandstuff = {
2852+ email = "philip.g.potter@gmail.com";
2853+ github = "philandstuff";
2854+ name = "Philip Potter";
2855+ };
2856+ phile314 = {
2857+ email = "nix@314.ch";
2858+ github = "phile314";
2859+ name = "Philipp Hausmann";
2860+ };
2861+ phreedom = {
2862+ email = "phreedom@yandex.ru";
2863+ github = "phreedom";
2864+ name = "Evgeny Egorochkin";
2865+ };
2866+ phunehehe = {
2867+ email = "phunehehe@gmail.com";
2868+ github = "phunehehe";
2869+ name = "Hoang Xuan Phu";
2870+ };
2871+ pierrechevalier83 = {
2872+ email = "pierrechevalier83@gmail.com";
2873+ github = "pierrechevalier83";
2874+ name = "Pierre Chevalier";
2875+ };
2876+ pierrer = {
2877+ email = "pierrer@pi3r.be";
2878+ github = "pierrer";
2879+ name = "Pierre Radermecker";
2880+ };
2881+ pierron = {
2882+ email = "nixos@nbp.name";
2883+ github = "nbp";
2884+ name = "Nicolas B. Pierron";
2885+ };
2886+ piotr = {
2887+ email = "ppietrasa@gmail.com";
2888+ name = "Piotr Pietraszkiewicz";
2889+ };
2890+ pjbarnoy = {
2891+ email = "pjbarnoy@gmail.com";
2892+ github = "pjbarnoy";
2893+ name = "Perry Barnoy";
2894+ };
2895+ pjones = {
2896+ email = "pjones@devalot.com";
2897+ github = "pjones";
2898+ name = "Peter Jones";
2899+ };
2900+ pkmx = {
2901+ email = "pkmx.tw@gmail.com";
2902+ github = "pkmx";
2903+ name = "Chih-Mao Chen";
2904+ };
2905+ plcplc = {
2906+ email = "plcplc@gmail.com";
2907+ github = "plcplc";
2908+ name = "Philip Lykke Carlsen";
2909+ };
2910+ plumps = {
2911+ email = "maks.bronsky@web.de";
2912+ github = "plumps";
2913+ name = "Maksim Bronsky";
2914+ };
2915+ pmahoney = {
2916+ email = "pat@polycrystal.org";
2917+ github = "pmahoney";
2918+ name = "Patrick Mahoney";
2919+ };
2920+ pmeunier = {
2921+ email = "pierre-etienne.meunier@inria.fr";
2922+ github = "P-E-Meunier";
2923+ name = "Pierre-Étienne Meunier";
2924+ };
2925+ pmiddend = {
2926+ email = "pmidden@secure.mailbox.org";
2927+ github = "pmiddend";
2928+ name = "Philipp Middendorf";
2929+ };
2930+ pneumaticat = {
2931+ email = "kevin@potatofrom.space";
2932+ github = "pneumaticat";
2933+ name = "Kevin Liu";
2934+ };
2935+ polyrod = {
2936+ email = "dc1mdp@gmail.com";
2937+ github = "polyrod";
2938+ name = "Maurizio Di Pietro";
2939+ };
2940+ pradeepchhetri = {
2941+ email = "pradeep.chhetri89@gmail.com";
2942+ github = "pradeepchhetri";
2943+ name = "Pradeep Chhetri";
2944+ };
2945+ prikhi = {
2946+ email = "pavan.rikhi@gmail.com";
2947+ github = "prikhi";
2948+ name = "Pavan Rikhi";
2949+ };
2950+ primeos = {
2951+ email = "dev.primeos@gmail.com";
2952+ github = "primeos";
2953+ name = "Michael Weiss";
2954+ };
2955+ proglodyte = {
2956+ email = "proglodyte23@gmail.com";
2957+ github = "proglodyte";
2958+ name = "Proglodyte";
2959+ };
2960+ pshendry = {
2961+ email = "paul@pshendry.com";
2962+ github = "pshendry";
2963+ name = "Paul Hendry";
2964+ };
2965+ psibi = {
2966+ email = "sibi@psibi.in";
2967+ github = "psibi";
2968+ name = "Sibi";
2969+ };
2970+ pstn = {
2971+ email = "philipp@xndr.de";
2972+ name = "Philipp Steinpaß";
2973+ };
2974+ puffnfresh = {
2975+ email = "brian@brianmckenna.org";
2976+ github = "puffnfresh";
2977+ name = "Brian McKenna";
2978+ };
2979+ pxc = {
2980+ email = "patrick.callahan@latitudeengineering.com";
2981+ name = "Patrick Callahan";
2982+ };
2983+ qknight = {
2984+ email = "js@lastlog.de";
2985+ github = "qknight";
2986+ name = "Joachim Schiele";
2987+ };
2988+ ragge = {
2989+ email = "r.dahlen@gmail.com";
2990+ github = "ragnard";
2991+ name = "Ragnar Dahlen";
2992+ };
2993+ ralith = {
2994+ email = "ben.e.saunders@gmail.com";
2995+ github = "ralith";
2996+ name = "Benjamin Saunders";
2997+ };
2998+ ramkromberg = {
2999+ email = "ramkromberg@mail.com";
3000+ github = "ramkromberg";
3001+ name = "Ram Kromberg";
3002+ };
3003+ rardiol = {
3004+ email = "ricardo.ardissone@gmail.com";
3005+ github = "rardiol";
3006+ name = "Ricardo Ardissone";
3007+ };
3008+ rasendubi = {
3009+ email = "rasen.dubi@gmail.com";
3010+ github = "rasendubi";
3011+ name = "Alexey Shmalko";
3012+ };
3013+ raskin = {
3014+ email = "7c6f434c@mail.ru";
3015+ github = "7c6f434c";
3016+ name = "Michael Raskin";
3017+ };
3018+ ravloony = {
3019+ email = "ravloony@gmail.com";
3020+ name = "Tom Macdonald";
3021+ };
3022+ razvan = {
3023+ email = "razvan.panda@gmail.com";
3024+ github = "razvan-panda";
3025+ name = "Răzvan Flavius Panda";
3026+ };
3027+ rbasso = {
3028+ email = "rbasso@sharpgeeks.net";
3029+ github = "rbasso";
3030+ name = "Rafael Basso";
3031+ };
3032+ rdnetto = {
3033+ email = "rdnetto@gmail.com";
3034+ github = "rdnetto";
3035+ name = "Reuben D'Netto";
3036+ };
3037+ redbaron = {
3038+ email = "ivanov.maxim@gmail.com";
3039+ github = "redbaron";
3040+ name = "Maxim Ivanov";
3041+ };
3042+ redfish64 = {
3043+ email = "engler@gmail.com";
3044+ github = "redfish64";
3045+ name = "Tim Engler";
3046+ };
3047+ redvers = {
3048+ email = "red@infect.me";
3049+ github = "redvers";
3050+ name = "Redvers Davies";
3051+ };
3052+ refnil = {
3053+ email = "broemartino@gmail.com";
3054+ github = "refnil";
3055+ name = "Martin Lavoie";
3056+ };
3057+ regnat = {
3058+ email = "regnat@regnat.ovh";
3059+ github = "regnat";
3060+ name = "Théophane Hufschmitt";
3061+ };
3062+ relrod = {
3063+ email = "ricky@elrod.me";
3064+ github = "relrod";
3065+ name = "Ricky Elrod";
3066+ };
3067+ renzo = {
3068+ email = "renzocarbonara@gmail.com";
3069+ github = "k0001";
3070+ name = "Renzo Carbonara";
3071+ };
3072+ retrry = {
3073+ email = "retrry@gmail.com";
3074+ github = "retrry";
3075+ name = "Tadas Barzdžius";
3076+ };
3077+ rht = {
3078+ email = "rhtbot@protonmail.com";
3079+ github = "rht";
3080+ name = "rht";
3081+ };
3082+ richardipsum = {
3083+ email = "richardipsum@fastmail.co.uk";
3084+ github = "richardipsum";
3085+ name = "Richard Ipsum";
3086+ };
3087+ rick68 = {
3088+ email = "rick68@gmail.com";
3089+ github = "rick68";
3090+ name = "Wei-Ming Yang";
3091+ };
3092+ rickynils = {
3093+ email = "rickynils@gmail.com";
3094+ github = "rickynils";
3095+ name = "Rickard Nilsson";
3096+ };
3097+ ris = {
3098+ email = "code@humanleg.org.uk";
3099+ github = "risicle";
3100+ name = "Robert Scott";
3101+ };
3102+ rittelle = {
3103+ email = "rittelle@posteo.de";
3104+ github = "rittelle";
3105+ name = "Lennart Rittel";
3106+ };
3107+ rlupton20 = {
3108+ email = "richard.lupton@gmail.com";
3109+ github = "rlupton20";
3110+ name = "Richard Lupton";
3111+ };
3112+ rnhmjoj = {
3113+ email = "micheleguerinirocco@me.com";
3114+ github = "rnhmjoj";
3115+ name = "Michele Guerini Rocco";
3116+ };
3117+ rob = {
3118+ email = "rob.vermaas@gmail.com";
3119+ github = "rbvermaa";
3120+ name = "Rob Vermaas";
3121+ };
3122+ robberer = {
3123+ email = "robberer@freakmail.de";
3124+ github = "robberer";
3125+ name = "Longrin Wischnewski";
3126+ };
3127+ robbinch = {
3128+ email = "robbinch33@gmail.com";
3129+ github = "robbinch";
3130+ name = "Robbin C.";
3131+ };
3132+ roberth = {
3133+ email = "nixpkgs@roberthensing.nl";
3134+ github = "roberth";
3135+ name = "Robert Hensing";
3136+ };
3137+ robertodr = {
3138+ email = "roberto.diremigio@gmail.com";
3139+ github = "robertodr";
3140+ name = "Roberto Di Remigio";
3141+ };
3142+ robgssp = {
3143+ email = "robgssp@gmail.com";
3144+ github = "robgssp";
3145+ name = "Rob Glossop";
3146+ };
3147+ roblabla = {
3148+ email = "robinlambertz+dev@gmail.com";
3149+ github = "roblabla";
3150+ name = "Robin Lambertz";
3151+ };
3152+ roconnor = {
3153+ email = "roconnor@theorem.ca";
3154+ github = "roconnor";
3155+ name = "Russell O'Connor";
3156+ };
3157+ romildo = {
3158+ email = "malaquias@gmail.com";
3159+ github = "romildo";
3160+ name = "José Romildo Malaquias";
3161+ };
3162+ rongcuid = {
3163+ email = "rongcuid@outlook.com";
3164+ github = "rongcuid";
3165+ name = "Rongcui Dong";
3166+ };
3167+ rprospero = {
3168+ email = "rprospero+nix@gmail.com";
3169+ github = "rprospero";
3170+ name = "Adam Washington";
3171+ };
3172+ rszibele = {
3173+ email = "richard@szibele.com";
3174+ github = "rszibele";
3175+ name = "Richard Szibele";
3176+ };
3177+ rtreffer = {
3178+ email = "treffer+nixos@measite.de";
3179+ github = "rtreffer";
3180+ name = "Rene Treffer";
3181+ };
3182+ rushmorem = {
3183+ email = "rushmore@webenchanter.com";
3184+ github = "rushmorem";
3185+ name = "Rushmore Mushambi";
3186+ };
3187+ rvl = {
3188+ email = "dev+nix@rodney.id.au";
3189+ github = "rvl";
3190+ name = "Rodney Lorrimar";
3191+ };
3192+ rvlander = {
3193+ email = "rvlander@gaetanandre.eu";
3194+ github = "rvlander";
3195+ name = "Gaëtan André";
3196+ };
3197+ rvolosatovs = {
3198+ email = "rvolosatovs@riseup.net";
3199+ github = "rvolosatovs";
3200+ name = "Roman Volosatovs";
3201+ };
3202+ ryanartecona = {
3203+ email = "ryanartecona@gmail.com";
3204+ github = "ryanartecona";
3205+ name = "Ryan Artecona";
3206+ };
3207+ ryansydnor = {
3208+ email = "ryan.t.sydnor@gmail.com";
3209+ github = "ryansydnor";
3210+ name = "Ryan Sydnor";
3211+ };
3212+ ryantm = {
3213+ email = "ryan@ryantm.com";
3214+ github = "ryantm";
3215+ name = "Ryan Mulligan";
3216+ };
3217+ ryantrinkle = {
3218+ email = "ryan.trinkle@gmail.com";
3219+ github = "ryantrinkle";
3220+ name = "Ryan Trinkle";
3221+ };
3222+ rybern = {
3223+ email = "ryan.bernstein@columbia.edu";
3224+ github = "rybern";
3225+ name = "Ryan Bernstein";
3226+ };
3227+ rycee = {
3228+ email = "robert@rycee.net";
3229+ github = "rycee";
3230+ name = "Robert Helgesson";
3231+ };
3232+ ryneeverett = {
3233+ email = "ryneeverett@gmail.com";
3234+ github = "ryneeverett";
3235+ name = "Ryne Everett";
3236+ };
3237+ rzetterberg = {
3238+ email = "richard.zetterberg@gmail.com";
3239+ github = "rzetterberg";
3240+ name = "Richard Zetterberg";
3241+ };
3242+ s1lvester = {
3243+ email = "s1lvester@bockhacker.me";
3244+ github = "s1lvester";
3245+ name = "Markus Silvester";
3246+ };
3247+ samdroid-apps = {
3248+ email = "sam@sam.today";
3249+ github = "samdroid-apps";
3250+ name = "Sam Parkinson";
3251+ };
3252+ samueldr = {
3253+ email = "samuel@dionne-riel.com";
3254+ github = "samueldr";
3255+ name = "Samuel Dionne-Riel";
3256+ };
3257+ samuelrivas = {
3258+ email = "samuelrivas@gmail.com";
3259+ github = "samuelrivas";
3260+ name = "Samuel Rivas";
3261+ };
3262+ sander = {
3263+ email = "s.vanderburg@tudelft.nl";
3264+ github = "svanderburg";
3265+ name = "Sander van der Burg";
3266+ };
3267+ sargon = {
3268+ email = "danielehlers@mindeye.net";
3269+ github = "sargon";
3270+ name = "Daniel Ehlers";
3271+ };
3272+ sauyon = {
3273+ email = "s@uyon.co";
3274+ github = "sauyon";
3275+ name = "Sauyon Lee";
3276+ };
3277+ schmitthenner = {
3278+ email = "development@schmitthenner.eu";
3279+ github = "fkz";
3280+ name = "Fabian Schmitthenner";
3281+ };
3282+ schneefux = {
3283+ email = "schneefux+nixos_pkg@schneefux.xyz";
3284+ github = "schneefux";
3285+ name = "schneefux";
3286+ };
3287+ schristo = {
3288+ email = "schristopher@konputa.com";
3289+ name = "Scott Christopher";
3290+ };
3291+ scode = {
3292+ email = "peter.schuller@infidyne.com";
3293+ github = "scode";
3294+ name = "Peter Schuller";
3295+ };
3296+ scolobb = {
3297+ email = "sivanov@colimite.fr";
3298+ github = "scolobb";
3299+ name = "Sergiu Ivanov";
3300+ };
3301+ sdll = {
3302+ email = "sasha.delly@gmail.com";
3303+ github = "sdll";
3304+ name = "Sasha Illarionov";
3305+ };
3306+ sellout = {
3307+ email = "greg@technomadic.org";
3308+ github = "sellout";
3309+ name = "Greg Pfeil";
3310+ };
3311+ sengaya = {
3312+ email = "tlo@sengaya.de";
3313+ github = "sengaya";
3314+ name = "Thilo Uttendorfer";
3315+ };
3316+ sephalon = {
3317+ email = "me@sephalon.net";
3318+ github = "sephalon";
3319+ name = "Stefan Wiehler";
3320+ };
3321+ sepi = {
3322+ email = "raffael@mancini.lu";
3323+ github = "sepi";
3324+ name = "Raffael Mancini";
3325+ };
3326+ seppeljordan = {
3327+ email = "sebastian.jordan.mail@googlemail.com";
3328+ github = "seppeljordan";
3329+ name = "Sebastian Jordan";
3330+ };
3331+ sfrijters = {
3332+ email = "sfrijters@gmail.com";
3333+ github = "sfrijters";
3334+ name = "Stefan Frijters";
3335+ };
3336+ shanemikel = {
3337+ email = "shanemikel1@gmail.com";
3338+ github = "shanemikel";
3339+ name = "Shane Pearlman";
3340+ };
3341+ shawndellysse = {
3342+ email = "sdellysse@gmail.com";
3343+ github = "shawndellysse";
3344+ name = "Shawn Dellysse";
3345+ };
3346+ sheenobu = {
3347+ email = "sheena.artrip@gmail.com";
3348+ github = "sheenobu";
3349+ name = "Sheena Artrip";
3350+ };
3351+ sheganinans = {
3352+ email = "sheganinans@gmail.com";
3353+ github = "sheganinans";
3354+ name = "Aistis Raulinaitis";
3355+ };
3356+ shell = {
3357+ email = "cam.turn@gmail.com";
3358+ github = "VShell";
3359+ name = "Shell Turner";
3360+ };
3361+ shlevy = {
3362+ email = "shea@shealevy.com";
3363+ github = "shlevy";
3364+ name = "Shea Levy";
3365+ };
3366+ siddharthist = {
3367+ email = "langston.barrett@gmail.com";
3368+ github = "siddharthist";
3369+ name = "Langston Barrett";
3370+ };
3371+ sifmelcara = {
3372+ email = "ming@culpring.com";
3373+ github = "sifmelcara";
3374+ name = "Ming Chuan";
3375+ };
3376+ sigma = {
3377+ email = "yann.hodique@gmail.com";
3378+ github = "sigma";
3379+ name = "Yann Hodique";
3380+ };
3381+ simonvandel = {
3382+ email = "simon.vandel@gmail.com";
3383+ github = "simonvandel";
3384+ name = "Simon Vandel Sillesen";
3385+ };
3386+ sivteck = {
3387+ email = "sivaram1992@gmail.com";
3388+ github = "sivteck";
3389+ name = "Sivaram Balakrishnan";
3390+ };
3391+ sjagoe = {
3392+ email = "simon@simonjagoe.com";
3393+ github = "sjagoe";
3394+ name = "Simon Jagoe";
3395+ };
3396+ sjmackenzie = {
3397+ email = "setori88@gmail.com";
3398+ github = "sjmackenzie";
3399+ name = "Stewart Mackenzie";
3400+ };
3401+ sjourdois = {
3402+ email = "sjourdois@gmail.com";
3403+ name = "Stéphane ‘kwisatz’ Jourdois";
3404+ };
3405+ skeidel = {
3406+ email = "svenkeidel@gmail.com";
3407+ github = "svenkeidel";
3408+ name = "Sven Keidel";
3409+ };
3410+ skrzyp = {
3411+ email = "jot.skrzyp@gmail.com";
3412+ name = "Jakub Skrzypnik";
3413+ };
3414+ sleexyz = {
3415+ email = "freshdried@gmail.com";
3416+ github = "sleexyz";
3417+ name = "Sean Lee";
3418+ };
3419+ smironov = {
3420+ email = "grrwlf@gmail.com";
3421+ github = "grwlf";
3422+ name = "Sergey Mironov";
3423+ };
3424+ sna = {
3425+ email = "abouzahra.9@wright.edu";
3426+ github = "s-na";
3427+ name = "S. Nordin Abouzahra";
3428+ };
3429+ snyh = {
3430+ email = "snyh@snyh.org";
3431+ github = "snyh";
3432+ name = "Xia Bin";
3433+ };
3434+ solson = {
3435+ email = "scott@solson.me";
3436+ github = "solson";
3437+ name = "Scott Olson";
3438+ };
3439+ sorki = {
3440+ email = "srk@48.io";
3441+ github = "sorki";
3442+ name = "Richard Marko";
3443+ };
3444+ sorpaas = {
3445+ email = "hi@that.world";
3446+ github = "sorpaas";
3447+ name = "Wei Tang";
3448+ };
3449+ spacefrogg = {
3450+ email = "spacefrogg-nixos@meterriblecrew.net";
3451+ github = "spacefrogg";
3452+ name = "Michael Raitza";
3453+ };
3454+ spencerjanssen = {
3455+ email = "spencerjanssen@gmail.com";
3456+ github = "spencerjanssen";
3457+ name = "Spencer Janssen";
3458+ };
3459+ spinus = {
3460+ email = "tomasz.czyz@gmail.com";
3461+ github = "spinus";
3462+ name = "Tomasz Czyż";
3463+ };
3464+ sprock = {
3465+ email = "rmason@mun.ca";
3466+ github = "sprock";
3467+ name = "Roger Mason";
3468+ };
3469+ spwhitt = {
3470+ email = "sw@swhitt.me";
3471+ github = "spwhitt";
3472+ name = "Spencer Whitt";
3473+ };
3474+ srghma = {
3475+ email = "srghma@gmail.com";
3476+ github = "srghma";
3477+ name = "Sergei Khoma";
3478+ };
3479+ srhb = {
3480+ email = "sbrofeldt@gmail.com";
3481+ github = "srhb";
3482+ name = "Sarah Brofeldt";
3483+ };
3484+ stephenmw = {
3485+ email = "stephen@q5comm.com";
3486+ github = "stephenmw";
3487+ name = "Stephen Weinberg";
3488+ };
3489+ sternenseemann = {
3490+ email = "post@lukasepple.de";
3491+ github = "sternenseemann";
3492+ name = "Lukas Epple";
3493+ };
3494+ stesie = {
3495+ email = "stesie@brokenpipe.de";
3496+ github = "stesie";
3497+ name = "Stefan Siegl";
3498+ };
3499+ steveej = {
3500+ email = "mail@stefanjunker.de";
3501+ github = "steveej";
3502+ name = "Stefan Junker";
3503+ };
3504+ stumoss = {
3505+ email = "samoss@gmail.com";
3506+ github = "stumoss";
3507+ name = "Stuart Moss";
3508+ };
3509+ suvash = {
3510+ email = "suvash+nixpkgs@gmail.com";
3511+ github = "suvash";
3512+ name = "Suvash Thapaliya";
3513+ };
3514+ sveitser = {
3515+ email = "sveitser@gmail.com";
3516+ github = "sveitser";
3517+ name = "Mathis Antony";
3518+ };
3519+ svsdep = {
3520+ email = "svsdep@gmail.com";
3521+ github = "svsdep";
3522+ name = "Vasyl Solovei";
3523+ };
3524+ swarren83 = {
3525+ email = "shawn.w.warren@gmail.com";
3526+ github = "swarren83";
3527+ name = "Shawn Warren";
3528+ };
3529+ swflint = {
3530+ email = "swflint@flintfam.org";
3531+ github = "swflint";
3532+ name = "Samuel W. Flint";
3533+ };
3534+ swistak35 = {
3535+ email = "me@swistak35.com";
3536+ github = "swistak35";
3537+ name = "Rafał Łasocha";
3538+ };
3539+ symphorien = {
3540+ email = "symphorien_nixpkgs@xlumurb.eu";
3541+ github = "symphorien";
3542+ name = "Guillaume Girol";
3543+ };
3544+ synthetica = {
3545+ email = "nix@hilhorst.be";
3546+ github = "Synthetica9";
3547+ name = "Patrick Hilhorst";
3548+ };
3549+ szczyp = {
3550+ email = "qb@szczyp.com";
3551+ github = "szczyp";
3552+ name = "Szczyp";
3553+ };
3554+ sztupi = {
3555+ email = "attila.sztupak@gmail.com";
3556+ github = "sztupi";
3557+ name = "Attila Sztupak";
3558+ };
3559+ tadfisher = {
3560+ email = "tadfisher@gmail.com";
3561+ github = "tadfisher";
3562+ name = "Tad Fisher";
3563+ };
3564+ taeer = {
3565+ email = "taeer@necsi.edu";
3566+ github = "Radvendii";
3567+ name = "Taeer Bar-Yam";
3568+ };
3569+ tailhook = {
3570+ email = "paul@colomiets.name";
3571+ github = "tailhook";
3572+ name = "Paul Colomiets";
3573+ };
3574+ taketwo = {
3575+ email = "alexandrov88@gmail.com";
3576+ github = "taketwo";
3577+ name = "Sergey Alexandrov";
3578+ };
3579+ takikawa = {
3580+ email = "asumu@igalia.com";
3581+ github = "takikawa";
3582+ name = "Asumu Takikawa";
3583+ };
3584+ taktoa = {
3585+ email = "taktoa@gmail.com";
3586+ github = "taktoa";
3587+ name = "Remy Goldschmidt";
3588+ };
3589+ taku0 = {
3590+ email = "mxxouy6x3m_github@tatapa.org";
3591+ github = "taku0";
3592+ name = "Takuo Yonezawa";
3593+ };
3594+ tari = {
3595+ email = "peter@taricorp.net";
3596+ github = "tari";
3597+ name = "Peter Marheine";
3598+ };
3599+ tavyc = {
3600+ email = "octavian.cerna@gmail.com";
3601+ github = "tavyc";
3602+ name = "Octavian Cerna";
3603+ };
3604+ tazjin = {
3605+ email = "mail@tazj.in";
3606+ github = "tazjin";
3607+ name = "Vincent Ambo";
3608+ };
3609+ teh = {
3610+ email = "tehunger@gmail.com";
3611+ github = "teh";
3612+ name = "Tom Hunger";
3613+ };
3614+ telotortium = {
3615+ email = "rirelan@gmail.com";
3616+ github = "telotortium";
3617+ name = "Robert Irelan";
3618+ };
3619+ teozkr = {
3620+ email = "teo@nullable.se";
3621+ github = "teozkr";
3622+ name = "Teo Klestrup Röijezon";
3623+ };
3624+ teto = {
3625+ email = "mcoudron@hotmail.com";
3626+ github = "teto";
3627+ name = "Matthieu Coudron";
3628+ };
3629+ tex = {
3630+ email = "milan.svoboda@centrum.cz";
3631+ github = "tex";
3632+ name = "Milan Svoboda";
3633+ };
3634+ thall = {
3635+ email = "niclas.thall@gmail.com";
3636+ github = "thall";
3637+ name = "Niclas Thall";
3638+ };
3639+ thammers = {
3640+ email = "jawr@gmx.de";
3641+ github = "tobias-hammerschmidt";
3642+ name = "Tobias Hammerschmidt";
3643+ };
3644+ thanegill = {
3645+ email = "me@thanegill.com";
3646+ github = "thanegill";
3647+ name = "Thane Gill";
3648+ };
3649+ the-kenny = {
3650+ email = "moritz@tarn-vedra.de";
3651+ github = "the-kenny";
3652+ name = "Moritz Ulrich";
3653+ };
3654+ theuni = {
3655+ email = "ct@flyingcircus.io";
3656+ github = "ctheune";
3657+ name = "Christian Theune";
3658+ };
3659+ thoughtpolice = {
3660+ email = "aseipp@pobox.com";
3661+ github = "thoughtpolice";
3662+ name = "Austin Seipp";
3663+ };
3664+ thpham = {
3665+ email = "thomas.pham@ithings.ch";
3666+ github = "thpham";
3667+ name = "Thomas Pham";
3668+ };
3669+ tilpner = {
3670+ email = "till@hoeppner.ws";
3671+ github = "tilpner";
3672+ name = "Till Höppner";
3673+ };
3674+ timbertson = {
3675+ email = "tim@gfxmonk.net";
3676+ github = "timbertson";
3677+ name = "Tim Cuthbertson";
3678+ };
3679+ timokau = {
3680+ email = "timokau@zoho.com";
3681+ github = "timokau";
3682+ name = "Timo Kaufmann";
3683+ };
3684+ timor = {
3685+ email = "timor.dd@googlemail.com";
3686+ github = "timor";
3687+ name = "timor";
3688+ };
3689+ tiramiseb = {
3690+ email = "sebastien@maccagnoni.eu";
3691+ github = "tiramiseb";
3692+ name = "Sébastien Maccagnoni";
3693+ };
3694+ titanous = {
3695+ email = "jonathan@titanous.com";
3696+ github = "titanous";
3697+ name = "Jonathan Rudenberg";
3698+ };
3699+ tnias = {
3700+ email = "phil@grmr.de";
3701+ github = "tnias";
3702+ name = "Philipp Bartsch";
3703+ };
3704+ tobim = {
3705+ email = "nix@tobim.fastmail.fm";
3706+ github = "tobimpub";
3707+ name = "Tobias Mayer";
3708+ };
3709+ tohl = {
3710+ email = "tom@logand.com";
3711+ github = "tohl";
3712+ name = "Tomas Hlavaty";
3713+ };
3714+ tokudan = {
3715+ email = "git@danielfrank.net";
3716+ github = "tokudan";
3717+ name = "Daniel Frank";
3718+ };
3719+ tomberek = {
3720+ email = "tomberek@gmail.com";
3721+ github = "tomberek";
3722+ name = "Thomas Bereknyei";
3723+ };
3724+ tomsmeets = {
3725+ email = "tom@tsmeets.nl";
3726+ github = "tomsmeets";
3727+ name = "Tom Smeets";
3728+ };
3729+ travisbhartwell = {
3730+ email = "nafai@travishartwell.net";
3731+ github = "travisbhartwell";
3732+ name = "Travis B. Hartwell";
3733+ };
3734+ treemo = {
3735+ email = "matthieu.chevrier@treemo.fr";
3736+ github = "treemo";
3737+ name = "Matthieu Chevrier";
3738+ };
3739+ trevorj = {
3740+ email = "nix@trevor.joynson.io";
3741+ github = "akatrevorjay";
3742+ name = "Trevor Joynson";
3743+ };
3744+ trino = {
3745+ email = "muehlhans.hubert@ekodia.de";
3746+ github = "hmuehlhans";
3747+ name = "Hubert Mühlhans";
3748+ };
3749+ troydm = {
3750+ email = "d.geurkov@gmail.com";
3751+ github = "troydm";
3752+ name = "Dmitry Geurkov";
3753+ };
3754+ tstrobel = {
3755+ email = "4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains";
3756+ name = "Thomas Strobel";
3757+ };
3758+ ttuegel = {
3759+ email = "ttuegel@mailbox.org";
3760+ github = "ttuegel";
3761+ name = "Thomas Tuegel";
3762+ };
3763+ tv = {
3764+ email = "tv@shackspace.de";
3765+ github = "4z3";
3766+ name = "Tomislav Viljetić";
3767+ };
3768+ tvestelind = {
3769+ email = "tomas.vestelind@fripost.org";
3770+ github = "tvestelind";
3771+ name = "Tomas Vestelind";
3772+ };
3773+ tvorog = {
3774+ email = "marszaripov@gmail.com";
3775+ github = "tvorog";
3776+ name = "Marsel Zaripov";
3777+ };
3778+ tweber = {
3779+ email = "tw+nixpkgs@360vier.de";
3780+ github = "thorstenweber83";
3781+ name = "Thorsten Weber";
3782+ };
3783+ twey = {
3784+ email = "twey@twey.co.uk";
3785+ github = "twey";
3786+ name = "James ‘Twey’ Kay";
3787+ };
3788+ typetetris = {
3789+ email = "ericwolf42@mail.com";
3790+ github = "typetetris";
3791+ name = "Eric Wolf";
3792+ };
3793+ unode = {
3794+ email = "alves.rjc@gmail.com";
3795+ github = "unode";
3796+ name = "Renato Alves";
3797+ };
3798+ uralbash = {
3799+ email = "root@uralbash.ru";
3800+ github = "uralbash";
3801+ name = "Svintsov Dmitry";
3802+ };
3803+ utdemir = {
3804+ email = "me@utdemir.com";
3805+ github = "utdemir";
3806+ name = "Utku Demir";
3807+ };
3808+ uvnikita = {
3809+ email = "uv.nikita@gmail.com";
3810+ github = "uvNikita";
3811+ name = "Nikita Uvarov";
3812+ };
3813+ uwap = {
3814+ email = "me@uwap.name";
3815+ github = "uwap";
3816+ name = "uwap";
3817+ };
3818+ va1entin = {
3819+ email = "github@valentinsblog.com";
3820+ github = "va1entin";
3821+ name = "Valentin Heidelberger";
3822+ };
3823+ vaibhavsagar = {
3824+ email = "vaibhavsagar@gmail.com";
3825+ github = "vaibhavsagar";
3826+ name = "Vaibhav Sagar";
3827+ };
3828+ valeriangalliat = {
3829+ email = "val@codejam.info";
3830+ github = "valeriangalliat";
3831+ name = "Valérian Galliat";
3832+ };
3833+ vandenoever = {
3834+ email = "jos@vandenoever.info";
3835+ github = "vandenoever";
3836+ name = "Jos van den Oever";
3837+ };
3838+ vanschelven = {
3839+ email = "klaas@vanschelven.com";
3840+ github = "vanschelven";
3841+ name = "Klaas van Schelven";
3842+ };
3843+ vanzef = {
3844+ email = "vanzef@gmail.com";
3845+ github = "vanzef";
3846+ name = "Ivan Solyankin";
3847+ };
3848+ varunpatro = {
3849+ email = "varun.kumar.patro@gmail.com";
3850+ github = "varunpatro";
3851+ name = "Varun Patro";
3852+ };
3853+ vbgl = {
3854+ email = "Vincent.Laporte@gmail.com";
3855+ github = "vbgl";
3856+ name = "Vincent Laporte";
3857+ };
3858+ vbmithr = {
3859+ email = "vb@luminar.eu.org";
3860+ github = "vbmithr";
3861+ name = "Vincent Bernardoff";
3862+ };
3863+ vcunat = {
3864+ email = "vcunat@gmail.com";
3865+ github = "vcunat";
3866+ name = "Vladimír Čunát";
3867+ };
3868+ vdemeester = {
3869+ email = "vincent@sbr.pm";
3870+ github = "vdemeester";
3871+ name = "Vincent Demeester";
3872+ };
3873+ velovix = {
3874+ email = "xaviosx@gmail.com";
3875+ github = "velovix";
3876+ name = "Tyler Compton";
3877+ };
3878+ veprbl = {
3879+ email = "veprbl@gmail.com";
3880+ github = "veprbl";
3881+ name = "Dmitry Kalinkin";
3882+ };
3883+ vidbina = {
3884+ email = "vid@bina.me";
3885+ github = "vidbina";
3886+ name = "David Asabina";
3887+ };
3888+ vifino = {
3889+ email = "vifino@tty.sh";
3890+ github = "vifino";
3891+ name = "Adrian Pistol";
3892+ };
3893+ vinymeuh = {
3894+ email = "vinymeuh@gmail.com";
3895+ github = "vinymeuh";
3896+ name = "VinyMeuh";
3897+ };
3898+ viric = {
3899+ email = "viric@viric.name";
3900+ github = "viric";
3901+ name = "Lluís Batlle i Rossell";
3902+ };
3903+ vizanto = {
3904+ email = "danny@prime.vc";
3905+ github = "vizanto";
3906+ name = "Danny Wilson";
3907+ };
3908+ vklquevs = {
3909+ email = "vklquevs@gmail.com";
3910+ github = "vklquevs";
3911+ name = "vklquevs";
3912+ };
3913+ vlstill = {
3914+ email = "xstill@fi.muni.cz";
3915+ github = "vlstill";
3916+ name = "Vladimír Štill";
3917+ };
3918+ vmandela = {
3919+ email = "venkat.mandela@gmail.com";
3920+ github = "vmandela";
3921+ name = "Venkateswara Rao Mandela";
3922+ };
3923+ vmchale = {
3924+ email = "tmchale@wisc.edu";
3925+ github = "vmchale";
3926+ name = "Vanessa McHale";
3927+ };
3928+ volhovm = {
3929+ email = "volhovm.cs@gmail.com";
3930+ github = "volhovm";
3931+ name = "Mikhail Volkhov";
3932+ };
3933+ volth = {
3934+ email = "jaroslavas@volth.com";
3935+ github = "volth";
3936+ name = "Jaroslavas Pocepko";
3937+ };
3938+ vozz = {
3939+ email = "oliver.huntuk@gmail.com";
3940+ name = "Oliver Hunt";
3941+ };
3942+ vrthra = {
3943+ email = "rahul@gopinath.org";
3944+ github = "vrthra";
3945+ name = "Rahul Gopinath";
3946+ };
3947+ vyp = {
3948+ email = "elisp.vim@gmail.com";
3949+ github = "vyp";
3950+ name = "vyp";
3951+ };
3952+ wedens = {
3953+ email = "kirill.wedens@gmail.com";
3954+ name = "wedens";
3955+ };
3956+ willibutz = {
3957+ email = "willibutz@posteo.de";
3958+ github = "willibutz";
3959+ name = "Willi Butz";
3960+ };
3961+ willtim = {
3962+ email = "tim.williams.public@gmail.com";
3963+ name = "Tim Philip Williams";
3964+ };
3965+ winden = {
3966+ email = "windenntw@gmail.com";
3967+ name = "Antonio Vargas Gonzalez";
3968+ };
3969+ wizeman = {
3970+ email = "rcorreia@wizy.org";
3971+ github = "wizeman";
3972+ name = "Ricardo M. Correia";
3973+ };
3974+ wjlroe = {
3975+ email = "willroe@gmail.com";
3976+ github = "wjlroe";
3977+ name = "William Roe";
3978+ };
3979+ wkennington = {
3980+ email = "william@wkennington.com";
3981+ github = "wkennington";
3982+ name = "William A. Kennington III";
3983+ };
3984+ wmertens = {
3985+ email = "Wout.Mertens@gmail.com";
3986+ github = "wmertens";
3987+ name = "Wout Mertens";
3988+ };
3989+ woffs = {
3990+ email = "github@woffs.de";
3991+ github = "woffs";
3992+ name = "Frank Doepper";
3993+ };
3994+ womfoo = {
3995+ email = "kranium@gikos.net";
3996+ github = "womfoo";
3997+ name = "Kranium Gikos Mendoza";
3998+ };
3999+ wscott = {
4000+ email = "wsc9tt@gmail.com";
4001+ github = "wscott";
4002+ name = "Wayne Scott";
4003+ };
4004+ wyvie = {
4005+ email = "elijahrum@gmail.com";
4006+ github = "wyvie";
4007+ name = "Elijah Rum";
4008+ };
4009+ xaverdh = {
4010+ email = "hoe.dom@gmx.de";
4011+ github = "xaverdh";
4012+ name = "Dominik Xaver Hörl";
4013+ };
4014+ xeji = {
4015+ email = "xeji@cat3.de";
4016+ github = "xeji";
4017+ name = "xeji";
4018+ };
4019+ xnaveira = {
4020+ email = "xnaveira@gmail.com";
4021+ github = "xnaveira";
4022+ name = "Xavier Naveira";
4023+ };
4024+ xnwdd = {
4025+ email = "nwdd+nixos@no.team";
4026+ github = "xnwdd";
4027+ name = "Guillermo NWDD";
4028+ };
4029+ xurei = {
4030+ email = "olivier.bourdoux@gmail.com";
4031+ github = "xurei";
4032+ name = "Olivier Bourdoux";
4033+ };
4034+ xvapx = {
4035+ email = "marti.serra.coscollano@gmail.com";
4036+ github = "xvapx";
4037+ name = "Marti Serra";
4038+ };
4039+ xwvvvvwx = {
4040+ email = "davidterry@posteo.de";
4041+ github = "xwvvvvwx";
4042+ name = "David Terry";
4043+ };
4044+ xzfc = {
4045+ email = "xzfcpw@gmail.com";
4046+ github = "xzfc";
4047+ name = "Albert Safin";
4048+ };
4049+ y0no = {
4050+ email = "y0no@y0no.fr";
4051+ github = "y0no";
4052+ name = "Yoann Ono";
4053+ };
4054+ yarr = {
4055+ email = "savraz@gmail.com";
4056+ github = "Eternity-Yarr";
4057+ name = "Dmitry V.";
4058+ };
4059+ yegortimoshenko = {
4060+ email = "yegortimoshenko@gmail.com";
4061+ github = "yegortimoshenko";
4062+ name = "Yegor Timoshenko";
4063+ };
4064+ yesbox = {
4065+ email = "jesper.geertsen.jonsson@gmail.com";
4066+ github = "yesbox";
4067+ name = "Jesper Geertsen Jonsson";
4068+ };
4069+ ylwghst = {
4070+ email = "ylwghst@onionmail.info";
4071+ github = "ylwghst";
4072+ name = "Burim Augustin Berisa";
4073+ };
4074+ yochai = {
4075+ email = "yochai@titat.info";
4076+ github = "yochai";
4077+ name = "Yochai";
4078+ };
4079+ yorickvp = {
4080+ email = "yorickvanpelt@gmail.com";
4081+ github = "yorickvp";
4082+ name = "Yorick van Pelt";
4083+ };
4084+ yrashk = {
4085+ email = "yrashk@gmail.com";
4086+ github = "yrashk";
4087+ name = "Yurii Rashkovskii";
4088+ };
4089+ ysndr = {
4090+ email = "me@ysndr.de";
4091+ github = "ysndr";
4092+ name = "Yannik Sander";
4093+ };
4094+ yuriaisaka = {
4095+ email = "yuri.aisaka+nix@gmail.com";
4096+ github = "yuriaisaka";
4097+ name = "Yuri Aisaka";
4098+ };
4099+ yurrriq = {
4100+ email = "eric@ericb.me";
4101+ github = "yurrriq";
4102+ name = "Eric Bailey";
4103+ };
4104+ z77z = {
4105+ email = "maggesi@math.unifi.it";
4106+ github = "maggesi";
4107+ name = "Marco Maggesi";
4108+ };
4109+ zagy = {
4110+ email = "cz@flyingcircus.io";
4111+ github = "zagy";
4112+ name = "Christian Zagrodnick";
4113+ };
4114+ zalakain = {
4115+ email = "contact@unaizalakain.info";
4116+ github = "umazalakain";
4117+ name = "Unai Zalakain";
4118+ };
4119+ zarelit = {
4120+ email = "david@zarel.net";
4121+ github = "zarelit";
4122+ name = "David Costa";
4123+ };
4124+ zauberpony = {
4125+ email = "elmar@athmer.org";
4126+ github = "zauberpony";
4127+ name = "Elmar Athmer";
4128+ };
4129+ zef = {
4130+ email = "zef@zef.me";
4131+ name = "Zef Hemel";
4132+ };
4133+ zimbatm = {
4134+ email = "zimbatm@zimbatm.com";
4135+ github = "zimbatm";
4136+ name = "zimbatm";
4137+ };
4138+ zohl = {
4139+ email = "zohl@fmap.me";
4140+ github = "zohl";
4141+ name = "Al Zohali";
4142+ };
4143+ zoomulator = {
4144+ email = "zoomulator@gmail.com";
4145+ github = "zoomulator";
4146+ name = "Kim Simmons";
4147+ };
4148+ zraexy = {
4149+ email = "zraexy@gmail.com";
4150+ github = "zraexy";
4151+ name = "David Mell";
4152+ };
4153+ zx2c4 = {
4154+ email = "Jason@zx2c4.com";
4155+ github = "zx2c4";
4156+ name = "Jason A. Donenfeld";
4157+ };
4158+ zzamboni = {
4159+ email = "diego@zzamboni.org";
4160+ github = "zzamboni";
4161+ name = "Diego Zamboni";
4162+ };
4163+}
maintainers/scripts/check-maintainer-github-handles.shnew file+66
@@ -0,0 +1,66 @@
1+#!/usr/bin/env nix-shell
2+#!nix-shell -i bash -p jq parallel
3+
4+# Example how to work with the `lib.maintainers` attrset.
5+# Can be used to check whether all user handles are still valid.
6+
7+set -e
8+
9+# nixpkgs='<nixpkgs>'
10+# if [ -n "$1" ]; then
11+
12+function checkCommits {
13+ local user="$1"
14+ local tmp=$(mktemp)
15+ curl --silent -w "%{http_code}" \
16+ "https://github.com/NixOS/nixpkgs/commits?author=$user" \
17+ > "$tmp"
18+ # the last line of tmp contains the http status
19+ local status=$(tail -n1 "$tmp")
20+ local ret=
21+ case $status in
22+ 200) if <"$tmp" grep -i "no commits found" > /dev/null; then
23+ ret=1
24+ else
25+ ret=0
26+ fi
27+ ;;
28+ # because of github’s hard request limits, this can take some time
29+ 429) sleep 2
30+ printf "."
31+ checkCommits "$user"
32+ ret=$?
33+ ;;
34+ *) printf "BAD STATUS: $(tail -n1 $tmp) for %s\n" "$user"; ret=1
35+ ret=1
36+ ;;
37+ esac
38+ rm "$tmp"
39+ return $ret
40+}
41+export -f checkCommits
42+
43+function checkUser {
44+ local user="$1"
45+ local status=
46+ status="$(curl --silent --head "https://github.com/${user}" | grep Status)"
47+ # checks whether a user handle can be found on github
48+ if [[ "$status" =~ 404 ]]; then
49+ printf "%s\t\t\t\t%s\n" "$status" "$user"
50+ # checks whether the user handle has any nixpkgs commits
51+ elif checkCommits "$user"; then
52+ printf "OK!\t\t\t\t%s\n" "$user"
53+ else
54+ printf "No Commits!\t\t\t%s\n" "$user"
55+ fi
56+}
57+export -f checkUser
58+
59+# output the maintainers set as json
60+# and filter out the github username of each maintainer (if it exists)
61+# then check some at the same time
62+nix-instantiate -A lib.maintainers --eval --strict --json \
63+ | jq -r '.[]|.github|select(.)' \
64+ | parallel -j5 checkUser
65+
66+# parallel -j100 checkUser ::: "eelco" "profpatsch" "Profpatsch" "a"
maintainers/scripts/copy-tarballs.pl+10−3
@@ -1,5 +1,5 @@
11#! /usr/bin/env nix-shell
2−#! nix-shell -i perl -p perl perlPackages.NetAmazonS3 perlPackages.FileSlurp nixUnstable
2+#! nix-shell -i perl -p perl perlPackages.NetAmazonS3 perlPackages.FileSlurp nixUnstable nixUnstable.perl-bindings
33
44# This command uploads tarballs to tarballs.nixos.org, the
55# content-addressed cache used by fetchurl as a fallback for when
@@ -59,6 +59,7 @@ my $s3 = Net::Amazon::S3->new(
5959 { aws_access_key_id => $aws_access_key_id,
6060 aws_secret_access_key => $aws_secret_access_key,
6161 retry => 1,
62+ host => "s3-eu-west-1.amazonaws.com",
6263 });
6364
6465my $bucket = $s3->bucket("nixpkgs-tarballs") or die;
@@ -99,7 +100,10 @@ sub uploadFile {
99100 sub redirect {
100101 my ($name, $dest) = @_;
101102 #print STDERR "linking $name to $dest...\n";
102− $bucket->add_key($name, "", { 'x-amz-website-redirect-location' => "/" . $dest })
103+ $bucket->add_key($name, "", {
104+ 'x-amz-website-redirect-location' => "/" . $dest,
105+ 'x-amz-acl' => "public-read"
106+ })
103107 or die "failed to create redirect from $name to $dest\n";
104108 $cache{$name} = 1;
105109 }
@@ -111,7 +115,10 @@ sub uploadFile {
111115
112116 # Upload the file as sha512/<hash-in-base-16>.
113117 print STDERR "uploading $fn to $mainKey...\n";
114− $bucket->add_key_filename($mainKey, $fn, { 'x-amz-meta-original-name' => $name })
118+ $bucket->add_key_filename($mainKey, $fn, {
119+ 'x-amz-meta-original-name' => $name,
120+ 'x-amz-acl' => "public-read"
121+ })
115122 or die "failed to upload $fn to $mainKey\n";
116123 $cache{$mainKey} = 1;
117124}
maintainers/scripts/debian-patches.sh+4−2
@@ -4,11 +4,13 @@
44# Usage $0 debian-patches.txt debian-patches.nix
55# An example input and output files can be found in applications/graphics/xara/
66
7−DEB_URL=http://patch-tracker.debian.org/patch/series/dl
7+DEB_URL=https://sources.debian.org/data/main
88declare -a deb_patches
99mapfile -t deb_patches < $1
1010
11−prefix="${DEB_URL}/${deb_patches[0]}"
11+# First letter
12+deb_prefix="${deb_patches[0]:0:1}"
13+prefix="${DEB_URL}/${deb_prefix}/${deb_patches[0]}/debian/patches"
1214
1315if [[ -n "$2" ]]; then
1416 exec 1> $2
maintainers/scripts/fetch-kde-qt.sh+1−1
@@ -21,7 +21,7 @@ find . -type f | while read src; do
2121 # Sanitize file name
2222 filename=$(basename "$src" | tr '@' '_')
2323 nameVersion="${filename%.tar.*}"
24− name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,')
24+ name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,' | sed -e 's,-everywhere-src$,,')
2525 version=$(echo "$nameVersion" | sed -e 's,^\([[:alpha:]][[:alnum:]]*-\)\+,,')
2626 echo "$name,$version,$src,$filename" >>$csv
2727done
maintainers/scripts/gnome.shdeleted−192
@@ -1,192 +0,0 @@
1−#!/usr/bin/env bash
2−
3−set -o pipefail
4−
5−GNOME_FTP=ftp.gnome.org/pub/GNOME/sources
6−
7−# projects that don't follow the GNOME major versioning, or that we don't want to
8−# programmatically update
9−NO_GNOME_MAJOR="ghex gtkhtml gdm gucharmap"
10−
11−usage() {
12− echo "Usage: $0 <show project>|<update project>|<update-all> [major.minor]" >&2
13− exit 0
14−}
15−
16−if [ "$#" -lt 1 ]; then
17− usage
18−fi
19−
20−GNOME_TOP=pkgs/desktops/gnome-3
21−
22−action=$1
23−
24−# curl -l ftp://... doesn't work from my office in HSE, and I don't want to have
25−# any conversations with sysadmin. Somehow lftp works.
26−if [ "$FTP_CLIENT" = "lftp" ]; then
27− ls_ftp() {
28− lftp -c "open $1; cls"
29− }
30−else
31− ls_ftp() {
32− curl -s -l "$1"/
33− }
34−fi
35−
36−find_project() {
37− exec find "$GNOME_TOP" -mindepth 2 -maxdepth 2 -type d "$@"
38−}
39−
40−show_project() {
41− local project=$1
42− local majorVersion=$2
43− local version=
44−
45− if [ -z "$majorVersion" ]; then
46− echo "Looking for available versions..." >&2
47− local available_baseversions=$(ls_ftp ftp://${GNOME_FTP}/${project} | grep '[0-9]\.[0-9]' | sort -t. -k1,1n -k 2,2n)
48− if [ "$?" -ne 0 ]; then
49− echo "Project $project not found" >&2
50− return 1
51− fi
52−
53− echo -e "The following versions are available:\n ${available_baseversions[@]}" >&2
54− echo -en "Choose one of them: " >&2
55− read majorVersion
56− fi
57−
58− if echo "$majorVersion" | grep -q "[0-9]\+\.[0-9]\+\.[0-9]\+"; then
59− # not a major version
60− version=$majorVersion
61− majorVersion=$(echo "$majorVersion" | cut -d '.' -f 1,2)
62− fi
63−
64− local FTPDIR=${GNOME_FTP}/${project}/${majorVersion}
65−
66− #version=`curl -l ${FTPDIR}/ 2>/dev/null | grep LATEST-IS | sed -e s/LATEST-IS-//`
67− # gnome's LATEST-IS is broken. Do not trust it.
68−
69− if [ -z "$version" ]; then
70− local files=$(ls_ftp "${FTPDIR}")
71− declare -A versions
72−
73− for f in $files; do
74− case $f in
75− (LATEST-IS-*|*.news|*.changes|*.sha256sum|*.diff*):
76− ;;
77− ($project-*.*.9*.tar.*):
78− tmp=${f#$project-}
79− tmp=${tmp%.tar*}
80− echo "Ignored unstable version ${tmp}" >&2
81− ;;
82− ($project-*.tar.*):
83− tmp=${f#$project-}
84− tmp=${tmp%.tar*}
85− versions[${tmp}]=1
86− ;;
87− (*):
88− echo "UNKNOWN FILE $f" >&2
89− ;;
90− esac
91− done
92− echo "Found versions ${!versions[@]}" >&2
93− version=$(echo ${!versions[@]} | sed -e 's/ /\n/g' | sort -t. -k1,1n -k 2,2n -k 3,3n | tail -n1)
94− if [ -z "$version" ]; then
95− echo "No version available for major $majorVersion" >&2
96− return 1
97− fi
98−
99− echo "Latest version is: ${version}" >&2
100− fi
101−
102− local name=${project}-${version}
103− echo "Fetching .sha256 file" >&2
104− local sha256out=$(curl -s -f http://"${FTPDIR}"/"${name}".sha256sum)
105−
106− if [ "$?" -ne "0" ]; then
107− echo "Version not found" >&2
108− return 1
109− fi
110−
111− extensions=( "xz" "bz2" "gz" )
112− echo "Choosing archive extension (known are ${extensions[@]})..." >&2
113− for ext in ${extensions[@]}; do
114− if echo -e "$sha256out" | grep -q "\\.tar\\.${ext}$"; then
115− ext_pref=$ext
116− sha256=$(echo -e "$sha256out" | grep "\\.tar\\.${ext}$" | cut -f1 -d\ )
117− break
118− fi
119− done
120− echo "Chosen ${ext_pref}, hash is ${sha256}" >&2
121−
122− echo "# Autogenerated by maintainers/scripts/gnome.sh update
123−
124−fetchurl: {
125− name = \"${project}-${version}\";
126−
127− src = fetchurl {
128− url = mirror://gnome/sources/${project}/${majorVersion}/${project}-${version}.tar.${ext_pref};
129− sha256 = \"${sha256}\";
130− };
131−}"
132−
133− return 0
134−}
135−
136−update_project() {
137− local project=$1
138− local majorVersion=$2
139−
140− # find project in nixpkgs tree
141− projectPath=$(find_project -name "$project" -print)
142− if [ -z "$projectPath" ]; then
143− echo "Project $project not found under $GNOME_TOP"
144− exit 1
145− fi
146−
147− src=$(show_project "$project" "$majorVersion")
148−
149− if [ "$?" -eq "0" ]; then
150− echo "Updating $projectPath/src.nix" >&2
151− echo -e "$src" > "$projectPath"/src.nix
152− fi
153−
154− return 0
155−}
156−
157−if [ "$action" = "update-all" ]; then
158− majorVersion=$2
159− if [ -z "$majorVersion" ]; then
160− echo "No major version specified" >&2
161− usage
162− fi
163−
164− # find projects
165− projects=$(find_project -exec basename '{}' \;)
166− for project in $projects; do
167− if echo "$NO_GNOME_MAJOR"|grep -q $project; then
168− echo "Skipping $project"
169− else
170− echo "= Updating $project to $majorVersion" >&2
171− update_project "$project" "$majorVersion"
172− echo >&2
173− fi
174− done
175−else
176− project=$2
177− majorVersion=$3
178−
179− if [ -z "$project" ]; then
180− echo "No project specified, exiting" >&2
181− usage
182− fi
183−
184− if [ "$action" = show ]; then
185− show_project "$project" "$majorVersion"
186− elif [ "$action" = update ]; then
187− update_project "$project" "$majorVersion"
188− else
189− echo "Unknown action $action" >&2
190− usage
191− fi
192−fi
maintainers/scripts/hydra-eval-failures.py+1−1
@@ -13,7 +13,7 @@ from pyquery import PyQuery as pq
1313
1414
1515maintainers_json = subprocess.check_output([
16− 'nix-instantiate', '-E', 'import ./lib/maintainers.nix {}', '--eval', '--json'
16+ 'nix-instantiate', '-E', 'import ./maintainers/maintainer-list.nix {}', '--eval', '--json'
1717])
1818maintainers = json.loads(maintainers_json)
1919MAINTAINERS = {v: k for k, v in maintainers.iteritems()}
maintainers/scripts/rebuild-amount.sh+13−1
@@ -1,9 +1,16 @@
11#!/usr/bin/env bash
22set -e
33
4+# --print: avoid dependency on environment
5+optPrint=
6+if [ "$1" == "--print" ]; then
7+ optPrint=true
8+ shift
9+fi
10+
411if [ "$#" != 1 ] && [ "$#" != 2 ]; then
512 cat <<-EOF
6− Usage: $0 commit-spec [commit-spec]
13+ Usage: $0 [--print] commit-spec [commit-spec]
714 You need to be in a git-controlled nixpkgs tree.
815 The current state of the tree will be used if the second commit is missing.
916 EOF
@@ -113,3 +120,8 @@ newPkgs "${tree[1]}" "${tree[2]}" '--argstr system "x86_64-linux"' > "$newlist"
113120sed -n 's/\([^. ]*\.\)*\([^. ]*\) .*$/\2/p' < "$newlist" \
114121 | sort | uniq -c
115122
123+if [ -n "$optPrint" ]; then
124+ echo
125+ cat "$newlist"
126+fi
127+
maintainers/scripts/update-python-libraries+139−23
@@ -1,5 +1,5 @@
11#! /usr/bin/env nix-shell
2−#! nix-shell -i python3 -p 'python3.withPackages(ps: with ps; [ requests toolz ])'
2+#! nix-shell -i python3 -p "python3.withPackages(ps: with ps; [ packaging requests toolz ])" -p git
33
44"""
55Update a Python package expression by passing in the `.nix` file, or the directory containing it.
@@ -18,7 +18,12 @@ import os
1818import re
1919import requests
2020import toolz
21−from concurrent.futures import ThreadPoolExecutor as pool
21+from concurrent.futures import ThreadPoolExecutor as Pool
22+from packaging.version import Version as _Version
23+from packaging.version import InvalidVersion
24+from packaging.specifiers import SpecifierSet
25+import collections
26+import subprocess
2227
2328INDEX = "https://pypi.io/pypi"
2429"""url of PyPI"""
@@ -26,10 +31,30 @@ INDEX = "https://pypi.io/pypi"
2631EXTENSIONS = ['tar.gz', 'tar.bz2', 'tar', 'zip', '.whl']
2732"""Permitted file extensions. These are evaluated from left to right and the first occurance is returned."""
2833
34+PRERELEASES = False
35+
2936import logging
3037logging.basicConfig(level=logging.INFO)
3138
3239
40+class Version(_Version, collections.abc.Sequence):
41+
42+ def __init__(self, version):
43+ super().__init__(version)
44+ # We cannot use `str(Version(0.04.21))` because that becomes `0.4.21`
45+ # https://github.com/avian2/unidecode/issues/13#issuecomment-354538882
46+ self.raw_version = version
47+
48+ def __getitem__(self, i):
49+ return self._version.release[i]
50+
51+ def __len__(self):
52+ return len(self._version.release)
53+
54+ def __iter__(self):
55+ yield from self._version.release
56+
57+
3358def _get_values(attribute, text):
3459 """Match attribute in text and return all matches.
3560
@@ -82,13 +107,59 @@ def _fetch_page(url):
82107 else:
83108 raise ValueError("request for {} failed".format(url))
84109
85−def _get_latest_version_pypi(package, extension):
110+
111+SEMVER = {
112+ 'major' : 0,
113+ 'minor' : 1,
114+ 'patch' : 2,
115+}
116+
117+
118+def _determine_latest_version(current_version, target, versions):
119+ """Determine latest version, given `target`.
120+ """
121+ current_version = Version(current_version)
122+
123+ def _parse_versions(versions):
124+ for v in versions:
125+ try:
126+ yield Version(v)
127+ except InvalidVersion:
128+ pass
129+
130+ versions = _parse_versions(versions)
131+
132+ index = SEMVER[target]
133+
134+ ceiling = list(current_version[0:index])
135+ if len(ceiling) == 0:
136+ ceiling = None
137+ else:
138+ ceiling[-1]+=1
139+ ceiling = Version(".".join(map(str, ceiling)))
140+
141+ # We do not want prereleases
142+ versions = SpecifierSet(prereleases=PRERELEASES).filter(versions)
143+
144+ if ceiling is not None:
145+ versions = SpecifierSet(f"<{ceiling}").filter(versions)
146+
147+ return (max(sorted(versions))).raw_version
148+
149+
150+def _get_latest_version_pypi(package, extension, current_version, target):
86151 """Get latest version and hash from PyPI."""
87152 url = "{}/{}/json".format(INDEX, package)
88153 json = _fetch_page(url)
89154
90− version = json['info']['version']
91− for release in json['releases'][version]:
155+ versions = json['releases'].keys()
156+ version = _determine_latest_version(current_version, target, versions)
157+
158+ try:
159+ releases = json['releases'][version]
160+ except KeyError as e:
161+ raise KeyError('Could not find version {} for {}'.format(version, package)) from e
162+ for release in releases:
92163 if release['filename'].endswith(extension):
93164 # TODO: In case of wheel we need to do further checks!
94165 sha256 = release['digests']['sha256']
@@ -98,7 +169,7 @@ def _get_latest_version_pypi(package, extension):
98169 return version, sha256
99170
100171
101−def _get_latest_version_github(package, extension):
172+def _get_latest_version_github(package, extension, current_version, target):
102173 raise ValueError("updating from GitHub is not yet supported.")
103174
104175
@@ -141,9 +212,9 @@ def _determine_extension(text, fetcher):
141212 """
142213 if fetcher == 'fetchPypi':
143214 try:
144− format = _get_unique_value('format', text)
215+ src_format = _get_unique_value('format', text)
145216 except ValueError as e:
146− format = None # format was not given
217+ src_format = None # format was not given
147218
148219 try:
149220 extension = _get_unique_value('extension', text)
@@ -151,9 +222,11 @@ def _determine_extension(text, fetcher):
151222 extension = None # extension was not given
152223
153224 if extension is None:
154− if format is None:
155− format = 'setuptools'
156− extension = FORMATS[format]
225+ if src_format is None:
226+ src_format = 'setuptools'
227+ elif src_format == 'flit':
228+ raise ValueError("Don't know how to update a Flit package.")
229+ extension = FORMATS[src_format]
157230
158231 elif fetcher == 'fetchurl':
159232 url = _get_unique_value('url', text)
@@ -167,9 +240,7 @@ def _determine_extension(text, fetcher):
167240 return extension
168241
169242
170−def _update_package(path):
171−
172−
243+def _update_package(path, target):
173244
174245 # Read the expression
175246 with open(path, 'r') as f:
@@ -186,11 +257,13 @@ def _update_package(path):
186257
187258 extension = _determine_extension(text, fetcher)
188259
189− new_version, new_sha256 = _get_latest_version_pypi(pname, extension)
260+ new_version, new_sha256 = FETCHERS[fetcher](pname, extension, version, target)
190261
191262 if new_version == version:
192263 logging.info("Path {}: no update available for {}.".format(path, pname))
193264 return False
265+ elif new_version <= version:
266+ raise ValueError("downgrade for {}.".format(pname))
194267 if not new_sha256:
195268 raise ValueError("no file available for {}.".format(pname))
196269
@@ -202,10 +275,19 @@ def _update_package(path):
202275
203276 logging.info("Path {}: updated {} from {} to {}".format(path, pname, version, new_version))
204277
205− return True
278+ result = {
279+ 'path' : path,
280+ 'target': target,
281+ 'pname': pname,
282+ 'old_version' : version,
283+ 'new_version' : new_version,
284+ #'fetcher' : fetcher,
285+ }
206286
287+ return result
207288
208−def _update(path):
289+
290+def _update(path, target):
209291
210292 # We need to read and modify a Nix expression.
211293 if os.path.isdir(path):
@@ -222,24 +304,58 @@ def _update(path):
222304 return False
223305
224306 try:
225− return _update_package(path)
307+ return _update_package(path, target)
226308 except ValueError as e:
227309 logging.warning("Path {}: {}".format(path, e))
228310 return False
229311
312+
313+def _commit(path, pname, old_version, new_version, **kwargs):
314+ """Commit result.
315+ """
316+
317+ msg = f'python: {pname}: {old_version} -> {new_version}'
318+
319+ try:
320+ subprocess.check_call(['git', 'add', path])
321+ subprocess.check_call(['git', 'commit', '-m', msg])
322+ except subprocess.CalledProcessError as e:
323+ subprocess.check_call(['git', 'checkout', path])
324+ raise subprocess.CalledProcessError(f'Could not commit {path}') from e
325+
326+ return True
327+
328+
230329def main():
231330
232331 parser = argparse.ArgumentParser()
233332 parser.add_argument('package', type=str, nargs='+')
333+ parser.add_argument('--target', type=str, choices=SEMVER.keys(), default='major')
334+ parser.add_argument('--commit', action='store_true', help='Create a commit for each package update')
234335
235336 args = parser.parse_args()
337+ target = args.target
338+
339+ packages = list(map(os.path.abspath, args.package))
340+
341+ logging.info("Updating packages...")
342+
343+ # Use threads to update packages concurrently
344+ with Pool() as p:
345+ results = list(p.map(lambda pkg: _update(pkg, target), packages))
346+
347+ logging.info("Finished updating packages.")
348+
349+ # Commits are created sequentially.
350+ if args.commit:
351+ logging.info("Committing updates...")
352+ list(map(lambda x: _commit(**x), filter(bool, results)))
353+ logging.info("Finished committing updates")
236354
237− packages = map(os.path.abspath, args.package)
355+ count = sum(map(bool, results))
356+ logging.info("{} package(s) updated".format(count))
238357
239− with pool() as p:
240− count = list(p.map(_update, packages))
241358
242− logging.info("{} package(s) updated".format(sum(count)))
243359
244360if __name__ == '__main__':
245− main()
361+ main()
maintainers/scripts/update.nix+45−17
@@ -1,37 +1,51 @@
11{ package ? null
22, maintainer ? null
3+, path ? null
34}:
45
56# TODO: add assert statements
67
78let
9+ /* Remove duplicate elements from the list based on some extracted value. O(n^2) complexity.
10+ */
11+ nubOn = f: list:
12+ if list == [] then
13+ []
14+ else
15+ let
16+ x = pkgs.lib.head list;
17+ xs = pkgs.lib.filter (p: f x != f p) (pkgs.lib.drop 1 list);
18+ in
19+ [x] ++ nubOn f xs;
820
921 pkgs = import ./../../default.nix { };
1022
1123 packagesWith = cond: return: set:
12− pkgs.lib.flatten
13− (pkgs.lib.mapAttrsToList
14− (name: pkg:
15− let
16− result = builtins.tryEval (
17− if pkgs.lib.isDerivation pkg && cond name pkg
18− then [(return name pkg)]
19− else if pkg.recurseForDerivations or false || pkg.recurseForRelease or false
20− then packagesWith cond return pkg
24+ nubOn (pkg: pkg.updateScript)
25+ (pkgs.lib.flatten
26+ (pkgs.lib.mapAttrsToList
27+ (name: pkg:
28+ let
29+ result = builtins.tryEval (
30+ if pkgs.lib.isDerivation pkg && cond name pkg
31+ then [(return name pkg)]
32+ else if pkg.recurseForDerivations or false || pkg.recurseForRelease or false
33+ then packagesWith cond return pkg
34+ else []
35+ );
36+ in
37+ if result.success then result.value
2138 else []
22− );
23− in
24− if result.success then result.value
25− else []
39+ )
40+ set
2641 )
27− set
2842 );
2943
3044 packagesWithUpdateScriptAndMaintainer = maintainer':
3145 let
3246 maintainer =
3347 if ! builtins.hasAttr maintainer' pkgs.lib.maintainers then
34− builtins.throw "Maintainer with name `${maintainer'} does not exist in `lib/maintainers.nix`."
48+ builtins.throw "Maintainer with name `${maintainer'} does not exist in `maintainers/maintainer-list.nix`."
3549 else
3650 builtins.getAttr maintainer' pkgs.lib.maintainers;
3751 in
@@ -47,6 +61,14 @@ let
4761 (name: pkg: pkg)
4862 pkgs;
4963
64+ packagesWithUpdateScript = path:
65+ let
66+ attrSet = pkgs.lib.attrByPath (pkgs.lib.splitString "." path) null pkgs;
67+ in
68+ packagesWith (name: pkg: builtins.hasAttr "updateScript" pkg)
69+ (name: pkg: pkg)
70+ attrSet;
71+
5072 packageByName = name:
5173 let
5274 package = pkgs.lib.attrByPath (pkgs.lib.splitString "." name) null pkgs;
@@ -54,7 +76,7 @@ let
5476 if package == null then
5577 builtins.throw "Package with an attribute name `${name}` does not exists."
5678 else if ! builtins.hasAttr "updateScript" package then
57− builtins.throw "Package with an attribute name `${name}` does have an `passthru.updateScript` defined."
79+ builtins.throw "Package with an attribute name `${name}` does not have a `passthru.updateScript` attribute defined."
5880 else
5981 package;
6082
@@ -63,6 +85,8 @@ let
6385 [ (packageByName package) ]
6486 else if maintainer != null then
6587 packagesWithUpdateScriptAndMaintainer maintainer
88+ else if path != null then
89+ packagesWithUpdateScript path
6690 else
6791 builtins.throw "No arguments provided.\n\n${helpText}";
6892
@@ -76,7 +100,11 @@ let
76100
77101 % nix-shell maintainers/scripts/update.nix --argstr package garbas
78102
79− to run update script for specific package.
103+ to run update script for specific package, or
104+
105+ % nix-shell maintainers/scripts/update.nix --argstr path gnome3
106+
107+ to run update script for all package under an attribute path.
80108 '';
81109
82110 runUpdateScript = package: ''
maintainers/scripts/vanity.sh+1−1
@@ -10,7 +10,7 @@ git_data="$(echo "$raw_git_log" | grep 'Author:' |
1010
1111# Name - nick - email correspondence from log and from maintainer list
1212# Also there are a few manual entries
13−maintainers="$(cat "$(dirname "$0")/../../lib/maintainers.nix" |
13+maintainers="$(cat "$(dirname "$0")/../maintainer-list.nix" |
1414 grep '=' | sed -re 's/\\"/''/g;
1515 s/[ ]*([^ =]*)[ ]*=[ ]*" *(.*[^ ]) *[<](.*)[>] *".*/\1\t\2\t\3/')"
1616git_lines="$( ( echo "$git_data";
nixos/default.nix+1−3
@@ -9,8 +9,6 @@ let
99 modules = [ configuration ];
1010 };
1111
12− inherit (eval) pkgs;
13−
1412 # This is for `nixos-rebuild build-vm'.
1513 vmConfig = (import ./lib/eval-config.nix {
1614 inherit system;
@@ -30,7 +28,7 @@ let
3028in
3129
3230{
33− inherit (eval) config options;
31+ inherit (eval) pkgs config options;
3432
3533 system = eval.config.system.build.toplevel;
3634
nixos/doc/manual/configuration/firewall.xml+16−3
@@ -23,10 +23,23 @@ networking.firewall.allowedTCPPorts = [ 80 443 ];
2323</programlisting>
2424
2525Note that TCP port 22 (ssh) is opened automatically if the SSH daemon
26−is enabled (<option>services.openssh.enable = true</option>). UDP
26+is enabled (<option>services.openssh.enable = true</option>). UDP
2727ports can be opened through
28−<option>networking.firewall.allowedUDPPorts</option>. Also of
29−interest is
28+<option>networking.firewall.allowedUDPPorts</option>.</para>
29+
30+<para>To open ranges of TCP ports:
31+
32+<programlisting>
33+networking.firewall.allowedTCPPortRanges = [
34+ { from = 4000; to = 4007; }
35+ { from = 8000; to = 8010; }
36+];
37+</programlisting>
38+
39+Similarly, UDP port ranges can be opened through
40+<option>networking.firewall.allowedUDPPortRanges</option>.</para>
41+
42+<para>Also of interest is
3043
3144<programlisting>
3245networking.firewall.allowPing = true;
nixos/doc/manual/configuration/ipv4-config.xml+1−1
@@ -12,7 +12,7 @@ interfaces. However, you can configure an interface manually as
1212follows:
1313
1414<programlisting>
15−networking.interfaces.eth0.ip4 = [ { address = "192.168.1.2"; prefixLength = 24; } ];
15+networking.interfaces.eth0.ipv4.addresses = [ { address = "192.168.1.2"; prefixLength = 24; } ];
1616</programlisting>
1717
1818Typically you’ll also want to set a default gateway and set of name
nixos/doc/manual/configuration/ipv6-config.xml+1−1
@@ -26,7 +26,7 @@ boot.kernel.sysctl."net.ipv6.conf.eth0.disable_ipv6" = true;
2626DHCPv6. You can configure an interface manually:
2727
2828<programlisting>
29−networking.interfaces.eth0.ip6 = [ { address = "fe00:aa:bb:cc::2"; prefixLength = 64; } ];
29+networking.interfaces.eth0.ipv6.addresses = [ { address = "fe00:aa:bb:cc::2"; prefixLength = 64; } ];
3030</programlisting>
3131</para>
3232
nixos/doc/manual/configuration/user-mgmt.xml+5−5
@@ -12,7 +12,7 @@ management. In the declarative style, users are specified in
1212states that a user account named <literal>alice</literal> shall exist:
1313
1414<programlisting>
15−users.extraUsers.alice =
15+users.users.alice =
1616 { isNormalUser = true;
1717 home = "/home/alice";
1818 description = "Alice Foobar";
@@ -34,7 +34,7 @@ to set a password, which is retained across invocations of
3434
3535<para>If you set users.mutableUsers to false, then the contents of /etc/passwd
3636and /etc/group will be congruent to your NixOS configuration. For instance,
37−if you remove a user from users.extraUsers and run nixos-rebuild, the user
37+if you remove a user from users.users and run nixos-rebuild, the user
3838account will cease to exist. Also, imperative commands for managing users
3939and groups, such as useradd, are no longer available. Passwords may still be
4040assigned by setting the user's <literal>hashedPassword</literal> option. A
@@ -54,7 +54,7 @@ to the user specification.</para>
5454group named <literal>students</literal> shall exist:
5555
5656<programlisting>
57−users.extraGroups.students.gid = 1000;
57+users.groups.students.gid = 1000;
5858</programlisting>
5959
6060As with users, the group ID (gid) is optional and will be assigned
@@ -68,8 +68,8 @@ account named <literal>alice</literal>:
6868<screen>
6969# useradd -m alice</screen>
7070
71−To make all nix tools available to this new user use `su - USER` which
72−opens a login shell (==shell that loads the profile) for given user.
71+To make all nix tools available to this new user use `su - USER` which
72+opens a login shell (==shell that loads the profile) for given user.
7373This will create the ~/.nix-defexpr symlink. So run:
7474
7575<screen>
nixos/doc/manual/configuration/x-windows.xml+5−4
@@ -115,13 +115,14 @@ hardware.opengl.driSupport32Bit = true;
115115<para>Support for Synaptics touchpads (found in many laptops such as
116116the Dell Latitude series) can be enabled as follows:
117117<programlisting>
118−services.xserver.synaptics.enable = true;
118+services.xserver.libinput.enable = true;
119119</programlisting>
120120The driver has many options (see <xref linkend="ch-options"/>). For
121−instance, the following enables two-finger scrolling:
121+instance, the following disables tap-to-click behavior:
122122<programlisting>
123−services.xserver.synaptics.twoFingerScroll = true;
123+services.xserver.libinput.tapping = false;
124124</programlisting>
125+Note: the use of <literal>services.xserver.synaptics</literal> is deprecated since NixOS 17.09.
125126</para>
126127
127128</simplesect>
@@ -129,7 +130,7 @@ services.xserver.synaptics.twoFingerScroll = true;
129130<simplesect><title>GTK/Qt themes</title>
130131
131132<para>GTK themes can be installed either to user profile or system-wide (via
132−<literal>system.environmentPackages</literal>). To make Qt 5 applications look similar
133+<literal>environment.systemPackages</literal>). To make Qt 5 applications look similar
133134to GTK2 ones, you can install <literal>qt5.qtbase.gtk</literal> package into your
134135system environment. It should work for all Qt 5 library versions.
135136</para>
nixos/doc/manual/configuration/xfce.xml+1−12
@@ -35,18 +35,7 @@ services.compton = {
3535 To install them manually (system wide), put them into your
3636 <literal>environment.systemPackages</literal>.
3737 </para>
38−
39− <para>
40− NixOS’s default <emphasis>display manager</emphasis> is SLiM.
41− (DM is the program that provides a graphical login prompt
42− and manages the X server.)
43− You can, for example, select KDE’s
44− <command>sddm</command> instead:
45− <programlisting>
46−services.xserver.displayManager.sddm.enable = true;
47− </programlisting>
48− </para>
49−
38+
5039 <simplesect>
5140 <title>Thunar Volume Support</title>
5241
nixos/doc/manual/default.nix+101−25
@@ -6,22 +6,52 @@ let
66 lib = pkgs.lib;
77
88 # Remove invisible and internal options.
9− optionsList = lib.filter (opt: opt.visible && !opt.internal) (lib.optionAttrSetToDocList options);
9+ optionsListVisible = lib.filter (opt: opt.visible && !opt.internal) (lib.optionAttrSetToDocList options);
1010
1111 # Replace functions by the string <function>
1212 substFunction = x:
1313 if builtins.isAttrs x then lib.mapAttrs (name: substFunction) x
1414 else if builtins.isList x then map substFunction x
15− else if builtins.isFunction x then "<function>"
15+ else if lib.isFunction x then "<function>"
1616 else x;
1717
18− # Clean up declaration sites to not refer to the NixOS source tree.
19− optionsList' = lib.flip map optionsList (opt: opt // {
18+ # Generate DocBook documentation for a list of packages. This is
19+ # what `relatedPackages` option of `mkOption` from
20+ # ../../../lib/options.nix influences.
21+ #
22+ # Each element of `relatedPackages` can be either
23+ # - a string: that will be interpreted as an attribute name from `pkgs`,
24+ # - a list: that will be interpreted as an attribute path from `pkgs`,
25+ # - an attrset: that can specify `name`, `path`, `package`, `comment`
26+ # (either of `name`, `path` is required, the rest are optional).
27+ genRelatedPackages = packages:
28+ let
29+ unpack = p: if lib.isString p then { name = p; }
30+ else if lib.isList p then { path = p; }
31+ else p;
32+ describe = args:
33+ let
34+ name = args.name or (lib.concatStringsSep "." args.path);
35+ path = args.path or [ args.name ];
36+ package = args.package or (lib.attrByPath path (throw "Invalid package attribute path `${toString path}'") pkgs);
37+ in "<listitem>"
38+ + "<para><literal>pkgs.${name} (${package.meta.name})</literal>"
39+ + lib.optionalString (!package.meta.available) " <emphasis>[UNAVAILABLE]</emphasis>"
40+ + ": ${package.meta.description or "???"}.</para>"
41+ + lib.optionalString (args ? comment) "\n<para>${args.comment}</para>"
42+ # Lots of `longDescription's break DocBook, so we just wrap them into <programlisting>
43+ + lib.optionalString (package.meta ? longDescription) "\n<programlisting>${package.meta.longDescription}</programlisting>"
44+ + "</listitem>";
45+ in "<itemizedlist>${lib.concatStringsSep "\n" (map (p: describe (unpack p)) packages)}</itemizedlist>";
46+
47+ optionsListDesc = lib.flip map optionsListVisible (opt: opt // {
48+ # Clean up declaration sites to not refer to the NixOS source tree.
2049 declarations = map stripAnyPrefixes opt.declarations;
2150 }
2251 // lib.optionalAttrs (opt ? example) { example = substFunction opt.example; }
2352 // lib.optionalAttrs (opt ? default) { default = substFunction opt.default; }
24− // lib.optionalAttrs (opt ? type) { type = substFunction opt.type; });
53+ // lib.optionalAttrs (opt ? type) { type = substFunction opt.type; }
54+ // lib.optionalAttrs (opt ? relatedPackages) { relatedPackages = genRelatedPackages opt.relatedPackages; });
2555
2656 # We need to strip references to /nix/store/* from options,
2757 # including any `extraSources` if some modules came from elsewhere,
@@ -32,8 +62,21 @@ let
3262 prefixesToStrip = map (p: "${toString p}/") ([ ../../.. ] ++ extraSources);
3363 stripAnyPrefixes = lib.flip (lib.fold lib.removePrefix) prefixesToStrip;
3464
65+ # Custom "less" that pushes up all the things ending in ".enable*"
66+ # and ".package*"
67+ optionLess = a: b:
68+ let
69+ ise = lib.hasPrefix "enable";
70+ isp = lib.hasPrefix "package";
71+ cmp = lib.splitByAndCompare ise lib.compare
72+ (lib.splitByAndCompare isp lib.compare lib.compare);
73+ in lib.compareLists cmp a.loc b.loc < 0;
74+
75+ # Customly sort option list for the man page.
76+ optionsList = lib.sort optionLess optionsListDesc;
77+
3578 # Convert the list of options into an XML file.
36− optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList');
79+ optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);
3780
3881 optionsDocBook = runCommand "options-db.xml" {} ''
3982 optionsXML=${optionsXML}
@@ -44,7 +87,7 @@ let
4487 echo "for hints about the offending path)."
4588 exit 1
4689 fi
47− ${libxslt.bin}/bin/xsltproc \
90+ ${buildPackages.libxslt.bin}/bin/xsltproc \
4891 --stringparam revision '${revision}' \
4992 -o $out ${./options-to-docbook.xsl} $optionsXML
5093 '';
@@ -81,11 +124,12 @@ let
81124 manualXsltprocOptions = toString [
82125 "--param section.autolabel 1"
83126 "--param section.label.includes.component.label 1"
84− "--stringparam html.stylesheet style.css"
127+ "--stringparam html.stylesheet 'style.css overrides.css highlightjs/mono-blue.css'"
128+ "--stringparam html.script './highlightjs/highlight.pack.js ./highlightjs/loader.js'"
85129 "--param xref.with.number.and.title 1"
86130 "--param toc.section.depth 3"
87131 "--stringparam admon.style ''"
88− "--stringparam callout.graphics.extension .gif"
132+ "--stringparam callout.graphics.extension .svg"
89133 "--stringparam current.docid manual"
90134 "--param chunk.section.depth 0"
91135 "--param chunk.first.sections 1"
@@ -96,7 +140,7 @@ let
96140
97141 manual-combined = runCommand "nixos-manual-combined"
98142 { inherit sources;
99− buildInputs = [ libxml2 libxslt ];
143+ nativeBuildInputs = [ buildPackages.libxml2.bin buildPackages.libxslt.bin ];
100144 meta.description = "The NixOS manual as plain docbook XML";
101145 }
102146 ''
@@ -106,13 +150,43 @@ let
106150 xmllint --xinclude --noxincludenode \
107151 --output ./man-pages-combined.xml ./man-pages.xml
108152
109− xmllint --debug --noout --nonet \
110− --relaxng ${docbook5}/xml/rng/docbook/docbook.rng \
111− manual-combined.xml
112− xmllint --debug --noout --nonet \
113− --relaxng ${docbook5}/xml/rng/docbook/docbook.rng \
114− man-pages-combined.xml
115−
153+ # outputs the context of an xmllint error output
154+ # LEN lines around the failing line are printed
155+ function context {
156+ # length of context
157+ local LEN=6
158+ # lines to print before error line
159+ local BEFORE=4
160+
161+ # xmllint output lines are:
162+ # file.xml:1234: there was an error on line 1234
163+ while IFS=':' read -r file line rest; do
164+ echo
165+ if [[ -n "$rest" ]]; then
166+ echo "$file:$line:$rest"
167+ local FROM=$(($line>$BEFORE ? $line - $BEFORE : 1))
168+ # number lines & filter context
169+ nl --body-numbering=a "$file" | sed -n "$FROM,+$LEN p"
170+ else
171+ if [[ -n "$line" ]]; then
172+ echo "$file:$line"
173+ else
174+ echo "$file"
175+ fi
176+ fi
177+ done
178+ }
179+
180+ function lintrng {
181+ xmllint --debug --noout --nonet \
182+ --relaxng ${docbook5}/xml/rng/docbook/docbook.rng \
183+ "$1" \
184+ 2>&1 | context 1>&2
185+ # ^ redirect assumes xmllint doesn’t print to stdout
186+ }
187+
188+ lintrng manual-combined.xml
189+ lintrng man-pages-combined.xml
116190
117191 mkdir $out
118192 cp manual-combined.xml $out/
@@ -121,7 +195,7 @@ let
121195
122196 olinkDB = runCommand "manual-olinkdb"
123197 { inherit sources;
124− buildInputs = [ libxml2 libxslt ];
198+ nativeBuildInputs = [ buildPackages.libxml2.bin buildPackages.libxslt.bin ];
125199 }
126200 ''
127201 xsltproc \
@@ -161,7 +235,7 @@ in rec {
161235 mkdir -p $dst
162236
163237 cp ${builtins.toFile "options.json" (builtins.unsafeDiscardStringContext (builtins.toJSON
164− (builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList'))))
238+ (builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList))))
165239 } $dst/options.json
166240
167241 mkdir -p $out/nix-support
@@ -171,7 +245,7 @@ in rec {
171245 # Generate the NixOS manual.
172246 manual = runCommand "nixos-manual"
173247 { inherit sources;
174− buildInputs = [ libxml2 libxslt ];
248+ nativeBuildInputs = [ buildPackages.libxml2.bin buildPackages.libxslt.bin ];
175249 meta.description = "The NixOS manual in HTML format";
176250 allowedReferences = ["out"];
177251 }
@@ -187,9 +261,11 @@ in rec {
187261 ${manual-combined}/manual-combined.xml
188262
189263 mkdir -p $dst/images/callouts
190− cp ${docbook5_xsl}/xml/xsl/docbook/images/callouts/*.gif $dst/images/callouts/
264+ cp ${docbook5_xsl}/xml/xsl/docbook/images/callouts/*.svg $dst/images/callouts/
191265
192− cp ${./style.css} $dst/style.css
266+ cp ${../../../doc/style.css} $dst/style.css
267+ cp ${../../../doc/overrides.css} $dst/overrides.css
268+ cp -r ${pkgs.documentation-highlighter} $dst/highlightjs
193269
194270 mkdir -p $out/nix-support
195271 echo "nix-build out $out" >> $out/nix-support/hydra-build-products
@@ -199,7 +275,7 @@ in rec {
199275
200276 manualEpub = runCommand "nixos-manual-epub"
201277 { inherit sources;
202− buildInputs = [ libxml2 libxslt zip ];
278+ buildInputs = [ libxml2.bin libxslt.bin zip ];
203279 }
204280 ''
205281 # Generate the epub manual.
@@ -213,7 +289,7 @@ in rec {
213289 ${manual-combined}/manual-combined.xml
214290
215291 mkdir -p $dst/epub/OEBPS/images/callouts
216− cp -r ${docbook5_xsl}/xml/xsl/docbook/images/callouts/*.gif $dst/epub/OEBPS/images/callouts # */
292+ cp -r ${docbook5_xsl}/xml/xsl/docbook/images/callouts/*.svg $dst/epub/OEBPS/images/callouts # */
217293 echo "application/epub+zip" > mimetype
218294 manual="$dst/nixos-manual.epub"
219295 zip -0Xq "$manual" mimetype
@@ -229,7 +305,7 @@ in rec {
229305 # Generate the NixOS manpages.
230306 manpages = runCommand "nixos-manpages"
231307 { inherit sources;
232− buildInputs = [ libxml2 libxslt ];
308+ nativeBuildInputs = [ buildPackages.libxml2.bin buildPackages.libxslt.bin ];
233309 allowedReferences = ["out"];
234310 }
235311 ''
nixos/doc/manual/development/option-declarations.xml+9
@@ -22,6 +22,15 @@ options = {
2222};
2323</programlisting>
2424
25+The attribute names within the <replaceable>name</replaceable>
26+attribute path must be camel cased in general but should, as an
27+exception, match the
28+<link
29+xlink:href="https://nixos.org/nixpkgs/manual/#sec-package-naming">
30+package attribute name</link> when referencing a Nixpkgs package. For
31+example, the option <varname>services.nix-serve.bindAddress</varname>
32+references the <varname>nix-serve</varname> Nixpkgs package.
33+
2534</para>
2635
2736<para>The function <varname>mkOption</varname> accepts the following arguments.
nixos/doc/manual/development/option-types.xml+8−2
@@ -110,6 +110,12 @@
110110 <listitem><para>A string. Multiple definitions are concatenated with a
111111 collon <literal>":"</literal>.</para></listitem>
112112 </varlistentry>
113+ <varlistentry>
114+ <term><varname>types.strMatching</varname></term>
115+ <listitem><para>A string matching a specific regular expression. Multiple
116+ definitions cannot be merged. The regular expression is processed using
117+ <literal>builtins.match</literal>.</para></listitem>
118+ </varlistentry>
113119</variablelist>
114120
115121 </section>
@@ -276,8 +282,8 @@ options.mod = mkOption {
276282 option set (<xref linkend='ex-submodule-listof-definition' />).</para>
277283
278284
279−<example xml:id='ex-submodule-listof-declaration'><title>Declaration of a list
280− nof submodules</title>
285+<example xml:id='ex-submodule-listof-declaration'><title>Declaration of a list
286+ of submodules</title>
281287<screen>
282288options.mod = mkOption {
283289 description = "submodule example";
nixos/doc/manual/development/testing-installer.xml+4−2
@@ -11,15 +11,17 @@ tedious, so here is a quick way to see if the installer works
1111properly:
1212
1313<screen>
14−$ nix-build -A config.system.build.nixos-install
1514# mount -t tmpfs none /mnt
15+# nixos-generate-config --root /mnt
16+$ nix-build '&lt;nixpkgs/nixos>' -A config.system.build.nixos-install
1617# ./result/bin/nixos-install</screen>
1718
1819To start a login shell in the new NixOS installation in
1920<filename>/mnt</filename>:
2021
2122<screen>
22−# ./result/bin/nixos-install --chroot
23+$ nix-build '&lt;nixpkgs/nixos>' -A config.system.build.nixos-enter
24+# ./result/bin/nixos-enter
2325</screen>
2426
2527</para>
nixos/doc/manual/development/writing-nixos-tests.xml+40−1
@@ -262,8 +262,47 @@ startAll;
262262 <literal>waitForWindow(qr/Terminal/)</literal>.</para></listitem>
263263 </varlistentry>
264264
265+ <varlistentry>
266+ <term><methodname>copyFileFromHost</methodname></term>
267+ <listitem><para>Copies a file from host to machine, e.g.,
268+ <literal>copyFileFromHost("myfile", "/etc/my/important/file")</literal>.</para>
269+ <para>The first argument is the file on the host. The file needs to be
270+ accessible while building the nix derivation. The second argument is
271+ the location of the file on the machine.</para>
272+ </listitem>
273+ </varlistentry>
274+
275+ <varlistentry>
276+ <term><methodname>systemctl</methodname></term>
277+ <listitem>
278+ <para>Runs <literal>systemctl</literal> commands with optional support for
279+ <literal>systemctl --user</literal></para>
280+ <para>
281+ <programlisting>
282+ $machine->systemctl("list-jobs --no-pager"); // runs `systemctl list-jobs --no-pager`
283+ $machine->systemctl("list-jobs --no-pager", "any-user"); // spawns a shell for `any-user` and runs `systemctl --user list-jobs --no-pager`
284+ </programlisting>
285+ </para>
286+ </listitem>
287+ </varlistentry>
288+
265289</variablelist>
266290
267291</para>
268292
269−</section>
293+<para>
294+ To test user units declared by <literal>systemd.user.services</literal> the optional <literal>$user</literal>
295+ argument can be used:
296+
297+ <programlisting>
298+ $machine->start;
299+ $machine->waitForX;
300+ $machine->waitForUnit("xautolock.service", "x-session-user");
301+ </programlisting>
302+
303+ This applies to <literal>systemctl</literal>, <literal>getUnitInfo</literal>,
304+ <literal>waitForUnit</literal>, <literal>startJob</literal>
305+ and <literal>stopJob</literal>.
306+</para>
307+
308+</section>
nixos/doc/manual/installation/changing-config.xml+15−3
@@ -70,9 +70,21 @@ $ ./result/bin/run-*-vm
7070</screen>
7171
7272The VM does not have any data from your host system, so your existing
73−user accounts and home directories will not be available. You can
74−forward ports on the host to the guest. For instance, the following
75−will forward host port 2222 to guest port 22 (SSH):
73+user accounts and home directories will not be available unless you
74+have set <literal>mutableUsers = false</literal>. Another way is to
75+temporarily add the following to your configuration:
76+
77+<screen>
78+users.extraUsers.your-user.initialPassword = "test"
79+</screen>
80+
81+<emphasis>Important:</emphasis> delete the $hostname.qcow2 file if you
82+have started the virtual machine at least once without the right
83+users, otherwise the changes will not get picked up.
84+
85+You can forward ports on the host to the guest. For
86+instance, the following will forward host port 2222 to guest port 22
87+(SSH):
7688
7789<screen>
7890$ QEMU_NET_OPTS="hostfwd=tcp::2222-:22" ./result/bin/run-*-vm
nixos/doc/manual/installation/installing-from-other-distro.xmlnew file+309
@@ -0,0 +1,309 @@
1+<!-- vim: set expandtab ts=2 softtabstop=2 shiftwidth=2 smarttab textwidth=80 wrapmargin=2 -->
2+<section
3+ xmlns="http://docbook.org/ns/docbook"
4+ xmlns:xlink="http://www.w3.org/1999/xlink"
5+ xmlns:xi="http://www.w3.org/2001/XInclude"
6+ version="5.0"
7+ xml:id="sec-installing-from-other-distro">
8+
9+ <title>Installing from another Linux distribution</title>
10+
11+ <para>
12+ Because Nix (the package manager) &amp; Nixpkgs (the Nix packages
13+ collection) can both be installed on any (most?) Linux distributions,
14+ they can be used to install NixOS in various creative ways. You can,
15+ for instance:
16+ </para>
17+
18+ <orderedlist>
19+ <listitem><para>Install NixOS on another partition, from your existing
20+ Linux distribution (without the use of a USB or optical
21+ device!)</para></listitem>
22+
23+ <listitem><para>Install NixOS on the same partition (in place!), from
24+ your existing non-NixOS Linux distribution using
25+ <literal>NIXOS_LUSTRATE</literal>.</para></listitem>
26+
27+ <listitem><para>Install NixOS on your hard drive from the Live CD of
28+ any Linux distribution.</para></listitem>
29+ </orderedlist>
30+
31+ <para>The first steps to all these are the same:</para>
32+
33+ <orderedlist>
34+ <listitem>
35+ <para>Install the Nix package manager:</para>
36+
37+ <para>Short version:</para>
38+
39+ <screen>
40+$ bash &lt;(curl https://nixos.org/nix/install)
41+$ . $HOME/.nix-profile/etc/profile.d/nix.sh # …or open a fresh shell</screen>
42+
43+ <para>More details in the <link
44+ xlink:href="https://nixos.org/nix/manual/#chap-quick-start">
45+ Nix manual</link></para>
46+ </listitem>
47+
48+ <listitem>
49+ <para>Switch to the NixOS channel:</para>
50+
51+ <para>If you've just installed Nix on a non-NixOS distribution, you
52+ will be on the <literal>nixpkgs</literal> channel by
53+ default.</para>
54+
55+ <screen>
56+$ nix-channel --list
57+nixpkgs https://nixos.org/channels/nixpkgs-unstable</screen>
58+
59+ <para>As that channel gets released without running the NixOS
60+ tests, it will be safer to use the <literal>nixos-*</literal>
61+ channels instead:</para>
62+
63+ <screen>
64+$ nix-channel --add https://nixos.org/channels/nixos-<replaceable>version</replaceable> nixpkgs</screen>
65+
66+ <para>You may want to throw in a <literal>nix-channel
67+ --update</literal> for good measure.</para>
68+ </listitem>
69+
70+ <listitem>
71+ <para>Install the NixOS installation tools:</para>
72+
73+ <para>You'll need <literal>nixos-generate-config</literal> and
74+ <literal>nixos-install</literal> and we'll throw in some man
75+ pages and <literal>nixos-enter</literal> just in case you want
76+ to chroot into your NixOS partition. They are installed by
77+ default on NixOS, but you don't have NixOS yet..</para>
78+
79+ <screen>$ nix-env -iE "_: with import &lt;nixpkgs/nixos&gt; { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ]"</screen>
80+ </listitem>
81+
82+ <listitem>
83+ <note><para>The following 5 steps are only for installing NixOS to
84+ another partition. For installing NixOS in place using
85+ <literal>NIXOS_LUSTRATE</literal>, skip ahead.</para></note>
86+
87+ <para>Prepare your target partition:</para>
88+
89+ <para>At this point it is time to prepare your target partition.
90+ Please refer to the partitioning, file-system creation, and
91+ mounting steps of <xref linkend="sec-installation" /></para>
92+
93+ <para>If you're about to install NixOS in place using
94+ <literal>NIXOS_LUSTRATE</literal> there is nothing to do for
95+ this step.</para>
96+ </listitem>
97+
98+ <listitem>
99+ <para>Generate your NixOS configuration:</para>
100+
101+ <screen>$ sudo `which nixos-generate-config` --root /mnt</screen>
102+
103+ <para>You'll probably want to edit the configuration files. Refer
104+ to the <literal>nixos-generate-config</literal> step in <xref
105+ linkend="sec-installation" /> for more information.</para>
106+
107+ <para>Consider setting up the NixOS bootloader to give you the
108+ ability to boot on your existing Linux partition. For instance,
109+ if you're using GRUB and your existing distribution is running
110+ Ubuntu, you may want to add something like this to your
111+ <literal>configuration.nix</literal>:</para>
112+
113+ <programlisting>
114+boot.loader.grub.extraEntries = ''
115+ menuentry "Ubuntu" {
116+ search --set=ubuntu --fs-uuid 3cc3e652-0c1f-4800-8451-033754f68e6e
117+ configfile "($ubuntu)/boot/grub/grub.cfg"
118+ }
119+'';</programlisting>
120+
121+ <para>(You can find the appropriate UUID for your partition in
122+ <literal>/dev/disk/by-uuid</literal>)</para>
123+ </listitem>
124+
125+ <listitem>
126+ <para>Create the <literal>nixbld</literal> group and user on your
127+ original distribution:</para>
128+
129+ <screen>
130+$ sudo groupadd -g 30000 nixbld
131+$ sudo useradd -u 30000 -g nixbld -G nixbld nixbld</screen>
132+ </listitem>
133+
134+ <listitem>
135+ <para>Download/build/install NixOS:</para>
136+
137+ <warning><para>Once you complete this step, you might no longer be
138+ able to boot on existing systems without the help of a
139+ rescue USB drive or similar.</para></warning>
140+
141+ <screen>$ sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt</screen>
142+
143+ <para>Again, please refer to the <literal>nixos-install</literal>
144+ step in <xref linkend="sec-installation" /> for more
145+ information.</para>
146+
147+ <para>That should be it for installation to another partition!</para>
148+ </listitem>
149+
150+ <listitem>
151+ <para>Optionally, you may want to clean up your non-NixOS distribution:</para>
152+
153+ <screen>
154+$ sudo userdel nixbld
155+$ sudo groupdel nixbld</screen>
156+
157+ <para>If you do not wish to keep the Nix package mananager
158+ installed either, run something like <literal>sudo rm -rv
159+ ~/.nix-* /nix</literal> and remove the line that the Nix
160+ installer added to your <literal>~/.profile</literal>.</para>
161+ </listitem>
162+
163+ <listitem>
164+ <note><para>The following steps are only for installing NixOS in
165+ place using
166+ <literal>NIXOS_LUSTRATE</literal>:</para></note>
167+
168+ <para>Generate your NixOS configuration:</para>
169+
170+ <screen>$ sudo `which nixos-generate-config` --root /</screen>
171+
172+ <para>Note that this will place the generated configuration files
173+ in <literal>/etc/nixos</literal>. You'll probably want to edit
174+ the configuration files. Refer to the
175+ <literal>nixos-generate-config</literal> step in <xref
176+ linkend="sec-installation" /> for more information.</para>
177+
178+ <para>You'll likely want to set a root password for your first boot
179+ using the configuration files because you won't have a chance
180+ to enter a password until after you reboot. You can initalize
181+ the root password to an empty one with this line: (and of course
182+ don't forget to set one once you've rebooted or to lock the
183+ account with <literal>sudo passwd -l root</literal> if you use
184+ <literal>sudo</literal>)</para>
185+
186+ <programlisting>users.extraUsers.root.initialHashedPassword = "";</programlisting>
187+ </listitem>
188+
189+ <listitem>
190+ <para>Build the NixOS closure and install it in the
191+ <literal>system</literal> profile:</para>
192+
193+ <screen>$ nix-env -p /nix/var/nix/profiles/system -f '&lt;nixpkgs/nixos&gt;' -I nixos-config=/etc/nixos/configuration.nix -iA system</screen>
194+ </listitem>
195+
196+ <listitem>
197+ <para>Change ownership of the <literal>/nix</literal> tree to root
198+ (since your Nix install was probably single user):</para>
199+
200+ <screen>$ sudo chown -R 0.0 /nix</screen>
201+ </listitem>
202+
203+ <listitem>
204+ <para>Set up the <literal>/etc/NIXOS</literal> and
205+ <literal>/etc/NIXOS_LUSTRATE</literal> files:</para>
206+
207+ <para><literal>/etc/NIXOS</literal> officializes that this is now a
208+ NixOS partition (the bootup scripts require its presence).</para>
209+
210+ <para><literal>/etc/NIXOS_LUSTRATE</literal> tells the NixOS bootup
211+ scripts to move <emphasis>everything</emphasis> that's in the
212+ root partition to <literal>/old-root</literal>. This will move
213+ your existing distribution out of the way in the very early
214+ stages of the NixOS bootup. There are exceptions (we do need to
215+ keep NixOS there after all), so the NixOS lustrate process will
216+ not touch:</para>
217+
218+ <itemizedlist>
219+ <listitem><para>The <literal>/nix</literal>
220+ directory</para></listitem>
221+
222+ <listitem><para>The <literal>/boot</literal>
223+ directory</para></listitem>
224+
225+ <listitem><para>Any file or directory listed in
226+ <literal>/etc/NIXOS_LUSTRATE</literal> (one per
227+ line)</para></listitem>
228+ </itemizedlist>
229+
230+ <note><para>Support for <literal>NIXOS_LUSTRATE</literal> was added
231+ in NixOS 16.09. The act of "lustrating" refers to the
232+ wiping of the existing distribution. Creating
233+ <literal>/etc/NIXOS_LUSTRATE</literal> can also be used on
234+ NixOS to remove all mutable files from your root partition
235+ (anything that's not in <literal>/nix</literal> or
236+ <literal>/boot</literal> gets "lustrated" on the next
237+ boot.</para>
238+ <para>lustrate /ˈlʌstreɪt/ verb.</para>
239+ <para>purify by expiatory sacrifice, ceremonial washing, or
240+ some other ritual action.</para></note>
241+
242+ <para>Let's create the files:</para>
243+
244+ <screen>
245+$ sudo touch /etc/NIXOS
246+$ sudo touch /etc/NIXOS_LUSTRATE</screen>
247+
248+ <para>Let's also make sure the NixOS configuration files are kept
249+ once we reboot on NixOS:</para>
250+
251+ <screen>
252+$ echo etc/nixos | sudo tee -a /etc/NIXOS_LUSTRATE</screen>
253+ </listitem>
254+
255+ <listitem>
256+ <para>Finally, move the <literal>/boot</literal> directory of your
257+ current distribution out of the way (the lustrate process will
258+ take care of the rest once you reboot, but this one must be
259+ moved out now because NixOS needs to install its own boot
260+ files:</para>
261+
262+ <warning><para>Once you complete this step, your current
263+ distribution will no longer be bootable! If you didn't get
264+ all the NixOS configuration right, especially those
265+ settings pertaining to boot loading and root partition,
266+ NixOS may not be bootable either. Have a USB rescue device
267+ ready in case this happens. </para></warning>
268+
269+ <screen>
270+$ sudo mv -v /boot /boot.bak &amp;&amp;
271+ sudo /nix/var/nix/profiles/system/bin/switch-to-configuration boot</screen>
272+
273+ <para>Cross your fingers, reboot, hopefully you should get a NixOS
274+ prompt!</para>
275+ </listitem>
276+ <listitem>
277+ <para>If for some reason you want to revert to the old
278+ distribution, you'll need to boot on a USB rescue disk and do
279+ something along these lines:</para>
280+
281+ <screen>
282+# mkdir root
283+# mount /dev/sdaX root
284+# mkdir root/nixos-root
285+# mv -v root/* root/nixos-root/
286+# mv -v root/nixos-root/old-root/* root/
287+# mv -v root/boot.bak root/boot # We had renamed this by hand earlier
288+# umount root
289+# reboot</screen>
290+
291+ <para>This may work as is or you might also need to reinstall the
292+ boot loader</para>
293+
294+ <para>And of course, if you're happy with NixOS and no longer need
295+ the old distribution:</para>
296+
297+ <screen>sudo rm -rf /old-root</screen>
298+ </listitem>
299+
300+ <listitem>
301+ <para>It's also worth noting that this whole process can be
302+ automated. This is especially useful for Cloud VMs, where
303+ provider do not provide NixOS. For instance, <link
304+ xlink:href="https://github.com/elitak/nixos-infect">nixos-infect</link>
305+ uses the lustrate process to convert Digital Ocean droplets to
306+ NixOS from other distributions automatically.</para>
307+ </listitem>
308+ </orderedlist>
309+</section>
nixos/doc/manual/installation/installing-uefi.xmldeleted−48
@@ -1,48 +0,0 @@
1−<section xmlns="http://docbook.org/ns/docbook"
2− xmlns:xlink="http://www.w3.org/1999/xlink"
3− xmlns:xi="http://www.w3.org/2001/XInclude"
4− version="5.0"
5− xml:id="sec-uefi-installation">
6−
7−<title>UEFI Installation</title>
8−
9−<para>NixOS can also be installed on UEFI systems. The procedure
10−is by and large the same as a BIOS installation, with the following
11−changes:
12−
13−<itemizedlist>
14− <listitem>
15− <para>You should boot the live CD in UEFI mode (consult your
16− specific hardware's documentation for instructions). You may find
17− the <link
18− xlink:href="http://www.rodsbooks.com/refind">rEFInd
19− boot manager</link> useful.</para>
20− </listitem>
21− <listitem>
22− <para>Instead of <command>fdisk</command>, you should use
23− <command>gdisk</command> to partition your disks. You will need to
24− have a separate partition for <filename>/boot</filename> with
25− partition code EF00, and it should be formatted as a
26− <literal>vfat</literal> filesystem.</para>
27− </listitem>
28− <listitem>
29− <para>Instead of <option>boot.loader.grub.device</option>,
30− you must set <option>boot.loader.systemd-boot.enable</option> to
31− <literal>true</literal>. <command>nixos-generate-config</command>
32− should do this automatically for new configurations when booted in
33− UEFI mode.</para>
34− </listitem>
35− <listitem>
36− <para>After having mounted your installation partition to
37− <code>/mnt</code>, you must mount the <code>boot</code> partition
38− to <code>/mnt/boot</code>.</para>
39− </listitem>
40− <listitem>
41− <para>You may want to look at the options starting with
42− <option>boot.loader.efi</option> and <option>boot.loader.systemd-boot</option>
43− as well.</para>
44− </listitem>
45−</itemizedlist>
46−</para>
47−
48−</section>
nixos/doc/manual/installation/installing-usb.xml+18−4
@@ -11,10 +11,24 @@ a USB stick. You can use the <command>dd</command> utility to write the image:
1111<command>dd if=<replaceable>path-to-image</replaceable>
1212of=<replaceable>/dev/sdb</replaceable></command>. Be careful about specifying the
1313correct drive; you can use the <command>lsblk</command> command to get a list of
14−block devices. If you're on macOS you can run <command>diskutil list</command>
15−to see the list of devices; the device you'll use for the USB must be ejected
16−before writing the image.</para>
14+block devices.</para>
1715
16+<para>On macOS:
17+<programlisting>
18+$ diskutil list
19+[..]
20+/dev/diskN (external, physical):
21+ #: TYPE NAME SIZE IDENTIFIER
22+[..]
23+$ diskutil unmountDisk diskN
24+Unmount of all volumes on diskN was successful
25+$ sudo dd bs=1m if=nix.iso of=/dev/rdiskN
26+</programlisting>
27+Using the 'raw' <command>rdiskN</command> device instead of <command>diskN</command>
28+completes in minutes instead of hours. After <command>dd</command> completes, a GUI
29+dialog "The disk you inserted was not readable by this computer" will pop up, which
30+can be ignored.</para>
31+
1832<para>The <command>dd</command> utility will write the image verbatim to the drive,
1933making it the recommended option for both UEFI and non-UEFI installations. For
2034non-UEFI installations, you can alternatively use
@@ -37,7 +51,7 @@ ISO, copy its contents verbatim to your drive, then either:
3751 <listitem>
3852 <para>If you want to load the contents of the ISO to ram after bootin
3953 (So you can remove the stick after bootup) you can append the parameter
40− <literal>copytoram</literal>to the <literal>options</literal> field.</para>
54+ <literal>copytoram</literal> to the <literal>options</literal> field.</para>
4155 </listitem>
4256</itemizedlist>
4357</para>
nixos/doc/manual/installation/installing-virtualbox-guest.xml+5−5
@@ -4,18 +4,18 @@
44 version="5.0"
55 xml:id="sec-instaling-virtualbox-guest">
66
7−<title>Installing in a Virtualbox guest</title>
7+<title>Installing in a VirtualBox guest</title>
88<para>
9− Installing NixOS into a Virtualbox guest is convenient for users who want to
9+ Installing NixOS into a VirtualBox guest is convenient for users who want to
1010 try NixOS without installing it on bare metal. If you want to use a pre-made
11− Virtualbox appliance, it is available at <link
11+ VirtualBox appliance, it is available at <link
1212 xlink:href="https://nixos.org/nixos/download.html">the downloads page</link>.
13− If you want to set up a Virtualbox guest manually, follow these instructions:
13+ If you want to set up a VirtualBox guest manually, follow these instructions:
1414</para>
1515
1616<orderedlist>
1717
18− <listitem><para>Add a New Machine in Virtualbox with OS Type "Linux / Other
18+ <listitem><para>Add a New Machine in VirtualBox with OS Type "Linux / Other
1919 Linux"</para></listitem>
2020
2121 <listitem><para>Base Memory Size: 768 MB or higher.</para></listitem>
nixos/doc/manual/installation/installing.xml+131−16
@@ -6,9 +6,18 @@
66
77<title>Installing NixOS</title>
88
9+<para>NixOS can be installed on BIOS or UEFI systems. The procedure
10+for a UEFI installation is by and large the same as a BIOS installation. The differences are mentioned in the steps that follow.</para>
11+
912<orderedlist>
1013
11− <listitem><para>Boot from the CD.</para></listitem>
14+ <listitem><para>Boot from the CD.</para>
15+ <variablelist>
16+ <varlistentry><term>UEFI systems</term>
17+ <listitem><para>You should boot the live CD in UEFI mode
18+ (consult your specific hardware's documentation for instructions).
19+ You may find the <link xlink:href="http://www.rodsbooks.com/refind">rEFInd boot
20+ manager</link> useful.</para></listitem></varlistentry></variablelist></listitem>
1221
1322 <listitem><para>The CD contains a basic NixOS installation. (It
1423 also contains Memtest86+, useful if you want to test new hardware).
@@ -36,7 +45,10 @@
3645 using <command>ifconfig</command>.</para>
3746 <para>To manually configure the network on the graphical installer,
3847 first disable network-manager with
39− <command>systemctl stop network-manager</command>.</para></listitem>
48+ <command>systemctl stop network-manager</command>.</para>
49+ <para>To manually configure the wifi on the minimal installer, run
50+ <command>wpa_supplicant -B -i interface -c &lt;(wpa_passphrase 'SSID' 'key')</command>.</para></listitem>
51+
4052
4153 <listitem><para>If you would like to continue the installation from a different
4254 machine you need to activate the SSH daemon via <literal>systemctl start sshd</literal>.
@@ -50,7 +62,31 @@
5062 <itemizedlist>
5163
5264 <listitem><para>For partitioning:
53− <command>fdisk</command>.</para></listitem>
65+ <command>fdisk</command>.
66+<screen>
67+# fdisk /dev/sda # <lineannotation>(or whatever device you want to install on)</lineannotation>
68+-- for UEFI systems only
69+> n # <lineannotation>(create a new partition for /boot)</lineannotation>
70+> 3 # <lineannotation>(make it a partition number 3)</lineannotation>
71+> # <lineannotation>(press enter to accept the default)</lineannotation>
72+> +512M # <lineannotation>(the size of the UEFI boot partition)</lineannotation>
73+> t # <lineannotation>(change the partition type ...)</lineannotation>
74+> 3 # <lineannotation>(... of the boot partition ...)</lineannotation>
75+> 1 # <lineannotation>(... to 'UEFI System')</lineannotation>
76+-- for BIOS or UEFI systems
77+> n # <lineannotation>(create a new partition for /swap)</lineannotation>
78+> 2 # <lineannotation>(make it a partition number 2)</lineannotation>
79+> # <lineannotation>(press enter to accept the default)</lineannotation>
80+> +8G # <lineannotation>(the size of the swap partition, set to whatever you like)</lineannotation>
81+> n # <lineannotation>(create a new partition for /)</lineannotation>
82+> 1 # <lineannotation>(make it a partition number 1)</lineannotation>
83+> # <lineannotation>(press enter to accept the default)</lineannotation>
84+> # <lineannotation>(press enter to accept the default and use the rest of the remaining space)</lineannotation>
85+> a # <lineannotation>(make the partition bootable)</lineannotation>
86+> x # <lineannotation>(enter expert mode)</lineannotation>
87+> f # <lineannotation>(fix up the partition ordering)</lineannotation>
88+> r # <lineannotation>(exit expert mode)</lineannotation>
89+> w # <lineannotation>(write the partition table to disk and exit)</lineannotation></screen></para></listitem>
5490
5591 <listitem><para>For initialising Ext4 partitions:
5692 <command>mkfs.ext4</command>. It is recommended that you assign a
@@ -67,18 +103,30 @@
67103 <listitem><para>For creating swap partitions:
68104 <command>mkswap</command>. Again it’s recommended to assign a
69105 label to the swap partition: <option>-L
70− <replaceable>label</replaceable></option>.</para></listitem>
71−
72− <listitem><para>For creating LVM volumes, the LVM commands, e.g.,
106+ <replaceable>label</replaceable></option>. For example:
73107
74108<screen>
75−# pvcreate /dev/sda1 /dev/sdb1
76−# vgcreate MyVolGroup /dev/sda1 /dev/sdb1
77−# lvcreate --size 2G --name bigdisk MyVolGroup
78−# lvcreate --size 1G --name smalldisk MyVolGroup</screen>
109+# mkswap -L swap /dev/sda2</screen>
79110
80111 </para></listitem>
81112
113+ <listitem>
114+ <variablelist>
115+ <varlistentry><term>UEFI systems</term>
116+ <listitem><para>For creating boot partitions:
117+ <command>mkfs.fat</command>. Again it’s recommended to assign a
118+ label to the boot partition: <option>-n
119+ <replaceable>label</replaceable></option>. For example:
120+
121+<screen>
122+# mkfs.fat -F 32 -n boot /dev/sda3</screen>
123+
124+ </para></listitem></varlistentry></variablelist></listitem>
125+
126+ <listitem><para>For creating LVM volumes, the LVM commands, e.g.,
127+ <command>pvcreate</command>, <command>vgcreate</command>, and
128+ <command>lvcreate</command>.</para></listitem>
129+
82130 <listitem><para>For creating software RAID devices, use
83131 <command>mdadm</command>.</para></listitem>
84132
@@ -95,11 +143,28 @@
95143
96144 </para></listitem>
97145
146+ <listitem>
147+ <variablelist>
148+ <varlistentry><term>UEFI systems</term>
149+ <listitem><para>Mount the boot file system on <filename>/mnt/boot</filename>, e.g.
150+
151+<screen>
152+# mkdir -p /mnt/boot
153+# mount /dev/disk/by-label/boot /mnt/boot
154+</screen>
155+
156+ </para></listitem></varlistentry></variablelist></listitem>
157+
98158 <listitem><para>If your machine has a limited amount of memory, you
99159 may want to activate swap devices now (<command>swapon
100160 <replaceable>device</replaceable></command>). The installer (or
101161 rather, the build actions that it may spawn) may need quite a bit of
102− RAM, depending on your configuration.</para></listitem>
162+ RAM, depending on your configuration.
163+
164+<screen>
165+# swapon /dev/sda2</screen>
166+
167+ </para></listitem>
103168
104169 <listitem>
105170
@@ -135,10 +200,25 @@
135200 install Emacs by running <literal>nix-env -i
136201 emacs</literal>.</para>
137202
138− <para>You <emphasis>must</emphasis> set the option
203+ <variablelist>
204+
205+ <varlistentry><term>BIOS systems</term>
206+ <listitem><para>You <emphasis>must</emphasis> set the option
139207 <option>boot.loader.grub.device</option> to specify on which disk
140208 the GRUB boot loader is to be installed. Without it, NixOS cannot
141− boot.</para>
209+ boot.</para></listitem></varlistentry>
210+
211+ <varlistentry><term>UEFI systems</term>
212+ <listitem><para>You <emphasis>must</emphasis> set the option
213+ <option>boot.loader.systemd-boot.enable</option> to <literal>true</literal>.
214+ <command>nixos-generate-config</command> should do this automatically for new
215+ configurations when booted in
216+ UEFI mode.</para>
217+ <para>You may want to look at the options starting with
218+ <option>boot.loader.efi</option> and <option>boot.loader.systemd-boot</option>
219+ as well.</para></listitem></varlistentry>
220+
221+ </variablelist>
142222
143223 <para>If there are other operating systems running on the machine before
144224 installing NixOS, the
@@ -190,11 +270,20 @@ Enter new UNIX password: ***
190270Retype new UNIX password: ***
191271</screen>
192272
273+ <note>
274+ <para>
275+ To prevent the password prompt, set <code>users.mutableUsers = false;</code> in
276+ <filename>configuration.nix</filename>, which allows unattended installation
277+ necessary in automation.
278+ </para>
279+ </note>
280+
193281 </para>
194282
195283 </listitem>
196284
197− <listitem><para>If everything went well:
285+ <listitem>
286+ <para>If everything went well:
198287
199288<screen>
200289# reboot</screen>
@@ -247,10 +336,35 @@ drive (here <filename>/dev/sda</filename>). <xref linkend="ex-config"
247336<example xml:id='ex-install-sequence'><title>Commands for Installing NixOS on <filename>/dev/sda</filename></title>
248337<screen>
249338# fdisk /dev/sda # <lineannotation>(or whatever device you want to install on)</lineannotation>
339+-- for UEFI systems only
340+> n # <lineannotation>(create a new partition for /boot)</lineannotation>
341+> 3 # <lineannotation>(make it a partition number 3)</lineannotation>
342+> # <lineannotation>(press enter to accept the default)</lineannotation>
343+> +512M # <lineannotation>(the size of the UEFI boot partition)</lineannotation>
344+> t # <lineannotation>(change the partition type ...)</lineannotation>
345+> 3 # <lineannotation>(... of the boot partition ...)</lineannotation>
346+> 1 # <lineannotation>(... to 'UEFI System')</lineannotation>
347+-- for BIOS or UEFI systems
348+> n # <lineannotation>(create a new partition for /swap)</lineannotation>
349+> 2 # <lineannotation>(make it a partition number 2)</lineannotation>
350+> # <lineannotation>(press enter to accept the default)</lineannotation>
351+> +8G # <lineannotation>(the size of the swap partition)</lineannotation>
352+> n # <lineannotation>(create a new partition for /)</lineannotation>
353+> 1 # <lineannotation>(make it a partition number 1)</lineannotation>
354+> # <lineannotation>(press enter to accept the default)</lineannotation>
355+> # <lineannotation>(press enter to accept the default and use the rest of the remaining space)</lineannotation>
356+> a # <lineannotation>(make the partition bootable)</lineannotation>
357+> x # <lineannotation>(enter expert mode)</lineannotation>
358+> f # <lineannotation>(fix up the partition ordering)</lineannotation>
359+> r # <lineannotation>(exit expert mode)</lineannotation>
360+> w # <lineannotation>(write the partition table to disk and exit)</lineannotation>
250361# mkfs.ext4 -L nixos /dev/sda1
251362# mkswap -L swap /dev/sda2
252363# swapon /dev/sda2
364+# mkfs.fat -F 32 -n boot /dev/sda3 # <lineannotation>(for UEFI systems only)</lineannotation>
253365# mount /dev/disk/by-label/nixos /mnt
366+# mkdir -p /mnt/boot # <lineannotation>(for UEFI systems only)</lineannotation>
367+# mount /dev/disk/by-label/boot /mnt/boot # <lineannotation>(for UEFI systems only)</lineannotation>
254368# nixos-generate-config --root /mnt
255369# nano /mnt/etc/nixos/configuration.nix
256370# nixos-install
@@ -267,7 +381,8 @@ drive (here <filename>/dev/sda</filename>). <xref linkend="ex-config"
267381 ./hardware-configuration.nix
268382 ];
269383
270− boot.loader.grub.device = "/dev/sda";
384+ boot.loader.grub.device = "/dev/sda"; # <lineannotation>(for BIOS systems only)</lineannotation>
385+ boot.loader.systemd-boot.enable = true; # <lineannotation>(for UEFI systems only)</lineannotation>
271386
272387 # Note: setting fileSystems is generally not
273388 # necessary, since nixos-generate-config figures them out
@@ -279,9 +394,9 @@ drive (here <filename>/dev/sda</filename>). <xref linkend="ex-config"
279394}</screen>
280395</example>
281396
282−<xi:include href="installing-uefi.xml" />
283397<xi:include href="installing-usb.xml" />
284398<xi:include href="installing-pxe.xml" />
285399<xi:include href="installing-virtualbox-guest.xml" />
400+<xi:include href="installing-from-other-distro.xml" />
286401
287402</chapter>
nixos/doc/manual/installation/obtaining.xml+4−5
@@ -12,11 +12,10 @@ download page</link>. There are a number of installation options. If
1212you happen to have an optical drive and a spare CD, burning the
1313image to CD and booting from that is probably the easiest option.
1414Most people will need to prepare a USB stick to boot from.
15−Unetbootin is recommended and the process is described in brief below.
16−Note that systems which use UEFI require some additional manual steps.
17−If you run into difficulty a number of alternative methods are presented
18−in the <link
19−xlink:href="https://nixos.org/wiki/Installing_NixOS_from_a_USB_stick">NixOS
15+<xref linkend="sec-booting-from-usb"/> describes the preferred method
16+to prepare a USB stick.
17+A number of alternative methods are presented in the <link
18+xlink:href="https://nixos.wiki/wiki/NixOS_Installation_Guide#Making_the_installation_media">NixOS
2019Wiki</link>.</para>
2120
2221<para>As an alternative to installing NixOS yourself, you can get a
nixos/doc/manual/man-nixos-build-vms.xml+3−3
@@ -40,7 +40,7 @@ points to the generated virtual network.
4040 test1 = {pkgs, config, ...}:
4141 {
4242 services.openssh.enable = true;
43− nixpkgs.system = "i686-linux";
43+ nixpkgs.localSystem.system = "i686-linux";
4444 deployment.targetHost = "test1.example.net";
4545
4646 # Other NixOS options
@@ -51,7 +51,7 @@ points to the generated virtual network.
5151 services.openssh.enable = true;
5252 services.httpd.enable = true;
5353 environment.systemPackages = [ pkgs.lynx ];
54− nixpkgs.system = "x86_64-linux";
54+ nixpkgs.localSystem.system = "x86_64-linux";
5555 deployment.targetHost = "test2.example.net";
5656
5757 # Other NixOS options
@@ -66,7 +66,7 @@ In each NixOS configuration, two attributes have a special meaning.
6666The <varname>deployment.targetHost</varname> specifies the address
6767(domain name or IP address)
6868of the system which is used by <command>ssh</command> to perform
69−remote deployment operations. The <varname>nixpkgs.system</varname>
69+remote deployment operations. The <varname>nixpkgs.localSystem.system</varname>
7070attribute can be used to specify an architecture for the target machine,
7171such as <varname>i686-linux</varname> which builds a 32-bit NixOS
7272configuration. Omitting this property will build the configuration
nixos/doc/manual/man-nixos-enter.xmlnew file+119
@@ -0,0 +1,119 @@
1+<refentry xmlns="http://docbook.org/ns/docbook"
2+ xmlns:xlink="http://www.w3.org/1999/xlink"
3+ xmlns:xi="http://www.w3.org/2001/XInclude">
4+
5+<refmeta>
6+ <refentrytitle><command>nixos-enter</command></refentrytitle>
7+ <manvolnum>8</manvolnum>
8+ <refmiscinfo class="source">NixOS</refmiscinfo>
9+ <!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
10+</refmeta>
11+
12+<refnamediv>
13+ <refname><command>nixos-enter</command></refname>
14+ <refpurpose>run a command in a NixOS chroot environment</refpurpose>
15+</refnamediv>
16+
17+<refsynopsisdiv>
18+ <cmdsynopsis>
19+ <command>nixos-enter</command>
20+ <arg>
21+ <arg choice='plain'><option>--root</option></arg>
22+ <replaceable>root</replaceable>
23+ </arg>
24+ <arg>
25+ <arg choice='plain'><option>--system</option></arg>
26+ <replaceable>system</replaceable>
27+ </arg>
28+ <arg>
29+ <arg choice='plain'><option>-c</option></arg>
30+ <replaceable>shell-command</replaceable>
31+ </arg>
32+ <arg>
33+ <arg choice='plain'><option>--help</option></arg>
34+ </arg>
35+ <arg>
36+ <arg choice='plain'><option>--</option></arg>
37+ <replaceable>arguments</replaceable>
38+ </arg>
39+ </cmdsynopsis>
40+</refsynopsisdiv>
41+
42+
43+<refsection><title>Description</title>
44+
45+<para>This command runs a command in a NixOS chroot environment, that
46+is, in a filesystem hierarchy previously prepared using
47+<command>nixos-install</command>.</para>
48+
49+</refsection>
50+
51+<refsection><title>Options</title>
52+
53+<para>This command accepts the following options:</para>
54+
55+<variablelist>
56+
57+ <varlistentry>
58+ <term><option>--root</option></term>
59+ <listitem>
60+ <para>The path to the NixOS system you want to enter. It defaults to <filename>/mnt</filename>.</para>
61+ </listitem>
62+ </varlistentry>
63+
64+ <varlistentry>
65+ <term><option>--system</option></term>
66+ <listitem>
67+ <para>The NixOS system configuration to use. It defaults to
68+ <filename>/nix/var/nix/profiles/system</filename>. You can enter
69+ a previous NixOS configuration by specifying a path such as
70+ <filename>/nix/var/nix/profiles/system-106-link</filename>.</para>
71+ </listitem>
72+ </varlistentry>
73+
74+ <varlistentry>
75+ <term><option>--command</option></term>
76+ <term><option>-c</option></term>
77+ <listitem>
78+ <para>The bash command to execute.</para>
79+ </listitem>
80+ </varlistentry>
81+
82+ <varlistentry>
83+ <term><option>--</option></term>
84+
85+ <listitem><para>Interpret the remaining arguments as the program
86+ name and arguments to be invoked. The program is not executed in a
87+ shell.</para></listitem>
88+
89+ </varlistentry>
90+
91+</variablelist>
92+
93+</refsection>
94+
95+
96+<refsection><title>Examples</title>
97+
98+<para>Start an interactive shell in the NixOS installation in
99+<filename>/mnt</filename>:</para>
100+
101+<screen>
102+# nixos-enter /mnt
103+</screen>
104+
105+<para>Run a shell command:</para>
106+
107+<screen>
108+# nixos-enter -c 'ls -l /; cat /proc/mounts'
109+</screen>
110+
111+<para>Run a non-shell command:</para>
112+
113+<screen>
114+# nixos-enter -- cat /proc/mounts
115+</screen>
116+
117+</refsection>
118+
119+</refentry>
nixos/doc/manual/man-nixos-install.xml+3−3
@@ -26,8 +26,8 @@
2626 <replaceable>root</replaceable>
2727 </arg>
2828 <arg>
29− <arg choice='plain'><option>--closure</option></arg>
30− <replaceable>closure</replaceable>
29+ <arg choice='plain'><option>--system</option></arg>
30+ <replaceable>path</replaceable>
3131 </arg>
3232 <arg>
3333 <arg choice='plain'><option>--no-channel-copy</option></arg>
@@ -118,7 +118,7 @@ it.</para>
118118 </varlistentry>
119119
120120 <varlistentry>
121− <term><option>--closure</option></term>
121+ <term><option>--system</option></term>
122122 <listitem>
123123 <para>If this option is provided, <command>nixos-install</command> will install the specified closure
124124 rather than attempt to build one from <filename>/mnt/etc/nixos/configuration.nix</filename>.</para>
nixos/doc/manual/man-pages.xml+2−1
@@ -15,7 +15,7 @@
1515 </author>
1616
1717 <copyright>
18− <year>2007-2015</year>
18+ <year>2007-2018</year>
1919 <holder>Eelco Dolstra</holder>
2020 </copyright>
2121
@@ -25,6 +25,7 @@
2525 <xi:include href="man-nixos-build-vms.xml" />
2626 <xi:include href="man-nixos-generate-config.xml" />
2727 <xi:include href="man-nixos-install.xml" />
28+ <xi:include href="man-nixos-enter.xml" />
2829 <xi:include href="man-nixos-option.xml" />
2930 <xi:include href="man-nixos-rebuild.xml" />
3031 <xi:include href="man-nixos-version.xml" />
nixos/doc/manual/options-to-docbook.xsl+9
@@ -70,6 +70,15 @@
7070 </para>
7171 </xsl:if>
7272
73+ <xsl:if test="attr[@name = 'relatedPackages']">
74+ <para>
75+ <emphasis>Related packages:</emphasis>
76+ <xsl:text> </xsl:text>
77+ <xsl:value-of disable-output-escaping="yes"
78+ select="attr[@name = 'relatedPackages']/string/@value" />
79+ </para>
80+ </xsl:if>
81+
7382 <xsl:if test="count(attr[@name = 'declarations']/list/*) != 0">
7483 <para>
7584 <emphasis>Declared by:</emphasis>
nixos/doc/manual/release-notes/release-notes.xml+1
@@ -9,6 +9,7 @@
99<para>This section lists the release notes for each stable version of NixOS
1010and current unstable revision.</para>
1111
12+<xi:include href="rl-1809.xml" />
1213<xi:include href="rl-1803.xml" />
1314<xi:include href="rl-1709.xml" />
1415<xi:include href="rl-1703.xml" />
nixos/doc/manual/release-notes/rl-1404.xml+1−1
@@ -13,7 +13,7 @@ the following highlights:
1313<itemizedlist>
1414
1515 <listitem><para>Installation on UEFI systems is now supported. See
16− <xref linkend="sec-uefi-installation"/> for
16+ <xref linkend="sec-installation"/> for
1717 details.</para></listitem>
1818
1919 <listitem><para>Systemd has been updated to version 212, which has
nixos/doc/manual/release-notes/rl-1803.xml+456−8
@@ -4,7 +4,7 @@
44 version="5.0"
55 xml:id="sec-release-18.03">
66
7−<title>Release 18.03 (“Impala”, 2018/03/??)</title>
7+<title>Release 18.03 (“Impala”, 2018/04/04)</title>
88
99<section xmlns="http://docbook.org/ns/docbook"
1010 xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -18,10 +18,63 @@
1818has the following highlights: </para>
1919
2020<itemizedlist>
21+
22+ <listitem>
23+ <para>
24+ End of support is planned for end of October 2018, handing over to 18.09.
25+ </para>
26+ </listitem>
27+
28+ <listitem>
29+ <para>
30+ Platform support: x86_64-linux and x86_64-darwin since release time (the latter isn't NixOS, really).
31+ Binaries for aarch64-linux are available, but no channel exists yet, as it's waiting for some test fixes, etc.
32+ </para>
33+ </listitem>
34+
35+ <listitem>
36+ <para>
37+ Nix now defaults to 2.0; see its
38+ <link xlink:href="https://nixos.org/nix/manual/#ssec-relnotes-2.0">release notes</link>.
39+ </para>
40+ </listitem>
41+
2142 <listitem>
2243 <para>
44+ Core version changes: linux: 4.9 -> 4.14, glibc: 2.25 -> 2.26, gcc: 6 -> 7, systemd: 234 -> 237.
2345 </para>
2446 </listitem>
47+
48+ <listitem>
49+ <para>
50+ Desktop version changes: gnome: 3.24 -> 3.26, (KDE) plasma-desktop: 5.10 -> 5.12.
51+ </para>
52+ </listitem>
53+
54+ <listitem>
55+ <para>
56+ MariaDB 10.2, updated from 10.1, is now the default MySQL implementation. While upgrading a few changes
57+ have been made to the infrastructure involved:
58+ <itemizedlist>
59+ <listitem>
60+ <para>
61+ <literal>libmysql</literal> has been deprecated, please use <literal>mysql.connector-c</literal>
62+ instead, a compatibility passthru has been added to the MySQL packages.
63+ </para>
64+ </listitem>
65+ <listitem>
66+ <para>
67+ The <literal>mysql57</literal> package has a new <literal>static</literal> output containing
68+ the static libraries including <literal>libmysqld.a</literal>
69+ </para>
70+ </listitem>
71+ </itemizedlist>
72+ </para>
73+ </listitem>
74+
75+ <listitem>
76+ <para>PHP now defaults to PHP 7.2, updated from 7.1.</para>
77+ </listitem>
2578</itemizedlist>
2679
2780</section>
@@ -36,9 +89,66 @@ has the following highlights: </para>
3689<para>The following new services were added since the last release:</para>
3790
3891<itemizedlist>
39− <listitem>
40− <para></para>
41− </listitem>
92+ <listitem><para><literal>./config/krb5/default.nix</literal></para></listitem>
93+ <listitem><para><literal>./hardware/digitalbitbox.nix</literal></para></listitem>
94+ <listitem><para><literal>./misc/label.nix</literal></para></listitem>
95+ <listitem><para><literal>./programs/ccache.nix</literal></para></listitem>
96+ <listitem><para><literal>./programs/criu.nix</literal></para></listitem>
97+ <listitem><para><literal>./programs/digitalbitbox/default.nix</literal></para></listitem>
98+ <listitem><para><literal>./programs/less.nix</literal></para></listitem>
99+ <listitem><para><literal>./programs/npm.nix</literal></para></listitem>
100+ <listitem><para><literal>./programs/plotinus.nix</literal></para></listitem>
101+ <listitem><para><literal>./programs/rootston.nix</literal></para></listitem>
102+ <listitem><para><literal>./programs/systemtap.nix</literal></para></listitem>
103+ <listitem><para><literal>./programs/sway.nix</literal></para></listitem>
104+ <listitem><para><literal>./programs/udevil.nix</literal></para></listitem>
105+ <listitem><para><literal>./programs/way-cooler.nix</literal></para></listitem>
106+ <listitem><para><literal>./programs/yabar.nix</literal></para></listitem>
107+ <listitem><para><literal>./programs/zsh/zsh-autoenv.nix</literal></para></listitem>
108+ <listitem><para><literal>./services/backup/borgbackup.nix</literal></para></listitem>
109+ <listitem><para><literal>./services/backup/crashplan-small-business.nix</literal></para></listitem>
110+ <listitem><para><literal>./services/desktops/dleyna-renderer.nix</literal></para></listitem>
111+ <listitem><para><literal>./services/desktops/dleyna-server.nix</literal></para></listitem>
112+ <listitem><para><literal>./services/desktops/pipewire.nix</literal></para></listitem>
113+ <listitem><para><literal>./services/desktops/gnome3/chrome-gnome-shell.nix</literal></para></listitem>
114+ <listitem><para><literal>./services/desktops/gnome3/tracker-miners.nix</literal></para></listitem>
115+ <listitem><para><literal>./services/hardware/fwupd.nix</literal></para></listitem>
116+ <listitem><para><literal>./services/hardware/interception-tools.nix</literal></para></listitem>
117+ <listitem><para><literal>./services/hardware/u2f.nix</literal></para></listitem>
118+ <listitem><para><literal>./services/hardware/usbmuxd.nix</literal></para></listitem>
119+ <listitem><para><literal>./services/mail/clamsmtp.nix</literal></para></listitem>
120+ <listitem><para><literal>./services/mail/dkimproxy-out.nix</literal></para></listitem>
121+ <listitem><para><literal>./services/mail/pfix-srsd.nix</literal></para></listitem>
122+ <listitem><para><literal>./services/misc/gitea.nix</literal></para></listitem>
123+ <listitem><para><literal>./services/misc/home-assistant.nix</literal></para></listitem>
124+ <listitem><para><literal>./services/misc/ihaskell.nix</literal></para></listitem>
125+ <listitem><para><literal>./services/misc/logkeys.nix</literal></para></listitem>
126+ <listitem><para><literal>./services/misc/novacomd.nix</literal></para></listitem>
127+ <listitem><para><literal>./services/misc/osrm.nix</literal></para></listitem>
128+ <listitem><para><literal>./services/misc/plexpy.nix</literal></para></listitem>
129+ <listitem><para><literal>./services/misc/pykms.nix</literal></para></listitem>
130+ <listitem><para><literal>./services/misc/tzupdate.nix</literal></para></listitem>
131+ <listitem><para><literal>./services/monitoring/fusion-inventory.nix</literal></para></listitem>
132+ <listitem><para><literal>./services/monitoring/prometheus/exporters.nix</literal></para></listitem>
133+ <listitem><para><literal>./services/network-filesystems/beegfs.nix</literal></para></listitem>
134+ <listitem><para><literal>./services/network-filesystems/davfs2.nix</literal></para></listitem>
135+ <listitem><para><literal>./services/network-filesystems/openafs/client.nix</literal></para></listitem>
136+ <listitem><para><literal>./services/network-filesystems/openafs/server.nix</literal></para></listitem>
137+ <listitem><para><literal>./services/network-filesystems/ceph.nix</literal></para></listitem>
138+ <listitem><para><literal>./services/networking/aria2.nix</literal></para></listitem>
139+ <listitem><para><literal>./services/networking/monero.nix</literal></para></listitem>
140+ <listitem><para><literal>./services/networking/nghttpx/default.nix</literal></para></listitem>
141+ <listitem><para><literal>./services/networking/nixops-dns.nix</literal></para></listitem>
142+ <listitem><para><literal>./services/networking/rxe.nix</literal></para></listitem>
143+ <listitem><para><literal>./services/networking/stunnel.nix</literal></para></listitem>
144+ <listitem><para><literal>./services/web-apps/matomo.nix</literal></para></listitem>
145+ <listitem><para><literal>./services/web-apps/restya-board.nix</literal></para></listitem>
146+ <listitem><para><literal>./services/web-servers/mighttpd2.nix</literal></para></listitem>
147+ <listitem><para><literal>./services/x11/fractalart.nix</literal></para></listitem>
148+ <listitem><para><literal>./system/boot/binfmt.nix</literal></para></listitem>
149+ <listitem><para><literal>./system/boot/grow-partition.nix</literal></para></listitem>
150+ <listitem><para><literal>./tasks/filesystems/ecryptfs.nix</literal></para></listitem>
151+ <listitem><para><literal>./virtualisation/hyperv-guest.nix</literal></para></listitem>
42152</itemizedlist>
43153
44154</section>
@@ -54,6 +164,11 @@ has the following highlights: </para>
54164following incompatible changes:</para>
55165
56166<itemizedlist>
167+ <listitem>
168+ <para>
169+ <literal>sound.enable</literal> now defaults to false.
170+ </para>
171+ </listitem>
57172 <listitem>
58173 <para>
59174 Dollar signs in options under <option>services.postfix</option> are
@@ -72,6 +187,243 @@ following incompatible changes:</para>
72187 <option>services.pgmanage</option>.
73188 </para>
74189 </listitem>
190+ <listitem>
191+ <para>
192+ Package attributes starting with a digit have been prefixed with an
193+ underscore sign. This is to avoid quoting in the configuration and
194+ other issues with command-line tools like <literal>nix-env</literal>.
195+ The change affects the following packages:
196+ <itemizedlist>
197+ <listitem>
198+ <para><literal>2048-in-terminal</literal> → <literal>_2048-in-terminal</literal></para>
199+ </listitem>
200+ <listitem>
201+ <para><literal>90secondportraits</literal> → <literal>_90secondportraits</literal></para>
202+ </listitem>
203+ <listitem>
204+ <para><literal>2bwm</literal> → <literal>_2bwm</literal></para>
205+ </listitem>
206+ <listitem>
207+ <para><literal>389-ds-base</literal> → <literal>_389-ds-base</literal></para>
208+ </listitem>
209+ </itemizedlist>
210+ </para>
211+ </listitem>
212+ <listitem>
213+ <para>
214+ <emphasis role="strong">
215+ The OpenSSH service no longer enables support for DSA keys by default,
216+ which could cause a system lock out. Update your keys or, unfavorably,
217+ re-enable DSA support manually.
218+ </emphasis>
219+ </para>
220+
221+ <para>
222+ DSA support was
223+ <link xlink:href="https://www.openssh.com/legacy.html">deprecated in OpenSSH 7.0</link>,
224+ due to it being too weak. To re-enable support, add
225+ <literal>PubkeyAcceptedKeyTypes +ssh-dss</literal> to the end of your
226+ <option>services.openssh.extraConfig</option>.
227+ </para>
228+
229+ <para>
230+ After updating the keys to be stronger, anyone still on a pre-17.03
231+ version is safe to jump to 17.03, as vetted
232+ <link xlink:href="https://search.nix.gsc.io/?q=stateVersion">here</link>.
233+ </para>
234+ </listitem>
235+ <listitem>
236+ <para>
237+ The <literal>openssh</literal> package
238+ now includes Kerberos support by default;
239+ the <literal>openssh_with_kerberos</literal> package
240+ is now a deprecated alias.
241+ If you do not want Kerberos support,
242+ you can do <literal>openssh.override { withKerberos = false; }</literal>.
243+ Note, this also applies to the <literal>openssh_hpn</literal> package.
244+ </para>
245+ </listitem>
246+ <listitem>
247+ <para>
248+ <literal>cc-wrapper</literal> has been split in two; there is now also a <literal>bintools-wrapper</literal>.
249+ The most commonly used files in <filename>nix-support</filename> are now split between the two wrappers.
250+ Some commonly used ones, like <filename>nix-support/dynamic-linker</filename>, are duplicated for backwards compatability, even though they rightly belong only in <literal>bintools-wrapper</literal>.
251+ Other more obscure ones are just moved.
252+ </para>
253+ </listitem>
254+ <listitem>
255+ <para>
256+ The propagation logic has been changed.
257+ The new logic, along with new types of dependencies that go with, is thoroughly documented in the "Specifying dependencies" section of the "Standard Environment" chapter of the nixpkgs manual.
258+ <!-- That's <xref linkend="ssec-stdenv-attributes"> were we to merge the manuals. -->
259+ The old logic isn't but is easy to describe: dependencies were propagated as the same type of dependency no matter what.
260+ In practice, that means that many <function>propagatedNativeBuildInputs</function> should instead be <function>propagatedBuildInputs</function>.
261+ Thankfully, that was and is the least used type of dependency.
262+ Also, it means that some <function>propagatedBuildInputs</function> should instead be <function>depsTargetTargetPropagated</function>.
263+ Other types dependencies should be unaffected.
264+ </para>
265+ </listitem>
266+ <listitem>
267+ <para>
268+ <literal>lib.addPassthru drv passthru</literal> is removed. Use <literal>lib.extendDerivation true passthru drv</literal> instead.
269+ </para>
270+ </listitem>
271+ <listitem>
272+ <para>
273+ The <literal>memcached</literal> service no longer accept dynamic socket
274+ paths via <option>services.memcached.socket</option>. Unix sockets can be
275+ still enabled by <option>services.memcached.enableUnixSocket</option> and
276+ will be accessible at <literal>/run/memcached/memcached.sock</literal>.
277+ </para>
278+ </listitem>
279+ <listitem>
280+ <para>
281+ The <varname>hardware.amdHybridGraphics.disable</varname> option was removed for lack of a maintainer. If you still need this module, you may wish to include a copy of it from an older version of nixos in your imports.
282+ </para>
283+ </listitem>
284+ <listitem>
285+ <para>
286+ The merging of config options for <varname>services.postfix.config</varname>
287+ was buggy. Previously, if other options in the Postfix module like
288+ <varname>services.postfix.useSrs</varname> were set and the user set config
289+ options that were also set by such options, the resulting config wouldn't
290+ include all options that were needed. They are now merged correctly. If
291+ config options need to be overridden, <literal>lib.mkForce</literal> or
292+ <literal>lib.mkOverride</literal> can be used.
293+ </para>
294+ </listitem>
295+ <listitem>
296+ <para>
297+ The following changes apply if the <literal>stateVersion</literal> is changed to 18.03 or higher.
298+ For <literal>stateVersion = "17.09"</literal> or lower the old behavior is preserved.
299+ </para>
300+ <itemizedlist>
301+ <listitem>
302+ <para>
303+ <literal>matrix-synapse</literal> uses postgresql by default instead of sqlite.
304+ Migration instructions can be found <link xlink:href="https://github.com/matrix-org/synapse/blob/master/docs/postgres.rst#porting-from-sqlite"> here </link>.
305+ </para>
306+ </listitem>
307+ </itemizedlist>
308+ </listitem>
309+ <listitem>
310+ <para>
311+ The <literal>jid</literal> package has been removed, due to maintenance
312+ overhead of a go package having non-versioned dependencies.
313+ </para>
314+ </listitem>
315+ <listitem>
316+ <para>
317+ When using <option>services.xserver.libinput</option> (enabled by default in GNOME),
318+ it now handles all input devices, not just touchpads. As a result, you might need to
319+ re-evaluate any custom Xorg configuration. In particular,
320+ <literal>Option "XkbRules" "base"</literal> may result in broken keyboard layout.
321+ </para>
322+ </listitem>
323+ <listitem>
324+ <para>
325+ The <literal>attic</literal> package was removed. A maintained fork called
326+ <link xlink:href="https://www.borgbackup.org/">Borg</link> should be used instead.
327+ Migration instructions can be found
328+ <link xlink:href="http://borgbackup.readthedocs.io/en/stable/usage/upgrade.html#attic-and-borg-0-xx-to-borg-1-x">here</link>.
329+ </para>
330+ </listitem>
331+ <listitem>
332+ <para>
333+ The Piwik analytics software was renamed to Matomo:
334+ <itemizedlist>
335+ <listitem>
336+ <para>The package <literal>pkgs.piwik</literal> was renamed to <literal>pkgs.matomo</literal>.</para>
337+ </listitem>
338+ <listitem>
339+ <para>The service <literal>services.piwik</literal> was renamed to <literal>services.matomo</literal>.</para>
340+ </listitem>
341+ <listitem>
342+ <para>
343+ The data directory <filename>/var/lib/piwik</filename> was renamed to <filename>/var/lib/matomo</filename>.
344+ All files will be moved automatically on first startup, but you might need to adjust your backup scripts.
345+ </para>
346+ </listitem>
347+ <listitem>
348+ <para>
349+ The default <option>serverName</option> for the nginx configuration changed from
350+ <literal>piwik.${config.networking.hostName}</literal> to
351+ <literal>matomo.${config.networking.hostName}.${config.networking.domain}</literal>
352+ if <option>config.networking.domain</option> is set,
353+ <literal>matomo.${config.networking.hostName}</literal> if it is not set.
354+ If you change your <option>serverName</option>, remember you'll need to update the
355+ <literal>trustedHosts[]</literal> array in <filename>/var/lib/matomo/config/config.ini.php</filename>
356+ as well.
357+ </para>
358+ </listitem>
359+ <listitem>
360+ <para>
361+ The <literal>piwik</literal> user was renamed to <literal>matomo</literal>.
362+ The service will adjust ownership automatically for files in the data directory.
363+ If you use unix socket authentication, remember to give the new <literal>matomo</literal> user
364+ access to the database and to change the <literal>username</literal> to <literal>matomo</literal>
365+ in the <literal>[database]</literal> section of <filename>/var/lib/matomo/config/config.ini.php</filename>.
366+ </para>
367+ </listitem>
368+ <listitem>
369+ <para>
370+ If you named your database `piwik`, you might want to rename it to `matomo` to keep things clean,
371+ but this is neither enforced nor required.
372+ </para>
373+ </listitem>
374+ </itemizedlist>
375+ </para>
376+ </listitem>
377+ <listitem>
378+ <para>
379+ <literal>nodejs-4_x</literal> is end-of-life.
380+ <literal>nodejs-4_x</literal>, <literal>nodejs-slim-4_x</literal> and <literal>nodePackages_4_x</literal> are removed.
381+ </para>
382+ </listitem>
383+ <listitem>
384+ <para>
385+ The <literal>pump.io</literal> NixOS module was removed.
386+ It is now maintained as an
387+ <link xlink:href="https://github.com/rvl/pump.io-nixos">external module</link>.
388+ </para>
389+ </listitem>
390+ <listitem>
391+ <para>
392+ The Prosody XMPP server has received a major update. The following modules were renamed:
393+ <itemizedlist>
394+ <listitem>
395+ <para>
396+ <option>services.prosody.modules.httpserver</option> is now <option>services.prosody.modules.http_files</option>
397+ </para>
398+ </listitem>
399+ <listitem>
400+ <para>
401+ <option>services.prosody.modules.console</option> is now <option>services.prosody.modules.admin_telnet</option>
402+ </para>
403+ </listitem>
404+ </itemizedlist>
405+ </para>
406+
407+ <para>
408+ Many new modules are now core modules, most notably <option>services.prosody.modules.carbons</option>
409+ and <option>services.prosody.modules.mam</option>.
410+ </para>
411+
412+ <para>
413+ The better-performing <literal>libevent</literal> backend is now enabled by default.
414+ </para>
415+
416+ <para>
417+ <literal>withCommunityModules</literal> now passes through the modules to <option>services.prosody.extraModules</option>.
418+ Use <literal>withOnlyInstalledCommunityModules</literal> for modules that should not be enabled directly, e.g <literal>lib_ldap</literal>.
419+ </para>
420+ </listitem>
421+ <listitem>
422+ <para>
423+ All prometheus exporter modules are now defined as submodules.
424+ The exporters are configured using <literal>services.prometheus.exporters</literal>.
425+ </para>
426+ </listitem>
75427</itemizedlist>
76428
77429</section>
@@ -102,10 +454,106 @@ following incompatible changes:</para>
102454 </listitem>
103455 <listitem>
104456 <para>
105− The option <option>services.xserver.desktopManager.default</option> is now <literal>none</literal> by default.
106− An assertion failure is thrown if WM's and DM's default are <literal>none</literal>.
107− To explicitly run a plain X session without and DM or WM, the newly introduced option <option>services.xserver.plainX</option>
108− must be set to true.
457+ In the module <option>networking.interfaces.&lt;name&gt;</option> the
458+ following options have been removed:
459+ <itemizedlist>
460+ <listitem>
461+ <para><option>ipAddress</option></para>
462+ </listitem>
463+ <listitem>
464+ <para><option>ipv6Address</option></para>
465+ </listitem>
466+ <listitem>
467+ <para><option>prefixLength</option></para>
468+ </listitem>
469+ <listitem>
470+ <para><option>ipv6PrefixLength</option></para>
471+ </listitem>
472+ <listitem>
473+ <para><option>subnetMask</option></para>
474+ </listitem>
475+ </itemizedlist>
476+ To assign static addresses to an interface the options
477+ <option>ipv4.addresses</option> and <option>ipv6.addresses</option>
478+ should be used instead.
479+ The options <option>ip4</option> and <option>ip6</option> have been
480+ renamed to <option>ipv4.addresses</option> <option>ipv6.addresses</option>
481+ respectively.
482+ The new options <option>ipv4.routes</option> and <option>ipv6.routes</option>
483+ have been added to set up static routing.
484+ </para>
485+ </listitem>
486+ <listitem>
487+ <para>
488+ The option <option>services.logstash.listenAddress</option> is now <literal>127.0.0.1</literal> by default.
489+ Previously the default behaviour was to listen on all interfaces.
490+ </para>
491+ </listitem>
492+ <listitem>
493+ <para>
494+ <literal>services.btrfs.autoScrub</literal> has been added, to
495+ periodically check btrfs filesystems for data corruption.
496+ If there's a correct copy available, it will automatically repair
497+ corrupted blocks.
498+ </para>
499+ </listitem>
500+ <listitem>
501+ <para>
502+ <literal>displayManager.lightdm.greeters.gtk.clock-format.</literal>
503+ has been added, the clock format string (as expected by
504+ strftime, e.g. <literal>%H:%M</literal>) to use with the lightdm
505+ gtk greeter panel.
506+ </para>
507+ <para>
508+ If set to null the default clock format is used.
509+ </para>
510+ </listitem>
511+ <listitem>
512+ <para>
513+ <literal>displayManager.lightdm.greeters.gtk.indicators</literal>
514+ has been added, a list of allowed indicator modules to use with
515+ the lightdm gtk greeter panel.
516+ </para>
517+ <para>
518+ Built-in indicators include <literal>~a11y</literal>,
519+ <literal>~language</literal>, <literal>~session</literal>,
520+ <literal>~power</literal>, <literal>~clock</literal>,
521+ <literal>~host</literal>, <literal>~spacer</literal>. Unity
522+ indicators can be represented by short name
523+ (e.g. <literal>sound</literal>, <literal>power</literal>),
524+ service file name, or absolute path.
525+ </para>
526+ <para>
527+ If set to <literal>null</literal> the default indicators are
528+ used.
529+ </para>
530+ <para>
531+ In order to have the previous default configuration add
532+<programlisting>
533+ services.xserver.displayManager.lightdm.greeters.gtk.indicators = [
534+ "~host" "~spacer"
535+ "~clock" "~spacer"
536+ "~session"
537+ "~language"
538+ "~a11y"
539+ "~power"
540+ ];
541+</programlisting>
542+ to your <literal>configuration.nix</literal>.
543+ </para>
544+ </listitem>
545+ <listitem>
546+ <para>
547+ The NixOS test driver supports user services declared by <literal>systemd.user.services</literal>.
548+ The methods <literal>waitForUnit</literal>, <literal>getUnitInfo</literal>, <literal>startJob</literal>
549+ and <literal>stopJob</literal> provide an optional <literal>$user</literal> argument for that purpose.
550+ </para>
551+ </listitem>
552+ <listitem>
553+ <para>
554+ Enabling bash completion on NixOS, <literal>programs.bash.enableCompletion</literal>, will now also enable
555+ completion for the Nix command line tools by installing the
556+ <link xlink:href="https://github.com/hedning/nix-bash-completions">nix-bash-completions</link> package.
109557 </para>
110558 </listitem>
111559</itemizedlist>
nixos/doc/manual/release-notes/rl-1809.xmlnew file+85
@@ -0,0 +1,85 @@
1+<section xmlns="http://docbook.org/ns/docbook"
2+ xmlns:xlink="http://www.w3.org/1999/xlink"
3+ xmlns:xi="http://www.w3.org/2001/XInclude"
4+ version="5.0"
5+ xml:id="sec-release-18.09">
6+
7+<title>Release 18.09 (“Jellyfish”, 2018/09/??)</title>
8+
9+<section xmlns="http://docbook.org/ns/docbook"
10+ xmlns:xlink="http://www.w3.org/1999/xlink"
11+ xmlns:xi="http://www.w3.org/2001/XInclude"
12+ version="5.0"
13+ xml:id="sec-release-18.09-highlights">
14+
15+<title>Highlights</title>
16+
17+<para>In addition to numerous new and upgraded packages, this release
18+has the following highlights: </para>
19+
20+<itemizedlist>
21+ <listitem>
22+ <para>
23+ TODO
24+ </para>
25+ </listitem>
26+
27+</itemizedlist>
28+
29+</section>
30+<section xmlns="http://docbook.org/ns/docbook"
31+ xmlns:xlink="http://www.w3.org/1999/xlink"
32+ xmlns:xi="http://www.w3.org/2001/XInclude"
33+ version="5.0"
34+ xml:id="sec-release-18.09-new-services">
35+
36+<title>New Services</title>
37+
38+<para>The following new services were added since the last release:</para>
39+
40+<itemizedlist>
41+ <listitem>
42+ <para></para>
43+ </listitem>
44+</itemizedlist>
45+
46+</section>
47+<section xmlns="http://docbook.org/ns/docbook"
48+ xmlns:xlink="http://www.w3.org/1999/xlink"
49+ xmlns:xi="http://www.w3.org/2001/XInclude"
50+ version="5.0"
51+ xml:id="sec-release-18.09-incompatibilities">
52+
53+<title>Backward Incompatibilities</title>
54+
55+<para>When upgrading from a previous release, please be aware of the
56+following incompatible changes:</para>
57+
58+<itemizedlist>
59+ <listitem>
60+ <para>
61+ The <literal>clementine</literal> package points now to the free derivation.
62+ <literal>clementineFree</literal> is removed now and <literal>clementineUnfree</literal>
63+ points to the package which is bundled with the unfree <literal>libspotify</literal> package.
64+ </para>
65+ </listitem>
66+</itemizedlist>
67+
68+</section>
69+<section xmlns="http://docbook.org/ns/docbook"
70+ xmlns:xlink="http://www.w3.org/1999/xlink"
71+ xmlns:xi="http://www.w3.org/2001/XInclude"
72+ version="5.0"
73+ xml:id="sec-release-18.09-notable-changes">
74+
75+<title>Other Notable Changes</title>
76+
77+<itemizedlist>
78+ <listitem>
79+ <para>
80+ </para>
81+ </listitem>
82+</itemizedlist>
83+
84+</section>
85+</section>
nixos/doc/manual/style.cssdeleted−267
@@ -1,267 +0,0 @@
1−/* Copied from http://bakefile.sourceforge.net/, which appears
2− licensed under the GNU GPL. */
3−
4−
5−/***************************************************************************
6− Basic headers and text:
7− ***************************************************************************/
8−
9−body
10−{
11− font-family: "Nimbus Sans L", sans-serif;
12− background: white;
13− margin: 2em 1em 2em 1em;
14−}
15−
16−h1, h2, h3, h4
17−{
18− color: #005aa0;
19−}
20−
21−h1 /* title */
22−{
23− font-size: 200%;
24−}
25−
26−h2 /* chapters, appendices, subtitle */
27−{
28− font-size: 180%;
29−}
30−
31−/* Extra space between chapters, appendices. */
32−div.chapter > div.titlepage h2, div.appendix > div.titlepage h2
33−{
34− margin-top: 1.5em;
35−}
36−
37−div.section > div.titlepage h2 /* sections */
38−{
39− font-size: 150%;
40− margin-top: 1.5em;
41−}
42−
43−h3 /* subsections */
44−{
45− font-size: 125%;
46−}
47−
48−div.simplesect h2
49−{
50− font-size: 110%;
51−}
52−
53−div.appendix h3
54−{
55− font-size: 150%;
56− margin-top: 1.5em;
57−}
58−
59−div.refnamediv h2, div.refsynopsisdiv h2, div.refsection h2 /* refentry parts */
60−{
61− margin-top: 1.4em;
62− font-size: 125%;
63−}
64−
65−div.refsection h3
66−{
67− font-size: 110%;
68−}
69−
70−
71−/***************************************************************************
72− Examples:
73− ***************************************************************************/
74−
75−div.example
76−{
77− border: 1px solid #b0b0b0;
78− padding: 6px 6px;
79− margin-left: 1.5em;
80− margin-right: 1.5em;
81− background: #f4f4f8;
82− border-radius: 0.4em;
83− box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
84−}
85−
86−div.example p.title
87−{
88− margin-top: 0em;
89−}
90−
91−div.example pre
92−{
93− box-shadow: none;
94−}
95−
96−
97−/***************************************************************************
98− Screen dumps:
99− ***************************************************************************/
100−
101−pre.screen, pre.programlisting
102−{
103− border: 1px solid #b0b0b0;
104− padding: 3px 3px;
105− margin-left: 1.5em;
106− margin-right: 1.5em;
107− color: #600000;
108− background: #f4f4f8;
109− font-family: monospace;
110− border-radius: 0.4em;
111− box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
112−}
113−
114−div.example pre.programlisting
115−{
116− border: 0px;
117− padding: 0 0;
118− margin: 0 0 0 0;
119−}
120−
121−
122−/***************************************************************************
123− Notes, warnings etc:
124− ***************************************************************************/
125−
126−.note, .warning
127−{
128− border: 1px solid #b0b0b0;
129− padding: 3px 3px;
130− margin-left: 1.5em;
131− margin-right: 1.5em;
132− margin-bottom: 1em;
133− padding: 0.3em 0.3em 0.3em 0.3em;
134− background: #fffff5;
135− border-radius: 0.4em;
136− box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
137−}
138−
139−div.note, div.warning
140−{
141− font-style: italic;
142−}
143−
144−div.note h3, div.warning h3
145−{
146− color: red;
147− font-size: 100%;
148− padding-right: 0.5em;
149− display: inline;
150−}
151−
152−div.note p, div.warning p
153−{
154− margin-bottom: 0em;
155−}
156−
157−div.note h3 + p, div.warning h3 + p
158−{
159− display: inline;
160−}
161−
162−div.note h3
163−{
164− color: blue;
165− font-size: 100%;
166−}
167−
168−div.navfooter *
169−{
170− font-size: 90%;
171−}
172−
173−
174−/***************************************************************************
175− Links colors and highlighting:
176− ***************************************************************************/
177−
178−a { text-decoration: none; }
179−a:hover { text-decoration: underline; }
180−a:link { color: #0048b3; }
181−a:visited { color: #002a6a; }
182−
183−
184−/***************************************************************************
185− Table of contents:
186− ***************************************************************************/
187−
188−div.toc
189−{
190− font-size: 90%;
191−}
192−
193−div.toc dl
194−{
195− margin-top: 0em;
196− margin-bottom: 0em;
197−}
198−
199−
200−/***************************************************************************
201− Special elements:
202− ***************************************************************************/
203−
204−tt, code
205−{
206− color: #400000;
207−}
208−
209−.term
210−{
211− font-weight: bold;
212−
213−}
214−
215−div.variablelist dd p, div.glosslist dd p
216−{
217− margin-top: 0em;
218−}
219−
220−div.variablelist dd, div.glosslist dd
221−{
222− margin-left: 1.5em;
223−}
224−
225−div.glosslist dt
226−{
227− font-style: italic;
228−}
229−
230−.varname
231−{
232− color: #400000;
233−}
234−
235−span.command strong
236−{
237− font-weight: normal;
238− color: #400000;
239−}
240−
241−div.calloutlist table
242−{
243− box-shadow: none;
244−}
245−
246−table
247−{
248− border-collapse: collapse;
249− box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
250−}
251−
252−table.simplelist
253−{
254− text-align: left;
255− color: #005aa0;
256− border: 0;
257− padding: 5px;
258− background: #fffff5;
259− font-weight: normal;
260− font-style: italic;
261− box-shadow: none;
262− margin-bottom: 1em;
263−}
264−
265−div.navheader table, div.navfooter table {
266− box-shadow: none;
267−}
nixos/lib/build-vms.nix+3−3
@@ -3,7 +3,7 @@
33let pkgs = import ../.. { inherit system config; }; in
44
55with pkgs.lib;
6−with import ../lib/qemu-flags.nix;
6+with import ../lib/qemu-flags.nix { inherit pkgs; };
77
88rec {
99
@@ -51,7 +51,7 @@ rec {
5151 let
5252 interfacesNumbered = zipLists config.virtualisation.vlans (range 1 255);
5353 interfaces = flip map interfacesNumbered ({ fst, snd }:
54− nameValuePair "eth${toString snd}" { ip4 =
54+ nameValuePair "eth${toString snd}" { ipv4.addresses =
5555 [ { address = "192.168.${toString fst}.${toString m.snd}";
5656 prefixLength = 24;
5757 } ];
@@ -64,7 +64,7 @@ rec {
6464 networking.interfaces = listToAttrs interfaces;
6565
6666 networking.primaryIPAddress =
67− optionalString (interfaces != []) (head (head interfaces).value.ip4).address;
67+ optionalString (interfaces != []) (head (head interfaces).value.ipv4.addresses).address;
6868
6969 # Put the IP addresses of all VMs in this machine's
7070 # /etc/hosts file. If a machine has multiple
nixos/lib/eval-config.nix+2−2
@@ -26,7 +26,7 @@
2626, lib ? import ../../lib
2727}:
2828
29−let extraArgs_ = extraArgs; pkgs_ = pkgs; system_ = system;
29+let extraArgs_ = extraArgs; pkgs_ = pkgs;
3030 extraModules = let e = builtins.getEnv "NIXOS_EXTRA_MODULE_PATH";
3131 in if e == "" then [] else [(import (builtins.toPath e))];
3232in
@@ -36,7 +36,7 @@ let
3636 _file = ./eval-config.nix;
3737 key = _file;
3838 config = {
39− nixpkgs.system = lib.mkDefault system_;
39+ nixpkgs.localSystem = lib.mkDefault { inherit system; };
4040 _module.args.pkgs = lib.mkIf (pkgs_ != null) (lib.mkForce pkgs_);
4141 };
4242 };
nixos/lib/make-disk-image.nix+92−41
@@ -13,10 +13,16 @@
1313 # grafted in the file system at path `target'.
1414, contents ? []
1515
16−, # Whether the disk should be partitioned (with a single partition
17− # containing the root filesystem) or contain the root filesystem
18− # directly.
19− partitioned ? true
16+, # Type of partition table to use; either "legacy", "efi", or "none".
17+ # For "efi" images, the GPT partition table is used and a mandatory ESP
18+ # partition of reasonable size is created in addition to the root partition.
19+ # If `installBootLoader` is true, GRUB will be installed in EFI mode.
20+ # For "legacy", the msdos partition table is used and a single large root
21+ # partition is created. If `installBootLoader` is true, GRUB will be
22+ # installed in legacy mode.
23+ # For "none", no partition table is created. Enabling `installBootLoader`
24+ # most likely fails as GRUB will probably refuse to install.
25+ partitionTableType ? "legacy"
2026
2127 # Whether to invoke switch-to-configuration boot during image creation
2228, installBootLoader ? true
@@ -37,11 +43,15 @@
3743 format ? "raw"
3844}:
3945
46+assert partitionTableType == "legacy" || partitionTableType == "efi" || partitionTableType == "none";
47+# We use -E offset=X below, which is only supported by e2fsprogs
48+assert partitionTableType != "none" -> fsType == "ext4";
49+
4050with lib;
4151
4252let format' = format; in let
4353
44− format = if (format' == "qcow2-compressed") then "qcow2" else format';
54+ format = if format' == "qcow2-compressed" then "qcow2" else format';
4555
4656 compress = optionalString (format' == "qcow2-compressed") "-c";
4757
@@ -51,9 +61,31 @@ let format' = format; in let
5161 raw = "img";
5262 }.${format};
5363
64+ rootPartition = { # switch-case
65+ legacy = "1";
66+ efi = "2";
67+ }.${partitionTableType};
68+
69+ partitionDiskScript = { # switch-case
70+ legacy = ''
71+ parted --script $diskImage -- \
72+ mklabel msdos \
73+ mkpart primary ext4 1MiB -1
74+ '';
75+ efi = ''
76+ parted --script $diskImage -- \
77+ mklabel gpt \
78+ mkpart ESP fat32 8MiB 256MiB \
79+ set 1 boot on \
80+ mkpart primary ext4 256MiB -1
81+ '';
82+ none = "";
83+ }.${partitionTableType};
84+
5485 nixpkgs = cleanSource pkgs.path;
5586
56− channelSources = pkgs.runCommand "nixos-${config.system.nixosVersion}" {} ''
87+ # FIXME: merge with channel.nix / make-channel.nix.
88+ channelSources = pkgs.runCommand "nixos-${config.system.nixos.version}" {} ''
5789 mkdir -p $out
5890 cp -prd ${nixpkgs} $out/nixos
5991 chmod -R u+w $out/nixos
@@ -61,16 +93,19 @@ let format' = format; in let
6193 ln -s . $out/nixos/nixpkgs
6294 fi
6395 rm -rf $out/nixos/.git
64− echo -n ${config.system.nixosVersionSuffix} > $out/nixos/.version-suffix
96+ echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix
6597 '';
6698
67− metaClosure = pkgs.writeText "meta" ''
68− ${config.system.build.toplevel}
69− ${config.nix.package.out}
70− ${channelSources}
71− '';
72−
73− prepareImageInputs = with pkgs; [ rsync utillinux parted e2fsprogs lkl fakeroot config.system.build.nixos-prepare-root ] ++ stdenv.initialPath;
99+ binPath = with pkgs; makeBinPath (
100+ [ rsync
101+ utillinux
102+ parted
103+ e2fsprogs
104+ lkl
105+ config.system.build.nixos-install
106+ config.system.build.nixos-enter
107+ nix
108+ ] ++ stdenv.initialPath);
74109
75110 # I'm preserving the line below because I'm going to search for it across nixpkgs to consolidate
76111 # image building logic. The comment right below this now appears in 4 different places in nixpkgs :)
@@ -78,22 +113,35 @@ let format' = format; in let
78113 sources = map (x: x.source) contents;
79114 targets = map (x: x.target) contents;
80115
116+ closureInfo = pkgs.closureInfo { rootPaths = [ config.system.build.toplevel channelSources ]; };
117+
81118 prepareImage = ''
82− export PATH=${makeSearchPathOutput "bin" "bin" prepareImageInputs}
119+ export PATH=${binPath}
120+
121+ # Yes, mkfs.ext4 takes different units in different contexts. Fun.
122+ sectorsToKilobytes() {
123+ echo $(( ( "$1" * 512 ) / 1024 ))
124+ }
125+
126+ sectorsToBytes() {
127+ echo $(( "$1" * 512 ))
128+ }
83129
84130 mkdir $out
85131 diskImage=nixos.raw
86132 truncate -s ${toString diskSize}M $diskImage
87133
88− ${if partitioned then ''
89− parted --script $diskImage -- mklabel msdos mkpart primary ext4 1M -1s
90− offset=$((2048*512))
134+ ${partitionDiskScript}
135+
136+ ${if partitionTableType != "none" then ''
137+ # Get start & length of the root partition in sectors to $START and $SECTORS.
138+ eval $(partx $diskImage -o START,SECTORS --nr ${rootPartition} --pairs)
139+
140+ mkfs.${fsType} -F -L nixos $diskImage -E offset=$(sectorsToBytes $START) $(sectorsToKilobytes $SECTORS)K
91141 '' else ''
92− offset=0
142+ mkfs.${fsType} -F -L nixos $diskImage
93143 ''}
94144
95− mkfs.${fsType} -F -L nixos -E offset=$offset $diskImage
96−
97145 root="$PWD/root"
98146 mkdir -p $root
99147
@@ -126,17 +174,23 @@ let format' = format; in let
126174 fi
127175 done
128176
129− # TODO: Nix really likes to chown things it creates to its current user...
130− fakeroot nixos-prepare-root $root ${channelSources} ${config.system.build.toplevel} closure
177+ export HOME=$TMPDIR
178+
179+ # Provide a Nix database so that nixos-install can copy closures.
180+ export NIX_STATE_DIR=$TMPDIR/state
181+ nix-store --load-db < ${closureInfo}/registration
182+
183+ echo "running nixos-install..."
184+ nixos-install --root $root --no-bootloader --no-root-passwd \
185+ --system ${config.system.build.toplevel} --channel ${channelSources} --substituters ""
131186
132187 echo "copying staging root to image..."
133− cptofs ${optionalString partitioned "-P 1"} -t ${fsType} -i $diskImage $root/* /
188+ cptofs -p ${optionalString (partitionTableType != "none") "-P ${rootPartition}"} -t ${fsType} -i $diskImage $root/* /
134189 '';
135190in pkgs.vmTools.runInLinuxVM (
136191 pkgs.runCommand name
137192 { preVM = prepareImage;
138− buildInputs = with pkgs; [ utillinux e2fsprogs ];
139− exportReferencesGraph = [ "closure" metaClosure ];
193+ buildInputs = with pkgs; [ utillinux e2fsprogs dosfstools ];
140194 postVM = ''
141195 ${if format == "raw" then ''
142196 mv $diskImage $out/${filename}
@@ -149,13 +203,9 @@ in pkgs.vmTools.runInLinuxVM (
149203 memSize = 1024;
150204 }
151205 ''
152− ${if partitioned then ''
153− . /sys/class/block/vda1/uevent
154− mknod /dev/vda1 b $MAJOR $MINOR
155− rootDisk=/dev/vda1
156− '' else ''
157− rootDisk=/dev/vda
158− ''}
206+ export PATH=${binPath}:$PATH
207+
208+ rootDisk=${if partitionTableType != "none" then "/dev/vda${rootPartition}" else "/dev/vda"}
159209
160210 # Some tools assume these exist
161211 ln -s vda /dev/xvda
@@ -165,21 +215,22 @@ in pkgs.vmTools.runInLinuxVM (
165215 mkdir $mountPoint
166216 mount $rootDisk $mountPoint
167217
218+ # Create the ESP and mount it. Unlike e2fsprogs, mkfs.vfat doesn't support an
219+ # '-E offset=X' option, so we can't do this outside the VM.
220+ ${optionalString (partitionTableType == "efi") ''
221+ mkdir -p /mnt/boot
222+ mkfs.vfat -n ESP /dev/vda1
223+ mount /dev/vda1 /mnt/boot
224+ ''}
225+
168226 # Install a configuration.nix
169227 mkdir -p /mnt/etc/nixos
170228 ${optionalString (configFile != null) ''
171229 cp ${configFile} /mnt/etc/nixos/configuration.nix
172230 ''}
173231
174− mount --rbind /dev $mountPoint/dev
175− mount --rbind /proc $mountPoint/proc
176− mount --rbind /sys $mountPoint/sys
177−
178232 # Set up core system link, GRUB, etc.
179− NIXOS_INSTALL_BOOTLOADER=1 chroot $mountPoint /nix/var/nix/profiles/system/bin/switch-to-configuration boot
180−
181− # TODO: figure out if I should activate, but for now I won't
182− # chroot $mountPoint /nix/var/nix/profiles/system/activate
233+ NIXOS_INSTALL_BOOTLOADER=1 nixos-enter --root $mountPoint -- /nix/var/nix/profiles/system/bin/switch-to-configuration boot
183234
184235 # The above scripts will generate a random machine-id and we don't want to bake a single ID into all our images
185236 rm -f $mountPoint/etc/machine-id
nixos/lib/make-ext4-fs.nix+8−9
@@ -7,23 +7,22 @@
77, volumeLabel
88}:
99
10+let
11+ sdClosureInfo = pkgs.closureInfo { rootPaths = storePaths; };
12+in
13+
1014pkgs.stdenv.mkDerivation {
1115 name = "ext4-fs.img";
1216
13− buildInputs = with pkgs; [e2fsprogs libfaketime perl];
14−
15− # For obtaining the closure of `storePaths'.
16− exportReferencesGraph =
17− map (x: [("closure-" + baseNameOf x) x]) storePaths;
17+ nativeBuildInputs = with pkgs; [e2fsprogs libfaketime perl];
1818
1919 buildCommand =
2020 ''
2121 # Add the closures of the top-level store objects.
22− storePaths=$(perl ${pkgs.pathsFromGraph} closure-*)
22+ storePaths=$(cat ${sdClosureInfo}/store-paths)
2323
24− # Also include a manifest of the closures in a format suitable
25− # for nix-store --load-db.
26− printRegistration=1 perl ${pkgs.pathsFromGraph} closure-* > nix-path-registration
24+ # Also include a manifest of the closures in a format suitable for nix-store --load-db.
25+ cp ${sdClosureInfo}/registration nix-path-registration
2726
2827 # Make a crude approximation of the size of the target image.
2928 # If the script starts failing, increase the fudge factors here.
nixos/lib/make-iso9660-image.nix+4−5
@@ -1,4 +1,4 @@
1−{ stdenv, perl, pathsFromGraph, xorriso, syslinux
1+{ stdenv, perl, closureInfo, xorriso, syslinux
22
33, # The file name of the resulting ISO image.
44 isoName ? "cd.iso"
@@ -48,9 +48,9 @@ assert usbBootable -> isohybridMbrImage != "";
4848stdenv.mkDerivation {
4949 name = isoName;
5050 builder = ./make-iso9660-image.sh;
51− buildInputs = [perl xorriso syslinux];
51+ buildInputs = [ xorriso syslinux ];
5252
53− inherit isoName bootable bootImage compressImage volumeID pathsFromGraph efiBootImage efiBootable isohybridMbrImage usbBootable;
53+ inherit isoName bootable bootImage compressImage volumeID efiBootImage efiBootable isohybridMbrImage usbBootable;
5454
5555 # !!! should use XML.
5656 sources = map (x: x.source) contents;
@@ -61,6 +61,5 @@ stdenv.mkDerivation {
6161 symlinks = map (x: x.symlink) storeContents;
6262
6363 # For obtaining the closure of `storeContents'.
64− exportReferencesGraph =
65− map (x: [("closure-" + baseNameOf x.object) x.object]) storeContents;
64+ closureInfo = closureInfo { rootPaths = map (x: x.object) storeContents; };
6665}
nixos/lib/make-iso9660-image.sh+3−4
@@ -72,16 +72,15 @@ done
7272
7373
7474# Add the closures of the top-level store objects.
75−storePaths=$(perl $pathsFromGraph closure-*)
76−for i in $storePaths; do
75+for i in $(< $closureInfo/store-paths); do
7776 addPath "${i:1}" "$i"
7877done
7978
8079
8180# Also include a manifest of the closures in a format suitable for
8281# nix-store --load-db.
83−if [ -n "$object" ]; then
84− printRegistration=1 perl $pathsFromGraph closure-* > nix-path-registration
82+if [[ ${#objects[*]} != 0 ]]; then
83+ cp $closureInfo/registration nix-path-registration
8584 addPath "nix-path-registration" "nix-path-registration"
8685fi
8786
nixos/lib/make-squashfs.nix+5−10
@@ -1,4 +1,4 @@
1−{ stdenv, squashfsTools, perl, pathsFromGraph
1+{ stdenv, squashfsTools, closureInfo
22
33, # The root directory of the squashfs filesystem is filled with the
44 # closures of the Nix store paths listed here.
@@ -8,23 +8,18 @@
88stdenv.mkDerivation {
99 name = "squashfs.img";
1010
11− buildInputs = [perl squashfsTools];
12−
13− # For obtaining the closure of `storeContents'.
14− exportReferencesGraph =
15− map (x: [("closure-" + baseNameOf x) x]) storeContents;
11+ nativeBuildInputs = [ squashfsTools ];
1612
1713 buildCommand =
1814 ''
19− # Add the closures of the top-level store objects.
20− storePaths=$(perl ${pathsFromGraph} closure-*)
15+ closureInfo=${closureInfo { rootPaths = storeContents; }}
2116
2217 # Also include a manifest of the closures in a format suitable
2318 # for nix-store --load-db.
24− printRegistration=1 perl ${pathsFromGraph} closure-* > nix-path-registration
19+ cp $closureInfo/registration nix-path-registration
2520
2621 # Generate the squashfs image.
27− mksquashfs nix-path-registration $storePaths $out \
22+ mksquashfs nix-path-registration $(cat $closureInfo/store-paths) $out \
2823 -keep-as-directory -all-root -b 1048576 -comp xz -Xdict-size 100%
2924 '';
3025}
nixos/lib/make-system-tarball.nix+11−3
@@ -1,4 +1,4 @@
1−{ stdenv, perl, xz, pathsFromGraph
1+{ stdenv, perl, pixz, pathsFromGraph
22
33, # The file name of the resulting tarball
44 fileName ? "nixos-system-${stdenv.system}"
@@ -21,14 +21,20 @@
2121
2222 # Extra tar arguments
2323, extraArgs ? ""
24+ # Command used for compression
25+, compressCommand ? "pixz"
26+ # Extension for the compressed tarball
27+, compressionExtension ? ".xz"
28+ # extra inputs, like the compressor to use
29+, extraInputs ? [ pixz ]
2430}:
2531
2632stdenv.mkDerivation {
2733 name = "tarball";
2834 builder = ./make-system-tarball.sh;
29− buildInputs = [perl xz];
35+ buildInputs = [ perl ] ++ extraInputs;
3036
31− inherit fileName pathsFromGraph extraArgs extraCommands;
37+ inherit fileName pathsFromGraph extraArgs extraCommands compressCommand;
3238
3339 # !!! should use XML.
3440 sources = map (x: x.source) contents;
@@ -41,4 +47,6 @@ stdenv.mkDerivation {
4147 # For obtaining the closure of `storeContents'.
4248 exportReferencesGraph =
4349 map (x: [("closure-" + baseNameOf x.object) x.object]) storeContents;
50+
51+ extension = compressionExtension;
4452}
nixos/lib/make-system-tarball.sh+2−3
@@ -1,5 +1,4 @@
11source $stdenv/setup
2−set -x
32
43sources_=($sources)
54targets_=($targets)
@@ -54,8 +53,8 @@ mkdir -p $out/tarball
5453
5554rm env-vars
5655
57−tar --sort=name --mtime='@1' --owner=0 --group=0 --numeric-owner -cvJf $out/tarball/$fileName.tar.xz * $extraArgs
56+time tar --sort=name --mtime='@1' --owner=0 --group=0 --numeric-owner -c * $extraArgs | $compressCommand > $out/tarball/$fileName.tar${extension}
5857
5958mkdir -p $out/nix-support
6059echo $system > $out/nix-support/system
61−echo "file system-tarball $out/tarball/$fileName.tar.xz" > $out/nix-support/hydra-build-products
60+echo "file system-tarball $out/tarball/$fileName.tar${extension}" > $out/nix-support/hydra-build-products
nixos/lib/qemu-flags.nix+11
@@ -1,4 +1,5 @@
11# QEMU flags shared between various Nix expressions.
2+{ pkgs }:
23
34{
45
@@ -7,4 +8,14 @@
78 "-net vde,vlan=${toString nic},sock=$QEMU_VDE_SOCKET_${toString net}"
89 ];
910
11+ qemuSerialDevice = if pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64 then "ttyS0"
12+ else if pkgs.stdenv.isArm || pkgs.stdenv.isAarch64 then "ttyAMA0"
13+ else throw "Unknown QEMU serial device for system '${pkgs.stdenv.system}'";
14+
15+ qemuBinary = qemuPkg: {
16+ "i686-linux" = "${qemuPkg}/bin/qemu-kvm";
17+ "x86_64-linux" = "${qemuPkg}/bin/qemu-kvm -cpu kvm64";
18+ "armv7l-linux" = "${qemuPkg}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host";
19+ "aarch64-linux" = "${qemuPkg}/bin/qemu-system-aarch64 -enable-kvm -machine virt,gic-version=host -cpu host";
20+ }.${pkgs.stdenv.system} or (throw "Unknown QEMU binary for '${pkgs.stdenv.system}'");
1021}
nixos/lib/test-driver/Machine.pm+21−10
@@ -146,6 +146,7 @@ sub start {
146146 ($self->{allowReboot} ? "" : "-no-reboot ") .
147147 "-monitor unix:./monitor -chardev socket,id=shell,path=./shell " .
148148 "-device virtio-serial -device virtconsole,chardev=shell " .
149+ "-device virtio-rng-pci " .
149150 ($showGraphics ? "-serial stdio" : "-nographic") . " " . ($ENV{QEMU_OPTS} || "");
150151 chdir $self->{stateDir} or die;
151152 exec $self->{startCommand};
@@ -361,8 +362,8 @@ sub mustFail {
361362
362363
363364sub getUnitInfo {
364− my ($self, $unit) = @_;
365− my ($status, $lines) = $self->execute("systemctl --no-pager show '$unit'");
365+ my ($self, $unit, $user) = @_;
366+ my ($status, $lines) = $self->systemctl("--no-pager show \"$unit\"", $user);
366367 return undef if $status != 0;
367368 my $info = {};
368369 foreach my $line (split '\n', $lines) {
@@ -372,6 +373,16 @@ sub getUnitInfo {
372373 return $info;
373374}
374375
376+sub systemctl {
377+ my ($self, $q, $user) = @_;
378+ if ($user) {
379+ $q =~ s/'/\\'/g;
380+ return $self->execute("su -l $user -c \$'XDG_RUNTIME_DIR=/run/user/`id -u` systemctl --user $q'");
381+ }
382+
383+ return $self->execute("systemctl $q");
384+}
385+
375386# Fail if the given systemd unit is not in the "active" state.
376387sub requireActiveUnit {
377388 my ($self, $unit) = @_;
@@ -386,16 +397,16 @@ sub requireActiveUnit {
386397
387398# Wait for a systemd unit to reach the "active" state.
388399sub waitForUnit {
389− my ($self, $unit) = @_;
400+ my ($self, $unit, $user) = @_;
390401 $self->nest("waiting for unit ‘$unit’", sub {
391402 retry sub {
392− my $info = $self->getUnitInfo($unit);
403+ my $info = $self->getUnitInfo($unit, $user);
393404 my $state = $info->{ActiveState};
394405 die "unit ‘$unit’ reached state ‘$state’\n" if $state eq "failed";
395406 if ($state eq "inactive") {
396407 # If there are no pending jobs, then assume this unit
397408 # will never reach active state.
398− my ($status, $jobs) = $self->execute("systemctl list-jobs --full 2>&1");
409+ my ($status, $jobs) = $self->systemctl("list-jobs --full 2>&1", $user);
399410 if ($jobs =~ /No jobs/) { # FIXME: fragile
400411 # Handle the case where the unit may have started
401412 # between the previous getUnitInfo() and
@@ -429,14 +440,14 @@ sub waitForFile {
429440}
430441
431442sub startJob {
432− my ($self, $jobName) = @_;
433− $self->execute("systemctl start $jobName");
443+ my ($self, $jobName, $user) = @_;
444+ $self->systemctl("start $jobName", $user);
434445 # FIXME: check result
435446}
436447
437448sub stopJob {
438− my ($self, $jobName) = @_;
439− $self->execute("systemctl stop $jobName");
449+ my ($self, $jobName, $user) = @_;
450+ $self->systemctl("stop $jobName", $user);
440451}
441452
442453
@@ -601,7 +612,7 @@ sub waitForX {
601612 my ($self, $regexp) = @_;
602613 $self->nest("waiting for the X11 server", sub {
603614 retry sub {
604− my ($status, $out) = $self->execute("journalctl -b SYSLOG_IDENTIFIER=systemd | grep 'session opened'");
615+ my ($status, $out) = $self->execute("journalctl -b SYSLOG_IDENTIFIER=systemd | grep 'Reached target Current graphical'");
605616 return 0 if $status != 0;
606617 ($status, $out) = $self->execute("[ -e /tmp/.X11-unix/X0 ]");
607618 return 1 if $status == 0;
nixos/lib/testing.nix+26−9
@@ -3,7 +3,11 @@
33with import ./build-vms.nix { inherit system minimal config; };
44with pkgs;
55
6−rec {
6+let
7+ jquery-ui = callPackage ./testing/jquery-ui.nix { };
8+ jquery = callPackage ./testing/jquery.nix { };
9+
10+in rec {
711
812 inherit pkgs;
913
@@ -29,7 +33,7 @@ rec {
2933 cp ${./test-driver/Logger.pm} $libDir/Logger.pm
3034
3135 wrapProgram $out/bin/nixos-test-driver \
32− --prefix PATH : "${lib.makeBinPath [ qemu vde2 netpbm coreutils ]}" \
36+ --prefix PATH : "${lib.makeBinPath [ qemu_test vde2 netpbm coreutils ]}" \
3337 --prefix PERL5LIB : "${with perlPackages; lib.makePerlPath [ TermReadLineGnu XMLWriter IOTty FileSlurp ]}:$out/lib/perl5/site_perl"
3438 '';
3539 };
@@ -78,14 +82,26 @@ rec {
7882 } @ t:
7983
8084 let
81− testDriverName = "nixos-test-driver-${name}";
85+ # A standard store path to the vm monitor is built like this:
86+ # /tmp/nix-build-vm-test-run-$name.drv-0/vm-state-machine/monitor
87+ # The max filename length of a unix domain socket is 108 bytes.
88+ # This means $name can at most be 50 bytes long.
89+ maxTestNameLen = 50;
90+ testNameLen = builtins.stringLength name;
91+
92+ testDriverName = with builtins;
93+ if testNameLen > maxTestNameLen then
94+ abort ("The name of the test '${name}' must not be longer than ${toString maxTestNameLen} " +
95+ "it's currently ${toString testNameLen} characters long.")
96+ else
97+ "nixos-test-driver-${name}";
8298
8399 nodes = buildVirtualNetwork (
84100 t.nodes or (if t ? machine then { machine = t.machine; } else { }));
85101
86102 testScript' =
87103 # Call the test script with the computed nodes.
88− if builtins.isFunction testScript
104+ if lib.isFunction testScript
89105 then testScript { inherit nodes; }
90106 else testScript;
91107
@@ -95,6 +111,8 @@ rec {
95111
96112 ocrProg = tesseract_4.override { enableLanguages = [ "eng" ]; };
97113
114+ imagemagick_tiff = imagemagick_light.override { inherit libtiff; };
115+
98116 # Generate onvenience wrappers for running the test driver
99117 # interactively with the specified network, and for starting the
100118 # VMs from the command line.
@@ -112,9 +130,8 @@ rec {
112130 wrapProgram $out/bin/nixos-test-driver \
113131 --add-flags "''${vms[*]}" \
114132 ${lib.optionalString enableOCR
115− "--prefix PATH : '${ocrProg}/bin:${imagemagick}/bin'"} \
116− --run "testScript=\"\$(cat $out/test-script)\"" \
117− --set testScript '$testScript' \
133+ "--prefix PATH : '${ocrProg}/bin:${imagemagick_tiff}/bin'"} \
134+ --run "export testScript=\"\$(cat $out/test-script)\"" \
118135 --set VLANS '${toString vlans}'
119136 ln -s ${testDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
120137 wrapProgram $out/bin/nixos-run-vms \
@@ -132,8 +149,8 @@ rec {
132149 test = passMeta (runTests driver);
133150 report = passMeta (releaseTools.gcovReport { coverageRuns = [ test ]; });
134151
135− in (if makeCoverageReport then report else test) // {
136− inherit nodes driver test;
152+ in (if makeCoverageReport then report else test) // {
153+ inherit nodes driver test;
137154 };
138155
139156 runInMachine =
pkgs/development/libraries/javascript/jquery-ui/default.nix → nixos/lib/testing/jquery-ui.nixrenamed

The content is the same.

pkgs/development/libraries/javascript/jquery/default.nix → nixos/lib/testing/jquery.nixrenamed

The content is the same.

nixos/maintainers/option-usages.nix+3−3
@@ -15,7 +15,7 @@
1515#
1616# $ nix-build ./option-usage.nix --argstr testOption service.xserver.enable -A txt -o service.xserver.enable._txt
1717#
18−# otther target exists such as, `dotContent`, `dot`, and `pdf`. If you are
18+# Other targets exists such as `dotContent`, `dot`, and `pdf`. If you are
1919# looking for the option usage of multiple options, you can provide a list
2020# as argument.
2121#
@@ -35,7 +35,7 @@
3535# value is replaced by a `throw` statement which is caught by the `tryEval`
3636# evaluation of each option value.
3737#
38−# We then compare the result of the evluation of the original module, with
38+# We then compare the result of the evaluation of the original module, with
3939# the result of the second evaluation, and consider that the new failures are
4040# caused by our mutation of the `config` argument.
4141#
@@ -62,7 +62,7 @@ let
6262 "_module.args"
6363
6464 # For some reasons which we yet have to investigate, some options cannot
65− # be replaced by a throw without cuasing a non-catchable failure.
65+ # be replaced by a throw without causing a non-catchable failure.
6666 "networking.bonds"
6767 "networking.bridges"
6868 "networking.interfaces"
nixos/maintainers/scripts/ec2/amazon-image.nix+1−1
@@ -46,7 +46,7 @@ in {
4646 inherit lib config;
4747 inherit (cfg) contents format name;
4848 pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
49− partitioned = config.ec2.hvm;
49+ partitionTableType = if config.ec2.hvm then "legacy" else "none";
5050 diskSize = cfg.sizeMB;
5151 configFile = pkgs.writeText "configuration.nix"
5252 ''
nixos/maintainers/scripts/ec2/create-amis.sh+1−1
@@ -18,7 +18,7 @@ rm -f ec2-amis.nix
1818
1919types="hvm"
2020stores="ebs"
21−regions="eu-west-1 eu-west-2 eu-central-1 us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 sa-east-1 ap-south-1"
21+regions="eu-west-1 eu-west-2 eu-west-3 eu-central-1 us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 sa-east-1 ap-south-1"
2222
2323for type in $types; do
2424 link=$stateDir/$type
nixos/maintainers/scripts/gce/create-gce.sh+2−2
@@ -3,7 +3,7 @@
33
44set -euo pipefail
55
6−BUCKET_NAME="${BUCKET_NAME:-nixos-images}"
6+BUCKET_NAME="${BUCKET_NAME:-nixos-cloud-images}"
77TIMESTAMP="$(date +%Y%m%d%H%M)"
88export TIMESTAMP
99
@@ -19,5 +19,5 @@ img_name=$(basename "$img_path")
1919img_id=$(echo "$img_name" | sed 's|.raw.tar.gz$||;s|\.|-|g;s|_|-|g')
2020if ! gsutil ls "gs://${BUCKET_NAME}/$img_name"; then
2121 gsutil cp "$img_path" "gs://${BUCKET_NAME}/$img_name"
22+ gsutil acl ch -u AllUsers:R "gs://${BUCKET_NAME}/$img_name"
2223fi
23−gcloud compute images create "$img_id" --source-uri "gs://${BUCKET_NAME}/$img_name"
nixos/modules/config/i18n.nix+1−1
@@ -10,7 +10,7 @@ with lib;
1010 i18n = {
1111 glibcLocales = mkOption {
1212 type = types.path;
13− default = pkgs.glibcLocales.override {
13+ default = pkgs.buildPackages.glibcLocales.override {
1414 allLocales = any (x: x == "all") config.i18n.supportedLocales;
1515 locales = config.i18n.supportedLocales;
1616 };
nixos/modules/config/networking.nix+2−2
@@ -290,8 +290,8 @@ in
290290 ln -s /run/systemd/resolve/resolv.conf /run/resolvconf/interfaces/systemd
291291 ''}
292292
293− # Make sure resolv.conf is up to date if not managed by systemd
294− ${optionalString (!config.services.resolved.enable) ''
293+ # Make sure resolv.conf is up to date if not managed manually or by systemd
294+ ${optionalString (!config.environment.etc?"resolv.conf") ''
295295 ${pkgs.openresolv}/bin/resolvconf -u
296296 ''}
297297 '';
nixos/modules/config/no-x-libs.nix+8−8
@@ -28,14 +28,14 @@ with lib;
2828
2929 nixpkgs.config.packageOverrides = pkgs: {
3030 dbus = pkgs.dbus.override { x11Support = false; };
31− networkmanager_fortisslvpn = pkgs.networkmanager_fortisslvpn.override { withGnome = false; };
32− networkmanager_l2tp = pkgs.networkmanager_l2tp.override { withGnome = false; };
33− networkmanager_openconnect = pkgs.networkmanager_openconnect.override { withGnome = false; };
34− networkmanager_openvpn = pkgs.networkmanager_openvpn.override { withGnome = false; };
35− networkmanager_pptp = pkgs.networkmanager_pptp.override { withGnome = false; };
36− networkmanager_vpnc = pkgs.networkmanager_vpnc.override { withGnome = false; };
37− networkmanager_iodine = pkgs.networkmanager_iodine.override { withGnome = false; };
38− pinentry = pkgs.pinentry.override { gtk2 = null; qt4 = null; };
31+ networkmanager-fortisslvpn = pkgs.networkmanager-fortisslvpn.override { withGnome = false; };
32+ networkmanager-l2tp = pkgs.networkmanager-l2tp.override { withGnome = false; };
33+ networkmanager-openconnect = pkgs.networkmanager-openconnect.override { withGnome = false; };
34+ networkmanager-openvpn = pkgs.networkmanager-openvpn.override { withGnome = false; };
35+ networkmanager-vpnc = pkgs.networkmanager-vpnc.override { withGnome = false; };
36+ networkmanager-iodine = pkgs.networkmanager-iodine.override { withGnome = false; };
37+ pinentry = pkgs.pinentry_ncurses;
38+ gobjectIntrospection = pkgs.gobjectIntrospection.override { x11Support = false; };
3939 };
4040 };
4141}
nixos/modules/config/nsswitch.nix+9−9
@@ -17,23 +17,23 @@ let
1717 resolved = canLoadExternalModules && config.services.resolved.enable;
1818
1919 hostArray = [ "files" ]
20− ++ optionals mymachines [ "mymachines" ]
21− ++ optionals nssmdns [ "mdns_minimal [NOTFOUND=return]" ]
22− ++ optionals nsswins [ "wins" ]
23− ++ optionals resolved ["resolve [!UNAVAIL=return]"]
20+ ++ optional mymachines "mymachines"
21+ ++ optional nssmdns "mdns_minimal [NOTFOUND=return]"
22+ ++ optional nsswins "wins"
23+ ++ optional resolved "resolve [!UNAVAIL=return]"
2424 ++ [ "dns" ]
25− ++ optionals nssmdns [ "mdns" ]
26− ++ optionals myhostname ["myhostname" ];
25+ ++ optional nssmdns "mdns"
26+ ++ optional myhostname "myhostname";
2727
2828 passwdArray = [ "files" ]
2929 ++ optional sssd "sss"
30− ++ optionals ldap [ "ldap" ]
31− ++ optionals mymachines [ "mymachines" ]
30+ ++ optional ldap "ldap"
31+ ++ optional mymachines "mymachines"
3232 ++ [ "systemd" ];
3333
3434 shadowArray = [ "files" ]
3535 ++ optional sssd "sss"
36− ++ optionals ldap [ "ldap" ];
36+ ++ optional ldap "ldap";
3737
3838 servicesArray = [ "files" ]
3939 ++ optional sssd "sss";
nixos/modules/config/power-management.nix−3
@@ -69,9 +69,6 @@ in
6969
7070 config = mkIf cfg.enable {
7171
72− # Leftover for old setups, should be set by nixos-generate-config now
73− powerManagement.cpuFreqGovernor = mkDefault "ondemand";
74−
7572 systemd.targets.post-resume = {
7673 description = "Post-Resume Actions";
7774 requires = [ "post-resume.service" ];
nixos/modules/config/pulseaudio.nix+11−2
@@ -45,7 +45,7 @@ let
4545 uid = ids.uids.pulseaudio;
4646 gid = ids.gids.pulseaudio;
4747
48− stateDir = "/var/run/pulse";
48+ stateDir = "/run/pulse";
4949
5050 # Create pulse/client.conf even if PulseAudio is disabled so
5151 # that we can disable the autospawn feature in programs that
@@ -101,7 +101,8 @@ in {
101101 each user that tries to use the sound system. The server runs
102102 with user privileges. This is the recommended and most secure
103103 way to use PulseAudio. If true, one system-wide PulseAudio
104− server is launched on boot, running as the user "pulse".
104+ server is launched on boot, running as the user "pulse", and
105+ only users in the "audio" group will have access to the server.
105106 Please read the PulseAudio documentation for more details.
106107 '';
107108 };
@@ -213,12 +214,20 @@ in {
213214 (mkIf cfg.enable {
214215 environment.systemPackages = [ overriddenPackage ];
215216
217+ sound.enable = true;
218+
216219 environment.etc = [
217220 { target = "asound.conf";
218221 source = alsaConf; }
219222
220223 { target = "pulse/daemon.conf";
221224 source = writeText "daemon.conf" (lib.generators.toKeyValue {} cfg.daemon.config); }
225+
226+ { target = "openal/alsoft.conf";
227+ source = writeText "alsoft.conf" "drivers=pulse"; }
228+
229+ { target = "libao.conf";
230+ source = writeText "libao.conf" "default_driver=pulse"; }
222231 ];
223232
224233 # Allow PulseAudio to get realtime priority using rtkit.
nixos/modules/config/shells-environment.nix+1−1
@@ -36,7 +36,7 @@ in
3636 default = {};
3737 description = ''
3838 A set of environment variables used in the global environment.
39− These variables will be set on shell initialisation.
39+ These variables will be set on shell initialisation (e.g. in /etc/profile).
4040 The value of each variable can be either a string or a list of
4141 strings. The latter is concatenated, interspersed with colon
4242 characters.
nixos/modules/config/system-path.nix−1
@@ -109,7 +109,6 @@ in
109109 "/sbin"
110110 "/share/applications"
111111 "/share/desktop-directories"
112− "/share/doc"
113112 "/share/emacs"
114113 "/share/icons"
115114 "/share/menus"
nixos/modules/config/users-groups.nix+28−27
@@ -35,6 +35,7 @@ let
3535
3636 name = mkOption {
3737 type = types.str;
38+ apply = x: assert (builtins.stringLength x < 32 || abort "Username '${x}' is longer than 31 characters which is not allowed!"); x;
3839 description = ''
3940 The name of the user account. If undefined, the name of the
4041 attribute set will be used.
@@ -91,6 +92,7 @@ let
9192
9293 group = mkOption {
9394 type = types.str;
95+ apply = x: assert (builtins.stringLength x < 32 || abort "Group name '${x}' is longer than 31 characters which is not allowed!"); x;
9496 default = "nogroup";
9597 description = "The user's primary group.";
9698 };
@@ -502,9 +504,6 @@ in {
502504 };
503505 };
504506
505− # Install all the user shells
506− environment.systemPackages = systemShells;
507−
508507 users.groups = {
509508 root.gid = ids.gids.root;
510509 wheel.gid = ids.gids.wheel;
@@ -529,6 +528,9 @@ in {
529528
530529 system.activationScripts.users = stringAfter [ "stdio" ]
531530 ''
531+ install -m 0700 -d /root
532+ install -m 0755 -d /home
533+
532534 ${pkgs.perl}/bin/perl -w \
533535 -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl \
534536 -I${pkgs.perlPackages.JSON}/lib/perl5/site_perl \
@@ -538,14 +540,29 @@ in {
538540 # for backwards compatibility
539541 system.activationScripts.groups = stringAfter [ "users" ] "";
540542
541− environment.etc."subuid" = {
542− text = subuidFile;
543− mode = "0644";
544− };
545− environment.etc."subgid" = {
546− text = subgidFile;
547− mode = "0644";
548− };
543+ # Install all the user shells
544+ environment.systemPackages = systemShells;
545+
546+ environment.etc = {
547+ "subuid" = {
548+ text = subuidFile;
549+ mode = "0644";
550+ };
551+ "subgid" = {
552+ text = subgidFile;
553+ mode = "0644";
554+ };
555+ } // (mapAttrs' (name: { packages, ... }: {
556+ name = "profiles/per-user/${name}";
557+ value.source = pkgs.buildEnv {
558+ name = "user-environment";
559+ paths = packages;
560+ inherit (config.environment) pathsToLink extraOutputsToInstall;
561+ inherit (config.system.path) ignoreCollisions postBuild;
562+ };
563+ }) (filterAttrs (_: u: u.packages != []) cfg.users));
564+
565+ environment.profiles = [ "/etc/profiles/per-user/$USER" ];
549566
550567 assertions = [
551568 { assertion = !cfg.enforceIdUniqueness || (uidsAreUnique && gidsAreUnique);
@@ -576,20 +593,4 @@ in {
576593
577594 };
578595
579− imports =
580− [ (mkAliasOptionModule [ "users" "extraUsers" ] [ "users" "users" ])
581− (mkAliasOptionModule [ "users" "extraGroups" ] [ "users" "groups" ])
582− {
583− environment = {
584− etc = mapAttrs' (name: { packages, ... }: {
585− name = "per-user-pkgs/${name}";
586− value.source = pkgs.symlinkJoin {
587− name = "per-user-pkgs.${name}";
588− paths = packages;
589− };
590− }) (filterAttrs (_: { packages, ... }: packages != []) cfg.users);
591− profiles = ["/etc/per-user-pkgs/$LOGNAME"];
592− };
593− }
594− ];
595596}
nixos/modules/config/zram.nix+1−1
@@ -93,7 +93,7 @@ in
9393 serviceConfig = {
9494 Type = "oneshot";
9595 RemainAfterExit = true;
96− ExecStop = "${pkgs.stdenv.shell} -c 'echo 1 > /sys/class/block/${dev}/reset'";
96+ ExecStop = "${pkgs.runtimeShell} -c 'echo 1 > /sys/class/block/${dev}/reset'";
9797 };
9898 script = ''
9999 set -u
nixos/modules/hardware/all-firmware.nix+2−1
@@ -37,8 +37,9 @@ in {
3737 hardware.firmware = with pkgs; [
3838 firmwareLinuxNonfree
3939 intel2200BGFirmware
40− rtl8723bs-firmware
4140 rtl8192su-firmware
41+ ] ++ optionals (versionOlder config.boot.kernelPackages.kernel.version "4.13") [
42+ rtl8723bs-firmware
4243 ];
4344 })
4445 (mkIf cfg.enableAllFirmware {
nixos/modules/hardware/digitalbitbox.nixnew file+30
@@ -0,0 +1,30 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.hardware.digitalbitbox;
7+in
8+
9+{
10+ options.hardware.digitalbitbox = {
11+ enable = mkOption {
12+ type = types.bool;
13+ default = false;
14+ description = ''
15+ Enables udev rules for Digital Bitbox devices.
16+ '';
17+ };
18+
19+ package = mkOption {
20+ type = types.package;
21+ default = pkgs.digitalbitbox;
22+ defaultText = "pkgs.digitalbitbox";
23+ description = "The Digital Bitbox package to use. This can be used to install a package with udev rules that differ from the defaults.";
24+ };
25+ };
26+
27+ config = mkIf cfg.enable {
28+ services.udev.packages = [ cfg.package ];
29+ };
30+}
nixos/modules/hardware/onlykey.nixnew file+33
@@ -0,0 +1,33 @@
1+{ config, lib, ... }:
2+
3+with lib;
4+
5+{
6+
7+ ####### interface
8+
9+ options = {
10+
11+ hardware.onlykey = {
12+ enable = mkOption {
13+ type = types.bool;
14+ default = false;
15+ description = ''
16+ Enable OnlyKey device (https://crp.to/p/) support.
17+ '';
18+ };
19+ };
20+
21+ };
22+
23+ ## As per OnlyKey's documentation piece (hhttps://docs.google.com/document/d/1Go_Rs218fKUx-j_JKhddbSVTqY6P0vQO831t2MKCJC8),
24+ ## it is important to add udev rule for OnlyKey for it to work on Linux
25+
26+ ####### implementation
27+
28+ config = mkIf config.hardware.onlykey.enable {
29+ services.udev.extraRules = builtin.readFile ./onlykey.udev;
30+ };
31+
32+
33+}
nixos/modules/hardware/onlykey.udevnew file+4
@@ -0,0 +1,4 @@
1+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
2+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
3+SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", GROUP+="plugdev"
4+KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", GROUP+="plugdev"
nixos/modules/hardware/opengl.nix+85−76
@@ -14,7 +14,6 @@ let
1414 name = "mesa-drivers+txc-${p.mesa_drivers.version}";
1515 paths =
1616 [ p.mesa_drivers
17− p.mesa_drivers.out # mainly for libGL
1817 (if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc)
1918 ];
2019 };
@@ -33,82 +32,92 @@ in
3332
3433{
3534 options = {
36− hardware.opengl.enable = mkOption {
37− description = "Whether this configuration requires OpenGL.";
38− type = types.bool;
39− default = false;
40− internal = true;
41− };
42−
43− hardware.opengl.driSupport = mkOption {
44− type = types.bool;
45− default = true;
46− description = ''
47− Whether to enable accelerated OpenGL rendering through the
48− Direct Rendering Interface (DRI).
49− '';
50− };
51−
52− hardware.opengl.driSupport32Bit = mkOption {
53− type = types.bool;
54− default = false;
55− description = ''
56− On 64-bit systems, whether to support Direct Rendering for
57− 32-bit applications (such as Wine). This is currently only
58− supported for the <literal>nvidia</literal> and
59− <literal>ati_unfree</literal> drivers, as well as
60− <literal>Mesa</literal>.
61− '';
62− };
63−
64− hardware.opengl.s3tcSupport = mkOption {
65− type = types.bool;
66− default = false;
67− description = ''
68− Make S3TC(S3 Texture Compression) via libtxc_dxtn available
69− to OpenGL drivers instead of the patent-free S2TC replacement.
70−
71− Using this library may require a patent license depending on your location.
72− '';
73− };
7435
75− hardware.opengl.package = mkOption {
76− type = types.package;
77− internal = true;
78− description = ''
79− The package that provides the OpenGL implementation.
80− '';
81− };
82−
83− hardware.opengl.package32 = mkOption {
84− type = types.package;
85− internal = true;
86− description = ''
87− The package that provides the 32-bit OpenGL implementation on
88− 64-bit systems. Used when <option>driSupport32Bit</option> is
89− set.
90− '';
91− };
92−
93− hardware.opengl.extraPackages = mkOption {
94− type = types.listOf types.package;
95− default = [];
96− example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl ]";
97− description = ''
98− Additional packages to add to OpenGL drivers. This can be used
99− to add OpenCL drivers, VA-API/VDPAU drivers etc.
100− '';
101− };
102−
103− hardware.opengl.extraPackages32 = mkOption {
104− type = types.listOf types.package;
105− default = [];
106− example = literalExample "with pkgs.pkgsi686Linux; [ vaapiIntel libvdpau-va-gl vaapiVdpau ]";
107− description = ''
108− Additional packages to add to 32-bit OpenGL drivers on
109− 64-bit systems. Used when <option>driSupport32Bit</option> is
110− set. This can be used to add OpenCL drivers, VA-API/VDPAU drivers etc.
111− '';
36+ hardware.opengl = {
37+ enable = mkOption {
38+ description = ''
39+ Whether to enable OpenGL drivers. This is needed to enable
40+ OpenGL support in X11 systems, as well as for Wayland compositors
41+ like sway, way-cooler and Weston. It is enabled by default
42+ by the corresponding modules, so you do not usually have to
43+ set it yourself, only if there is no module for your wayland
44+ compositor of choice. See services.xserver.enable,
45+ programs.sway.enable, and programs.way-cooler.enable.
46+ '';
47+ type = types.bool;
48+ default = false;
49+ };
50+
51+ driSupport = mkOption {
52+ type = types.bool;
53+ default = true;
54+ description = ''
55+ Whether to enable accelerated OpenGL rendering through the
56+ Direct Rendering Interface (DRI).
57+ '';
58+ };
59+
60+ driSupport32Bit = mkOption {
61+ type = types.bool;
62+ default = false;
63+ description = ''
64+ On 64-bit systems, whether to support Direct Rendering for
65+ 32-bit applications (such as Wine). This is currently only
66+ supported for the <literal>nvidia</literal> and
67+ <literal>ati_unfree</literal> drivers, as well as
68+ <literal>Mesa</literal>.
69+ '';
70+ };
71+
72+ s3tcSupport = mkOption {
73+ type = types.bool;
74+ default = false;
75+ description = ''
76+ Make S3TC(S3 Texture Compression) via libtxc_dxtn available
77+ to OpenGL drivers instead of the patent-free S2TC replacement.
78+
79+ Using this library may require a patent license depending on your location.
80+ '';
81+ };
82+
83+ package = mkOption {
84+ type = types.package;
85+ internal = true;
86+ description = ''
87+ The package that provides the OpenGL implementation.
88+ '';
89+ };
90+
91+ package32 = mkOption {
92+ type = types.package;
93+ internal = true;
94+ description = ''
95+ The package that provides the 32-bit OpenGL implementation on
96+ 64-bit systems. Used when <option>driSupport32Bit</option> is
97+ set.
98+ '';
99+ };
100+
101+ extraPackages = mkOption {
102+ type = types.listOf types.package;
103+ default = [];
104+ example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl ]";
105+ description = ''
106+ Additional packages to add to OpenGL drivers. This can be used
107+ to add OpenCL drivers, VA-API/VDPAU drivers etc.
108+ '';
109+ };
110+
111+ extraPackages32 = mkOption {
112+ type = types.listOf types.package;
113+ default = [];
114+ example = literalExample "with pkgs.pkgsi686Linux; [ vaapiIntel libvdpau-va-gl vaapiVdpau ]";
115+ description = ''
116+ Additional packages to add to 32-bit OpenGL drivers on
117+ 64-bit systems. Used when <option>driSupport32Bit</option> is
118+ set. This can be used to add OpenCL drivers, VA-API/VDPAU drivers etc.
119+ '';
120+ };
112121 };
113122
114123 };
nixos/modules/hardware/video/amdgpu-pro.nix+15−1
@@ -15,13 +15,19 @@ let
1515
1616 opengl = config.hardware.opengl;
1717
18+ kernel = pkgs.linux_4_9.override {
19+ extraConfig = ''
20+ KALLSYMS_ALL y
21+ '';
22+ };
23+
1824in
1925
2026{
2127
2228 config = mkIf enabled {
2329
24− nixpkgs.config.xorg.abiCompat = "1.18";
30+ nixpkgs.config.xorg.abiCompat = "1.19";
2531
2632 services.xserver.drivers = singleton
2733 { name = "amdgpu"; modules = [ package ]; libPath = [ package ]; };
@@ -31,6 +37,9 @@ in
3137
3238 boot.extraModulePackages = [ package ];
3339
40+ boot.kernelPackages =
41+ pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor kernel);
42+
3443 boot.blacklistedKernelModules = [ "radeon" ];
3544
3645 hardware.firmware = [ package ];
@@ -38,10 +47,15 @@ in
3847 system.activationScripts.setup-amdgpu-pro = ''
3948 mkdir -p /run/lib
4049 ln -sfn ${package}/lib ${package.libCompatDir}
50+ ln -sfn ${package} /run/amdgpu-pro
4151 '' + optionalString opengl.driSupport32Bit ''
4252 ln -sfn ${package32}/lib ${package32.libCompatDir}
4353 '';
4454
55+ system.requiredKernelConfig = with config.lib.kernelConfig; [
56+ (isYes "KALLSYMS_ALL")
57+ ];
58+
4559 environment.etc = {
4660 "amd/amdrc".source = package + "/etc/amd/amdrc";
4761 "amd/amdapfxx.blb".source = package + "/etc/amd/amdapfxx.blb";
nixos/modules/hardware/video/nvidia.nix+6−15
@@ -16,8 +16,6 @@ let
1616 kernelPackages.nvidia_x11
1717 else if elem "nvidiaBeta" drivers then
1818 kernelPackages.nvidia_x11_beta
19− else if elem "nvidiaLegacy173" drivers then
20− kernelPackages.nvidia_x11_legacy173
2119 else if elem "nvidiaLegacy304" drivers then
2220 kernelPackages.nvidia_x11_legacy304
2321 else if elem "nvidiaLegacy340" drivers then
@@ -27,13 +25,6 @@ let
2725 nvidia_x11 = nvidiaForKernel config.boot.kernelPackages;
2826 nvidia_libs32 = (nvidiaForKernel pkgs_i686.linuxPackages).override { libsOnly = true; kernel = null; };
2927
30− nvidiaPackage = nvidia: pkgs:
31− if !nvidia.useGLVND then nvidia.out
32− else pkgs.buildEnv {
33− name = "nvidia-libs";
34− paths = [ pkgs.libglvnd nvidia.out ];
35− };
36−
3728 enabled = nvidia_x11 != null;
3829in
3930
@@ -59,8 +50,8 @@ in
5950 source = "${nvidia_x11.bin}/share/nvidia/nvidia-application-profiles-rc";
6051 };
6152
62− hardware.opengl.package = nvidiaPackage nvidia_x11 pkgs;
63− hardware.opengl.package32 = nvidiaPackage nvidia_libs32 pkgs_i686;
53+ hardware.opengl.package = nvidia_x11.out;
54+ hardware.opengl.package32 = nvidia_libs32.out;
6455
6556 environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
6657 ++ lib.filter (p: p != null) [ nvidia_x11.persistenced ];
@@ -75,10 +66,10 @@ in
7566 # Create /dev/nvidia-uvm when the nvidia-uvm module is loaded.
7667 services.udev.extraRules =
7768 ''
78− KERNEL=="nvidia", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'"
79− KERNEL=="nvidia_modeset", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidia-modeset c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 254'"
80− KERNEL=="card*", SUBSYSTEM=="drm", DRIVERS=="nvidia", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidia%n c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) %n'"
81− KERNEL=="nvidia_uvm", RUN+="${pkgs.stdenv.shell} -c 'mknod -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
69+ KERNEL=="nvidia", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'"
70+ KERNEL=="nvidia_modeset", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-modeset c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 254'"
71+ KERNEL=="card*", SUBSYSTEM=="drm", DRIVERS=="nvidia", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia%n c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) %n'"
72+ KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
8273 '';
8374
8475 boot.blacklistedKernelModules = [ "nouveau" "nvidiafb" ];
nixos/modules/installer/cd-dvd/channel.nix+4−2
@@ -12,7 +12,7 @@ let
1212 # CD. These are installed into the "nixos" channel of the root
1313 # user, as expected by nixos-rebuild/nixos-install. FIXME: merge
1414 # with make-channel.nix.
15− channelSources = pkgs.runCommand "nixos-${config.system.nixosVersion}"
15+ channelSources = pkgs.runCommand "nixos-${config.system.nixos.version}"
1616 { }
1717 ''
1818 mkdir -p $out
@@ -21,7 +21,9 @@ let
2121 if [ ! -e $out/nixos/nixpkgs ]; then
2222 ln -s . $out/nixos/nixpkgs
2323 fi
24− echo -n ${config.system.nixosVersionSuffix} > $out/nixos/.version-suffix
24+ echo -n ${config.system.nixos.revision} > $out/nixos/.git-revision
25+ echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix
26+ echo ${config.system.nixos.versionSuffix} | sed -e s/pre// > $out/nixos/svn-revision
2527 '';
2628
2729in
nixos/modules/installer/cd-dvd/installation-cd-base.nix+1−1
@@ -16,7 +16,7 @@ with lib;
1616 ];
1717
1818 # ISO naming.
19− isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixosLabel}-${pkgs.stdenv.system}.iso";
19+ isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixos.label}-${pkgs.stdenv.system}.iso";
2020
2121 isoImage.volumeID = substring 0 11 "NIXOS_ISO";
2222
nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix+1−1
@@ -69,7 +69,7 @@ with lib;
6969 in ''
7070 mkdir -p /root/Desktop
7171 ln -sfT ${desktopFile} /root/Desktop/nixos-manual.desktop
72− cp ${pkgs.gnome3.gnome_terminal}/share/applications/gnome-terminal.desktop /root/Desktop/gnome-terminal.desktop
72+ cp ${pkgs.gnome3.gnome-terminal}/share/applications/gnome-terminal.desktop /root/Desktop/gnome-terminal.desktop
7373 chmod a+rx /root/Desktop/gnome-terminal.desktop
7474 cp ${pkgs.gparted}/share/applications/gparted.desktop /root/Desktop/gparted.desktop
7575 chmod a+rx /root/Desktop/gparted.desktop
nixos/modules/installer/cd-dvd/iso-image.nix+33−37
@@ -39,31 +39,31 @@ let
3939 DEFAULT boot
4040
4141 LABEL boot
42− MENU LABEL NixOS ${config.system.nixosLabel}${config.isoImage.appendToMenuLabel}
43− LINUX /boot/bzImage
42+ MENU LABEL NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel}
43+ LINUX /boot/${config.system.boot.loader.kernelFile}
4444 APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}
45− INITRD /boot/initrd
45+ INITRD /boot/${config.system.boot.loader.initrdFile}
4646
4747 # A variant to boot with 'nomodeset'
4848 LABEL boot-nomodeset
49− MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (nomodeset)
50− LINUX /boot/bzImage
49+ MENU LABEL NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel} (nomodeset)
50+ LINUX /boot/${config.system.boot.loader.kernelFile}
5151 APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} nomodeset
52− INITRD /boot/initrd
52+ INITRD /boot/${config.system.boot.loader.initrdFile}
5353
5454 # A variant to boot with 'copytoram'
5555 LABEL boot-copytoram
56− MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (copytoram)
57− LINUX /boot/bzImage
56+ MENU LABEL NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel} (copytoram)
57+ LINUX /boot/${config.system.boot.loader.kernelFile}
5858 APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} copytoram
59− INITRD /boot/initrd
59+ INITRD /boot/${config.system.boot.loader.initrdFile}
6060
6161 # A variant to boot with verbose logging to the console
6262 LABEL boot-nomodeset
63− MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (debug)
64− LINUX /boot/bzImage
63+ MENU LABEL NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel} (debug)
64+ LINUX /boot/${config.system.boot.loader.kernelFile}
6565 APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} loglevel=7
66− INITRD /boot/initrd
66+ INITRD /boot/${config.system.boot.loader.initrdFile}
6767 '';
6868
6969 isolinuxMemtest86Entry = ''
@@ -82,35 +82,35 @@ let
8282 mkdir -p $out/loader/entries
8383
8484 cat << EOF > $out/loader/entries/nixos-iso.conf
85− title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel}
86− linux /boot/bzImage
87− initrd /boot/initrd
85+ title NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel}
86+ linux /boot/${config.system.boot.loader.kernelFile}
87+ initrd /boot/${config.system.boot.loader.initrdFile}
8888 options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}
8989 EOF
9090
9191 # A variant to boot with 'nomodeset'
9292 cat << EOF > $out/loader/entries/nixos-iso-nomodeset.conf
93− title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel}
93+ title NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel}
9494 version nomodeset
95− linux /boot/bzImage
96− initrd /boot/initrd
95+ linux /boot/${config.system.boot.loader.kernelFile}
96+ initrd /boot/${config.system.boot.loader.initrdFile}
9797 options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} nomodeset
9898 EOF
9999
100100 # A variant to boot with 'copytoram'
101101 cat << EOF > $out/loader/entries/nixos-iso-copytoram.conf
102− title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel}
102+ title NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel}
103103 version copytoram
104− linux /boot/bzImage
105− initrd /boot/initrd
104+ linux /boot/${config.system.boot.loader.kernelFile}
105+ initrd /boot/${config.system.boot.loader.initrdFile}
106106 options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} copytoram
107107 EOF
108108
109109 # A variant to boot with verbose logging to the console
110110 cat << EOF > $out/loader/entries/nixos-iso-debug.conf
111− title NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel} (debug)
112− linux /boot/bzImage
113− initrd /boot/initrd
111+ title NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel} (debug)
112+ linux /boot/${config.system.boot.loader.kernelFile}
113+ initrd /boot/${config.system.boot.loader.initrdFile}
114114 options init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} loglevel=7
115115 EOF
116116
@@ -127,8 +127,8 @@ let
127127 mkdir ./contents && cd ./contents
128128 cp -rp "${efiDir}"/* .
129129 mkdir ./boot
130− cp -p "${config.boot.kernelPackages.kernel}/bzImage" \
131− "${config.system.build.initialRamdisk}/initrd" ./boot/
130+ cp -p "${config.boot.kernelPackages.kernel}/${config.system.boot.loader.kernelFile}" \
131+ "${config.system.build.initialRamdisk}/${config.system.boot.loader.initrdFile}" ./boot/
132132 touch --date=@0 ./*
133133
134134 usage_size=$(du -sb --apparent-size . | tr -cd '[:digit:]')
@@ -331,8 +331,7 @@ in
331331 config.system.build.toplevel.drvPath;
332332
333333 # Create the squashfs image that contains the Nix store.
334− system.build.squashfsStore = import ../../../lib/make-squashfs.nix {
335− inherit (pkgs) stdenv squashfsTools perl pathsFromGraph;
334+ system.build.squashfsStore = pkgs.callPackage ../../../lib/make-squashfs.nix {
336335 storeContents = config.isoImage.storeContents;
337336 };
338337
@@ -346,11 +345,11 @@ in
346345 };
347346 target = "/isolinux/isolinux.cfg";
348347 }
349− { source = config.boot.kernelPackages.kernel + "/bzImage";
350− target = "/boot/bzImage";
348+ { source = config.boot.kernelPackages.kernel + "/" + config.system.boot.loader.kernelFile;
349+ target = "/boot/" + config.system.boot.loader.kernelFile;
351350 }
352− { source = config.system.build.initialRamdisk + "/initrd";
353− target = "/boot/initrd";
351+ { source = config.system.build.initialRamdisk + "/" + config.system.boot.loader.initrdFile;
352+ target = "/boot/" + config.system.boot.loader.initrdFile;
354353 }
355354 { source = config.system.build.squashfsStore;
356355 target = "/nix-store.squashfs";
@@ -361,7 +360,7 @@ in
361360 { source = config.isoImage.splashImage;
362361 target = "/isolinux/background.png";
363362 }
364− { source = pkgs.writeText "version" config.system.nixosVersion;
363+ { source = pkgs.writeText "version" config.system.nixos.label;
365364 target = "/version.txt";
366365 }
367366 ] ++ optionals config.isoImage.makeEfiBootable [
@@ -383,11 +382,8 @@ in
383382 boot.loader.timeout = 10;
384383
385384 # Create the ISO image.
386− system.build.isoImage = import ../../../lib/make-iso9660-image.nix ({
387− inherit (pkgs) stdenv perl pathsFromGraph xorriso syslinux;
388−
385+ system.build.isoImage = pkgs.callPackage ../../../lib/make-iso9660-image.nix ({
389386 inherit (config.isoImage) isoName compressImage volumeID contents;
390−
391387 bootable = true;
392388 bootImage = "/isolinux/isolinux.bin";
393389 } // optionalAttrs config.isoImage.makeUsbBootable {
nixos/modules/installer/cd-dvd/sd-image-aarch64.nix+11−14
@@ -21,12 +21,10 @@ in
2121 "it cannot be cross compiled";
2222 };
2323
24− # Needed by RPi firmware
25− nixpkgs.config.allowUnfree = true;
26−
2724 boot.loader.grub.enable = false;
2825 boot.loader.generic-extlinux-compatible.enable = true;
2926
27+ boot.consoleLogLevel = lib.mkDefault 7;
3028 boot.kernelPackages = pkgs.linuxPackages_latest;
3129
3230 # The serial ports listed here are:
@@ -40,24 +38,23 @@ in
4038
4139 sdImage = {
4240 populateBootCommands = let
43− # Contains a couple of fixes for booting a Linux kernel, will hopefully appear upstream soon.
44− patchedUboot = pkgs.ubootRaspberryPi3_64bit.overrideAttrs (oldAttrs: {
45− src = pkgs.fetchFromGitHub {
46− owner = "dezgeg";
47− repo = "u-boot";
48− rev = "baab53ec244fe44def01948a0f10e67342d401e6";
49− sha256 = "0r5j2pc42ws3w3im0a9c6bh01czz5kapqrqp0ik9ra823cw73lxr";
50− };
51− });
52−
5341 configTxt = pkgs.writeText "config.txt" ''
5442 kernel=u-boot-rpi3.bin
43+
44+ # Boot in 64-bit mode.
5545 arm_control=0x200
46+
47+ # U-Boot used to need this to work, regardless of whether UART is actually used or not.
48+ # TODO: check when/if this can be removed.
5649 enable_uart=1
50+
51+ # Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
52+ # when attempting to show low-voltage or overtemperature warnings.
53+ avoid_warnings=1
5754 '';
5855 in ''
5956 (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
60− cp ${patchedUboot}/u-boot.bin boot/u-boot-rpi3.bin
57+ cp ${pkgs.ubootRaspberryPi3_64bit}/u-boot.bin boot/u-boot-rpi3.bin
6158 cp ${configTxt} boot/config.txt
6259 ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
6360 '';
nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix+8−3
@@ -21,12 +21,10 @@ in
2121 "it cannot be cross compiled";
2222 };
2323
24− # Needed by RPi firmware
25− nixpkgs.config.allowUnfree = true;
26−
2724 boot.loader.grub.enable = false;
2825 boot.loader.generic-extlinux-compatible.enable = true;
2926
27+ boot.consoleLogLevel = lib.mkDefault 7;
3028 boot.kernelPackages = pkgs.linuxPackages_latest;
3129 # The serial ports listed here are:
3230 # - ttyS0: for Tegra (Jetson TK1)
@@ -42,11 +40,18 @@ in
4240 sdImage = {
4341 populateBootCommands = let
4442 configTxt = pkgs.writeText "config.txt" ''
43+ # Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
44+ # when attempting to show low-voltage or overtemperature warnings.
45+ avoid_warnings=1
46+
4547 [pi2]
4648 kernel=u-boot-rpi2.bin
4749
4850 [pi3]
4951 kernel=u-boot-rpi3.bin
52+
53+ # U-Boot used to need this to work, regardless of whether UART is actually used or not.
54+ # TODO: check when/if this can be removed.
5055 enable_uart=1
5156 '';
5257 in ''
nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix+1−3
@@ -21,12 +21,10 @@ in
2121 "it cannot be cross compiled";
2222 };
2323
24− # Needed by RPi firmware
25− nixpkgs.config.allowUnfree = true;
26−
2724 boot.loader.grub.enable = false;
2825 boot.loader.generic-extlinux-compatible.enable = true;
2926
27+ boot.consoleLogLevel = lib.mkDefault 7;
3028 boot.kernelPackages = pkgs.linuxPackages_rpi;
3129
3230 # FIXME: this probably should be in installation-device.nix
nixos/modules/installer/cd-dvd/sd-image.nix+27−7
@@ -20,6 +20,20 @@ let
2020in
2121{
2222 options.sdImage = {
23+ imageName = mkOption {
24+ default = "${config.sdImage.imageBaseName}-${config.system.nixos.label}-${pkgs.stdenv.system}.img";
25+ description = ''
26+ Name of the generated image file.
27+ '';
28+ };
29+
30+ imageBaseName = mkOption {
31+ default = "nixos-sd-image";
32+ description = ''
33+ Prefix of the name of the generated image file.
34+ '';
35+ };
36+
2337 storePaths = mkOption {
2438 type = with types; listOf package;
2539 example = literalExample "[ pkgs.stdenv ]";
@@ -61,19 +75,25 @@ in
6175 sdImage.storePaths = [ config.system.build.toplevel ];
6276
6377 system.build.sdImage = pkgs.stdenv.mkDerivation {
64− name = "sd-image-${pkgs.stdenv.system}.img";
78+ name = config.sdImage.imageName;
6579
6680 buildInputs = with pkgs; [ dosfstools e2fsprogs mtools libfaketime utillinux ];
6781
6882 buildCommand = ''
83+ mkdir -p $out/nix-support $out/sd-image
84+ export img=$out/sd-image/${config.sdImage.imageName}
85+
86+ echo "${pkgs.stdenv.system}" > $out/nix-support/system
87+ echo "file sd-image $img" >> $out/nix-support/hydra-build-products
88+
6989 # Create the image file sized to fit /boot and /, plus 20M of slack
7090 rootSizeBlocks=$(du -B 512 --apparent-size ${rootfsImage} | awk '{ print $1 }')
7191 bootSizeBlocks=$((${toString config.sdImage.bootSize} * 1024 * 1024 / 512))
7292 imageSize=$((rootSizeBlocks * 512 + bootSizeBlocks * 512 + 20 * 1024 * 1024))
73− truncate -s $imageSize $out
93+ truncate -s $imageSize $img
7494
7595 # type=b is 'W95 FAT32', type=83 is 'Linux'.
76− sfdisk $out <<EOF
96+ sfdisk $img <<EOF
7797 label: dos
7898 label-id: 0x2178694e
7999
@@ -82,11 +102,11 @@ in
82102 EOF
83103
84104 # Copy the rootfs into the SD image
85− eval $(partx $out -o START,SECTORS --nr 2 --pairs)
86− dd conv=notrunc if=${rootfsImage} of=$out seek=$START count=$SECTORS
105+ eval $(partx $img -o START,SECTORS --nr 2 --pairs)
106+ dd conv=notrunc if=${rootfsImage} of=$img seek=$START count=$SECTORS
87107
88108 # Create a FAT32 /boot partition of suitable size into bootpart.img
89− eval $(partx $out -o START,SECTORS --nr 1 --pairs)
109+ eval $(partx $img -o START,SECTORS --nr 1 --pairs)
90110 truncate -s $((SECTORS * 512)) bootpart.img
91111 faketime "1970-01-01 00:00:00" mkfs.vfat -i 0x2178694e -n NIXOS_BOOT bootpart.img
92112
@@ -96,7 +116,7 @@ in
96116
97117 # Copy the populated /boot into the SD image
98118 (cd boot; mcopy -bpsvm -i ../bootpart.img ./* ::)
99− dd conv=notrunc if=bootpart.img of=$out seek=$START count=$SECTORS
119+ dd conv=notrunc if=bootpart.img of=$img seek=$START count=$SECTORS
100120 '';
101121 };
102122
nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix+1−1
@@ -54,7 +54,7 @@ in
5454 environment.systemPackages =
5555 [ pkgs.w3m # needed for the manual anyway
5656 pkgs.testdisk # useful for repairing boot problems
57− pkgs.mssys # for writing Microsoft boot sectors / MBRs
57+ pkgs.ms-sys # for writing Microsoft boot sectors / MBRs
5858 pkgs.parted
5959 pkgs.ddrescue
6060 pkgs.ccrypt
nixos/modules/installer/cd-dvd/system-tarball.nix+3−3
@@ -8,7 +8,7 @@ with lib;
88
99let
1010
11− versionFile = pkgs.writeText "nixos-version" config.system.nixosVersion;
11+ versionFile = pkgs.writeText "nixos-label" config.system.nixos.label;
1212
1313in
1414
@@ -58,8 +58,8 @@ in
5858 # Individual files to be included on the CD, outside of the Nix
5959 # store on the CD.
6060 tarball.contents =
61− [ { source = config.system.build.initialRamdisk + "/initrd";
62− target = "/boot/initrd";
61+ [ { source = config.system.build.initialRamdisk + "/" + config.system.boot.loader.initrdFile;
62+ target = "/boot/" + config.system.boot.loader.initrdFile;
6363 }
6464 { source = versionFile;
6565 target = "/nixos-version.txt";
nixos/modules/installer/netboot/netboot.nix+13−8
@@ -18,17 +18,17 @@ with lib;
1818
1919 };
2020
21− config = {
22−
23− boot.loader.grub.version = 2;
24−
21+ config = rec {
2522 # Don't build the GRUB menu builder script, since we don't need it
2623 # here and it causes a cyclic dependency.
2724 boot.loader.grub.enable = false;
2825
2926 # !!! Hack - attributes expected by other modules.
30− system.boot.loader.kernelFile = "bzImage";
31− environment.systemPackages = [ pkgs.grub2 pkgs.grub2_efi pkgs.syslinux ];
27+ environment.systemPackages = [ pkgs.grub2_efi ]
28+ ++ (if pkgs.stdenv.system == "aarch64-linux"
29+ then []
30+ else [ pkgs.grub2 pkgs.syslinux ]);
31+ system.boot.loader.kernelFile = pkgs.stdenv.platform.kernelTarget;
3232
3333 fileSystems."/" =
3434 { fsType = "tmpfs";
@@ -67,7 +67,7 @@ with lib;
6767
6868 # Create the squashfs image that contains the Nix store.
6969 system.build.squashfsStore = import ../../../lib/make-squashfs.nix {
70− inherit (pkgs) stdenv squashfsTools perl pathsFromGraph;
70+ inherit (pkgs) stdenv squashfsTools closureInfo;
7171 storeContents = config.netboot.storeContents;
7272 };
7373
@@ -84,7 +84,12 @@ with lib;
8484 ];
8585 };
8686
87− system.build.netbootIpxeScript = pkgs.writeTextDir "netboot.ipxe" "#!ipxe\nkernel bzImage init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}\ninitrd initrd\nboot";
87+ system.build.netbootIpxeScript = pkgs.writeTextDir "netboot.ipxe" ''
88+ #!ipxe
89+ kernel ${pkgs.stdenv.platform.kernelTarget} init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}
90+ initrd initrd
91+ boot
92+ '';
8893
8994 boot.loader.timeout = 10;
9095
nixos/modules/installer/tools/nix-fallback-paths.nix+4−3
@@ -1,5 +1,6 @@
11{
2− x86_64-linux = "/nix/store/b4s1gxiis1ryvybnjhdjvgc5sr1nq0ys-nix-1.11.15";
3− i686-linux = "/nix/store/kgb5hs7qw13bvb6icramv1ry9dard3h9-nix-1.11.15";
4− x86_64-darwin = "/nix/store/dgwz3dxdzs2wwd7pg7cdhvl8rv0qpnbj-nix-1.11.15";
2+ x86_64-linux = "/nix/store/2gk7rk2sx2dkmsjr59gignrfdmya8f6s-nix-2.0.1";
3+ i686-linux = "/nix/store/5160glkphiv13qggnivyidg8r0491pbl-nix-2.0.1";
4+ aarch64-linux = "/nix/store/jk29zz3ns9vdkkclcyzzkpzp8dhv1x3i-nix-2.0.1";
5+ x86_64-darwin = "/nix/store/4a9czmrpd4hf3r80zcmga2c2lm3hbbvv-nix-2.0.1";
56}
nixos/modules/installer/tools/nixos-enter.shnew file+60
@@ -0,0 +1,60 @@
1+#! @shell@
2+
3+set -e
4+
5+# Re-exec ourselves in a private mount namespace so that our bind
6+# mounts get cleaned up automatically.
7+if [ -z "$NIXOS_ENTER_REEXEC" ]; then
8+ export NIXOS_ENTER_REEXEC=1
9+ if [ "$(id -u)" != 0 ]; then
10+ extraFlags="-r"
11+ fi
12+ exec unshare --fork --mount --uts --mount-proc --pid $extraFlags -- "$0" "$@"
13+else
14+ mount --make-rprivate /
15+fi
16+
17+mountPoint=/mnt
18+system=/nix/var/nix/profiles/system
19+command=($system/sw/bin/bash "--login")
20+
21+while [ "$#" -gt 0 ]; do
22+ i="$1"; shift 1
23+ case "$i" in
24+ --root)
25+ mountPoint="$1"; shift 1
26+ ;;
27+ --system)
28+ system="$1"; shift 1
29+ ;;
30+ --help)
31+ exec man nixos-enter
32+ exit 1
33+ ;;
34+ --command|-c)
35+ command=($system/sw/bin/bash "-c" "$1")
36+ shift 1
37+ ;;
38+ --)
39+ command=("$@")
40+ break
41+ ;;
42+ *)
43+ echo "$0: unknown option \`$i'"
44+ exit 1
45+ ;;
46+ esac
47+done
48+
49+if [[ ! -e $mountPoint/etc/NIXOS ]]; then
50+ echo "$0: '$mountPoint' is not a NixOS installation" >&2
51+ exit 126
52+fi
53+
54+mkdir -m 0755 -p "$mountPoint/dev"
55+mount --rbind /dev "$mountPoint/dev"
56+
57+# Run the activation script. Set $LOCALE_ARCHIVE to supress some Perl locale warnings.
58+LOCALE_ARCHIVE=$system/sw/lib/locale/locale-archive chroot "$mountPoint" "$system/activate" >&2 || true
59+
60+exec chroot "$mountPoint" "${command[@]}"
nixos/modules/installer/tools/nixos-generate-config.pl+5−2
@@ -585,7 +585,6 @@ $bootLoaderConfig
585585
586586 # Some programs need SUID wrappers, can be configured further or are
587587 # started in user sessions.
588− # programs.bash.enableCompletion = true;
589588 # programs.mtr.enable = true;
590589 # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
591590
@@ -603,6 +602,10 @@ $bootLoaderConfig
603602 # Enable CUPS to print documents.
604603 # services.printing.enable = true;
605604
605+ # Enable sound.
606+ # sound.enable = true;
607+ # hardware.pulseaudio.enable = true;
608+
606609 # Enable the X11 windowing system.
607610 # services.xserver.enable = true;
608611 # services.xserver.layout = "us";
@@ -625,7 +628,7 @@ $bootLoaderConfig
625628 # compatible, in order to avoid breaking some software such as database
626629 # servers. You should change this only after NixOS release notes say you
627630 # should.
628− system.stateVersion = "${\(qw(@nixosRelease@))}"; # Did you read the comment?
631+ system.stateVersion = "${\(qw(@release@))}"; # Did you read the comment?
629632
630633}
631634EOF
nixos/modules/installer/tools/nixos-install.sh+68−131
@@ -1,35 +1,23 @@
11#! @shell@
22
3−# - make Nix store etc.
4−# - copy closure of Nix to target device
5−# - register validity
6−# - with a chroot to the target device:
7−# * nix-env -p /nix/var/nix/profiles/system -i <nix-expr for the configuration>
8−# * install the boot loader
3+set -e
4+shopt -s nullglob
5+
6+export PATH=@path@:$PATH
97
108# Ensure a consistent umask.
119umask 0022
1210
13−# Re-exec ourselves in a private mount namespace so that our bind
14−# mounts get cleaned up automatically.
15−if [ "$(id -u)" = 0 ]; then
16− if [ -z "$NIXOS_INSTALL_REEXEC" ]; then
17− export NIXOS_INSTALL_REEXEC=1
18− exec unshare --mount --uts -- "$0" "$@"
19− else
20− mount --make-rprivate /
21− fi
22−fi
23−
2411# Parse the command line for the -I flag
2512extraBuildFlags=()
26−chrootCommand=(/run/current-system/sw/bin/bash)
27−buildUsersGroup="nixbld"
13+
14+mountPoint=/mnt
15+channelPath=
2816
2917while [ "$#" -gt 0 ]; do
3018 i="$1"; shift 1
3119 case "$i" in
32− --max-jobs|-j|--cores|-I)
20+ --max-jobs|-j|--cores|-I|--substituters)
3321 j="$1"; shift 1
3422 extraBuildFlags+=("$i" "$j")
3523 ;;
@@ -41,9 +29,11 @@ while [ "$#" -gt 0 ]; do
4129 --root)
4230 mountPoint="$1"; shift 1
4331 ;;
44− --closure)
45− closure="$1"; shift 1
46− buildUsersGroup=""
32+ --system|--closure)
33+ system="$1"; shift 1
34+ ;;
35+ --channel)
36+ channelPath="$1"; shift 1
4737 ;;
4838 --no-channel-copy)
4939 noChannelCopy=1
@@ -57,17 +47,13 @@ while [ "$#" -gt 0 ]; do
5747 --show-trace)
5848 extraBuildFlags+=("$i")
5949 ;;
60− --chroot)
61− runChroot=1
62− if [[ "$@" != "" ]]; then
63− chrootCommand=("$@")
64− fi
65− break
66− ;;
6750 --help)
6851 exec man nixos-install
6952 exit 1
7053 ;;
54+ --debug)
55+ set -x
56+ ;;
7157 *)
7258 echo "$0: unknown option \`$i'"
7359 exit 1
@@ -75,132 +61,83 @@ while [ "$#" -gt 0 ]; do
7561 esac
7662done
7763
78−set -e
79−shopt -s nullglob
80−
81−if test -z "$mountPoint"; then
82− mountPoint=/mnt
83−fi
84−
8564if ! test -e "$mountPoint"; then
8665 echo "mount point $mountPoint doesn't exist"
8766 exit 1
8867fi
8968
9069# Get the path of the NixOS configuration file.
91−if test -z "$NIXOS_CONFIG"; then
92− NIXOS_CONFIG=/etc/nixos/configuration.nix
70+if [[ -z $NIXOS_CONFIG ]]; then
71+ NIXOS_CONFIG=$mountPoint/etc/nixos/configuration.nix
9372fi
9473
95−if [ ! -e "$mountPoint/$NIXOS_CONFIG" ] && [ -z "$closure" ]; then
96− echo "configuration file $mountPoint/$NIXOS_CONFIG doesn't exist"
74+if [[ ${NIXOS_CONFIG:0:1} != / ]]; then
75+ echo "$0: \$NIXOS_CONFIG is not an absolute path"
9776 exit 1
9877fi
9978
100−
101−# Builds will use users that are members of this group
102−extraBuildFlags+=(--option "build-users-group" "$buildUsersGroup")
103−
104−# Inherit binary caches from the host
105−# TODO: will this still work with Nix 1.12 now that it has no perl? Probably not...
106−binary_caches="$(@perl@/bin/perl -I @nix@/lib/perl5/site_perl/*/* -e 'use Nix::Config; Nix::Config::readConfig; print $Nix::Config::config{"binary-caches"};')"
107−extraBuildFlags+=(--option "binary-caches" "$binary_caches")
108−
109−# We only need nixpkgs in the path if we don't already have a system closure to install
110−if [[ -z "$closure" ]]; then
111− nixpkgs="$(readlink -f "$(nix-instantiate --find-file nixpkgs)")"
112− export NIX_PATH="nixpkgs=$nixpkgs:nixos-config=$mountPoint/$NIXOS_CONFIG"
113−fi
114−unset NIXOS_CONFIG
115−
116−# These get created in nixos-prepare-root as well, but we want to make sure they're here in case we're
117−# running with --chroot. TODO: --chroot should just be split into a separate tool.
118−mkdir -m 0755 -p "$mountPoint/dev" "$mountPoint/proc" "$mountPoint/sys"
119−
120−# Set up some bind mounts we'll want regardless of chroot or not
121−mount --rbind /dev "$mountPoint/dev"
122−mount --rbind /proc "$mountPoint/proc"
123−mount --rbind /sys "$mountPoint/sys"
124−
125−# If we asked for a chroot, that means we're not actually installing anything (yeah I was confused too)
126−# and we just want to run a command in the context of a $mountPoint that we're assuming has already been
127−# set up by a previous nixos-install invocation. In that case we set up some remaining bind mounts and
128−# exec the requested command, skipping the rest of the installation procedure.
129−if [ -n "$runChroot" ]; then
130− mount -t tmpfs -o "mode=0755" none $mountPoint/run
131− rm -rf $mountPoint/var/run
132− ln -s /run $mountPoint/var/run
133− for f in /etc/resolv.conf /etc/hosts; do rm -f $mountPoint/$f; [ -f "$f" ] && cp -Lf $f $mountPoint/etc/; done
134− for f in /etc/passwd /etc/group; do touch $mountPoint/$f; [ -f "$f" ] && mount --rbind -o ro $f $mountPoint/$f; done
135−
136− if ! [ -L $mountPoint/nix/var/nix/profiles/system ]; then
137− echo "$0: installation not finished; cannot chroot into installation directory"
138− exit 1
139− fi
140− ln -s /nix/var/nix/profiles/system $mountPoint/run/current-system
141− exec chroot $mountPoint "${chrootCommand[@]}"
79+if [[ ! -e $NIXOS_CONFIG && -z $system ]]; then
80+ echo "configuration file $NIXOS_CONFIG doesn't exist"
81+ exit 1
14282fi
14383
144−# A place to drop temporary closures
84+# A place to drop temporary stuff.
14585trap "rm -rf $tmpdir" EXIT
14686tmpdir="$(mktemp -d)"
14787
148−# Build a closure (on the host; we then copy it into the guest)
149−function closure() {
150− nix-build "${extraBuildFlags[@]}" --no-out-link -E "with import <nixpkgs> {}; runCommand \"closure\" { exportReferencesGraph = [ \"x\" (buildEnv { name = \"env\"; paths = [ ($1) stdenv ]; }) ]; } \"cp x \$out\""
151−}
152−
153−system_closure="$tmpdir/system.closure"
154−# Use a FIFO for piping nix-store --export into nix-store --import, saving disk
155−# I/O and space. nix-store --import is run by nixos-prepare-root.
156−mkfifo $system_closure
157−
158−if [ -z "$closure" ]; then
159− expr="(import <nixpkgs/nixos> {}).system"
160− system_root="$(nix-build -E "$expr")"
161− system_closure="$(closure "$expr")"
162−else
163− system_root=$closure
164− # Create a temporary file ending in .closure (so nixos-prepare-root knows to --import it) to transport the store closure
165− # to the filesytem we're preparing. Also delete it on exit!
166− # Run in background to avoid blocking while trying to write to the FIFO
167− # $system_closure refers to
168− nix-store --export $(nix-store -qR $closure) > $system_closure &
169−fi
170−
171−channel_root="$(nix-env -p /nix/var/nix/profiles/per-user/root/channels -q nixos --no-name --out-path 2>/dev/null || echo -n "")"
172−channel_closure="$tmpdir/channel.closure"
173−nix-store --export $channel_root > $channel_closure
174−
175−# Populate the target root directory with the basics
176−@prepare_root@/bin/nixos-prepare-root "$mountPoint" "$channel_root" "$system_root" @nixClosure@ "$system_closure" "$channel_closure"
177−
178−# nixos-prepare-root doesn't currently do anything with file ownership, so we set it up here instead
179−chown @root_uid@:@nixbld_gid@ $mountPoint/nix/store
88+sub="auto?trusted=1"
18089
90+# Build the system configuration in the target filesystem.
91+if [[ -z $system ]]; then
92+ echo "building the configuration in $NIXOS_CONFIG..."
93+ outLink="$tmpdir/system"
94+ nix build --out-link "$outLink" --store "$mountPoint" "${extraBuildFlags[@]}" \
95+ --extra-substituters "$sub" \
96+ -f '<nixpkgs/nixos>' system -I "nixos-config=$NIXOS_CONFIG"
97+ system=$(readlink -f $outLink)
98+fi
18199
100+# Set the system profile to point to the configuration. TODO: combine
101+# this with the previous step once we have a nix-env replacement with
102+# a progress bar.
103+nix-env --store "$mountPoint" "${extraBuildFlags[@]}" \
104+ --extra-substituters "$sub" \
105+ -p $mountPoint/nix/var/nix/profiles/system --set "$system"
106+
107+# Copy the NixOS/Nixpkgs sources to the target as the initial contents
108+# of the NixOS channel.
109+if [[ -z $noChannelCopy ]]; then
110+ if [[ -z $channelPath ]]; then
111+ channelPath="$(nix-env -p /nix/var/nix/profiles/per-user/root/channels -q nixos --no-name --out-path 2>/dev/null || echo -n "")"
112+ fi
113+ if [[ -n $channelPath ]]; then
114+ echo "copying channel..."
115+ mkdir -p $mountPoint/nix/var/nix/profiles/per-user/root
116+ nix-env --store "$mountPoint" "${extraBuildFlags[@]}" --extra-substituters "$sub" \
117+ -p $mountPoint/nix/var/nix/profiles/per-user/root/channels --set "$channelPath" --quiet
118+ install -m 0700 -d $mountPoint/root/.nix-defexpr
119+ ln -sfn /nix/var/nix/profiles/per-user/root/channels $mountPoint/root/.nix-defexpr/channels
120+ fi
121+fi
182122
183−# Grub needs an mtab.
184−ln -sfn /proc/mounts $mountPoint/etc/mtab
123+# Mark the target as a NixOS installation, otherwise switch-to-configuration will chicken out.
124+mkdir -m 0755 -p "$mountPoint/etc"
125+touch "$mountPoint/etc/NIXOS"
185126
186127# Switch to the new system configuration. This will install Grub with
187128# a menu default pointing at the kernel/initrd/etc of the new
188129# configuration.
189−echo "finalising the installation..."
190−if [ -z "$noBootLoader" ]; then
191− NIXOS_INSTALL_BOOTLOADER=1 chroot $mountPoint \
192− /nix/var/nix/profiles/system/bin/switch-to-configuration boot
130+if [[ -z $noBootLoader ]]; then
131+ echo "installing the boot loader..."
132+ # Grub needs an mtab.
133+ ln -sfn /proc/mounts $mountPoint/etc/mtab
134+ NIXOS_INSTALL_BOOTLOADER=1 nixos-enter --root "$mountPoint" -- /run/current-system/bin/switch-to-configuration boot
193135fi
194136
195−# Run the activation script.
196−chroot $mountPoint /nix/var/nix/profiles/system/activate
197−
198−
199−# Ask the user to set a root password.
200−if [ -z "$noRootPasswd" ] && chroot $mountPoint [ -x /run/wrappers/bin/passwd ] && [ -t 0 ]; then
201− echo "setting root password..."
202− chroot $mountPoint /run/wrappers/bin/passwd
137+# Ask the user to set a root password, but only if the passwd command
138+# exists (i.e. when mutable user accounts are enabled).
139+if [[ -z $noRootPasswd ]] && [ -t 0 ]; then
140+ nixos-enter --root "$mountPoint" -c '[[ -e /nix/var/nix/profiles/system/sw/bin/passwd ]] && echo "setting root password..." && /nix/var/nix/profiles/system/sw/bin/passwd'
203141fi
204142
205−
206143echo "installation finished!"
nixos/modules/installer/tools/nixos-prepare-root.shdeleted−104
@@ -1,104 +0,0 @@
1−#! @shell@
2−
3−# This script's goal is to perform all "static" setup of a filesystem structure from pre-built store paths. Everything
4−# in here should run in a non-root context and inside a Nix builder. It's designed primarily to be called from image-
5−# building scripts and from nixos-install, but because it makes very few assumptions about the context in which it runs,
6−# it could be useful in other contexts as well.
7−#
8−# Current behavior:
9−# - set up basic filesystem structure
10−# - make Nix store etc.
11−# - copy Nix, system, channel, and misceallaneous closures to target Nix store
12−# - register validity of all paths in the target store
13−# - set up channel and system profiles
14−
15−# Ensure a consistent umask.
16−umask 0022
17−
18−set -e
19−
20−mountPoint="$1"
21−channel="$2"
22−system="$3"
23−shift 3
24−closures="$@"
25−
26−PATH="@coreutils@/bin:@nix@/bin:@perl@/bin:@utillinux@/bin:@rsync@/bin"
27−
28−if ! test -e "$mountPoint"; then
29− echo "mount point $mountPoint doesn't exist"
30− exit 1
31−fi
32−
33−# Create a few of the standard directories in the target root directory.
34−install -m 0755 -d $mountPoint/dev $mountPoint/proc $mountPoint/sys $mountPoint/etc $mountPoint/run $mountPoint/home
35−install -m 01777 -d $mountPoint/tmp
36−install -m 0755 -d $mountPoint/tmp/root
37−install -m 0755 -d $mountPoint/var
38−install -m 0700 -d $mountPoint/root
39−
40−ln -sf /run $mountPoint/var/run
41−
42−# Create the necessary Nix directories on the target device
43−install -m 0755 -d \
44− $mountPoint/nix/var/nix/gcroots \
45− $mountPoint/nix/var/nix/temproots \
46− $mountPoint/nix/var/nix/userpool \
47− $mountPoint/nix/var/nix/profiles \
48− $mountPoint/nix/var/nix/db \
49− $mountPoint/nix/var/log/nix/drvs
50−
51−install -m 1775 -d $mountPoint/nix/store
52−
53−# All Nix operations below should operate on our target store, not /nix/store.
54−# N.B: this relies on Nix 1.12 or higher
55−export NIX_REMOTE=local?root=$mountPoint
56−
57−# Copy our closures to the Nix store on the target mount point, unless they're already there.
58−for i in $closures; do
59− # We support closures both in the format produced by `nix-store --export` and by `exportReferencesGraph`,
60− # mostly because there doesn't seem to be a single format that can be produced outside of a nix build and
61− # inside one. See https://github.com/NixOS/nix/issues/1242 for more discussion.
62− if [[ "$i" =~ \.closure$ ]]; then
63− echo "importing serialized closure $i to $mountPoint..."
64− nix-store --import < $i
65− else
66− # There has to be a better way to do this, right?
67− echo "copying closure $i to $mountPoint..."
68− for j in $(perl @pathsFromGraph@ $i); do
69− echo " $j... "
70− rsync -a $j $mountPoint/nix/store/
71− done
72−
73− nix-store --option build-users-group root --register-validity < $i
74− fi
75−done
76−
77−# Create the required /bin/sh symlink; otherwise lots of things
78−# (notably the system() function) won't work.
79−if [ ! -x $mountPoint/@shell@ ]; then
80− echo "Error: @shell@ wasn't included in the closure" >&2
81− exit 1
82−fi
83−install -m 0755 -d $mountPoint/bin
84−ln -sf @shell@ $mountPoint/bin/sh
85−
86−echo "setting the system closure to '$system'..."
87−nix-env "${extraBuildFlags[@]}" -p $mountPoint/nix/var/nix/profiles/system --set "$system"
88−
89−ln -sfn /nix/var/nix/profiles/system $mountPoint/run/current-system
90−
91−# Copy the NixOS/Nixpkgs sources to the target as the initial contents of the NixOS channel.
92−install -m 0755 -d $mountPoint/nix/var/nix/profiles
93−install -m 1777 -d $mountPoint/nix/var/nix/profiles/per-user
94−install -m 0755 -d $mountPoint/nix/var/nix/profiles/per-user/root
95−
96−if [ -z "$noChannelCopy" ] && [ -n "$channel" ]; then
97− echo "copying channel..."
98− nix-env --option build-use-substitutes false "${extraBuildFlags[@]}" -p $mountPoint/nix/var/nix/profiles/per-user/root/channels --set "$channel" --quiet
99−fi
100−install -m 0700 -d $mountPoint/root/.nix-defexpr
101−ln -sfn /nix/var/nix/profiles/per-user/root/channels $mountPoint/root/.nix-defexpr/channels
102−
103−# Mark the target as a NixOS installation, otherwise switch-to-configuration will chicken out.
104−touch $mountPoint/etc/NIXOS
nixos/modules/installer/tools/nixos-rebuild.sh+1−1
@@ -382,6 +382,6 @@ fi
382382if [ "$action" = build-vm ]; then
383383 cat >&2 <<EOF
384384
385−Done. The virtual machine can be started by running $(echo $pathToConfig/bin/run-*-vm).
385+Done. The virtual machine can be started by running $(echo $pathToConfig/bin/run-*-vm)
386386EOF
387387fi
nixos/modules/installer/tools/nixos-version.sh+2−2
@@ -6,9 +6,9 @@ case "$1" in
66 exit 1
77 ;;
88 --hash|--revision)
9− echo "@nixosRevision@"
9+ echo "@revision@"
1010 ;;
1111 *)
12− echo "@nixosVersion@ (@nixosCodeName@)"
12+ echo "@version@ (@codeName@)"
1313 ;;
1414esac
nixos/modules/installer/tools/tools.nix+13−23
@@ -1,7 +1,9 @@
11# This module generates nixos-install, nixos-rebuild,
22# nixos-generate-config, etc.
33
4−{ config, pkgs, modulesPath, ... }:
4+{ config, lib, pkgs, modulesPath, ... }:
5+
6+with lib;
57
68let
79 cfg = config.installer;
@@ -16,28 +18,11 @@ let
1618 src = ./nixos-build-vms/nixos-build-vms.sh;
1719 };
1820
19− nixos-prepare-root = makeProg {
20− name = "nixos-prepare-root";
21− src = ./nixos-prepare-root.sh;
22−
23− nix = pkgs.nixUnstable;
24− inherit (pkgs) perl pathsFromGraph rsync utillinux coreutils;
25− };
26−
2721 nixos-install = makeProg {
2822 name = "nixos-install";
2923 src = ./nixos-install.sh;
30−
31− inherit (pkgs) perl pathsFromGraph rsync;
3224 nix = config.nix.package.out;
33− cacert = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
34− root_uid = config.ids.uids.root;
35− nixbld_gid = config.ids.gids.nixbld;
36− prepare_root = nixos-prepare-root;
37−
38− nixClosure = pkgs.runCommand "closure"
39− { exportReferencesGraph = ["refs" config.nix.package.out]; }
40− "cp refs $out";
25+ path = makeBinPath [ nixos-enter ];
4126 };
4227
4328 nixos-rebuild =
@@ -55,7 +40,7 @@ let
5540 src = ./nixos-generate-config.pl;
5641 path = [ pkgs.btrfs-progs ];
5742 perl = "${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl";
58− inherit (config.system) nixosRelease;
43+ inherit (config.system.nixos) release;
5944 };
6045
6146 nixos-option = makeProg {
@@ -66,7 +51,12 @@ let
6651 nixos-version = makeProg {
6752 name = "nixos-version";
6853 src = ./nixos-version.sh;
69− inherit (config.system) nixosVersion nixosCodeName nixosRevision;
54+ inherit (config.system.nixos) version codeName revision;
55+ };
56+
57+ nixos-enter = makeProg {
58+ name = "nixos-enter";
59+ src = ./nixos-enter.sh;
7060 };
7161
7262in
@@ -77,16 +67,16 @@ in
7767
7868 environment.systemPackages =
7969 [ nixos-build-vms
80− nixos-prepare-root
8170 nixos-install
8271 nixos-rebuild
8372 nixos-generate-config
8473 nixos-option
8574 nixos-version
75+ nixos-enter
8676 ];
8777
8878 system.build = {
89− inherit nixos-install nixos-prepare-root nixos-generate-config nixos-option nixos-rebuild;
79+ inherit nixos-install nixos-prepare-root nixos-generate-config nixos-option nixos-rebuild nixos-enter;
9080 };
9181
9282 };
nixos/modules/installer/virtualbox-demo.nix+2
@@ -19,4 +19,6 @@ with lib;
1919 # Add some more video drivers to give X11 a shot at working in
2020 # VMware and QEMU.
2121 services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];
22+
23+ powerManagement.enable = false;
2224}
nixos/modules/misc/documentation.nixnew file+77
@@ -0,0 +1,77 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let cfg = config.documentation; in
6+
7+{
8+
9+ options = {
10+
11+ documentation = {
12+
13+ enable = mkOption {
14+ type = types.bool;
15+ default = true;
16+ description = ''
17+ Whether to install documentation of packages from
18+ <option>environment.systemPackages</option> into the generated system path.
19+ '';
20+ };
21+
22+ man.enable = mkOption {
23+ type = types.bool;
24+ default = true;
25+ description = ''
26+ Whether to install manual pages and the <command>man</command> command.
27+ This also includes "man" outputs.
28+ '';
29+ };
30+
31+ doc.enable = mkOption {
32+ type = types.bool;
33+ default = true;
34+ description = ''
35+ Whether to install documentation distributed in packages' <literal>/share/doc</literal>.
36+ Usually plain text and/or HTML.
37+ This also includes "doc" outputs.
38+ '';
39+ };
40+
41+ info.enable = mkOption {
42+ type = types.bool;
43+ default = true;
44+ description = ''
45+ Whether to install info pages and the <command>info</command> command.
46+ This also includes "info" outputs.
47+ '';
48+ };
49+
50+ };
51+
52+ };
53+
54+ config = mkIf cfg.enable (mkMerge [
55+
56+ (mkIf cfg.man.enable {
57+ environment.systemPackages = [ pkgs.man-db ];
58+ environment.pathsToLink = [ "/share/man" ];
59+ environment.extraOutputsToInstall = [ "man" ];
60+ })
61+
62+ (mkIf cfg.doc.enable {
63+ # TODO(@oxij): put it here and remove from profiles?
64+ # environment.systemPackages = [ pkgs.w3m ]; # w3m-nox?
65+ environment.pathsToLink = [ "/share/doc" ];
66+ environment.extraOutputsToInstall = [ "doc" ];
67+ })
68+
69+ (mkIf cfg.info.enable {
70+ environment.systemPackages = [ pkgs.texinfoInteractive ];
71+ environment.pathsToLink = [ "/share/info" ];
72+ environment.extraOutputsToInstall = [ "info" ];
73+ })
74+
75+ ]);
76+
77+}
nixos/modules/misc/ids.nix+28−16
@@ -56,7 +56,7 @@
5656 #dialout = 27; # unused
5757 polkituser = 28;
5858 #utmp = 29; # unused
59− ddclient = 30;
59+ # ddclient = 30; # converted to DynamicUser = true
6060 davfs2 = 31;
6161 #disnix = 33; # unused
6262 osgi = 34;
@@ -65,7 +65,7 @@
6565 foldingathome = 37;
6666 sabnzbd = 38;
6767 #kdm = 39; # dropped in 17.03
68− ghostone = 40;
68+ #ghostone = 40; # dropped in 18.03
6969 git = 41;
7070 fourstore = 42;
7171 fourstorehttp = 43;
@@ -106,7 +106,7 @@
106106 freenet = 79;
107107 ircd = 80;
108108 bacula = 81;
109− almir = 82;
109+ #almir = 82; # removed 2018-03-25, the almir package was removed in 30291227f2411abaca097773eedb49b8f259e297 during 2017-08
110110 deluge = 83;
111111 mysql = 84;
112112 rabbitmq = 85;
@@ -197,10 +197,10 @@
197197 #input = 174; # unused
198198 sddm = 175;
199199 tss = 176;
200− memcached = 177;
200+ #memcached = 177; removed 2018-01-03
201201 ntp = 179;
202202 zabbix = 180;
203− redis = 181;
203+ #redis = 181; removed 2018-01-03
204204 unifi = 183;
205205 uptimed = 184;
206206 zope2 = 185;
@@ -233,7 +233,7 @@
233233 calibre-server = 213;
234234 heapster = 214;
235235 bepasty = 215;
236− pumpio = 216;
236+ # pumpio = 216; # unused, removed 2018-02-24
237237 nm-openvpn = 217;
238238 mathics = 218;
239239 ejabberd = 219;
@@ -281,8 +281,8 @@
281281 stanchion = 262;
282282 riak-cs = 263;
283283 infinoted = 264;
284− keystone = 265;
285− glance = 266;
284+ # keystone = 265; # unused, removed 2017-12-13
285+ # glance = 266; # unused, removed 2017-12-13
286286 couchpotato = 267;
287287 gogs = 268;
288288 pdns-recursor = 269;
@@ -300,6 +300,12 @@
300300 kanboard = 281;
301301 pykms = 282;
302302 kodi = 283;
303+ restya-board = 284;
304+ mighttpd2 = 285;
305+ hass = 286;
306+ monero = 287;
307+ ceph = 288;
308+ duplicati = 289;
303309
304310 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
305311
@@ -338,7 +344,7 @@
338344 dialout = 27;
339345 #polkituser = 28; # currently unused, polkitd doesn't need a group
340346 utmp = 29;
341− ddclient = 30;
347+ # ddclient = 30; # converted to DynamicUser = true
342348 davfs2 = 31;
343349 disnix = 33;
344350 osgi = 34;
@@ -347,7 +353,7 @@
347353 #foldingathome = 37; # unused
348354 #sabnzd = 38; # unused
349355 #kdm = 39; # unused, even before 17.03
350− ghostone = 40;
356+ #ghostone = 40; # dropped in 18.03
351357 git = 41;
352358 fourstore = 42;
353359 fourstorehttp = 43;
@@ -388,7 +394,7 @@
388394 freenet = 79;
389395 ircd = 80;
390396 bacula = 81;
391− almir = 82;
397+ #almir = 82; # removed 2018-03-25, the almir package was removed in 30291227f2411abaca097773eedb49b8f259e297 during 2017-08
392398 deluge = 83;
393399 mysql = 84;
394400 rabbitmq = 85;
@@ -474,10 +480,10 @@
474480 input = 174;
475481 sddm = 175;
476482 tss = 176;
477− #memcached = 177; # unused
483+ #memcached = 177; # unused, removed 2018-01-03
478484 #ntp = 179; # unused
479485 #zabbix = 180; # unused
480− #redis = 181; # unused
486+ #redis = 181; # unused, removed 2018-01-03
481487 #unifi = 183; # unused
482488 #uptimed = 184; # unused
483489 #zope2 = 185; # unused
@@ -509,7 +515,7 @@
509515 xtreemfs = 212;
510516 calibre-server = 213;
511517 bepasty = 215;
512− pumpio = 216;
518+ # pumpio = 216; # unused, removed 2018-02-24
513519 nm-openvpn = 217;
514520 mathics = 218;
515521 ejabberd = 219;
@@ -550,8 +556,8 @@
550556 stanchion = 262;
551557 riak-cs = 263;
552558 infinoted = 264;
553− keystone = 265;
554− glance = 266;
559+ # keystone = 265; # unused, removed 2017-12-13
560+ # glance = 266; # unused, removed 2017-12-13
555561 couchpotato = 267;
556562 gogs = 268;
557563 kresd = 270;
@@ -568,6 +574,12 @@
568574 kanboard = 281;
569575 pykms = 282;
570576 kodi = 283;
577+ restya-board = 284;
578+ mighttpd2 = 285;
579+ hass = 286;
580+ monero = 287;
581+ ceph = 288;
582+ duplicati = 289;
571583
572584 # When adding a gid, make sure it doesn't match an existing
573585 # uid. Users and groups with the same name should have equal
nixos/modules/misc/label.nixnew file+72
@@ -0,0 +1,72 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.system.nixos;
7+in
8+
9+{
10+
11+ options.system = {
12+
13+ nixos.label = mkOption {
14+ type = types.str;
15+ description = ''
16+ NixOS version name to be used in the names of generated
17+ outputs and boot labels.
18+
19+ If you ever wanted to influence the labels in your GRUB menu,
20+ this is the option for you.
21+
22+ The default is <option>system.nixos.tags</option> separated by
23+ "-" + "-" + <envar>NIXOS_LABEL_VERSION</envar> environment
24+ variable (defaults to the value of
25+ <option>system.nixos.version</option>).
26+
27+ Can be overriden by setting <envar>NIXOS_LABEL</envar>.
28+
29+ Useful for not loosing track of configurations built from different
30+ nixos branches/revisions, e.g.:
31+
32+ <screen>
33+ #!/bin/sh
34+ today=`date +%Y%m%d`
35+ branch=`(cd nixpkgs ; git branch 2>/dev/null | sed -n '/^\* / { s|^\* ||; p; }')`
36+ revision=`(cd nixpkgs ; git rev-parse HEAD)`
37+ export NIXOS_LABEL_VERSION="$today.$branch-''${revision:0:7}"
38+ nixos-rebuild switch</screen>
39+ '';
40+ };
41+
42+ nixos.tags = mkOption {
43+ type = types.listOf types.str;
44+ default = [];
45+ example = [ "with-xen" ];
46+ description = ''
47+ Strings to prefix to the default
48+ <option>system.nixos.label</option>.
49+
50+ Useful for not loosing track of configurations built with
51+ different options, e.g.:
52+
53+ <screen>
54+ {
55+ system.nixos.tags = [ "with-xen" ];
56+ virtualisation.xen.enable = true;
57+ }
58+ </screen>
59+ '';
60+ };
61+
62+ };
63+
64+ config = {
65+ # This is set here rather than up there so that changing it would
66+ # not rebuild the manual
67+ system.nixos.label = mkDefault (maybeEnv "NIXOS_LABEL"
68+ (concatStringsSep "-" ((sort (x: y: x < y) cfg.tags)
69+ ++ [ (maybeEnv "NIXOS_LABEL_VERSION" cfg.version) ])));
70+ };
71+
72+}
nixos/modules/misc/locate.nix+15−2
@@ -97,7 +97,7 @@ in {
9797 Whether not to index bind mounts
9898 '';
9999 };
100−
100+
101101 };
102102
103103 config = mkIf cfg.enable {
@@ -133,13 +133,26 @@ in {
133133 systemd.services.update-locatedb =
134134 { description = "Update Locate Database";
135135 path = mkIf (!isMLocate) [ pkgs.su ];
136+
137+ # mlocate's updatedb takes flags via a configuration file or
138+ # on the command line, but not by environment variable.
136139 script =
140+ if isMLocate
141+ then let toFlags = x: optional (cfg.${x} != [])
142+ "--${lib.toLower x} '${concatStringsSep " " cfg.${x}}'";
143+ args = concatLists (map toFlags ["pruneFS" "pruneNames" "prunePaths"]);
144+ in ''
145+ exec ${cfg.locate}/bin/updatedb \
146+ --output ${toString cfg.output} ${concatStringsSep " " args} \
147+ --prune-bind-mounts ${if cfg.pruneBindMounts then "yes" else "no"} \
148+ ${concatStringsSep " " cfg.extraFlags}
137149 ''
150+ else ''
138151 exec ${cfg.locate}/bin/updatedb \
139152 ${optionalString (cfg.localuser != null && ! isMLocate) ''--localuser=${cfg.localuser}''} \
140153 --output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}
141154 '';
142− environment = {
155+ environment = optionalAttrs (!isMLocate) {
143156 PRUNEFS = concatStringsSep " " cfg.pruneFS;
144157 PRUNEPATHS = concatStringsSep " " cfg.prunePaths;
145158 PRUNENAMES = concatStringsSep " " cfg.pruneNames;
nixos/modules/misc/nixpkgs.nix+111−12
@@ -3,11 +3,13 @@
33with lib;
44
55let
6+ cfg = config.nixpkgs;
7+
68 isConfig = x:
7− builtins.isAttrs x || builtins.isFunction x;
9+ builtins.isAttrs x || lib.isFunction x;
810
911 optCall = f: x:
10− if builtins.isFunction f
12+ if lib.isFunction f
1113 then f x
1214 else f;
1315
@@ -38,27 +40,72 @@ let
3840 overlayType = mkOptionType {
3941 name = "nixpkgs-overlay";
4042 description = "nixpkgs overlay";
41− check = builtins.isFunction;
43+ check = lib.isFunction;
4244 merge = lib.mergeOneOption;
4345 };
4446
45− _pkgs = import ../../.. config.nixpkgs;
47+ pkgsType = mkOptionType {
48+ name = "nixpkgs";
49+ description = "An evaluation of Nixpkgs; the top level attribute set of packages";
50+ check = builtins.isAttrs;
51+ };
4652
4753in
4854
4955{
5056 options.nixpkgs = {
57+
58+ pkgs = mkOption {
59+ defaultText = literalExample
60+ ''import "''${nixos}/.." {
61+ inherit (config.nixpkgs) config overlays localSystem crossSystem;
62+ }
63+ '';
64+ default = import ../../.. {
65+ localSystem = { inherit (cfg) system; } // cfg.localSystem;
66+ inherit (cfg) config overlays crossSystem;
67+ };
68+ type = pkgsType;
69+ example = literalExample ''import <nixpkgs> {}'';
70+ description = ''
71+ This is the evaluation of Nixpkgs that will be provided to
72+ all NixOS modules. Defining this option has the effect of
73+ ignoring the other options that would otherwise be used to
74+ evaluate Nixpkgs, because those are arguments to the default
75+ value. The default value imports the Nixpkgs source files
76+ relative to the location of this NixOS module, because
77+ NixOS and Nixpkgs are distributed together for consistency,
78+ so the <code>nixos</code> in the default value is in fact a
79+ relative path. The <code>config</code>, <code>overlays</code>,
80+ <code>localSystem</code>, and <code>crossSystem</code> come
81+ from this option's siblings.
82+
83+ This option can be used by applications like NixOps to increase
84+ the performance of evaluation, or to create packages that depend
85+ on a container that should be built with the exact same evaluation
86+ of Nixpkgs, for example. Applications like this should set
87+ their default value using <code>lib.mkDefault</code>, so
88+ user-provided configuration can override it without using
89+ <code>lib</code>.
90+
91+ Note that using a distinct version of Nixpkgs with NixOS may
92+ be an unexpected source of problems. Use this option with care.
93+ '';
94+ };
95+
5196 config = mkOption {
5297 default = {};
5398 example = literalExample
5499 ''
55− { firefox.enableGeckoMediaPlayer = true; }
100+ { allowBroken = true; allowUnfree = true; }
56101 '';
57102 type = configType;
58103 description = ''
59104 The configuration of the Nix Packages collection. (For
60105 details, see the Nixpkgs documentation.) It allows you to set
61106 package configuration options.
107+
108+ Ignored when <code>nixpkgs.pkgs</code> is set.
62109 '';
63110 };
64111
@@ -69,7 +116,6 @@ in
69116 [ (self: super: {
70117 openssh = super.openssh.override {
71118 hpnSupport = true;
72− withKerberos = true;
73119 kerberos = self.libkrb5;
74120 };
75121 };
@@ -83,6 +129,47 @@ in
83129 takes as an argument the <emphasis>original</emphasis> Nixpkgs.
84130 The first argument should be used for finding dependencies, and
85131 the second should be used for overriding recipes.
132+
133+ Ignored when <code>nixpkgs.pkgs</code> is set.
134+ '';
135+ };
136+
137+ localSystem = mkOption {
138+ type = types.attrs; # TODO utilize lib.systems.parsedPlatform
139+ default = { system = builtins.currentSystem; };
140+ example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; };
141+ defaultText = literalExample
142+ ''(import "''${nixos}/../lib").lib.systems.examples.aarch64-multiplatform'';
143+ description = ''
144+ Specifies the platform on which NixOS should be built. When
145+ <code>nixpkgs.crossSystem</code> is unset, it also specifies
146+ the platform <emphasis>for</emphasis> which NixOS should be
147+ built. If this option is unset, it defaults to the platform
148+ type of the machine where evaluation happens. Specifying this
149+ option is useful when doing distributed multi-platform
150+ deployment, or when building virtual machines. See its
151+ description in the Nixpkgs manual for more details.
152+
153+ Ignored when <code>nixpkgs.pkgs</code> is set.
154+ '';
155+ };
156+
157+ crossSystem = mkOption {
158+ type = types.nullOr types.attrs; # TODO utilize lib.systems.parsedPlatform
159+ default = null;
160+ example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; };
161+ defaultText = literalExample
162+ ''(import "''${nixos}/../lib").lib.systems.examples.aarch64-multiplatform'';
163+ description = ''
164+ Specifies the platform for which NixOS should be
165+ built. Specify this only if it is different from
166+ <code>nixpkgs.localSystem</code>, the platform
167+ <emphasis>on</emphasis> which NixOS should be built. In other
168+ words, specify this to cross-compile NixOS. Otherwise it
169+ should be set as null, the default. See its description in the
170+ Nixpkgs manual for more details.
171+
172+ Ignored when <code>nixpkgs.pkgs</code> is set.
86173 '';
87174 };
88175
@@ -90,18 +177,30 @@ in
90177 type = types.str;
91178 example = "i686-linux";
92179 description = ''
93− Specifies the Nix platform type for which NixOS should be built.
94− If unset, it defaults to the platform type of your host system.
95− Specifying this option is useful when doing distributed
96− multi-platform deployment, or when building virtual machines.
180+ Specifies the Nix platform type on which NixOS should be built.
181+ It is better to specify <code>nixpkgs.localSystem</code> instead.
182+ <programlisting>
183+ {
184+ nixpkgs.system = ..;
185+ }
186+ </programlisting>
187+ is the same as
188+ <programlisting>
189+ {
190+ nixpkgs.localSystem.system = ..;
191+ }
192+ </programlisting>
193+ See <code>nixpkgs.localSystem</code> for more information.
194+
195+ Ignored when <code>nixpkgs.pkgs</code> is set.
97196 '';
98197 };
99198 };
100199
101200 config = {
102201 _module.args = {
103− pkgs = _pkgs;
104− pkgs_i686 = _pkgs.pkgsi686Linux;
202+ pkgs = cfg.pkgs;
203+ pkgs_i686 = cfg.pkgs.pkgsi686Linux;
105204 };
106205 };
107206}
nixos/modules/misc/version.nix+42−36
@@ -3,7 +3,7 @@
33with lib;
44
55let
6− cfg = config.system;
6+ cfg = config.system.nixos;
77
88 releaseFile = "${toString pkgs.path}/.version";
99 suffixFile = "${toString pkgs.path}/.version-suffix";
@@ -16,51 +16,42 @@ in
1616
1717 options.system = {
1818
19− stateVersion = mkOption {
19+ # XXX: Reintroduce old options to make nixops before 1.6 able to evaluate configurations
20+ # XXX: Remove after nixops has been bumped to a compatible version
21+ nixosVersion = mkOption {
22+ readOnly = true;
23+ internal = true;
2024 type = types.str;
21− default = cfg.nixosRelease;
22− description = ''
23− Every once in a while, a new NixOS release may change
24− configuration defaults in a way incompatible with stateful
25− data. For instance, if the default version of PostgreSQL
26− changes, the new version will probably be unable to read your
27− existing databases. To prevent such breakage, you can set the
28− value of this option to the NixOS release with which you want
29− to be compatible. The effect is that NixOS will option
30− defaults corresponding to the specified release (such as using
31− an older version of PostgreSQL).
32− '';
25+ default = config.system.nixos.version;
3326 };
34−
35− nixosLabel = mkOption {
27+ nixosVersionSuffix = mkOption {
28+ readOnly = true;
29+ internal = true;
3630 type = types.str;
37− description = ''
38− Label to be used in the names of generated outputs and boot
39− labels.
40− '';
31+ default = config.system.nixos.versionSuffix;
4132 };
4233
43− nixosVersion = mkOption {
34+ nixos.version = mkOption {
4435 internal = true;
4536 type = types.str;
4637 description = "The full NixOS version (e.g. <literal>16.03.1160.f2d4ee1</literal>).";
4738 };
4839
49− nixosRelease = mkOption {
40+ nixos.release = mkOption {
5041 readOnly = true;
5142 type = types.str;
5243 default = fileContents releaseFile;
5344 description = "The NixOS release (e.g. <literal>16.03</literal>).";
5445 };
5546
56− nixosVersionSuffix = mkOption {
47+ nixos.versionSuffix = mkOption {
5748 internal = true;
5849 type = types.str;
5950 default = if pathExists suffixFile then fileContents suffixFile else "pre-git";
6051 description = "The NixOS version suffix (e.g. <literal>1160.f2d4ee1</literal>).";
6152 };
6253
63− nixosRevision = mkOption {
54+ nixos.revision = mkOption {
6455 internal = true;
6556 type = types.str;
6657 default = if pathIsDirectory gitRepo then commitIdFromGitRepo gitRepo
@@ -69,12 +60,28 @@ in
6960 description = "The Git revision from which this NixOS configuration was built.";
7061 };
7162
72− nixosCodeName = mkOption {
63+ nixos.codeName = mkOption {
7364 readOnly = true;
7465 type = types.str;
7566 description = "The NixOS release code name (e.g. <literal>Emu</literal>).";
7667 };
7768
69+ stateVersion = mkOption {
70+ type = types.str;
71+ default = cfg.release;
72+ description = ''
73+ Every once in a while, a new NixOS release may change
74+ configuration defaults in a way incompatible with stateful
75+ data. For instance, if the default version of PostgreSQL
76+ changes, the new version will probably be unable to read your
77+ existing databases. To prevent such breakage, you can set the
78+ value of this option to the NixOS release with which you want
79+ to be compatible. The effect is that NixOS will option
80+ defaults corresponding to the specified release (such as using
81+ an older version of PostgreSQL).
82+ '';
83+ };
84+
7885 defaultChannel = mkOption {
7986 internal = true;
8087 type = types.str;
@@ -86,16 +93,15 @@ in
8693
8794 config = {
8895
89− system = {
96+ system.nixos = {
9097 # These defaults are set here rather than up there so that
9198 # changing them would not rebuild the manual
92− nixosLabel = mkDefault cfg.nixosVersion;
93− nixosVersion = mkDefault (cfg.nixosRelease + cfg.nixosVersionSuffix);
94− nixosRevision = mkIf (pathIsDirectory gitRepo) (mkDefault gitCommitId);
95− nixosVersionSuffix = mkIf (pathIsDirectory gitRepo) (mkDefault (".git." + gitCommitId));
99+ version = mkDefault (cfg.release + cfg.versionSuffix);
100+ revision = mkIf (pathIsDirectory gitRepo) (mkDefault gitCommitId);
101+ versionSuffix = mkIf (pathIsDirectory gitRepo) (mkDefault (".git." + gitCommitId));
96102
97− # Note: code names must only increase in alphabetical order.
98− nixosCodeName = "Impala";
103+ # Note: the first letter is bumped on every release. It's an animal.
104+ codeName = "Jellyfish";
99105 };
100106
101107 # Generate /etc/os-release. See
@@ -105,10 +111,10 @@ in
105111 ''
106112 NAME=NixOS
107113 ID=nixos
108− VERSION="${config.system.nixosVersion} (${config.system.nixosCodeName})"
109− VERSION_CODENAME=${toLower config.system.nixosCodeName}
110− VERSION_ID="${config.system.nixosVersion}"
111− PRETTY_NAME="NixOS ${config.system.nixosVersion} (${config.system.nixosCodeName})"
114+ VERSION="${cfg.version} (${cfg.codeName})"
115+ VERSION_CODENAME=${toLower cfg.codeName}
116+ VERSION_ID="${cfg.version}"
117+ PRETTY_NAME="NixOS ${cfg.version} (${cfg.codeName})"
112118 HOME_URL="https://nixos.org/"
113119 SUPPORT_URL="https://nixos.org/nixos/support.html"
114120 BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
nixos/modules/module-list.nix+60−23
@@ -31,6 +31,7 @@
3131 ./hardware/ckb.nix
3232 ./hardware/cpu/amd-microcode.nix
3333 ./hardware/cpu/intel-microcode.nix
34+ ./hardware/digitalbitbox.nix
3435 ./hardware/sensor/iio.nix
3536 ./hardware/ksm.nix
3637 ./hardware/mcelog.nix
@@ -40,6 +41,7 @@
4041 ./hardware/pcmcia.nix
4142 ./hardware/raid/hpsa.nix
4243 ./hardware/usb-wwan.nix
44+ ./hardware/onlykey.nix
4345 ./hardware/video/amdgpu.nix
4446 ./hardware/video/amdgpu-pro.nix
4547 ./hardware/video/ati.nix
@@ -57,9 +59,11 @@
5759 ./installer/tools/tools.nix
5860 ./misc/assertions.nix
5961 ./misc/crashdump.nix
62+ ./misc/documentation.nix
6063 ./misc/extra-arguments.nix
6164 ./misc/ids.nix
6265 ./misc/lib.nix
66+ ./misc/label.nix
6367 ./misc/locate.nix
6468 ./misc/meta.nix
6569 ./misc/nixpkgs.nix
@@ -71,44 +75,55 @@
7175 ./programs/bcc.nix
7276 ./programs/blcr.nix
7377 ./programs/browserpass.nix
78+ ./programs/ccache.nix
7479 ./programs/cdemu.nix
7580 ./programs/chromium.nix
7681 ./programs/command-not-found/command-not-found.nix
82+ ./programs/criu.nix
7783 ./programs/dconf.nix
84+ ./programs/digitalbitbox/default.nix
7885 ./programs/environment.nix
7986 ./programs/fish.nix
8087 ./programs/freetds.nix
8188 ./programs/gnupg.nix
8289 ./programs/gphoto2.nix
83− ./programs/info.nix
90+ ./programs/iftop.nix
8491 ./programs/java.nix
8592 ./programs/kbdlight.nix
93+ ./programs/less.nix
8694 ./programs/light.nix
87− ./programs/man.nix
8895 ./programs/mosh.nix
8996 ./programs/mtr.nix
9097 ./programs/nano.nix
9198 ./programs/npm.nix
9299 ./programs/oblogout.nix
100+ ./programs/plotinus.nix
93101 ./programs/qt5ct.nix
102+ ./programs/rootston.nix
94103 ./programs/screen.nix
95104 ./programs/slock.nix
96105 ./programs/shadow.nix
97106 ./programs/shell.nix
98107 ./programs/spacefm.nix
108+ ./programs/singularity.nix
99109 ./programs/ssh.nix
100110 ./programs/ssmtp.nix
101111 ./programs/sysdig.nix
112+ ./programs/systemtap.nix
102113 ./programs/sway.nix
103114 ./programs/thefuck.nix
104115 ./programs/tmux.nix
116+ ./programs/udevil.nix
105117 ./programs/venus.nix
106118 ./programs/vim.nix
119+ ./programs/way-cooler.nix
107120 ./programs/wireshark.nix
108121 ./programs/xfs_quota.nix
109122 ./programs/xonsh.nix
123+ ./programs/yabar.nix
110124 ./programs/zsh/oh-my-zsh.nix
111125 ./programs/zsh/zsh.nix
126+ ./programs/zsh/zsh-autoenv.nix
112127 ./programs/zsh/zsh-syntax-highlighting.nix
113128 ./rename.nix
114129 ./security/acme.nix
@@ -144,11 +159,14 @@
144159 ./services/audio/slimserver.nix
145160 ./services/audio/squeezelite.nix
146161 ./services/audio/ympd.nix
147− ./services/backup/almir.nix
148162 ./services/backup/bacula.nix
163+ ./services/backup/borgbackup.nix
164+ ./services/backup/duplicati.nix
149165 ./services/backup/crashplan.nix
166+ ./services/backup/crashplan-small-business.nix
150167 ./services/backup/mysql-backup.nix
151168 ./services/backup/postgresql-backup.nix
169+ ./services/backup/restic.nix
152170 ./services/backup/rsnapshot.nix
153171 ./services/backup/tarsnap.nix
154172 ./services/backup/znapzend.nix
@@ -196,7 +214,9 @@
196214 ./services/desktops/dleyna-renderer.nix
197215 ./services/desktops/dleyna-server.nix
198216 ./services/desktops/geoclue2.nix
217+ ./services/desktops/pipewire.nix
199218 ./services/desktops/gnome3/at-spi2-core.nix
219+ ./services/desktops/gnome3/chrome-gnome-shell.nix
200220 ./services/desktops/gnome3/evolution-data-server.nix
201221 ./services/desktops/gnome3/gnome-disks.nix
202222 ./services/desktops/gnome3/gnome-documents.nix
@@ -210,22 +230,22 @@
210230 ./services/desktops/gnome3/seahorse.nix
211231 ./services/desktops/gnome3/sushi.nix
212232 ./services/desktops/gnome3/tracker.nix
233+ ./services/desktops/gnome3/tracker-miners.nix
213234 ./services/desktops/profile-sync-daemon.nix
214235 ./services/desktops/telepathy.nix
215236 ./services/development/hoogle.nix
216237 ./services/editors/emacs.nix
217238 ./services/editors/infinoted.nix
218239 ./services/games/factorio.nix
219− ./services/games/ghost-one.nix
220240 ./services/games/minecraft-server.nix
221241 ./services/games/minetest-server.nix
222242 ./services/games/terraria.nix
223243 ./services/hardware/acpid.nix
224244 ./services/hardware/actkbd.nix
225− ./services/hardware/amd-hybrid-graphics.nix
226245 ./services/hardware/bluetooth.nix
227246 ./services/hardware/brltty.nix
228247 ./services/hardware/freefall.nix
248+ ./services/hardware/fwupd.nix
229249 ./services/hardware/illum.nix
230250 ./services/hardware/interception-tools.nix
231251 ./services/hardware/irqbalance.nix
@@ -233,13 +253,16 @@
233253 ./services/hardware/pcscd.nix
234254 ./services/hardware/pommed.nix
235255 ./services/hardware/sane.nix
256+ ./services/hardware/sane_extra_backends/brscan4.nix
236257 ./services/hardware/tcsd.nix
237258 ./services/hardware/tlp.nix
238259 ./services/hardware/thinkfan.nix
239260 ./services/hardware/trezord.nix
261+ ./services/hardware/u2f.nix
240262 ./services/hardware/udev.nix
241263 ./services/hardware/udisks2.nix
242264 ./services/hardware/upower.nix
265+ ./services/hardware/usbmuxd.nix
243266 ./services/hardware/thermald.nix
244267 ./services/logging/SystemdJournal2Gelf.nix
245268 ./services/logging/awstats.nix
@@ -255,6 +278,8 @@
255278 ./services/logging/rsyslogd.nix
256279 ./services/logging/syslog-ng.nix
257280 ./services/logging/syslogd.nix
281+ ./services/mail/clamsmtp.nix
282+ ./services/mail/dkimproxy-out.nix
258283 ./services/mail/dovecot.nix
259284 ./services/mail/dspam.nix
260285 ./services/mail/exim.nix
@@ -301,11 +326,13 @@
301326 ./services/misc/geoip-updater.nix
302327 ./services/misc/gitea.nix
303328 #./services/misc/gitit.nix
304− ./services/misc/gitlab.nix
329+ #./services/misc/gitlab.nix
305330 ./services/misc/gitolite.nix
331+ ./services/misc/gitweb.nix
306332 ./services/misc/gogs.nix
307333 ./services/misc/gollum.nix
308334 ./services/misc/gpsd.nix
335+ ./services/misc/home-assistant.nix
309336 ./services/misc/ihaskell.nix
310337 ./services/misc/irkerd.nix
311338 ./services/misc/jackett.nix
@@ -324,8 +351,10 @@
324351 ./services/misc/nix-optimise.nix
325352 ./services/misc/nixos-manual.nix
326353 ./services/misc/nix-ssh-serve.nix
354+ ./services/misc/novacomd.nix
327355 ./services/misc/nzbget.nix
328356 ./services/misc/octoprint.nix
357+ ./services/misc/osrm.nix
329358 ./services/misc/packagekit.nix
330359 ./services/misc/parsoid.nix
331360 ./services/misc/phd.nix
@@ -337,6 +366,8 @@
337366 ./services/misc/rippled.nix
338367 ./services/misc/ripple-data-api.nix
339368 ./services/misc/rogue.nix
369+ ./services/misc/serviio.nix
370+ ./services/misc/safeeyes.nix
340371 ./services/misc/siproxd.nix
341372 ./services/misc/snapper.nix
342373 ./services/misc/sonarr.nix
@@ -350,6 +381,7 @@
350381 ./services/misc/taskserver
351382 ./services/misc/tzupdate.nix
352383 ./services/misc/uhub.nix
384+ ./services/misc/xmr-stak.nix
353385 ./services/misc/zookeeper.nix
354386 ./services/monitoring/apcupsd.nix
355387 ./services/monitoring/arbtt.nix
@@ -371,16 +403,7 @@
371403 ./services/monitoring/osquery.nix
372404 ./services/monitoring/prometheus/default.nix
373405 ./services/monitoring/prometheus/alertmanager.nix
374− ./services/monitoring/prometheus/blackbox-exporter.nix
375− ./services/monitoring/prometheus/collectd-exporter.nix
376− ./services/monitoring/prometheus/fritzbox-exporter.nix
377− ./services/monitoring/prometheus/json-exporter.nix
378− ./services/monitoring/prometheus/minio-exporter.nix
379− ./services/monitoring/prometheus/nginx-exporter.nix
380− ./services/monitoring/prometheus/node-exporter.nix
381− ./services/monitoring/prometheus/snmp-exporter.nix
382− ./services/monitoring/prometheus/unifi-exporter.nix
383− ./services/monitoring/prometheus/varnish-exporter.nix
406+ ./services/monitoring/prometheus/exporters.nix
384407 ./services/monitoring/riemann.nix
385408 ./services/monitoring/riemann-dash.nix
386409 ./services/monitoring/riemann-tools.nix
@@ -396,14 +419,17 @@
396419 ./services/monitoring/vnstat.nix
397420 ./services/monitoring/zabbix-agent.nix
398421 ./services/monitoring/zabbix-server.nix
422+ ./services/network-filesystems/beegfs.nix
399423 ./services/network-filesystems/cachefilesd.nix
424+ ./services/network-filesystems/davfs2.nix
400425 ./services/network-filesystems/drbd.nix
401426 ./services/network-filesystems/glusterfs.nix
402427 ./services/network-filesystems/kbfs.nix
403428 ./services/network-filesystems/ipfs.nix
404429 ./services/network-filesystems/netatalk.nix
405430 ./services/network-filesystems/nfsd.nix
406− ./services/network-filesystems/openafs-client/default.nix
431+ ./services/network-filesystems/openafs/client.nix
432+ ./services/network-filesystems/openafs/server.nix
407433 ./services/network-filesystems/rsyncd.nix
408434 ./services/network-filesystems/samba.nix
409435 ./services/network-filesystems/tahoe.nix
@@ -411,7 +437,9 @@
411437 ./services/network-filesystems/u9fs.nix
412438 ./services/network-filesystems/yandex-disk.nix
413439 ./services/network-filesystems/xtreemfs.nix
440+ ./services/network-filesystems/ceph.nix
414441 ./services/networking/amuled.nix
442+ ./services/networking/aria2.nix
415443 ./services/networking/asterisk.nix
416444 ./services/networking/atftpd.nix
417445 ./services/networking/avahi-daemon.nix
@@ -476,6 +504,7 @@
476504 ./services/networking/minidlna.nix
477505 ./services/networking/miniupnpd.nix
478506 ./services/networking/mosquitto.nix
507+ ./services/networking/monero.nix
479508 ./services/networking/miredo.nix
480509 ./services/networking/mstpd.nix
481510 ./services/networking/murmur.nix
@@ -484,7 +513,9 @@
484513 ./services/networking/networkmanager.nix
485514 ./services/networking/nftables.nix
486515 ./services/networking/ngircd.nix
516+ ./services/networking/nghttpx/default.nix
487517 ./services/networking/nix-serve.nix
518+ ./services/networking/nixops-dns.nix
488519 ./services/networking/nntp-proxy.nix
489520 ./services/networking/nsd.nix
490521 ./services/networking/ntopng.nix
@@ -503,7 +534,7 @@
503534 ./services/networking/prayer.nix
504535 ./services/networking/privoxy.nix
505536 ./services/networking/prosody.nix
506− # ./services/networking/quagga.nix
537+ ./services/networking/quagga.nix
507538 ./services/networking/quassel.nix
508539 ./services/networking/racoon.nix
509540 ./services/networking/radicale.nix
@@ -512,10 +543,12 @@
512543 ./services/networking/redsocks.nix
513544 ./services/networking/resilio.nix
514545 ./services/networking/rpcbind.nix
546+ ./services/networking/rxe.nix
515547 ./services/networking/sabnzbd.nix
516548 ./services/networking/searx.nix
517549 ./services/networking/seeks.nix
518550 ./services/networking/skydns.nix
551+ ./services/networking/shadowsocks.nix
519552 ./services/networking/shairport-sync.nix
520553 ./services/networking/shout.nix
521554 ./services/networking/sniproxy.nix
@@ -527,6 +560,7 @@
527560 ./services/networking/ssh/lshd.nix
528561 ./services/networking/ssh/sshd.nix
529562 ./services/networking/strongswan.nix
563+ ./services/networking/stunnel.nix
530564 ./services/networking/supplicant.nix
531565 ./services/networking/supybot.nix
532566 ./services/networking/syncthing.nix
@@ -585,6 +619,7 @@
585619 ./services/system/cloud-init.nix
586620 ./services/system/dbus.nix
587621 ./services/system/earlyoom.nix
622+ ./services/system/localtime.nix
588623 ./services/system/kerberos.nix
589624 ./services/system/nscd.nix
590625 ./services/system/saslauthd.nix
@@ -602,11 +637,10 @@
602637 ./services/web-apps/atlassian/jira.nix
603638 ./services/web-apps/frab.nix
604639 ./services/web-apps/mattermost.nix
605− ./services/web-apps/nixbot.nix
606640 ./services/web-apps/nexus.nix
607641 ./services/web-apps/pgpkeyserver-lite.nix
608− ./services/web-apps/piwik.nix
609− ./services/web-apps/pump.io.nix
642+ ./services/web-apps/matomo.nix
643+ ./services/web-apps/restya-board.nix
610644 ./services/web-apps/tt-rss.nix
611645 ./services/web-apps/selfoss.nix
612646 ./services/web-apps/quassel-webserver.nix
@@ -619,8 +653,10 @@
619653 ./services/web-servers/lighttpd/default.nix
620654 ./services/web-servers/lighttpd/gitweb.nix
621655 ./services/web-servers/lighttpd/inginious.nix
656+ ./services/web-servers/mighttpd2.nix
622657 ./services/web-servers/minio.nix
623658 ./services/web-servers/nginx/default.nix
659+ ./services/web-servers/nginx/gitweb.nix
624660 ./services/web-servers/phpfpm/default.nix
625661 ./services/web-servers/shellinabox.nix
626662 ./services/web-servers/tomcat.nix
@@ -665,8 +701,10 @@
665701 ./services/x11/xserver.nix
666702 ./system/activation/activation-script.nix
667703 ./system/activation/top-level.nix
704+ ./system/boot/binfmt.nix
668705 ./system/boot/coredump.nix
669706 ./system/boot/emergency-mode.nix
707+ ./system/boot/grow-partition.nix
670708 ./system/boot/initrd-network.nix
671709 ./system/boot/initrd-ssh.nix
672710 ./system/boot/kernel.nix
@@ -733,6 +771,7 @@
733771 ./virtualisation/lxcfs.nix
734772 ./virtualisation/lxd.nix
735773 ./virtualisation/amazon-options.nix
774+ ./virtualisation/hyperv-guest.nix
736775 ./virtualisation/openvswitch.nix
737776 ./virtualisation/parallels-guest.nix
738777 ./virtualisation/rkt.nix
@@ -741,6 +780,4 @@
741780 ./virtualisation/vmware-guest.nix
742781 ./virtualisation/xen-dom0.nix
743782 ./virtualisation/xe-guest-utilities.nix
744− ./virtualisation/openstack/keystone.nix
745− ./virtualisation/openstack/glance.nix
746783]
nixos/modules/profiles/all-hardware.nix+2−3
@@ -19,13 +19,12 @@
1919 "sata_sil" "sata_sil24" "sata_sis" "sata_svw" "sata_sx4"
2020 "sata_uli" "sata_via" "sata_vsc"
2121
22− "pata_ali" "pata_amd" "pata_artop" "pata_atiixp"
23− "pata_cs5520" "pata_cs5530" "pata_cs5535" "pata_efar"
22+ "pata_ali" "pata_amd" "pata_artop" "pata_atiixp" "pata_efar"
2423 "pata_hpt366" "pata_hpt37x" "pata_hpt3x2n" "pata_hpt3x3"
2524 "pata_it8213" "pata_it821x" "pata_jmicron" "pata_marvell"
2625 "pata_mpiix" "pata_netcell" "pata_ns87410" "pata_oldpiix"
2726 "pata_pcmcia" "pata_pdc2027x" "pata_qdi" "pata_rz1000"
28− "pata_sc1200" "pata_serverworks" "pata_sil680" "pata_sis"
27+ "pata_serverworks" "pata_sil680" "pata_sis"
2928 "pata_sl82c105" "pata_triflex" "pata_via"
3029 "pata_winbond"
3130
nixos/modules/profiles/base.nix+1−1
@@ -9,7 +9,7 @@
99 environment.systemPackages = [
1010 pkgs.w3m-nox # needed for the manual anyway
1111 pkgs.testdisk # useful for repairing boot problems
12− pkgs.mssys # for writing Microsoft boot sectors / MBRs
12+ pkgs.ms-sys # for writing Microsoft boot sectors / MBRs
1313 pkgs.efibootmgr
1414 pkgs.efivar
1515 pkgs.parted
nixos/modules/profiles/clone-config.nix+1−1
@@ -17,7 +17,7 @@ let
1717 # you should use files).
1818 moduleFiles =
1919 # FIXME: use typeOf (Nix 1.6.1).
20− filter (x: !isAttrs x && !builtins.isFunction x) modules;
20+ filter (x: !isAttrs x && !lib.isFunction x) modules;
2121
2222 # Partition module files because between NixOS and non-NixOS files. NixOS
2323 # files may change if the repository is updated.
nixos/modules/profiles/demo.nix+6
@@ -10,4 +10,10 @@
1010 password = "demo";
1111 uid = 1000;
1212 };
13+
14+ services.xserver.displayManager.sddm.autoLogin = {
15+ enable = true;
16+ relogin = true;
17+ user = "demo";
18+ };
1319}
nixos/modules/profiles/docker-container.nix+1−3
@@ -14,9 +14,7 @@ in {
1414 ];
1515
1616 # Create the tarball
17− system.build.tarball = import ../../lib/make-system-tarball.nix {
18− inherit (pkgs) stdenv perl xz pathsFromGraph;
19−
17+ system.build.tarball = pkgs.callPackage ../../lib/make-system-tarball.nix {
2018 contents = [];
2119 extraArgs = "--owner=0";
2220
nixos/modules/profiles/installation-device.nix+7−1
@@ -72,7 +72,13 @@ with lib;
7272
7373 # To speed up installation a little bit, include the complete
7474 # stdenv in the Nix store on the CD.
75− system.extraDependencies = with pkgs; [ stdenv stdenvNoCC busybox ];
75+ system.extraDependencies = with pkgs;
76+ [
77+ stdenv
78+ stdenvNoCC # for runCommand
79+ busybox
80+ jq # for closureInfo
81+ ];
7682
7783 # Show all debug messages from the kernel but don't log refused packets
7884 # because we have the firewall enabled. This makes installs from the
nixos/modules/profiles/minimal.nix+2−3
@@ -10,10 +10,9 @@ with lib;
1010
1111 # This isn't perfect, but let's expect the user specifies an UTF-8 defaultLocale
1212 i18n.supportedLocales = [ (config.i18n.defaultLocale + "/UTF-8") ];
13− services.nixosManual.enable = mkDefault false;
1413
15− programs.man.enable = mkDefault false;
16− programs.info.enable = mkDefault false;
14+ documentation.enable = mkDefault false;
15+ services.nixosManual.enable = mkDefault false;
1716
1817 sound.enable = mkDefault false;
1918}
nixos/modules/profiles/qemu-guest.nix+1−1
@@ -4,7 +4,7 @@
44{ config, pkgs, ... }:
55
66{
7− boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ];
7+ boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ];
88 boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" "virtio_rng" ];
99
1010 boot.initrd.postDeviceCommands =
nixos/modules/programs/adb.nix+1
@@ -16,6 +16,7 @@ with lib;
1616 To grant access to a user, it must be part of adbusers group:
1717 <code>users.extraUsers.alice.extraGroups = ["adbusers"];</code>
1818 '';
19+ relatedPackages = [ ["androidenv" "platformTools"] ];
1920 };
2021 };
2122 };
nixos/modules/programs/bash/bash.nix+13−6
@@ -14,13 +14,16 @@ let
1414 bashCompletion = optionalString cfg.enableCompletion ''
1515 # Check whether we're running a version of Bash that has support for
1616 # programmable completion. If we do, enable all modules installed in
17− # the system (and user profile).
17+ # the system and user profile in obsolete /etc/bash_completion.d/
18+ # directories. Bash loads completions in all
19+ # $XDG_DATA_DIRS/share/bash-completion/completions/
20+ # on demand, so they do not need to be sourced here.
1821 if shopt -q progcomp &>/dev/null; then
1922 . "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh"
2023 nullglobStatus=$(shopt -p nullglob)
2124 shopt -s nullglob
2225 for p in $NIX_PROFILES; do
23− for m in "$p/etc/bash_completion.d/"* "$p/share/bash-completion/completions/"*; do
26+ for m in "$p/etc/bash_completion.d/"*; do
2427 . $m
2528 done
2629 done
@@ -107,7 +110,7 @@ in
107110 };
108111
109112 enableCompletion = mkOption {
110− default = false;
113+ default = true;
111114 description = ''
112115 Enable Bash completion for all interactive bash shells.
113116 '';
@@ -123,7 +126,7 @@ in
123126 programs.bash = {
124127
125128 shellInit = ''
126− . ${config.system.build.setEnvironment}
129+ ${config.system.build.setEnvironment.text}
127130
128131 ${cfge.shellInit}
129132 '';
@@ -197,8 +200,9 @@ in
197200 fi
198201 '';
199202
200− # Configuration for readline in bash.
201− environment.etc."inputrc".source = ./inputrc;
203+ # Configuration for readline in bash. We use "option default"
204+ # priority to allow user override using both .text and .source.
205+ environment.etc."inputrc".source = mkOptionDefault ./inputrc;
202206
203207 users.defaultUserShell = mkDefault pkgs.bashInteractive;
204208
@@ -207,6 +211,9 @@ in
207211 "/share/bash-completion"
208212 ];
209213
214+ environment.systemPackages = optional cfg.enableCompletion
215+ pkgs.nix-bash-completions;
216+
210217 environment.shells =
211218 [ "/run/current-system/sw/bin/bash"
212219 "/var/run/current-system/sw/bin/bash"
nixos/modules/programs/browserpass.nix+1
@@ -18,5 +18,6 @@ with lib;
1818 "opt/chrome/native-messaging-hosts/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-host.json";
1919 "opt/chrome/policies/managed/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-policy.json";
2020 };
21+ nixpkgs.config.firefox.enableBrowserpass = true;
2122 };
2223}
nixos/modules/programs/ccache.nixnew file+83
@@ -0,0 +1,83 @@
1+{ config, pkgs, lib, ... }:
2+
3+with lib;
4+let
5+ cfg = config.programs.ccache;
6+in {
7+ options.programs.ccache = {
8+ # host configuration
9+ enable = mkEnableOption "CCache";
10+ cacheDir = mkOption {
11+ type = types.path;
12+ description = "CCache directory";
13+ default = "/var/cache/ccache";
14+ };
15+ # target configuration
16+ packageNames = mkOption {
17+ type = types.listOf types.str;
18+ description = "Nix top-level packages to be compiled using CCache";
19+ default = [];
20+ example = [ "wxGTK30" "qt48" "ffmpeg_3_3" "libav_all" ];
21+ };
22+ };
23+
24+ config = mkMerge [
25+ # host configuration
26+ (mkIf cfg.enable {
27+ systemd.tmpfiles.rules = [ "d ${cfg.cacheDir} 0770 root nixbld -" ];
28+
29+ # "nix-ccache --show-stats" and "nix-ccache --clear"
30+ security.wrappers.nix-ccache = {
31+ group = "nixbld";
32+ setgid = true;
33+ source = pkgs.writeScript "nix-ccache.pl" ''
34+ #!${pkgs.perl}/bin/perl
35+
36+ %ENV=( CCACHE_DIR => '${cfg.cacheDir}' );
37+ sub untaint {
38+ my $v = shift;
39+ return '-C' if $v eq '-C' || $v eq '--clear';
40+ return '-V' if $v eq '-V' || $v eq '--version';
41+ return '-s' if $v eq '-s' || $v eq '--show-stats';
42+ return '-z' if $v eq '-z' || $v eq '--zero-stats';
43+ exec('${pkgs.ccache}/bin/ccache', '-h');
44+ }
45+ exec('${pkgs.ccache}/bin/ccache', map { untaint $_ } @ARGV);
46+ '';
47+ };
48+ })
49+
50+ # target configuration
51+ (mkIf (cfg.packageNames != []) {
52+ nixpkgs.overlays = [
53+ (self: super: genAttrs cfg.packageNames (pn: super.${pn}.override { stdenv = builtins.trace "with ccache: ${pn}" self.ccacheStdenv; }))
54+
55+ (self: super: {
56+ ccacheWrapper = super.ccacheWrapper.override {
57+ extraConfig = ''
58+ export CCACHE_COMPRESS=1
59+ export CCACHE_DIR="${cfg.cacheDir}"
60+ export CCACHE_UMASK=007
61+ if [ ! -d "$CCACHE_DIR" ]; then
62+ echo "====="
63+ echo "Directory '$CCACHE_DIR' does not exist"
64+ echo "Please create it with:"
65+ echo " sudo mkdir -m0770 '$CCACHE_DIR'"
66+ echo " sudo chown root:nixbld '$CCACHE_DIR'"
67+ echo "====="
68+ exit 1
69+ fi
70+ if [ ! -w "$CCACHE_DIR" ]; then
71+ echo "====="
72+ echo "Directory '$CCACHE_DIR' is not accessible for user $(whoami)"
73+ echo "Please verify its access permissions"
74+ echo "====="
75+ exit 1
76+ fi
77+ '';
78+ };
79+ })
80+ ];
81+ })
82+ ];
83+}
nixos/modules/programs/chromium.nix+6−2
@@ -36,6 +36,7 @@ in
3636 "chlffgpmiacpedhhbkiomidkjlcfhogd" # pushbullet
3737 "mbniclmhobmnbdlbpiphghaielnnpgdp" # lightshot
3838 "gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere
39+ "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
3940 ]
4041 '';
4142 };
@@ -52,8 +53,7 @@ in
5253 description = "Chromium default search provider url.";
5354 default = null;
5455 example =
55− "https://encrypted.google.com/search?q={searchTerms}&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:
56− ↪searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}";
56+ "https://encrypted.google.com/search?q={searchTerms}&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}";
5757 };
5858
5959 defaultSearchProviderSuggestURL = mkOption {
@@ -79,7 +79,11 @@ in
7979 ###### implementation
8080
8181 config = lib.mkIf cfg.enable {
82+ # for chromium
8283 environment.etc."chromium/policies/managed/default.json".text = builtins.toJSON defaultProfile;
8384 environment.etc."chromium/policies/managed/extra.json".text = builtins.toJSON cfg.extraOpts;
85+ # for google-chrome https://www.chromium.org/administrators/linux-quick-start
86+ environment.etc."opt/chrome/policies/managed/default.json".text = builtins.toJSON defaultProfile;
87+ environment.etc."opt/chrome/policies/managed/extra.json".text = builtins.toJSON cfg.extraOpts;
8488 };
8589}
nixos/modules/programs/criu.nixnew file+26
@@ -0,0 +1,26 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let cfg = config.programs.criu;
6+in {
7+
8+ options = {
9+ programs.criu = {
10+ enable = mkOption {
11+ default = false;
12+ description = ''
13+ Install <command>criu</command> along with necessary kernel options.
14+ '';
15+ };
16+ };
17+ };
18+ config = mkIf cfg.enable {
19+ system.requiredKernelConfig = with config.lib.kernelConfig; [
20+ (isYes "CHECKPOINT_RESTORE")
21+ ];
22+ boot.kernel.features.criu = true;
23+ environment.systemPackages = [ pkgs.criu ];
24+ };
25+
26+}
nixos/modules/programs/dconf.nix+12−4
@@ -1,7 +1,8 @@
1−{ config, lib, ... }:
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
24
35let
4− inherit (lib) mkOption mkIf types mapAttrsToList;
56 cfg = config.programs.dconf;
67
78 mkDconfProfile = name: path:
@@ -13,6 +14,7 @@ in
1314
1415 options = {
1516 programs.dconf = {
17+ enable = mkEnableOption "dconf";
1618
1719 profiles = mkOption {
1820 type = types.attrsOf types.path;
@@ -26,9 +28,15 @@ in
2628
2729 ###### implementation
2830
29− config = mkIf (cfg.profiles != {}) {
30− environment.etc =
31+ config = mkIf (cfg.profiles != {} || cfg.enable) {
32+ environment.etc = optionals (cfg.profiles != {})
3133 (mapAttrsToList mkDconfProfile cfg.profiles);
34+
35+ environment.variables.GIO_EXTRA_MODULES = optional cfg.enable
36+ "${pkgs.gnome3.dconf.lib}/lib/gio/modules";
37+ # https://github.com/NixOS/nixpkgs/pull/31891
38+ #environment.variables.XDG_DATA_DIRS = optional cfg.enable
39+ # "$(echo ${pkgs.gnome3.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas-*)";
3240 };
3341
3442}
nixos/modules/programs/digitalbitbox/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.programs.digitalbitbox;
7+in
8+
9+{
10+ options.programs.digitalbitbox = {
11+ enable = mkOption {
12+ type = types.bool;
13+ default = false;
14+ description = ''
15+ Installs the Digital Bitbox application and enables the complementary hardware module.
16+ '';
17+ };
18+
19+ package = mkOption {
20+ type = types.package;
21+ default = pkgs.digitalbitbox;
22+ defaultText = "pkgs.digitalbitbox";
23+ description = "The Digital Bitbox package to use. This can be used to install a package with udev rules that differ from the defaults.";
24+ };
25+ };
26+
27+ config = mkIf cfg.enable {
28+ environment.systemPackages = [ cfg.package ];
29+ hardware.digitalbitbox = {
30+ enable = true;
31+ package = cfg.package;
32+ };
33+ };
34+
35+ meta = {
36+ doc = ./doc.xml;
37+ maintainers = with stdenv.lib.maintainers; [ vidbina ];
38+ };
39+}
nixos/modules/programs/digitalbitbox/doc.xmlnew file+85
@@ -0,0 +1,85 @@
1+<chapter xmlns="http://docbook.org/ns/docbook"
2+ xmlns:xlink="http://www.w3.org/1999/xlink"
3+ xmlns:xi="http://www.w3.org/2001/XInclude"
4+ version="5.0"
5+ xml:id="module-programs-digitalbitbox">
6+
7+ <title>Digital Bitbox</title>
8+
9+ <para>
10+ Digital Bitbox is a hardware wallet and second-factor authenticator.
11+ </para>
12+
13+ <para>
14+ The <literal>digitalbitbox</literal> programs module may be
15+ installed by setting <literal>programs.digitalbitbox</literal>
16+ to <literal>true</literal> in a manner similar to
17+
18+ <programlisting>
19+ programs.digitalbitbox.enable = true;
20+ </programlisting>
21+
22+ and bundles the <literal>digitalbitbox</literal> package (see <xref
23+ linkend="sec-digitalbitbox-package" />), which contains the
24+ <literal>dbb-app</literal> and <literal>dbb-cli</literal> binaries,
25+ along with the hardware module (see <xref
26+ linkend="sec-digitalbitbox-hardware-module" />) which sets up the
27+ necessary udev rules to access the device.
28+ </para>
29+
30+ <para>
31+ Enabling the digitalbitbox module is pretty much the easiest way to
32+ get a Digital Bitbox device working on your system.
33+ </para>
34+
35+ <para>
36+ For more information, see
37+ <link xlink:href="https://digitalbitbox.com/start_linux" />.
38+ </para>
39+
40+ <section xml:id="sec-digitalbitbox-package">
41+ <title>Package</title>
42+
43+ <para>
44+ The binaries, <literal>dbb-app</literal> (a GUI tool) and
45+ <literal>dbb-cli</literal> (a CLI tool), are available through the
46+ <literal>digitalbitbox</literal> package which could be installed
47+ as follows:
48+
49+ <programlisting>
50+ environment.systemPackages = [
51+ pkgs.digitalbitbox
52+ ];
53+ </programlisting>
54+ </para>
55+ </section>
56+
57+
58+ <section xml:id="sec-digitalbitbox-hardware-module">
59+ <title>Hardware</title>
60+
61+ <para>
62+ The digitalbitbox hardware package enables the udev rules for
63+ Digital Bitbox devices and may be installed as follows:
64+
65+ <programlisting>
66+ hardware.digitalbitbox.enable = true;
67+ </programlisting>
68+ </para>
69+
70+ <para>
71+ In order to alter the udev rules, one may provide different values for
72+ the <literal>udevRule51</literal> and <literal>udevRule52</literal>
73+ attributes by means of overriding as follows:
74+
75+ <programlisting>
76+ programs.digitalbitbox = {
77+ enable = true;
78+ package = pkgs.digitalbitbox.override {
79+ udevRule51 = "something else";
80+ };
81+ };
82+ </programlisting>
83+ </para>
84+ </section>
85+</chapter>
nixos/modules/programs/iftop.nixnew file+18
@@ -0,0 +1,18 @@
1+{ config, pkgs, lib, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.programs.iftop;
7+in {
8+ options = {
9+ programs.iftop.enable = mkEnableOption "iftop + setcap wrapper";
10+ };
11+ config = mkIf cfg.enable {
12+ environment.systemPackages = [ pkgs.iftop ];
13+ security.wrappers.iftop = {
14+ source = "${pkgs.iftop}/bin/iftop";
15+ capabilities = "cap_net_raw+p";
16+ };
17+ };
18+}
nixos/modules/programs/info.nixdeleted−30
@@ -1,30 +0,0 @@
1−{ config, lib, pkgs, ... }:
2−
3−with lib;
4−
5−{
6−
7− options = {
8−
9− programs.info.enable = mkOption {
10− type = types.bool;
11− default = true;
12− description = ''
13− Whether to enable info pages and the <command>info</command> command.
14− '';
15− };
16−
17− };
18−
19−
20− config = mkIf config.programs.info.enable {
21−
22− environment.systemPackages = [ pkgs.texinfoInteractive ];
23−
24− environment.pathsToLink = [ "/info" "/share/info" ];
25−
26− environment.extraOutputsToInstall = [ "info" ];
27−
28− };
29−
30−}
nixos/modules/programs/less.nixnew file+131

This diff is too big to show here.

nixos/modules/programs/man.nixdeleted−31

This diff is too big to show here.

nixos/modules/programs/plotinus.nixnew file+36

This diff is too big to show here.

nixos/modules/programs/plotinus.xmlnew file+25

This diff is too big to show here.

nixos/modules/programs/rootston.nixnew file+103

This diff is too big to show here.

nixos/modules/programs/shadow.nix+5−5

This diff is too big to show here.

nixos/modules/programs/singularity.nixnew file+20

This diff is too big to show here.

nixos/modules/programs/ssh.nix+1−1

This diff is too big to show here.

nixos/modules/programs/sway.nix+35−19

This diff is too big to show here.

nixos/modules/programs/systemtap.nixnew file+28

This diff is too big to show here.

nixos/modules/programs/tmux.nix+16−2

This diff is too big to show here.

nixos/modules/programs/udevil.nixnew file+14

This diff is too big to show here.

nixos/modules/programs/way-cooler.nixnew file+78

This diff is too big to show here.

nixos/modules/programs/yabar.nixnew file+149

This diff is too big to show here.

nixos/modules/programs/zsh/oh-my-zsh.nix+16

This diff is too big to show here.

nixos/modules/programs/zsh/zsh-autoenv.nixnew file+28

This diff is too big to show here.

nixos/modules/programs/zsh/zsh.nix+5−4

This diff is too big to show here.

nixos/modules/rename.nix+49−1

This diff is too big to show here.

nixos/modules/security/acme.nix+33−28

This diff is too big to show here.

nixos/modules/security/audit.nix+3−3

This diff is too big to show here.

nixos/modules/security/duosec.nix+2−2

This diff is too big to show here.

nixos/modules/security/pam.nix+47−5

This diff is too big to show here.

nixos/modules/security/sudo.nix+129−6

This diff is too big to show here.

nixos/modules/security/wrappers/default.nix+2−2

This diff is too big to show here.

nixos/modules/security/wrappers/wrapper.c+1−1

This diff is too big to show here.

nixos/modules/services/audio/alsa.nix+1−1

This diff is too big to show here.

nixos/modules/services/audio/mopidy.nix+9−5

This diff is too big to show here.

nixos/modules/services/backup/almir.nixdeleted−173

This diff is too big to show here.

nixos/modules/services/backup/borgbackup.nixnew file+580

This diff is too big to show here.

nixos/modules/services/backup/crashplan-small-business.nixnew file+74

This diff is too big to show here.

nixos/modules/services/backup/duplicati.nixnew file+40

This diff is too big to show here.

nixos/modules/services/backup/restic.nixnew file+150

This diff is too big to show here.

nixos/modules/services/backup/tarsnap.nix+61−8

This diff is too big to show here.

nixos/modules/services/backup/znapzend.nix+360−9

This diff is too big to show here.

nixos/modules/services/cluster/kubernetes/dashboard.nix+2−2

This diff is too big to show here.

nixos/modules/services/cluster/kubernetes/default.nix+11−11

This diff is too big to show here.

nixos/modules/services/computing/slurm/slurm.nix+25−6

This diff is too big to show here.

nixos/modules/services/continuous-integration/buildkite-agent.nix+157−24

This diff is too big to show here.

nixos/modules/services/continuous-integration/hydra/default.nix+7−6

This diff is too big to show here.

nixos/modules/services/continuous-integration/jenkins/default.nix+8−1

This diff is too big to show here.

nixos/modules/services/databases/4store-endpoint.nix+1−1

This diff is too big to show here.

nixos/modules/services/databases/4store.nix+1−1

This diff is too big to show here.

nixos/modules/services/databases/memcached.nix+31−26

This diff is too big to show here.

nixos/modules/services/databases/mysql.nix+7−16

This diff is too big to show here.

nixos/modules/services/databases/openldap.nix+46−6

This diff is too big to show here.

nixos/modules/services/databases/pgmanage.nix+3−3

This diff is too big to show here.

nixos/modules/services/databases/postgresql.nix+2−5

This diff is too big to show here.

nixos/modules/services/databases/redis.nix−1

This diff is too big to show here.

nixos/modules/services/desktops/gnome3/at-spi2-core.nix+11−10

This diff is too big to show here.

nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nixnew file+27

This diff is too big to show here.

nixos/modules/services/desktops/gnome3/evolution-data-server.nix+3−3

This diff is too big to show here.

nixos/modules/services/desktops/gnome3/gnome-keyring.nix+2−2

This diff is too big to show here.

nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix+2−2

This diff is too big to show here.

nixos/modules/services/desktops/gnome3/gnome-terminal-server.nix+3−3

This diff is too big to show here.

nixos/modules/services/desktops/gnome3/tracker-miners.nixnew file+41

This diff is too big to show here.

nixos/modules/services/desktops/pipewire.nixnew file+23

This diff is too big to show here.

nixos/modules/services/desktops/telepathy.nix+2−2

This diff is too big to show here.

nixos/modules/services/editors/emacs.nix+21−2

This diff is too big to show here.

nixos/modules/services/games/factorio.nix+18−2

This diff is too big to show here.

nixos/modules/services/games/ghost-one.nixdeleted−105

This diff is too big to show here.

nixos/modules/services/hardware/acpid.nix+34−6

This diff is too big to show here.

nixos/modules/services/hardware/amd-hybrid-graphics.nixdeleted−46

This diff is too big to show here.

nixos/modules/services/hardware/bluetooth.nix+11−1

This diff is too big to show here.

nixos/modules/services/hardware/fwupd.nixnew file+90

This diff is too big to show here.

nixos/modules/services/hardware/nvidia-optimus.nix+1−1

This diff is too big to show here.

nixos/modules/services/hardware/thinkfan.nix+1−1

This diff is too big to show here.

nixos/modules/services/hardware/trezord.nix+1−1

This diff is too big to show here.

nixos/modules/services/hardware/u2f.nixnew file+23

This diff is too big to show here.

nixos/modules/services/hardware/udev.nix+1−1

This diff is too big to show here.

nixos/modules/services/hardware/usbmuxd.nixnew file+74

This diff is too big to show here.

nixos/modules/services/logging/graylog.nix+1−1

This diff is too big to show here.

nixos/modules/services/logging/logcheck.nix+1−1

This diff is too big to show here.

nixos/modules/services/logging/logstash.nix+1−1

This diff is too big to show here.

nixos/modules/services/mail/clamsmtp.nixnew file+179

This diff is too big to show here.

nixos/modules/services/mail/dkimproxy-out.nixnew file+118

This diff is too big to show here.

nixos/modules/services/mail/dovecot.nix+3−2

This diff is too big to show here.

nixos/modules/services/mail/postfix.nix+72−73

This diff is too big to show here.

nixos/modules/services/mail/rspamd.nix+235−33

This diff is too big to show here.

nixos/modules/services/misc/defaultUnicornConfig.rb+52−188

This diff is too big to show here.

nixos/modules/services/misc/disnix.nix+11−5

This diff is too big to show here.

nixos/modules/services/misc/dysnomia.nix+35−33

This diff is too big to show here.

nixos/modules/services/misc/folding-at-home.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/geoip-updater.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/gitea.nix+54−2

This diff is too big to show here.

nixos/modules/services/misc/gitit.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/gitlab.nix+14−12

This diff is too big to show here.

nixos/modules/services/misc/gitolite.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/gitweb.nixnew file+59

This diff is too big to show here.

nixos/modules/services/misc/gogs.nix+3

This diff is too big to show here.

nixos/modules/services/misc/gollum.nix+21

This diff is too big to show here.

nixos/modules/services/misc/home-assistant.nixnew file+144

This diff is too big to show here.

nixos/modules/services/misc/ihaskell.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/logkeys.nix+1−1

This diff is too big to show here.

nixos/modules/services/misc/matrix-synapse.nix+86−16

This diff is too big to show here.

nixos/modules/services/misc/mbpfan.nix+1−7

This diff is too big to show here.

nixos/modules/services/misc/mesos-slave.nix+2−2

This diff is too big to show here.

nixos/modules/services/misc/nix-daemon.nix+36−33

This diff is too big to show here.

nixos/modules/services/misc/nix-ssh-serve.nix+17−7

This diff is too big to show here.

nixos/modules/services/misc/nixos-manual.nix+9−9

This diff is too big to show here.

nixos/modules/services/misc/novacomd.nixnew file+31

This diff is too big to show here.

nixos/modules/services/misc/osrm.nixnew file+85

This diff is too big to show here.

nixos/modules/services/misc/parsoid.nix+3−1

This diff is too big to show here.

nixos/modules/services/misc/safeeyes.nixnew file+50

This diff is too big to show here.

nixos/modules/services/misc/serviio.nixnew file+92

This diff is too big to show here.

nixos/modules/services/misc/ssm-agent.nix+2−2

This diff is too big to show here.

nixos/modules/services/misc/xmr-stak.nixnew file+73

This diff is too big to show here.

nixos/modules/services/misc/zookeeper.nix+10−1

This diff is too big to show here.

nixos/modules/services/monitoring/apcupsd.nix+1−1

This diff is too big to show here.

nixos/modules/services/monitoring/fusion-inventory.nix−3

This diff is too big to show here.

nixos/modules/services/monitoring/grafana.nix+16−4

This diff is too big to show here.

nixos/modules/services/monitoring/monit.nix+6−10

This diff is too big to show here.

nixos/modules/services/monitoring/munin.nix+31−37

This diff is too big to show here.

nixos/modules/services/monitoring/netdata.nix+44−10

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/alertmanager.nix+5−5

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/blackbox-exporter.nixdeleted−68

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/collectd-exporter.nixdeleted−128

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/default.nix+33

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters.nixnew file+173

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters.xmlnew file+135

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/blackbox.nixnew file+31

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/collectd.nixnew file+78

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/dovecot.nixnew file+50

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/fritzbox.nixnew file+39

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/json.nixnew file+36

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/minio.nixnew file+65

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/nginx.nixnew file+31

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/node.nixnew file+39

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/postfix.nixnew file+81

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/snmp.nixnew file+71

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/unifi.nixnew file+67

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/exporters/varnish.nixnew file+21

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/fritzbox-exporter.nixdeleted−76

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/json-exporter.nixdeleted−74

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/minio-exporter.nixdeleted−117

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/nginx-exporter.nixdeleted−78

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/node-exporter.nixdeleted−87

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/snmp-exporter.nixdeleted−127

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/unifi-exporter.nixdeleted−105

This diff is too big to show here.

nixos/modules/services/monitoring/prometheus/varnish-exporter.nixdeleted−61

This diff is too big to show here.

nixos/modules/services/monitoring/smartd.nix+16−4

This diff is too big to show here.

nixos/modules/services/monitoring/statsd.nix+22−9

This diff is too big to show here.

nixos/modules/services/network-filesystems/beegfs.nixnew file+343

This diff is too big to show here.

nixos/modules/services/network-filesystems/ceph.nixnew file+371

This diff is too big to show here.

nixos/modules/services/network-filesystems/davfs2.nixnew file+74

This diff is too big to show here.

nixos/modules/services/network-filesystems/ipfs.nix+11−3

This diff is too big to show here.

nixos/modules/services/network-filesystems/openafs-client/default.nixdeleted−99

This diff is too big to show here.

nixos/modules/services/network-filesystems/openafs/client.nixnew file+239

This diff is too big to show here.

nixos/modules/services/network-filesystems/openafs/lib.nixnew file+28

This diff is too big to show here.

nixos/modules/services/network-filesystems/openafs/server.nixnew file+260

This diff is too big to show here.

nixos/modules/services/network-filesystems/samba.nix+9−5

This diff is too big to show here.

nixos/modules/services/network-filesystems/xtreemfs.nix+1−1

This diff is too big to show here.

nixos/modules/services/network-filesystems/yandex-disk.nix+2−2

This diff is too big to show here.

nixos/modules/services/networking/amuled.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/aria2.nix+5−5

This diff is too big to show here.

nixos/modules/services/networking/bird.nix+15−8

This diff is too big to show here.

nixos/modules/services/networking/connman.nix+10−1

This diff is too big to show here.

nixos/modules/services/networking/dante.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/ddclient.nix+59−53

This diff is too big to show here.

nixos/modules/services/networking/dhcpcd.nix+3−3

This diff is too big to show here.

nixos/modules/services/networking/dhcpd.nix+1

This diff is too big to show here.

nixos/modules/services/networking/dnscache.nix+24−7

This diff is too big to show here.

nixos/modules/services/networking/dnscrypt-proxy.nix+3−3

This diff is too big to show here.

nixos/modules/services/networking/dnscrypt-wrapper.nix+10

This diff is too big to show here.

nixos/modules/services/networking/firefox/sync-server.nix+22−30

This diff is too big to show here.

nixos/modules/services/networking/firewall.nix+4−1

This diff is too big to show here.

nixos/modules/services/networking/flashpolicyd.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/freeradius.nixnew file+72

This diff is too big to show here.

nixos/modules/services/networking/gnunet.nix+2

This diff is too big to show here.

nixos/modules/services/networking/i2pd.nix+12−5

This diff is too big to show here.

nixos/modules/services/networking/iwd.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/kresd.nix+31−17

This diff is too big to show here.

nixos/modules/services/networking/lldpd.nix+1

This diff is too big to show here.

nixos/modules/services/networking/monero.nixnew file+238

This diff is too big to show here.

nixos/modules/services/networking/mosquitto.nix+15−1

This diff is too big to show here.

nixos/modules/services/networking/murmur.nix+2−1

This diff is too big to show here.

nixos/modules/services/networking/nat.nix+77−3

This diff is too big to show here.

nixos/modules/services/networking/networkmanager.nix+28−20

This diff is too big to show here.

nixos/modules/services/networking/nftables.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/backend-params-submodule.nixnew file+131

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/backend-submodule.nixnew file+50

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/default.nixnew file+117

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/frontend-params-submodule.nixnew file+64

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/frontend-submodule.nixnew file+36

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/nghttpx-options.nixnew file+142

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/server-options.nixnew file+18

This diff is too big to show here.

nixos/modules/services/networking/nghttpx/tls-submodule.nixnew file+21

This diff is too big to show here.

nixos/modules/services/networking/nix-serve.nix+2

This diff is too big to show here.

nixos/modules/services/networking/nixops-dns.nixnew file+79

This diff is too big to show here.

nixos/modules/services/networking/nsd.nix+6

This diff is too big to show here.

nixos/modules/services/networking/openvpn.nix+29−1

This diff is too big to show here.

nixos/modules/services/networking/prosody.nix+288−49

This diff is too big to show here.

nixos/modules/services/networking/quagga.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/radvd.nix+1−14

This diff is too big to show here.

nixos/modules/services/networking/rdnssd.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/resilio.nix+2−7

This diff is too big to show here.

nixos/modules/services/networking/rxe.nixnew file+63

This diff is too big to show here.

nixos/modules/services/networking/shadowsocks.nixnew file+112

This diff is too big to show here.

nixos/modules/services/networking/softether.nix+16−17

This diff is too big to show here.

nixos/modules/services/networking/ssh/sshd.nix+76−18

This diff is too big to show here.

nixos/modules/services/networking/strongswan.nix+19−4

This diff is too big to show here.

nixos/modules/services/networking/stunnel.nixnew file+221

This diff is too big to show here.

nixos/modules/services/networking/syncthing.nix+7−23

This diff is too big to show here.

nixos/modules/services/networking/tcpcrypt.nix+5−5

This diff is too big to show here.

nixos/modules/services/networking/tinc.nix+2

This diff is too big to show here.

nixos/modules/services/networking/tox-bootstrapd.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/unbound.nix+1−1

This diff is too big to show here.

nixos/modules/services/networking/zerotierone.nix+18−4

This diff is too big to show here.

nixos/modules/services/printing/cupsd.nix+5−2

This diff is too big to show here.

nixos/modules/services/scheduling/fcron.nix+18−10

This diff is too big to show here.

nixos/modules/services/search/elasticsearch.nix+10−5

This diff is too big to show here.

nixos/modules/services/security/clamav.nix+7−6

This diff is too big to show here.

nixos/modules/services/security/hologram-agent.nix+3−4

This diff is too big to show here.

nixos/modules/services/security/hologram-server.nix+33−5

This diff is too big to show here.

nixos/modules/services/security/physlock.nix+43−21

This diff is too big to show here.

nixos/modules/services/security/tor.nix+129−9

This diff is too big to show here.

nixos/modules/services/security/torify.nix+1−1

This diff is too big to show here.

nixos/modules/services/security/torsocks.nix+1−1

This diff is too big to show here.

nixos/modules/services/security/usbguard.nix+2−2

This diff is too big to show here.

nixos/modules/services/system/localtime.nixnew file+60

This diff is too big to show here.

nixos/modules/services/torrent/transmission.nix+17−5

This diff is too big to show here.

nixos/modules/services/ttys/agetty.nix+2−2

This diff is too big to show here.

nixos/modules/services/web-apps/atlassian/jira.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-apps/matomo-doc.xmlnew file+95

This diff is too big to show here.

nixos/modules/services/web-apps/matomo.nixnew file+246

This diff is too big to show here.

nixos/modules/services/web-apps/nexus.nix+2−2

This diff is too big to show here.

nixos/modules/services/web-apps/nixbot.nixdeleted−149

This diff is too big to show here.

nixos/modules/services/web-apps/piwik-doc.xmldeleted−95

This diff is too big to show here.

nixos/modules/services/web-apps/piwik.nixdeleted−227

This diff is too big to show here.

nixos/modules/services/web-apps/pump.io-configure.jsdeleted−23

This diff is too big to show here.

nixos/modules/services/web-apps/pump.io.nixdeleted−438

This diff is too big to show here.

nixos/modules/services/web-apps/restya-board.nixnew file+384

This diff is too big to show here.

nixos/modules/services/web-apps/tt-rss.nix+53−20

This diff is too big to show here.

nixos/modules/services/web-servers/apache-httpd/owncloud.nix+35−13

This diff is too big to show here.

nixos/modules/services/web-servers/apache-httpd/per-server-options.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-servers/lighttpd/default.nix+3

This diff is too big to show here.

nixos/modules/services/web-servers/lighttpd/gitweb.nix+8−27

This diff is too big to show here.

nixos/modules/services/web-servers/lighttpd/inginious.nix+1−1

This diff is too big to show here.

nixos/modules/services/web-servers/mighttpd2.nixnew file+132

This diff is too big to show here.

nixos/modules/services/web-servers/nginx/default.nix+21−7

This diff is too big to show here.

nixos/modules/services/web-servers/nginx/gitweb.nixnew file+61

This diff is too big to show here.

nixos/modules/services/web-servers/nginx/vhost-options.nix+29−1

This diff is too big to show here.

nixos/modules/services/web-servers/tomcat.nix+192−190

This diff is too big to show here.

nixos/modules/services/web-servers/traefik.nix+11−1

This diff is too big to show here.

nixos/modules/services/web-servers/varnish/default.nix+25−5

This diff is too big to show here.

nixos/modules/services/x11/compton.nix+2−2

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/default.nix+4−8

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/enlightenment.nix+2−2

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/gnome3.nix+12−12

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/lxqt.nix+2

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/mate.nix+43−7

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/plasma5.nix+22−9

This diff is too big to show here.

nixos/modules/services/x11/desktop-managers/xfce.nix+77−69

This diff is too big to show here.

nixos/modules/services/x11/display-managers/default.nix+22−23

This diff is too big to show here.

nixos/modules/services/x11/display-managers/gdm.nix+5−8

This diff is too big to show here.

nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix+33−2

This diff is too big to show here.

nixos/modules/services/x11/display-managers/lightdm.nix+17−6

This diff is too big to show here.

nixos/modules/services/x11/display-managers/sddm.nix+1−1

This diff is too big to show here.

nixos/modules/services/x11/display-managers/slim.nix+1−1

This diff is too big to show here.

nixos/modules/services/x11/display-managers/xpra.nix+1−1

This diff is too big to show here.

nixos/modules/services/x11/hardware/libinput.nix+8−1

This diff is too big to show here.

nixos/modules/services/x11/window-managers/2bwm.nix+2−2

This diff is too big to show here.

nixos/modules/services/x11/window-managers/awesome.nix+6−5

This diff is too big to show here.

nixos/modules/services/x11/window-managers/default.nix+2−3

This diff is too big to show here.

nixos/modules/services/x11/window-managers/evilwm.nixnew file+25

This diff is too big to show here.

nixos/modules/services/x11/xautolock.nix+16−12

This diff is too big to show here.

nixos/modules/services/x11/xserver.nix+18−28

This diff is too big to show here.

nixos/modules/system/activation/activation-script.nix+2−9

This diff is too big to show here.

nixos/modules/system/activation/switch-to-configuration.pl+10−3

This diff is too big to show here.

nixos/modules/system/activation/top-level.nix+15−4

This diff is too big to show here.

nixos/modules/system/boot/binfmt.nixnew file+139

This diff is too big to show here.

nixos/modules/system/boot/grow-partition.nixnew file+50

This diff is too big to show here.

nixos/modules/system/boot/initrd-network.nix+17−1

This diff is too big to show here.

nixos/modules/system/boot/initrd-ssh.nix+1−4

This diff is too big to show here.

nixos/modules/system/boot/kernel.nix+23−7

This diff is too big to show here.

nixos/modules/system/boot/kexec.nix+19−18

This diff is too big to show here.

nixos/modules/system/boot/loader/grub/grub.nix+8−8

This diff is too big to show here.

nixos/modules/system/boot/loader/grub/install-grub.pl+1−1

This diff is too big to show here.

nixos/modules/system/boot/luksroot.nix+28−3

This diff is too big to show here.

nixos/modules/system/boot/modprobe.nix+1−1

This diff is too big to show here.

nixos/modules/system/boot/networkd.nix+2−2

This diff is too big to show here.

nixos/modules/system/boot/plymouth.nix+7−2

This diff is too big to show here.

nixos/modules/system/boot/resolved.nix+1−1

This diff is too big to show here.

nixos/modules/system/boot/stage-1-init.sh+1

This diff is too big to show here.

nixos/modules/system/boot/stage-1.nix+51−5

This diff is too big to show here.

nixos/modules/system/boot/stage-2-init.sh+4−5

This diff is too big to show here.

nixos/modules/system/boot/stage-2.nix+1

This diff is too big to show here.

nixos/modules/system/boot/systemd-unit-options.nix+1−1

This diff is too big to show here.

nixos/modules/system/boot/systemd.nix+28−22

This diff is too big to show here.

nixos/modules/tasks/filesystems/btrfs.nix+105−8

This diff is too big to show here.

nixos/modules/tasks/filesystems/exfat.nix+1−1

This diff is too big to show here.

nixos/modules/tasks/filesystems/zfs.nix+30−3

This diff is too big to show here.

nixos/modules/tasks/kbd.nix+1−1

This diff is too big to show here.

nixos/modules/tasks/network-interfaces-scripted.nix+62−35

This diff is too big to show here.

nixos/modules/tasks/network-interfaces-systemd.nix+13−22

This diff is too big to show here.

nixos/modules/tasks/network-interfaces.nix+115−90

This diff is too big to show here.

nixos/modules/testing/test-instrumentation.nix+12−9

This diff is too big to show here.

nixos/modules/virtualisation/amazon-image.nix+5−2

This diff is too big to show here.

nixos/modules/virtualisation/amazon-init.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/azure-agent.nix+7−3

This diff is too big to show here.

nixos/modules/virtualisation/brightbox-image.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/container-config.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/containers.nix+22−5

This diff is too big to show here.

nixos/modules/virtualisation/ec2-amis.nix+34−16

This diff is too big to show here.

nixos/modules/virtualisation/google-compute-image.nix+14−4

This diff is too big to show here.

nixos/modules/virtualisation/grow-partition.nix+3−48

This diff is too big to show here.

nixos/modules/virtualisation/hyperv-guest.nixnew file+37

This diff is too big to show here.

nixos/modules/virtualisation/libvirtd.nix+13−18

This diff is too big to show here.

nixos/modules/virtualisation/lxc.nix+4−1

This diff is too big to show here.

nixos/modules/virtualisation/lxcfs.nix−4

This diff is too big to show here.

nixos/modules/virtualisation/lxd.nix+43−24

This diff is too big to show here.

nixos/modules/virtualisation/nova-config.nix+1−3

This diff is too big to show here.

nixos/modules/virtualisation/nova.nixdeleted−174

This diff is too big to show here.

nixos/modules/virtualisation/openstack/common.nixdeleted−84

This diff is too big to show here.

nixos/modules/virtualisation/openstack/glance.nixdeleted−245

This diff is too big to show here.

nixos/modules/virtualisation/openstack/keystone.nixdeleted−220

This diff is too big to show here.

nixos/modules/virtualisation/openvswitch.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/parallels-guest.nix+68−6

This diff is too big to show here.

nixos/modules/virtualisation/qemu-vm.nix+12−8

This diff is too big to show here.

nixos/modules/virtualisation/virtualbox-host.nix+1−1

This diff is too big to show here.

nixos/modules/virtualisation/virtualbox-image.nix+5−7

This diff is too big to show here.

nixos/modules/virtualisation/xen-dom0.nix+19−18

This diff is too big to show here.

nixos/release-combined.nix+10−7

This diff is too big to show here.

nixos/release-small.nix+6−1

This diff is too big to show here.

nixos/release.nix+119−55

This diff is too big to show here.

nixos/tests/atd.nix−6

This diff is too big to show here.

nixos/tests/beegfs.nixnew file+115

This diff is too big to show here.

nixos/tests/bittorrent.nix+3−3

This diff is too big to show here.

nixos/tests/boot-stage1.nix+1

This diff is too big to show here.

nixos/tests/boot.nix+6−1

This diff is too big to show here.

nixos/tests/borgbackup.nixnew file+162

This diff is too big to show here.

nixos/tests/ceph.nixnew file+140

This diff is too big to show here.

nixos/tests/chromium.nix+22−2

This diff is too big to show here.

nixos/tests/cjdns.nix+6−3

This diff is too big to show here.

nixos/tests/cloud-init.nix−1

This diff is too big to show here.

nixos/tests/common/letsencrypt.nix+22−6

This diff is too big to show here.

nixos/tests/containers-bridge.nix+8−2

This diff is too big to show here.

nixos/tests/containers-extra_veth.nix+3−3

This diff is too big to show here.

nixos/tests/containers-hosts.nix+3−3

This diff is too big to show here.

nixos/tests/containers-imperative.nix+2−2

This diff is too big to show here.

nixos/tests/containers-macvlans.nix+4−4

This diff is too big to show here.

nixos/tests/containers-physical_interfaces.nix+14−14

This diff is too big to show here.

nixos/tests/containers-reloadable.nix+1−1

This diff is too big to show here.

nixos/tests/containers-restart_networking.nix+7−7

This diff is too big to show here.

nixos/tests/containers-tmpfs.nix+1−1

This diff is too big to show here.

nixos/tests/couchdb.nixnew file+56

This diff is too big to show here.

nixos/tests/docker-tools-overlay.nixnew file+32

This diff is too big to show here.

nixos/tests/docker-tools.nixnew file+49

This diff is too big to show here.

nixos/tests/dovecot.nix+16−3

This diff is too big to show here.

nixos/tests/ec2.nix−1

This diff is too big to show here.

nixos/tests/elk.nix+92−80

This diff is too big to show here.

nixos/tests/ferm.nix+4−4

This diff is too big to show here.

nixos/tests/fwupd.nixnew file+19

This diff is too big to show here.

nixos/tests/gjs.nixnew file+19

This diff is too big to show here.

nixos/tests/glance.nixdeleted−77

This diff is too big to show here.

nixos/tests/gnome3-gdm.nix+10−3

This diff is too big to show here.

nixos/tests/grafana.nix+1−1

This diff is too big to show here.

nixos/tests/hocker-fetchdocker/default.nixnew file+15

This diff is too big to show here.

nixos/tests/hocker-fetchdocker/hello-world-container.nixnew file+19

This diff is too big to show here.

nixos/tests/hocker-fetchdocker/machine.nixnew file+26

This diff is too big to show here.

nixos/tests/home-assistant.nixnew file+76

This diff is too big to show here.

nixos/tests/iftop.nixnew file+30

This diff is too big to show here.

nixos/tests/initrd-network-ssh.nixdeleted−74

This diff is too big to show here.

nixos/tests/initrd-network-ssh/default.nixnew file+59

This diff is too big to show here.

nixos/tests/initrd-network-ssh/dropbear.privnew file

Binary file not shown.

nixos/tests/initrd-network-ssh/dropbear.pubnew file+1

This diff is too big to show here.

nixos/tests/initrd-network-ssh/generate-keys.nixnew file+12

This diff is too big to show here.

nixos/tests/initrd-network-ssh/openssh.privnew file+51

This diff is too big to show here.

nixos/tests/initrd-network-ssh/openssh.pubnew file+1

This diff is too big to show here.

nixos/tests/installer.nix+68−18

This diff is too big to show here.

nixos/tests/ipv6.nix+1−1

This diff is too big to show here.

nixos/tests/jenkins.nix+4−1

This diff is too big to show here.

nixos/tests/kernel-copperhead.nix+2−2

This diff is too big to show here.

nixos/tests/keymap.nix+2−32

This diff is too big to show here.

nixos/tests/keystone.nixdeleted−82

This diff is too big to show here.

nixos/tests/kubernetes/base.nix+1−2

This diff is too big to show here.

nixos/tests/kubernetes/certs.nix+58−24

This diff is too big to show here.

nixos/tests/kubernetes/dns.nix+1−1

This diff is too big to show here.

nixos/tests/kubernetes/e2e.nix+1−1

This diff is too big to show here.

nixos/tests/kubernetes/kubernetes-common.nix+2−2

This diff is too big to show here.

nixos/tests/kubernetes/rbac.nix+2−2

This diff is too big to show here.

nixos/tests/make-test.nix+1−1

This diff is too big to show here.

nixos/tests/matrix-synapse.nixnew file+30

This diff is too big to show here.

nixos/tests/misc.nix+11−7

This diff is too big to show here.

nixos/tests/mutable-users.nixnew file+39

This diff is too big to show here.

nixos/tests/nat.nix+1−1

This diff is too big to show here.

nixos/tests/netdata.nixnew file+31

This diff is too big to show here.

nixos/tests/networking.nix+186−25

This diff is too big to show here.

nixos/tests/nghttpx.nixnew file+61

This diff is too big to show here.

nixos/tests/nix-ssh-serve.nixnew file+39

This diff is too big to show here.

nixos/tests/novacomd.nixnew file+28

This diff is too big to show here.

nixos/tests/nsd.nix+14−8

This diff is too big to show here.

nixos/tests/openldap.nixnew file+35

This diff is too big to show here.

nixos/tests/openssh.nix+2−15

This diff is too big to show here.

nixos/tests/owncloud.nixnew file+39

This diff is too big to show here.

nixos/tests/plotinus.nixnew file+27

This diff is too big to show here.

nixos/tests/postgis.nix+1−1

This diff is too big to show here.

nixos/tests/powerdns.nixnew file+12

This diff is too big to show here.

nixos/tests/predictable-interface-names.nixnew file+27

This diff is too big to show here.

nixos/tests/printing.nix+2

This diff is too big to show here.

nixos/tests/prosody.nixnew file+75

This diff is too big to show here.

nixos/tests/pump.io.nixdeleted−89

This diff is too big to show here.

nixos/tests/quagga.nix+1−1

This diff is too big to show here.

nixos/tests/radicale.nix+1−1

This diff is too big to show here.

nixos/tests/rspamd.nixnew file+140

This diff is too big to show here.

nixos/tests/rxe.nixnew file+53

This diff is too big to show here.

nixos/tests/ssh-keys.nixnew file+15

This diff is too big to show here.

nixos/tests/statsd.nixnew file+40

This diff is too big to show here.

nixos/tests/sudo.nixnew file+93

This diff is too big to show here.

nixos/tests/switch-test.nixnew file+25

This diff is too big to show here.

nixos/tests/systemd.nixnew file+68

This diff is too big to show here.

nixos/tests/transmission.nixnew file+21

This diff is too big to show here.

nixos/tests/vault.nixnew file+23

This diff is too big to show here.

nixos/tests/virtualbox.nix+3−3

This diff is too big to show here.

nixos/tests/xautolock.nixnew file+24

This diff is too big to show here.

nixos/tests/yabar.nixnew file+25

This diff is too big to show here.

nixos/tests/zfs.nixnew file+85

This diff is too big to show here.

pkgs/applications/altcoins/aeon/default.nixnew file+34

This diff is too big to show here.

pkgs/applications/altcoins/bitcoin-abc.nix+2−2

This diff is too big to show here.

pkgs/applications/altcoins/bitcoin-classic.nix+2−2

This diff is too big to show here.

pkgs/applications/altcoins/bitcoin-unlimited-const-comparators.patchnew file+38

This diff is too big to show here.

pkgs/applications/altcoins/bitcoin-unlimited.nix+7−2

This diff is too big to show here.

pkgs/applications/altcoins/bitcoin-xt.nix+2−2

This diff is too big to show here.

pkgs/applications/altcoins/bitcoin.nix+4−3

This diff is too big to show here.

pkgs/applications/altcoins/btc1.nix+2−2

This diff is too big to show here.

pkgs/applications/altcoins/cryptop/default.nix+6−7

This diff is too big to show here.

pkgs/applications/altcoins/dashpay.nix+6−6

This diff is too big to show here.

pkgs/applications/altcoins/dcrd.nixnew file+34

This diff is too big to show here.

pkgs/applications/altcoins/dcrwallet.nixnew file+43

This diff is too big to show here.

pkgs/applications/altcoins/default.nix+33−19

This diff is too big to show here.

pkgs/applications/altcoins/dero.nixnew file+27

This diff is too big to show here.

pkgs/applications/altcoins/ethabi.nix+4−4

This diff is too big to show here.

pkgs/applications/altcoins/ethsign/default.nixnew file+59

This diff is too big to show here.

pkgs/applications/altcoins/freicoin.nix+1−1

This diff is too big to show here.

pkgs/applications/altcoins/go-ethereum.nix+13−2

This diff is too big to show here.

pkgs/applications/altcoins/hevm.nix+1

This diff is too big to show here.

pkgs/applications/altcoins/hivemind.nixdeleted−39

This diff is too big to show here.

pkgs/applications/altcoins/litecoin.nix+2−2

This diff is too big to show here.

pkgs/applications/altcoins/masari.nixnew file+27

This diff is too big to show here.

pkgs/applications/altcoins/memorycoin.nix+5−1

This diff is too big to show here.

pkgs/applications/altcoins/mist.nixnew file+71

This diff is too big to show here.

pkgs/applications/altcoins/monero-gui/default.nixnew file+91

This diff is too big to show here.

pkgs/applications/altcoins/monero-gui/move-log-file.patchnew file+38

This diff is too big to show here.

pkgs/applications/altcoins/monero-gui/move-translations-dir.patchnew file+14

This diff is too big to show here.

pkgs/applications/altcoins/monero/default.nixnew file+44

This diff is too big to show here.

pkgs/applications/altcoins/namecoin.nix+2−2

This diff is too big to show here.

pkgs/applications/altcoins/parity/beta.nixnew file+7

This diff is too big to show here.

pkgs/applications/altcoins/parity/default.nixnew file+7

This diff is too big to show here.

pkgs/applications/altcoins/parity/parity.nixnew file+38

This diff is too big to show here.

pkgs/applications/altcoins/parity/patches/vendored-sources-1.10.patchnew file+118

This diff is too big to show here.

pkgs/applications/altcoins/parity/patches/vendored-sources-1.9.patchnew file+107

This diff is too big to show here.

pkgs/applications/altcoins/primecoin.nixdeleted−54

This diff is too big to show here.

pkgs/applications/altcoins/seth.nix+6−4

This diff is too big to show here.

pkgs/applications/altcoins/sumokoin.nixnew file+35

This diff is too big to show here.

pkgs/applications/altcoins/zcash/default.nix+9−10

This diff is too big to show here.

pkgs/applications/altcoins/zcash/libsnark/ate-pairing.nixdeleted−29

This diff is too big to show here.

pkgs/applications/altcoins/zcash/libsnark/default.nixdeleted−45

This diff is too big to show here.

pkgs/applications/altcoins/zcash/libsnark/mie.nixdeleted−27

This diff is too big to show here.

pkgs/applications/altcoins/zcash/libsnark/xbyak.nixdeleted−28

This diff is too big to show here.

pkgs/applications/audio/MMA/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/a2jmidid/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/aacgain/default.nix+21−7

This diff is too big to show here.

pkgs/applications/audio/abcde/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/airwave/default.nix+6−8

This diff is too big to show here.

pkgs/applications/audio/aj-snapshot/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/amarok/default.nixdeleted−48

This diff is too big to show here.

pkgs/applications/audio/amarok/kf5.nix+3−2

This diff is too big to show here.

pkgs/applications/audio/ario/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/asunder/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/audacious/default.nix+8−8

This diff is too big to show here.

pkgs/applications/audio/audacious/qt-5.nix+18−7

This diff is too big to show here.

pkgs/applications/audio/audacity/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/bitwig-studio/bitwig-studio1.nixnew file+100

This diff is too big to show here.

pkgs/applications/audio/bitwig-studio/bitwig-studio2.nixnew file+18

This diff is too big to show here.

pkgs/applications/audio/bitwig-studio/default.nixdeleted−100

This diff is too big to show here.

pkgs/applications/audio/calf/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/cantata/default.nix+13−13

This diff is too big to show here.

pkgs/applications/audio/caps/default.nix+5−1

This diff is too big to show here.

pkgs/applications/audio/cava/default.nix+5−3

This diff is too big to show here.

pkgs/applications/audio/cdparanoia/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/cdparanoia/utils.patchnew file+68

This diff is too big to show here.

pkgs/applications/audio/chuck/clang.patchnew file+58

This diff is too big to show here.

pkgs/applications/audio/chuck/default.nix+13−6

This diff is too big to show here.

pkgs/applications/audio/clementine/default.nix+21−35

This diff is too big to show here.

pkgs/applications/audio/cmus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/crip/default.nixnew file+68

This diff is too big to show here.

pkgs/applications/audio/csound/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/deadbeef/default.nix+5−5

This diff is too big to show here.

pkgs/applications/audio/deadbeef/plugins/opus.nixnew file+31

This diff is too big to show here.

pkgs/applications/audio/denemo/default.nixnew file+37

This diff is too big to show here.

pkgs/applications/audio/dfasma/default.nix+6−11

This diff is too big to show here.

pkgs/applications/audio/dirt/default.nix+6−7

This diff is too big to show here.

pkgs/applications/audio/distrho/default.nix+13−12

This diff is too big to show here.

pkgs/applications/audio/drumkv1/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/easytag/default.nix+19−17

This diff is too big to show here.

pkgs/applications/audio/eflite/buf-overflow.patchdeleted−22

This diff is too big to show here.

pkgs/applications/audio/eflite/cvs-update.patchdeleted−98

This diff is too big to show here.

pkgs/applications/audio/eflite/default.nix+25−6

This diff is too big to show here.

pkgs/applications/audio/eflite/link.patchdeleted−11

This diff is too big to show here.

pkgs/applications/audio/elisa/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/audio/eq10q/default.nix+10−1

This diff is too big to show here.

pkgs/applications/audio/espeak-ng/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/faust/faust1.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/faust/faust2.nix+5−4

This diff is too big to show here.

pkgs/applications/audio/faust/faust2jack.nix+2

This diff is too big to show here.

pkgs/applications/audio/faust/faust2jaqt.nix+2

This diff is too big to show here.

pkgs/applications/audio/flac/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/flacon/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/fldigi/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/fluidsynth/default.nix+17−20

This diff is too big to show here.

pkgs/applications/audio/fmit/default.nix+3−4

This diff is too big to show here.

pkgs/applications/audio/freewheeling/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/gigedit/default.nix+15−15

This diff is too big to show here.

pkgs/applications/audio/gigedit/gigedit-1.1.0-pangomm-2.40.1.patchnew file+15

This diff is too big to show here.

pkgs/applications/audio/gjay/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/gmpc/default.nix+5−6

This diff is too big to show here.

pkgs/applications/audio/google-play-music-desktop-player/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/gpodder/default.nix+45−43

This diff is too big to show here.

pkgs/applications/audio/gradio/default.nix+8−8

This diff is too big to show here.

pkgs/applications/audio/gtkpod/default.nix+9−16

This diff is too big to show here.

pkgs/applications/audio/guitarix/default.nix+6−6

This diff is too big to show here.

pkgs/applications/audio/helm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/id3v2/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/infamousPlugins/default.nixnew file+37

This diff is too big to show here.

pkgs/applications/audio/ingen/default.nix+8−6

This diff is too big to show here.

pkgs/applications/audio/jack-capture/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/jack-oscrolloscope/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/jackmeter/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/keyfinder-cli/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/keyfinder/default.nix+4−4

This diff is too big to show here.

pkgs/applications/audio/kid3/default.nix+4−2

This diff is too big to show here.

pkgs/applications/audio/ladspa-sdk/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/ladspa-sdk/ladspah.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/lastfmsubmitd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/linuxsampler/default.nix+14−21

This diff is too big to show here.

pkgs/applications/audio/linuxsampler/linuxsampler_lv2_sfz_fix.diffdeleted−50

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/CompBus/default.nix−2

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix+1−3

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix−1

This diff is too big to show here.

pkgs/applications/audio/meterbridge/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/meters_lv2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/mhwaveedit/default.nix+11−5

This diff is too big to show here.

pkgs/applications/audio/mi2ly/default.nix+1

This diff is too big to show here.

pkgs/applications/audio/mikmod/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/minimodem/default.nix+18−6

This diff is too big to show here.

pkgs/applications/audio/mixxx/default.nix+5−4

This diff is too big to show here.

pkgs/applications/audio/mod-distortion/default.nix+5−5

This diff is too big to show here.

pkgs/applications/audio/monkeys-audio/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/mopidy-gmusic/default.nixdeleted−28

This diff is too big to show here.

pkgs/applications/audio/mopidy-iris/default.nixdeleted−28

This diff is too big to show here.

pkgs/applications/audio/mopidy-local-images/default.nixdeleted−27

This diff is too big to show here.

pkgs/applications/audio/mopidy-moped/default.nixdeleted−25

This diff is too big to show here.

pkgs/applications/audio/mopidy-mopify/default.nixdeleted−23

This diff is too big to show here.

pkgs/applications/audio/mopidy-spotify/default.nixdeleted−23

This diff is too big to show here.

pkgs/applications/audio/mopidy/default.nix+5−5

This diff is too big to show here.

pkgs/applications/audio/mopidy/gmusic.nixnew file+28

This diff is too big to show here.

pkgs/applications/audio/mopidy/iris.nixnew file+34

This diff is too big to show here.

pkgs/applications/audio/mopidy/local-images.nixnew file+33

This diff is too big to show here.

pkgs/applications/audio/mopidy-local-sqlite/default.nix → pkgs/applications/audio/mopidy/local-sqlite.nixrenamed

The content is the same.

pkgs/applications/audio/mopidy/moped.nixnew file+26

This diff is too big to show here.

pkgs/applications/audio/mopidy/mopify.nixnew file+23

This diff is too big to show here.

pkgs/applications/audio/mopidy-musicbox-webclient/default.nix → pkgs/applications/audio/mopidy/musicbox-webclient.nixrenamed

The content is the same.

pkgs/applications/audio/mopidy-soundcloud/default.nix → pkgs/applications/audio/mopidy/soundcloud.nixrenamed

The content is the same.

pkgs/applications/audio/mopidy-spotify-tunigo/default.nix → pkgs/applications/audio/mopidy/spotify-tunigo.nixrenamed

The content is the same.

pkgs/applications/audio/mopidy/spotify.nixnew file+23

This diff is too big to show here.

pkgs/applications/audio/mopidy-youtube/default.nix → pkgs/applications/audio/mopidy/youtube.nixrenamed

The content is the same.

pkgs/applications/audio/mp3blaster/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/audio/mpc/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/mpg123/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/musescore/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/ncmpc/default.nix+3−5

This diff is too big to show here.

pkgs/applications/audio/ncmpcpp/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/ncpamixer/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/audio/non/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/normalize/default.nix+4−2

This diff is too big to show here.

pkgs/applications/audio/opusfile/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/padthv1/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/pamix/default.nix+8−4

This diff is too big to show here.

pkgs/applications/audio/pamixer/default.nix+13−6

This diff is too big to show here.

pkgs/applications/audio/paprefs/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/patchage/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/pavucontrol/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/pd-plugins/cyclone/default.nix+14−20

This diff is too big to show here.

pkgs/applications/audio/pd-plugins/helmholtz/default.nix+3

This diff is too big to show here.

pkgs/applications/audio/pd-plugins/maxlib/default.nix+10−12

This diff is too big to show here.

pkgs/applications/audio/pd-plugins/timbreid/default.nix+18−8

This diff is too big to show here.

pkgs/applications/audio/pianobooster/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/picard/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/pmidi/default.nixnew file+21

This diff is too big to show here.

pkgs/applications/audio/praat/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/pulseaudio-dlna/default.nixnew file+50

This diff is too big to show here.

pkgs/applications/audio/puredata/default.nix+9−8

This diff is too big to show here.

pkgs/applications/audio/qjackctl/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/qmidinet/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/qmidiroute/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/qmmp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/qsampler/default.nix+11−10

This diff is too big to show here.

pkgs/applications/audio/qsynth/default.nix+15−5

This diff is too big to show here.

pkgs/applications/audio/quodlibet/default.nix+28−13

This diff is too big to show here.

pkgs/applications/audio/radiotray-ng/default.nix+17−16

This diff is too big to show here.

pkgs/applications/audio/rhvoice/default.nixnew file+48

This diff is too big to show here.

pkgs/applications/audio/rhvoice/honor_nix_environment.patchnew file+14

This diff is too big to show here.

pkgs/applications/audio/rhythmbox/default.nix+21−17

This diff is too big to show here.

pkgs/applications/audio/rkrlv2/default.nix+3−3

This diff is too big to show here.

pkgs/applications/audio/rosegarden/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/samplv1/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/sayonara/default.nixnew file+45

This diff is too big to show here.

pkgs/applications/audio/schismtracker/default.nix+7

This diff is too big to show here.

pkgs/applications/audio/seq24/default.nix+1−1

This diff is too big to show here.

pkgs/applications/audio/setbfree/default.nix+4−4

This diff is too big to show here.

pkgs/applications/audio/sisco.lv2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/snd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/sonata/default.nix+2−4

This diff is too big to show here.

pkgs/applications/audio/sound-juicer/default.nix+22−30

This diff is too big to show here.

pkgs/applications/audio/soundscape-renderer/default.nix+5−3

This diff is too big to show here.

pkgs/applications/audio/spotify/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/squishyball/default.nix+2

This diff is too big to show here.

pkgs/applications/audio/streamripper/default.nix+2−3

This diff is too big to show here.

pkgs/applications/audio/sunvox/default.nixnew file+48

This diff is too big to show here.

pkgs/applications/audio/synthv1/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/tomahawk/default.nix+4−5

This diff is too big to show here.

pkgs/applications/audio/x42-plugins/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/xmp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/audio/yoshimi/default.nix+8−7

This diff is too big to show here.

pkgs/applications/audio/zam-plugins/default.nix+5−5

This diff is too big to show here.

pkgs/applications/audio/zynaddsubfx/default.nix+6−2

This diff is too big to show here.

pkgs/applications/backup/crashplan/crashplan-small-business.nixnew file+103

This diff is too big to show here.

pkgs/applications/backup/deja-dup/default.nix+17−40

This diff is too big to show here.

pkgs/applications/backup/deja-dup/fix-paths.patch+10−11

This diff is too big to show here.

pkgs/applications/display-managers/lightdm-gtk-greeter/default.nixdeleted−56

This diff is too big to show here.

pkgs/applications/display-managers/lightdm/default.nix+6−1

This diff is too big to show here.

pkgs/applications/display-managers/lightdm/gtk-greeter.nixnew file+51

This diff is too big to show here.

pkgs/applications/display-managers/sddm/default.nix+6−3

This diff is too big to show here.

pkgs/applications/display-managers/slim/default.nix+5−2

This diff is too big to show here.

pkgs/applications/editors/android-studio/common.nix+12−3

This diff is too big to show here.

pkgs/applications/editors/android-studio/default.nix+42−13

This diff is too big to show here.

pkgs/applications/editors/aseprite/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/atom/beta.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/atom/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/atom/env.nix+4−4

This diff is too big to show here.

pkgs/applications/editors/codeblocks/default.nix+4−8

This diff is too big to show here.

pkgs/applications/editors/deadpixi-sam/default.nix+14−14

This diff is too big to show here.

pkgs/applications/editors/dit/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/editors/eclipse/build-eclipse.nix+4−4

This diff is too big to show here.

pkgs/applications/editors/eclipse/default.nix+13−13

This diff is too big to show here.

pkgs/applications/editors/eclipse/plugins.nix+155−47

This diff is too big to show here.

pkgs/applications/editors/ed/default.nix+8−21

This diff is too big to show here.

pkgs/applications/editors/edbrowse/default.nix+8−10

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/elpa-generated.nix+185−91

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/elpa-packages.nix+3

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix+1−1

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/font-lock-plus/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/icicles/default.nix+14−14

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/melpa-generated.nix+7343−4034

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/melpa-packages.nix+45−25

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix+3040−1357

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/melpa-stable-packages.nix+40−5

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/org-generated.nix+6−6

This diff is too big to show here.

pkgs/applications/editors/emacs-modes/proofgeneral/HEAD.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/emacs/default.nix+17−7

This diff is too big to show here.

pkgs/applications/editors/emacs/site-start.el+31−10

This diff is too big to show here.

pkgs/applications/editors/focuswriter/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/geany/default.nix+5−7

This diff is too big to show here.

pkgs/applications/editors/ghostwriter/default.nixnew file+26

This diff is too big to show here.

pkgs/applications/editors/hexcurse/default.nix+13−1

This diff is too big to show here.

pkgs/applications/editors/ht/default.nix+2

This diff is too big to show here.

pkgs/applications/editors/ht/gcc7.patchnew file+11

This diff is too big to show here.

pkgs/applications/editors/jetbrains/common.nix+3−2

This diff is too big to show here.

pkgs/applications/editors/jetbrains/default.nix+54−41

This diff is too big to show here.

pkgs/applications/editors/joe/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/jucipp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/kakoune/default.nix+6−5

This diff is too big to show here.

pkgs/applications/editors/kdevelop5/kdevelop.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/kdevelop5/kdevplatform.nix+2

This diff is too big to show here.

pkgs/applications/editors/kodestudio/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/leo-editor/default.nix+15−6

This diff is too big to show here.

pkgs/applications/editors/lighttable/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/mg/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/micro/default.nixnew file+28

This diff is too big to show here.

pkgs/applications/editors/moe/default.nix+6

This diff is too big to show here.

pkgs/applications/editors/monodevelop/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/nano/default.nix+4−2

This diff is too big to show here.

pkgs/applications/editors/neovim/default.nix+10−77

This diff is too big to show here.

pkgs/applications/editors/neovim/ruby_provider/Gemfile.lock+4−2

This diff is too big to show here.

pkgs/applications/editors/neovim/ruby_provider/gemset.nix+14−6

This diff is too big to show here.

pkgs/applications/editors/neovim/wrapper.nixnew file+110

This diff is too big to show here.

pkgs/applications/editors/rstudio/default.nix+30−41

This diff is too big to show here.

pkgs/applications/editors/sigil/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/sublime/default.nix → pkgs/applications/editors/sublime/2/default.nixrenamed

The content is the same.

pkgs/applications/editors/sublime/3/common.nixnew file+119

This diff is too big to show here.

pkgs/applications/editors/sublime/3/packages.nixnew file+18

This diff is too big to show here.

pkgs/applications/editors/sublime3/default.nixdeleted−107

This diff is too big to show here.

pkgs/applications/editors/texmacs/common.nixnew file+68

This diff is too big to show here.

pkgs/applications/editors/texmacs/darwin.nixnew file+59

This diff is too big to show here.

pkgs/applications/editors/texmacs/darwin.patchnew file+29

This diff is too big to show here.

pkgs/applications/editors/texmacs/default.nix+17−72

This diff is too big to show here.

pkgs/applications/editors/texmaker/default.nix+9−6

This diff is too big to show here.

pkgs/applications/editors/texstudio/default.nix+10−9

This diff is too big to show here.

pkgs/applications/editors/tiled/default.nix+4−6

This diff is too big to show here.

pkgs/applications/editors/typora/default.nix+3−3

This diff is too big to show here.

pkgs/applications/editors/vanubi/default.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/vbindiff/default.nix+4−4

This diff is too big to show here.

pkgs/applications/editors/vim/common.nix+2−2

This diff is too big to show here.

pkgs/applications/editors/vim/default.nix+1

This diff is too big to show here.

pkgs/applications/editors/vim/macvim.nix+1

This diff is too big to show here.

pkgs/applications/editors/vis/default.nix+6−2

This diff is too big to show here.

pkgs/applications/editors/vscode/default.nix+5−5

This diff is too big to show here.

pkgs/applications/editors/vscode-with-extensions/default.nix → pkgs/applications/editors/vscode/with-extensions.nixrenamed

The content is the same.

pkgs/applications/editors/wxhexeditor/default.nix+19−9

This diff is too big to show here.

pkgs/applications/editors/zed/default.nixdeleted−82

This diff is too big to show here.

pkgs/applications/editors/zed/deps.jsondeleted−6

This diff is too big to show here.

pkgs/applications/editors/zed/deps.shdeleted−7

This diff is too big to show here.

pkgs/applications/editors/zed/node-packages.nixdeleted−877

This diff is too big to show here.

pkgs/applications/editors/zed/node.nixdeleted−16

This diff is too big to show here.

pkgs/applications/gis/grass/default.nix+26−10

This diff is too big to show here.

pkgs/applications/gis/grass/no_symbolic_links.patchnew file+37

This diff is too big to show here.

pkgs/applications/gis/openorienteering-mapper/default.nixnew file+68

This diff is too big to show here.

pkgs/applications/gis/qgis/default.nix+51−15

This diff is too big to show here.

pkgs/applications/gis/saga/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/ImageMagick/7.0.nix+7−10

This diff is too big to show here.

pkgs/applications/graphics/ImageMagick/default.nix+7−10

This diff is too big to show here.

pkgs/applications/graphics/ahoviewer/default.nix+29−17

This diff is too big to show here.

pkgs/applications/graphics/antimony/default.nix+6−6

This diff is too big to show here.

pkgs/applications/graphics/ao/default.nix+3−2

This diff is too big to show here.

pkgs/applications/graphics/apitrace/default.nix−1

This diff is too big to show here.

pkgs/applications/graphics/awesomebump/default.nix+5

This diff is too big to show here.

pkgs/applications/graphics/awesomebump/qtnproperty-parallel-building.patchnew file+9

This diff is too big to show here.

pkgs/applications/graphics/c3d/default.nix+4−3

This diff is too big to show here.

pkgs/applications/graphics/cinepaint/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/darktable/default.nix+17−23

This diff is too big to show here.

pkgs/applications/graphics/digikam/default.nix+9−10

This diff is too big to show here.

pkgs/applications/graphics/displaycal/default.nix+6−5

This diff is too big to show here.

pkgs/applications/graphics/dosage/default.nixnew file+28

This diff is too big to show here.

pkgs/applications/graphics/draftsight/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/exrdisplay/default.nix+5−5

This diff is too big to show here.

pkgs/applications/graphics/fbida/default.nix+6−3

This diff is too big to show here.

pkgs/applications/graphics/feh/default.nix+5−5

This diff is too big to show here.

pkgs/applications/graphics/freecad/default.nix+33−1

This diff is too big to show here.

pkgs/applications/graphics/freepv/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/fstl/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/graphics/gcolor3/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/geeqie/default.nix+12−9

This diff is too big to show here.

pkgs/applications/graphics/geeqie/geeqie-no-changelog.patchnew file+14

This diff is too big to show here.

pkgs/applications/graphics/gimp/2.8.nix+3−4

This diff is too big to show here.

pkgs/applications/graphics/gimp/plugins/default.nix+6−8

This diff is too big to show here.

pkgs/applications/graphics/giv/default.nix+8−9

This diff is too big to show here.

pkgs/applications/graphics/glabels/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/gnuclad/default.nixnew file+22

This diff is too big to show here.

pkgs/applications/graphics/gocr/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/goxel/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/graphics/graphicsmagick/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/gthumb/default.nix+29−14

This diff is too big to show here.

pkgs/applications/graphics/hugin/default.nix+4−4

This diff is too big to show here.

pkgs/applications/graphics/inkscape/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/ipe/default.nix+5−3

This diff is too big to show here.

pkgs/applications/graphics/ipe/xlocale.patchnew file+10

This diff is too big to show here.

pkgs/applications/graphics/jpegoptim/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/k3d/default.nix+10−9

This diff is too big to show here.

pkgs/applications/graphics/krita/default.nix+4−4

This diff is too big to show here.

pkgs/applications/graphics/leocad/default.nix+4−4

This diff is too big to show here.

pkgs/applications/graphics/luminance-hdr/default.nix+5−12

This diff is too big to show here.

pkgs/applications/graphics/meh/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/meme/default.nixnew file+24

This diff is too big to show here.

pkgs/applications/graphics/meshlab/default.nix+41−26

This diff is too big to show here.

pkgs/applications/graphics/meshlab/fix-2016.02.patchnew file+88

This diff is too big to show here.

pkgs/applications/graphics/meshlab/include-unistd.diffdeleted−13

This diff is too big to show here.

pkgs/applications/graphics/nomacs/default.nix+4−6

This diff is too big to show here.

pkgs/applications/graphics/nomacs/fix-appdata-install.patchdeleted−13

This diff is too big to show here.

pkgs/applications/graphics/openimageio/default.nix+4−4

This diff is too big to show here.

pkgs/applications/graphics/openscad/default.nix+5−5

This diff is too big to show here.

pkgs/applications/graphics/paraview/default.nix+36−18

This diff is too big to show here.

pkgs/applications/graphics/pencil/default.nix+88−20

This diff is too big to show here.

pkgs/applications/graphics/photivo/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/photoflow/default.nixnew file+55

This diff is too big to show here.

pkgs/applications/graphics/photoqt/default.nix+7−2

This diff is too big to show here.

pkgs/applications/graphics/photoqt/photoqt-1.5.1-qt-5.9.patchnew file+13

This diff is too big to show here.

pkgs/applications/graphics/pinta/default.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/pqiv/default.nix+7−5

This diff is too big to show here.

pkgs/applications/graphics/processing/default.nixdeleted−39

This diff is too big to show here.

pkgs/applications/graphics/processing/use-nixpkgs-jre.patchdeleted−88

This diff is too big to show here.

pkgs/applications/graphics/processing3/default.nixnew file+53

This diff is too big to show here.

pkgs/applications/graphics/qscreenshot/default.nix+3−2

This diff is too big to show here.

pkgs/applications/graphics/rapcad/default.nix+3−2

This diff is too big to show here.

pkgs/applications/graphics/rawtherapee/ReleaseInfo.cmakedeleted−4

This diff is too big to show here.

pkgs/applications/graphics/rawtherapee/default.nix+6−6

This diff is too big to show here.

pkgs/applications/graphics/rawtherapee/dev.nixdeleted−37

This diff is too big to show here.

pkgs/applications/graphics/rawtherapee/fix-glibmm-output.patchdeleted−23

This diff is too big to show here.

pkgs/applications/graphics/renderdoc/custom_swig.patchnew file+32

This diff is too big to show here.

pkgs/applications/graphics/renderdoc/default.nix+41−9

This diff is too big to show here.

pkgs/applications/graphics/sane/backends/generic.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/sane/backends/git.nix+3−3

This diff is too big to show here.

pkgs/applications/graphics/scantailor/advanced.nixnew file+49

This diff is too big to show here.

pkgs/applications/graphics/seg3d/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/shotwell/default.nix+30−24

This diff is too big to show here.

pkgs/applications/graphics/shutter/default.nix+1

This diff is too big to show here.

pkgs/applications/graphics/solvespace/default.nix+12−9

This diff is too big to show here.

pkgs/applications/graphics/swingsane/default.nix−1

This diff is too big to show here.

pkgs/applications/graphics/sxiv/default.nix+4−4

This diff is too big to show here.

pkgs/applications/graphics/unigine-valley/default.nix+1−1

This diff is too big to show here.

pkgs/applications/graphics/viewnior/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/vimiv/default.nix+2−2

This diff is too big to show here.

pkgs/applications/graphics/yed/default.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/akonadi-mime.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/akonadi/0001-Revert-Make-Akonadi-installation-properly-relocatabl.patchnew file+49

This diff is too big to show here.

pkgs/applications/kde/akonadi/default.nix+9−9

This diff is too big to show here.

pkgs/applications/kde/akonadi/series+1

This diff is too big to show here.

pkgs/applications/kde/akonadiconsole.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/default.nix+8−3

This diff is too big to show here.

pkgs/applications/kde/fetch.sh+1−1

This diff is too big to show here.

pkgs/applications/kde/grantleetheme/grantlee-merge-theme-dirs.patch+71−73

This diff is too big to show here.

pkgs/applications/kde/k3b.nix+14−8

This diff is too big to show here.

pkgs/applications/kde/kalarm.nixnew file+37

This diff is too big to show here.

pkgs/applications/kde/kde-locale-4.nixdeleted−27

This diff is too big to show here.

pkgs/applications/kde/kdebugsettings.nixnew file+20

This diff is too big to show here.

pkgs/applications/kde/kdelibs/0001-old-kde4-cmake-policies.patchdeleted−56

This diff is too big to show here.

pkgs/applications/kde/kdelibs/0002-polkit-install-path.patchdeleted−25

This diff is too big to show here.

pkgs/applications/kde/kdelibs/0003-remove_xdg_impurities.patchdeleted−47

This diff is too big to show here.

pkgs/applications/kde/kdelibs/default.nixdeleted−49

This diff is too big to show here.

pkgs/applications/kde/kdenlive.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kdepim-runtime.nix+4−4

This diff is too big to show here.

pkgs/applications/kde/kdialog.nixnew file+18

This diff is too big to show here.

pkgs/applications/kde/kget.nixnew file+22

This diff is too big to show here.

pkgs/applications/kde/kio-extras.nix+3−3

This diff is too big to show here.

pkgs/applications/kde/kmail-account-wizard.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kmailtransport.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kmime.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/krfb.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/kruler.nixnew file+17

This diff is too big to show here.

pkgs/applications/kde/ksmtp/0001-Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing.patchnew file+25

This diff is too big to show here.

pkgs/applications/kde/ksmtp/default.nixnew file+17

This diff is too big to show here.

pkgs/applications/kde/ksystemlog.nixnew file+17

This diff is too big to show here.

pkgs/applications/kde/l10n.nixdeleted−181

This diff is too big to show here.

pkgs/applications/kde/libkcddb.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/libkgapi.nixnew file+15

This diff is too big to show here.

pkgs/applications/kde/marble.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/mbox-importer.nix−3

This diff is too big to show here.

pkgs/applications/kde/minuet.nix+4−2

This diff is too big to show here.

pkgs/applications/kde/okteta.nix+2−2

This diff is too big to show here.

pkgs/applications/kde/okular.nix+16−14

This diff is too big to show here.

pkgs/applications/kde/srcs.nix+847−1391

This diff is too big to show here.

pkgs/applications/misc/airspy/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/misc/airtame/default.nixnew file+100

This diff is too big to show here.

pkgs/applications/misc/alacritty/default.nix+7−3

This diff is too big to show here.

pkgs/applications/misc/albert/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/apvlv/default.nix+6−1

This diff is too big to show here.

pkgs/applications/misc/artha/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/bb/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/bleachbit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/blender/default.nix+14−4

This diff is too big to show here.

pkgs/applications/misc/buku/default.nix+14−7

This diff is too big to show here.

pkgs/applications/misc/calcurse/default.nix+12−6

This diff is too big to show here.

pkgs/applications/misc/calibre/default.nix+5−13

This diff is too big to show here.

pkgs/applications/misc/calibre/disable_plugins.patchnew file+17

This diff is too big to show here.

pkgs/applications/misc/calibre/no_updates_dialog.patchnew file+27

This diff is too big to show here.

pkgs/applications/misc/camlistore/default.nixdeleted−35

This diff is too big to show here.

pkgs/applications/misc/cataract/build.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/cbatticon/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cheat/default.nix+12−6

This diff is too big to show here.

pkgs/applications/misc/cherrytree/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/chirp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cli-visualizer/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/clipit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/confclerk/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/cool-retro-term/default.nix+7−7

This diff is too big to show here.

pkgs/applications/misc/copyq/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/cpp-ethereum/default.nix+3−2

This diff is too big to show here.

pkgs/applications/misc/ctodo/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/cura/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/curabydagoma/default.nixnew file+76

This diff is too big to show here.

pkgs/applications/misc/curaengine/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/dbeaver/default.nixnew file+70

This diff is too big to show here.

pkgs/applications/misc/ddgr/default.nixnew file+46

This diff is too big to show here.

pkgs/applications/misc/deco/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/deepin-terminal/default.nixdeleted−30

This diff is too big to show here.

pkgs/applications/misc/devilspie2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/diff-pdf/default.nixnew file+32

This diff is too big to show here.

pkgs/applications/misc/diffpdf/default.nix+11−5

This diff is too big to show here.

pkgs/applications/misc/diffpdf/fix_path_poppler_qt4.patchdeleted−16

This diff is too big to show here.

pkgs/applications/misc/diffpdf/fix_path_poppler_qt5.patchnew file+16

This diff is too big to show here.

pkgs/applications/misc/digitalbitbox/default.nixnew file+140

This diff is too big to show here.

pkgs/applications/misc/djvulibre/default.nix+2−4

This diff is too big to show here.

pkgs/applications/misc/dmensamenu/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/dmenu/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/dmenu/wayland.nixdeleted−34

This diff is too big to show here.

pkgs/applications/misc/dockbarx/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/doomseeker/default.nix+12−11

This diff is too big to show here.

pkgs/applications/misc/doomseeker/fix_paths.patchnew file+40

This diff is too big to show here.

pkgs/applications/misc/dump1090/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/dunst/default.nix+13−8

This diff is too big to show here.

pkgs/applications/misc/electron-cash/default.nix+27−12

This diff is too big to show here.

pkgs/applications/misc/electrum-dash/default.nixdeleted−44

This diff is too big to show here.

pkgs/applications/misc/electrum-ltc/default.nixdeleted−54

This diff is too big to show here.

pkgs/applications/misc/electrum/dash.nixnew file+46

This diff is too big to show here.

pkgs/applications/misc/electrum/default.nix+14−11

This diff is too big to show here.

pkgs/applications/misc/electrum/ltc.nixnew file+55

This diff is too big to show here.

pkgs/applications/misc/emem/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/evopedia/default.nix+6

This diff is too big to show here.

pkgs/applications/misc/exercism/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/far2l/add-nix-syntax-highlighting.patch+4−3

This diff is too big to show here.

pkgs/applications/misc/far2l/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/finalterm/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/font-manager/default.nix+7−6

This diff is too big to show here.

pkgs/applications/misc/gammu/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/ganttproject-bin/default.nix−1

This diff is too big to show here.

pkgs/applications/misc/gcal/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/misc/girara/default.nix+7−24

This diff is too big to show here.

pkgs/applications/misc/gkrellm/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/gksu/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/gmtp/default.nix+8−4

This diff is too big to show here.

pkgs/applications/misc/gnome-usage/default.nixnew file+37

This diff is too big to show here.

pkgs/applications/misc/gnuradio-ais/default.nixdeleted−37

This diff is too big to show here.

pkgs/applications/misc/gnuradio-gsm/default.nixdeleted−37

This diff is too big to show here.

pkgs/applications/misc/gnuradio-nacl/default.nixdeleted−37

This diff is too big to show here.

pkgs/applications/misc/gnuradio-osmosdr/default.nixdeleted−36

This diff is too big to show here.

pkgs/applications/misc/gnuradio-rds/default.nixdeleted−36

This diff is too big to show here.

pkgs/applications/misc/gnuradio/ais.nixnew file+40

This diff is too big to show here.

pkgs/applications/misc/gnuradio/default.nix+58−24

This diff is too big to show here.

pkgs/applications/misc/gnuradio/gsm.nixnew file+39

This diff is too big to show here.

pkgs/applications/misc/gnuradio/nacl.nixnew file+39

This diff is too big to show here.

pkgs/applications/misc/gnuradio/osmosdr.nixnew file+38

This diff is too big to show here.

pkgs/applications/misc/gnuradio/rds.nixnew file+38

This diff is too big to show here.

pkgs/applications/misc/gnuradio/wrapper.nix+10−9

This diff is too big to show here.

pkgs/applications/misc/golden-cheetah/default.nix+4

This diff is too big to show here.

pkgs/applications/misc/googleearth/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/googler/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gosmore/default.nix+3

This diff is too big to show here.

pkgs/applications/misc/gosmore/pointer_int_comparison.patchnew file+11

This diff is too big to show here.

pkgs/applications/misc/gphoto2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gpx-viewer/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/gpx/default.nixnew file+23

This diff is too big to show here.

pkgs/applications/misc/gpxsee/default.nix+7−4

This diff is too big to show here.

pkgs/applications/misc/gqrx/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/gramps/default.nix+7−16

This diff is too big to show here.

pkgs/applications/misc/guake/default.nix+20−58

This diff is too big to show here.

pkgs/applications/misc/gutenberg/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/misc/gv/default.nix+14−3

This diff is too big to show here.

pkgs/applications/misc/hamster-time-tracker/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/haxor-news/default.nix+19−9

This diff is too big to show here.

pkgs/applications/misc/houdini/runtime.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/hr/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/hstr/default.nix+4−7

This diff is too big to show here.

pkgs/applications/misc/hubstaff/default.nix+15−13

This diff is too big to show here.

pkgs/applications/misc/hugo/default.nix+8−8

This diff is too big to show here.

pkgs/applications/misc/hugo/deps.nix+135−98

This diff is too big to show here.

pkgs/applications/misc/hyper/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/icesl/default.nixnew file+39

This diff is too big to show here.

pkgs/applications/misc/ipmicfg/default.nix+4−3

This diff is too big to show here.

pkgs/applications/misc/ipmiview/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/j4-dmenu-desktop/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/jekyll/Gemfiledeleted−7

This diff is too big to show here.

pkgs/applications/misc/jekyll/Gemfile.lockdeleted−59

This diff is too big to show here.

pkgs/applications/misc/jekyll/basic/Gemfilenew file+10

This diff is too big to show here.

pkgs/applications/misc/jekyll/basic/Gemfile.locknew file+101

This diff is too big to show here.

pkgs/applications/misc/jekyll/basic/gemset.nixnew file+326

This diff is too big to show here.

pkgs/applications/misc/jekyll/default.nix+26−9

This diff is too big to show here.

pkgs/applications/misc/jekyll/full/Gemfilenew file+30

This diff is too big to show here.

pkgs/applications/misc/jekyll/full/Gemfile.locknew file+157

This diff is too big to show here.

pkgs/applications/misc/jekyll/full/gemset.nixnew file+538

This diff is too big to show here.

pkgs/applications/misc/jekyll/gemset.nixdeleted−183

This diff is too big to show here.

pkgs/applications/misc/jekyll/update.shnew file+15

This diff is too big to show here.

pkgs/applications/misc/jgmenu/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/josm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/k2pdfopt/default.nix+11−7

This diff is too big to show here.

pkgs/applications/misc/k2pdfopt/load-jpx.patchnew file+29

This diff is too big to show here.

pkgs/applications/misc/kdbplus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/kdeconnect/default.nix+10−3

This diff is too big to show here.

pkgs/applications/misc/keepass-plugins/keefox/default.nixdeleted−34

This diff is too big to show here.

pkgs/applications/misc/keepass-plugins/keepassrpc/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/misc/keepass/default.nix+19−9

This diff is too big to show here.

pkgs/applications/misc/keepass/fix-paths.patchnew file+87

This diff is too big to show here.

pkgs/applications/misc/keepass/keepass-plugins-load.patch+1−1

This diff is too big to show here.

pkgs/applications/misc/keepass/keepass-plugins.patch+9−42

This diff is too big to show here.

pkgs/applications/misc/keepassx/community.nix+76−14

This diff is too big to show here.

pkgs/applications/misc/keepassx/darwin.patchnew file+52

This diff is too big to show here.

pkgs/applications/misc/kgocode/default.nixdeleted−26

This diff is too big to show here.

pkgs/applications/misc/khal/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/khard/default.nix+6−4

This diff is too big to show here.

pkgs/applications/misc/kitty/default.nix+17−5

This diff is too big to show here.

pkgs/applications/misc/kiwix/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/kupfer/default.nix+8−3

This diff is too big to show here.

pkgs/applications/misc/latte-dock/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/libosmocore/default.nix+16−10

This diff is too big to show here.

pkgs/applications/misc/lilyterm/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/llpp/default.nix+3−4

This diff is too big to show here.

pkgs/applications/misc/lxterminal/default.nixnew file+49

This diff is too big to show here.

pkgs/applications/misc/lxterminal/respect-xml-catalog-files-var.patchnew file+15

This diff is too big to show here.

pkgs/applications/misc/lyx/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/madonctl/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/masterpdfeditor/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/mdp/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/mediainfo-gui/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/mediainfo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/memo/default.nixnew file+38

This diff is too big to show here.

pkgs/applications/misc/mencal/default.nixnew file+31

This diff is too big to show here.

pkgs/applications/misc/metamorphose2/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/milu/default.nix+2−5

This diff is too big to show here.

pkgs/applications/misc/minergate/default.nixnew file+39

This diff is too big to show here.

pkgs/applications/misc/mlterm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/monero/default.nixdeleted−44

This diff is too big to show here.

pkgs/applications/misc/moonlight-embedded/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/mucommander/default.nixnew file+82

This diff is too big to show here.

pkgs/applications/misc/multimon-ng/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/mupdf/darwin.patchnew file+35

This diff is too big to show here.

pkgs/applications/misc/mupdf/default.nix+85−44

This diff is too big to show here.

pkgs/applications/misc/mupdf/default.upstream+1−1

This diff is too big to show here.

pkgs/applications/misc/mupdf/mupdf-1.12-shared_libs-1.patchnew file+41

This diff is too big to show here.

pkgs/applications/misc/mwic/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/mysql-workbench/default.nix+5−5

This diff is too big to show here.

pkgs/applications/misc/navit/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/netsurf/buildsystem/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/netsurf/libcss/default.nix+2

This diff is too big to show here.

pkgs/applications/misc/nixnote2/default.nixnew file+43

This diff is too big to show here.

pkgs/applications/misc/nnn/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/notify-osd/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/nrsc5/default.nixnew file+52

This diff is too big to show here.

pkgs/applications/misc/ocropus/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/octoprint/default.nix+8−4

This diff is too big to show here.

pkgs/applications/misc/ola/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/onboard/default.nixnew file+156

This diff is too big to show here.

pkgs/applications/misc/onboard/hunspell-use-xdg-datadirs.patchnew file+20

This diff is too big to show here.

pkgs/applications/misc/oneko/default.nixnew file+34

This diff is too big to show here.

pkgs/applications/misc/openbrf/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/opencpn/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/opentx/default.nixnew file+58

This diff is too big to show here.

pkgs/applications/misc/orca/default.nixnew file+73

This diff is too big to show here.

pkgs/applications/misc/orca/fix-paths.patchnew file+29

This diff is too big to show here.

pkgs/applications/misc/osm2xmap/default.nixnew file+34

This diff is too big to show here.

pkgs/applications/misc/overmind/default.nixnew file+27

This diff is too big to show here.

pkgs/applications/misc/pcmanx-gtk2/default.nix+12−6

This diff is too big to show here.

pkgs/applications/misc/pdfmod/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/pdfpc/default.nix+8−4

This diff is too big to show here.

pkgs/applications/misc/pdfshuffler/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/pell/default.nix+7−5

This diff is too big to show here.

pkgs/applications/misc/perkeep/default.nixnew file+72

This diff is too big to show here.

pkgs/applications/misc/pgmanage/default.nix+10−2

This diff is too big to show here.

pkgs/applications/misc/pinfo/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/playonlinux/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/pmenu/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/polybar/default.nix+3−11

This diff is too big to show here.

pkgs/applications/misc/posterazor/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/procmail/default.nix+8−1

This diff is too big to show here.

pkgs/applications/misc/projectlibre/default.nixnew file+44

This diff is too big to show here.

pkgs/applications/misc/pstree/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/ptask/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/pytrainer/default.nix+17−8

This diff is too big to show here.

pkgs/applications/misc/pytrainer/fix-test-tz.patch+20−11

This diff is too big to show here.

pkgs/applications/misc/qlcplus/default.nix+3−2

This diff is too big to show here.

pkgs/applications/misc/qmapshack/default.nix+6−8

This diff is too big to show here.

pkgs/applications/misc/qmetro/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/qsyncthingtray/default.nix+19−6

This diff is too big to show here.

pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patchnew file+13

This diff is too big to show here.

pkgs/applications/misc/qtbitcointrader/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/qtpass/default.nix+9−12

This diff is too big to show here.

pkgs/applications/misc/qtpass/hidpi.patchnew file+13

This diff is too big to show here.

pkgs/applications/misc/ranger/default.nix+16−13

This diff is too big to show here.

pkgs/applications/misc/redis-desktop-manager/default.nix+11−10

This diff is too big to show here.

pkgs/applications/misc/redshift/575.patchnew file+51

This diff is too big to show here.

pkgs/applications/misc/redshift/default.nix+45−48

This diff is too big to show here.

pkgs/applications/misc/regextester/default.nixnew file+54

This diff is too big to show here.

pkgs/applications/misc/rescuetime/default.nix+8−15

This diff is too big to show here.

pkgs/applications/misc/robo3t/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/rofi/config.patchnew file+54

This diff is too big to show here.

pkgs/applications/misc/rofi/default.nix+14−6

This diff is too big to show here.

pkgs/applications/misc/rofi/wrapper.nixnew file+17

This diff is too big to show here.

pkgs/applications/misc/roxterm/default.nix+6−6

This diff is too big to show here.

pkgs/applications/misc/rsibreak/default.nixnew file+28

This diff is too big to show here.

pkgs/applications/misc/rtl-sdr/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/rtl_433/default.nixnew file+26

This diff is too big to show here.

pkgs/applications/misc/rtv/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/rxvt_unicode/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/safeeyes/default.nixnew file+71

This diff is too big to show here.

pkgs/applications/misc/sakura/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/sc-im/default.nix+5−3

This diff is too big to show here.

pkgs/applications/misc/sdcv/default.nix+3−4

This diff is too big to show here.

pkgs/applications/misc/sequeler/default.nixnew file+40

This diff is too big to show here.

pkgs/applications/misc/sigal/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/misc/simplenote/default.nix+6−5

This diff is too big to show here.

pkgs/applications/misc/slade/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/slade/git.nixnew file+26

This diff is too big to show here.

pkgs/applications/misc/sleepyhead/default.nixnew file+42

This diff is too big to show here.

pkgs/applications/misc/slic3r/prusa3d.nixnew file+103

This diff is too big to show here.

pkgs/applications/misc/slstatus/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/misc/spacefm/default.nix+12−8

This diff is too big to show here.

pkgs/applications/misc/st/default.nix+8−7

This diff is too big to show here.

pkgs/applications/misc/st/st-fix-deletekey.patchdeleted−15

This diff is too big to show here.

pkgs/applications/misc/st/wayland.nixdeleted−37

This diff is too big to show here.

pkgs/applications/misc/st/xst.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/stag/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/stupidterm/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/styx/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/subsurface/default.nix+11−10

This diff is too big to show here.

pkgs/applications/misc/sweethome3d/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/sweethome3d/editors.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/synapse/default.nix+26−24

This diff is too big to show here.

pkgs/applications/misc/taskjuggler/default.nix+1

This diff is too big to show here.

pkgs/applications/misc/tasknc/default.nix+26−32

This diff is too big to show here.

pkgs/applications/misc/tasksh/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/taskwarrior/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/terminator/default.nix+10−11

This diff is too big to show here.

pkgs/applications/misc/terminus/default.nixnew file+43

This diff is too big to show here.

pkgs/applications/misc/termite/default.nix+5−2

This diff is too big to show here.

pkgs/applications/misc/termite/url_regexp_trailing.patchnew file+27

This diff is too big to show here.

pkgs/applications/misc/tilda/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/tilix/default.nix+5−5

This diff is too big to show here.

pkgs/applications/misc/timewarrior/default.nix+5−7

This diff is too big to show here.

pkgs/applications/misc/timewarrior/install-all-themes.patchdeleted−27

This diff is too big to show here.

pkgs/applications/misc/tint2/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/tnef/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/todiff/default.nixnew file+23

This diff is too big to show here.

pkgs/applications/misc/todolist/default.nixnew file+22

This diff is too big to show here.

pkgs/applications/misc/toot/default.nix+7−7

This diff is too big to show here.

pkgs/applications/misc/translate-shell/default.nix+18−81

This diff is too big to show here.

pkgs/applications/misc/udiskie/default.nix+15−9

This diff is too big to show here.

pkgs/applications/misc/urh/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/urlscan/default.nix+7−4

This diff is too big to show here.

pkgs/applications/misc/urlview/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/valauncher/default.nix+7−3

This diff is too big to show here.

pkgs/applications/misc/valentina/default.nixnew file+67

This diff is too big to show here.

pkgs/applications/misc/veracrypt/default.nix+3−3

This diff is too big to show here.

pkgs/applications/misc/vifm/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/viking/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/vit/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/volnoti/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/weather/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/welle-io/default.nixnew file+47

This diff is too big to show here.

pkgs/applications/misc/wmname/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/wordnet/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/worker/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/workrave/default.nix+11−20

This diff is too big to show here.

pkgs/applications/misc/wsjtx/default.nixnew file+41

This diff is too big to show here.

pkgs/applications/misc/wsjtx/wsjtx.patchnew file+12

This diff is too big to show here.

pkgs/applications/misc/xca/default.nix+5−8

This diff is too big to show here.

pkgs/applications/misc/xfe/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/xfontsel/default.nix+4−4

This diff is too big to show here.

pkgs/applications/misc/xiphos/default.nix+15−14

This diff is too big to show here.

pkgs/applications/misc/xkbmon/default.nixnew file+25

This diff is too big to show here.

pkgs/applications/misc/xmr-stak/default.nixnew file+40

This diff is too big to show here.

pkgs/applications/misc/xmrig/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/misc/xmrig/proxy.nixnew file+34

This diff is too big to show here.

pkgs/applications/misc/xpdf/cmake_version.patchnew file+15

This diff is too big to show here.

pkgs/applications/misc/xpdf/default.nix+13−3

This diff is too big to show here.

pkgs/applications/misc/xterm/default.nix+14−6

This diff is too big to show here.

pkgs/applications/misc/xtermcontrol/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/yaft/default.nix+1−1

This diff is too big to show here.

pkgs/applications/misc/yakuake/default.nix+2−2

This diff is too big to show here.

pkgs/applications/misc/yate/default.nix+5−4

This diff is too big to show here.

pkgs/applications/misc/yokadi/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/misc/zathura/core/default.nix+28−33

This diff is too big to show here.

pkgs/applications/misc/zathura/core/icon.xpmdeleted−120

This diff is too big to show here.

pkgs/applications/misc/zathura/djvu/default.nix+8−10

This diff is too big to show here.

pkgs/applications/misc/zathura/djvu/gtkflags.patchdeleted−23

This diff is too big to show here.

pkgs/applications/misc/zathura/pdf-mupdf/default.nix+16−10

This diff is too big to show here.

pkgs/applications/misc/zathura/pdf-poppler/default.nix+10−10

This diff is too big to show here.

pkgs/applications/misc/zathura/ps/default.nix+9−11

This diff is too big to show here.

pkgs/applications/misc/zathura/ps/gtkflags.patchdeleted−25

This diff is too big to show here.

pkgs/applications/misc/zathura/wrapper.nix+4−5

This diff is too big to show here.

pkgs/applications/networking/apache-directory-studio/default.nixnew file+62

This diff is too big to show here.

pkgs/applications/networking/bittorrentsync/generic.nix+3−2

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/browser.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/common.nix+47−33

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/default.nix+11−5

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r3.patchdeleted−98

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r4.patchdeleted−98

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/chromium-glibc2.26-r1.patchdeleted−220

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/chromium-gn-bootstrap-r17.patchdeleted−68

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/constexpr-fix.patchdeleted−98

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/fix_network_api_crash.patchdeleted−77

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/gn_bootstrap_observer.patchdeleted−11

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/include-math-for-round.patchdeleted−34

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/patches/skia_buildfix.patchnew file+22

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/plugins.nix+13−9

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/update.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/chromium/upstream-info.nix+9−9

This diff is too big to show here.

pkgs/applications/networking/browsers/conkeror/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/browsers/dwb/default.nixdeleted−35

This diff is too big to show here.

pkgs/applications/networking/browsers/eolie/0001-Extend-the-python-path-rather-than-replacing-it.patchnew file+35

This diff is too big to show here.

pkgs/applications/networking/browsers/eolie/default.nixnew file+67

This diff is too big to show here.

pkgs/applications/networking/browsers/falkon/default.nix+5−11

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix+411−381

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/default.nix+11−9

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix+405−385

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+401−381

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox-bin/update.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/common.nix+59−27

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/fix-pa-context-connect-retval.patchnew file+26

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/packages.nix+61−36

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/update.nix+4−2

This diff is too big to show here.

pkgs/applications/networking/browsers/firefox/wrapper.nix+160−140

This diff is too big to show here.

pkgs/applications/networking/browsers/google-chrome/default.nix+16−18

This diff is too big to show here.

pkgs/applications/networking/browsers/jumanji/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/browsers/links2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/luakit/default.nixnew file+61

This diff is too big to show here.

pkgs/applications/networking/browsers/lynx/default.nix+7−4

This diff is too big to show here.

pkgs/applications/networking/browsers/midori/default.nix+7−8

This diff is too big to show here.

pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix+6−6

This diff is too big to show here.

pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/browsers/mozilla-plugins/nspluginwrapper/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/browsers/opera/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/otter/default.nixnew file+25

This diff is too big to show here.

pkgs/applications/networking/browsers/palemoon/default.nix+35−11

This diff is too big to show here.

pkgs/applications/networking/browsers/qutebrowser/default.nix+30−24

This diff is too big to show here.

pkgs/applications/networking/browsers/surf/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix+9−9

This diff is too big to show here.

pkgs/applications/networking/browsers/tor-browser-bundle/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/browsers/uzbl/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/browsers/vimb/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/browsers/vimprobable2/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/browsers/vivaldi/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/browsers/w3m/default.nix+7−3

This diff is too big to show here.

pkgs/applications/networking/c14/default.nix+4−5

This diff is too big to show here.

pkgs/applications/networking/cluster/chronos/chronos-deps.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/cluster/click/default.nixnew file+28

This diff is too big to show here.

pkgs/applications/networking/cluster/cni/default.nix+3−6

This diff is too big to show here.

pkgs/applications/networking/cluster/cni/plugins.nixnew file+33

This diff is too big to show here.

pkgs/applications/networking/cluster/docker-machine/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/docker-machine/xhyve-deps.nixnew file+21

This diff is too big to show here.

pkgs/applications/networking/cluster/docker-machine/xhyve.nixnew file+27

This diff is too big to show here.

pkgs/applications/networking/cluster/flink/default.nixnew file+58

This diff is too big to show here.

pkgs/applications/networking/cluster/helm/default.nix+8−7

This diff is too big to show here.

pkgs/applications/networking/cluster/heptio-ark/default.nixnew file+25

This diff is too big to show here.

pkgs/applications/networking/cluster/kompose/default.nixnew file+23

This diff is too big to show here.

pkgs/applications/networking/cluster/kontemplate/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/networking/cluster/kontemplate/deps.nixnew file+111

This diff is too big to show here.

pkgs/applications/networking/cluster/kops/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kubecfg/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/kubernetes/default.nix+23−8

This diff is too big to show here.

pkgs/applications/networking/cluster/mesos/default.nix+21−15

This diff is too big to show here.

pkgs/applications/networking/cluster/mesos/mesos-deps.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/cluster/minikube/default.nix+12−6

This diff is too big to show here.

pkgs/applications/networking/cluster/minikube/localkube.patchnew file+20

This diff is too big to show here.

pkgs/applications/networking/cluster/nomad/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/openshift/default.nix+42−17

This diff is too big to show here.

pkgs/applications/networking/cluster/panamax/api/default.nix+1

This diff is too big to show here.

pkgs/applications/networking/cluster/panamax/ui/default.nix+1

This diff is too big to show here.

pkgs/applications/networking/cluster/pig/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/spark/default.nix+5−8

This diff is too big to show here.

pkgs/applications/networking/cluster/taktuk/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-landscape/Gemfilenew file+2

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-landscape/Gemfile.locknew file+25

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-landscape/default.nixnew file+19

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-landscape/gemset.nixnew file+61

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-provider-libvirt/default.nixnew file+47

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-provider-libvirt/deps.nixnew file+12

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform-provider-nixos/default.nixnew file+23

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform/default.nix+19−4

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform/providers/data.nix+119−84

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform/providers/default.nix+6−2

This diff is too big to show here.

pkgs/applications/networking/cluster/terraform/providers/update-all+1−1

This diff is too big to show here.

pkgs/applications/networking/cluster/terragrunt/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/cluster/terragrunt/deps.nix+29−20

This diff is too big to show here.

pkgs/applications/networking/compactor/default.nixnew file+52

This diff is too big to show here.

pkgs/applications/networking/corebird/default.nix+17−13

This diff is too big to show here.

pkgs/applications/networking/droopy/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/dropbox-cli/default.nix → pkgs/applications/networking/dropbox/cli.nixrenamed

The content is the same.

pkgs/applications/networking/dropbox/default.nix+28−6

This diff is too big to show here.

pkgs/applications/networking/errbot/default.nix+6−4

This diff is too big to show here.

pkgs/applications/networking/esniper/default.nix+7−5

This diff is too big to show here.

pkgs/applications/networking/feedreaders/newsbeuter/default.nixdeleted−61

This diff is too big to show here.

pkgs/applications/networking/feedreaders/newsboat/default.nixnew file+47

This diff is too big to show here.

pkgs/applications/networking/feedreaders/rawdog/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/feedreaders/rss2email/default.nix+21−3

This diff is too big to show here.

pkgs/applications/networking/feedreaders/rssguard/default.nix+9−10

This diff is too big to show here.

pkgs/applications/networking/feedreaders/rsstail/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/firehol/default.nix+32−3

This diff is too big to show here.

pkgs/applications/networking/flexget/default.nix+53−60

This diff is too big to show here.

pkgs/applications/networking/ftp/filezilla/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/gmailieer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/gns3/default.nix+9−6

This diff is too big to show here.

pkgs/applications/networking/gns3/server.nix+16−27

This diff is too big to show here.

pkgs/applications/networking/google-drive-ocamlfuse/default.nix+6−7

This diff is too big to show here.

pkgs/applications/networking/ids/bro/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/ids/daq/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/ids/snort/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/SkypeExport/default.nixnew file+27

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/baresip/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/bitlbee-discord/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix+5−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/blink/default.nix+7−6

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/coyim/default.nix+3−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/dino/default.nix+9−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/discord/default.nix+5−7

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ekiga/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gajim/default.nix+38−104

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/gajim/fix-tests.patchdeleted−13

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/hipchat/default.nix+6−6

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/jackline/default.nix+9−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/jackline/tls-0.9.0.patchnew file+29

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/jitsi/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/kadu/cmake.patchdeleted−13

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/kadu/default.nixdeleted−46

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/linphone/default.nix+9−5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/nheko/default.nixnew file+83

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/nheko/external-deps.patchnew file+94

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/nheko/fetchurls.patchnew file+21

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-skypeweb/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-discord/default.nixnew file+31

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-facebook/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-matrix/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/skype4pidgin/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin-plugins/telegram-purple/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pidgin/default.nix+5−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pond/default.nix+2−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/profanity/default.nix+27−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/profanity/patches/packages-osx.patchnew file+11

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/profanity/patches/undefined-macros.patchnew file+40

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/psi-plus/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/pybitmessage/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/qtox/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/quaternion/default.nix+22−22

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/rambox/bare.nix+4−8

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/rambox/default.nix+7−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/rambox/disable-tooltips.patchnew file+19

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ratox/default.nix+20−14

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ratox/ldlibs.patchnew file+5

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ricochet/default.nix+3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/ring-daemon/default.nix+5−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/riot/riot-web.nix+5−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signal-desktop/beta.nixnew file+92

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+8−7

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix+13−12

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/slack/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/stride/default.nixnew file+68

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/teamspeak/client.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix+16−108

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/tdesktop/generic.nixnew file+140

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telegram/telegram-qml/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix+7−6

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix+14−11

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/telepathy/salut/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/tensor/default.nix+3

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/torchat/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/viber/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/instant-messengers/zoom-us/default.nix+14−4

This diff is too big to show here.

pkgs/applications/networking/insync/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/ipfs/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/irc/bip/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/irc/hexchat/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/irc/ii/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/irc/irssi/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/irc/konversation/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/irc/quassel/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/irc/sic/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/irc/weechat/default.nix+13−14

This diff is too big to show here.

pkgs/applications/networking/jmeter/default.nix+40−8

This diff is too big to show here.

pkgs/applications/networking/kget/default.nixdeleted−33

This diff is too big to show here.

pkgs/applications/networking/mailreaders/afew/default.nixnew file+28

This diff is too big to show here.

pkgs/applications/networking/mailreaders/astroid/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/mailreaders/balsa/default.nixnew file+61

This diff is too big to show here.

pkgs/applications/networking/mailreaders/claws-mail/default.nix+12−14

This diff is too big to show here.

pkgs/applications/networking/mailreaders/imapfilter.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/mailreaders/inboxer/default.nixnew file+84

This diff is too big to show here.

pkgs/applications/networking/mailreaders/lumail/default.nix+42−10

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mailnag/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mailpile/default.nix+23−11

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mblaze/default.nixnew file+25

This diff is too big to show here.

pkgs/applications/networking/mailreaders/mutt/default.nix+29−7

This diff is too big to show here.

pkgs/applications/networking/mailreaders/neomutt/default.nix+32−17

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notbit/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notmuch-addrlookup/0001-notmuch-0.25-compatibility-fix.patchdeleted−44

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix+6−10

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notmuch/default.nix+13−13

This diff is too big to show here.

pkgs/applications/networking/mailreaders/notmuch/muchsync.nix+3−2

This diff is too big to show here.

pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/mailreaders/sylpheed/default.nix+19−21

This diff is too big to show here.

pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix+8−8

This diff is too big to show here.

pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix+237−237

This diff is too big to show here.

pkgs/applications/networking/mailreaders/thunderbird/default.nix+7−8

This diff is too big to show here.

pkgs/applications/networking/msmtp/default.nix+8−1

This diff is too big to show here.

pkgs/applications/networking/mumble/default.nix+13−6

This diff is too big to show here.

pkgs/applications/networking/newsreaders/liferea/default.nix+9−8

This diff is too big to show here.

pkgs/applications/networking/newsreaders/pan/default.nix+23−8

This diff is too big to show here.

pkgs/applications/networking/newsreaders/quiterss/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/nextcloud-client/default.nix+15−9

This diff is too big to show here.

pkgs/applications/networking/nextcloud-client/find-sql.patchnew file+12

This diff is too big to show here.

pkgs/applications/networking/offrss/default.nix+5−9

This diff is too big to show here.

pkgs/applications/networking/ostinato/default.nix+7−3

This diff is too big to show here.

pkgs/applications/networking/owncloud-client/default.nix+4−2

This diff is too big to show here.

pkgs/applications/networking/p2p/deluge/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/p2p/frostwire/default.nix+69−13

This diff is too big to show here.

pkgs/applications/networking/p2p/frostwire/frostwire-bin.nixnew file+31

This diff is too big to show here.

pkgs/applications/networking/p2p/ncdc/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/p2p/qbittorrent/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/p2p/retroshare/default.nix+1−1

This diff is too big to show here.

pkgs/applications/networking/p2p/soulseekqt/default.nixnew file+55

This diff is too big to show here.

pkgs/applications/networking/p2p/tixati/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/p2p/transgui/default.nix+6−2

This diff is too big to show here.

pkgs/applications/networking/p2p/transgui/r988-compile-fix.patchnew file+22

This diff is too big to show here.

pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/p2p/transmission/default.nix+8−12

This diff is too big to show here.

pkgs/applications/networking/p2p/tribler/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/pjsip/default.nix+7−3

This diff is too big to show here.

pkgs/applications/networking/protocol/default.nixnew file+20

This diff is too big to show here.

pkgs/applications/networking/remote/citrix-receiver/default.nix+31−9

This diff is too big to show here.

pkgs/applications/networking/remote/freerdp/default.nix+15−13

This diff is too big to show here.

pkgs/applications/networking/remote/rdesktop/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/remote/remmina/default.nix+10−10

This diff is too big to show here.

pkgs/applications/networking/remote/teamviewer/default.nix+5−5

This diff is too big to show here.

pkgs/applications/networking/remote/x2goclient/default.nix−1

This diff is too big to show here.

pkgs/applications/networking/remote/xrdp/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/resilio-sync/default.nix+4−4

This diff is too big to show here.

pkgs/applications/networking/seafile-client/default.nix+8−6

This diff is too big to show here.

pkgs/applications/networking/sniffers/wireshark/cmake.patchnew file+19

This diff is too big to show here.

pkgs/applications/networking/sniffers/wireshark/default.nix+38−11

This diff is too big to show here.

pkgs/applications/networking/spideroak/default.nix+7−7

This diff is too big to show here.

pkgs/applications/networking/sync/backintime/common.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/sync/backintime/qt4.nix+4−1

This diff is too big to show here.

pkgs/applications/networking/sync/lsyncd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/sync/rclone/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/sync/rsync/base.nix+7−6

This diff is too big to show here.

pkgs/applications/networking/sync/rsync/default.nix+3−3

This diff is too big to show here.

pkgs/applications/networking/sync/rsync/rrsync.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/syncplay/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/networking/syncthing-gtk/default.nixnew file+56

This diff is too big to show here.

pkgs/applications/networking/syncthing-gtk/disable-syncthing-binary-configuration.patchnew file+77

This diff is too big to show here.

pkgs/applications/networking/syncthing-gtk/paths.patchnew file+22

This diff is too big to show here.

pkgs/applications/networking/syncthing/add-stcli-target.patchnew file+17

This diff is too big to show here.

pkgs/applications/networking/syncthing/default.nix+88−42

This diff is too big to show here.

pkgs/applications/networking/syncthing/inotify-deps.nixdeleted−21

This diff is too big to show here.

pkgs/applications/networking/syncthing/inotify.nixdeleted−37

This diff is too big to show here.

pkgs/applications/networking/syncthing012/default.nixdeleted−27

This diff is too big to show here.

pkgs/applications/networking/syncthing012/deps.nixdeleted−128

This diff is too big to show here.

pkgs/applications/networking/syncthing013/default.nixdeleted−38

This diff is too big to show here.

pkgs/applications/networking/tcpkali/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/testssl/default.nix+25−18

This diff is too big to show here.

pkgs/applications/networking/testssl/testssl.patchdeleted−10

This diff is too big to show here.

pkgs/applications/networking/vnstat/default.nix+2−3

This diff is too big to show here.

pkgs/applications/networking/znc/default.nix+2−2

This diff is too big to show here.

pkgs/applications/networking/znc/modules.nix+20

This diff is too big to show here.

pkgs/applications/office/abiword/default.nix+14−13

This diff is too big to show here.

pkgs/applications/office/abiword/patches/fix-13791.patchdeleted−161

This diff is too big to show here.

pkgs/applications/office/beancount/bean-add.nix+4−4

This diff is too big to show here.

pkgs/applications/office/beancount/default.nixdeleted−44

This diff is too big to show here.

pkgs/applications/office/calligra/2.nixdeleted−56

This diff is too big to show here.

pkgs/applications/office/calligra/default.nix+13−3

This diff is too big to show here.

pkgs/applications/office/cb2bib/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/fava/default.nix+3−3

This diff is too big to show here.

pkgs/applications/office/gnucash/2.6.nix+20−11

This diff is too big to show here.

pkgs/applications/office/gnucash/default.nix+1

This diff is too big to show here.

pkgs/applications/office/gnumeric/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/grisbi/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/homebank/default.nix+4−4

This diff is too big to show here.

pkgs/applications/office/ib/tws/default.nix+1−1

This diff is too big to show here.

pkgs/applications/office/impressive/default.nix+3−3

This diff is too big to show here.

pkgs/applications/office/jabref/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/kexi/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/ledger/default.nix+1−1

This diff is too big to show here.

pkgs/applications/office/libreoffice/default-primary-src.nix+6−6

This diff is too big to show here.

pkgs/applications/office/libreoffice/default.nix+32−27

This diff is too big to show here.

pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py+8−1

This diff is too big to show here.

pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix+196−182

This diff is too big to show here.

pkgs/applications/office/libreoffice/libreoffice-srcs.nix+271−229

This diff is too big to show here.

pkgs/applications/office/libreoffice/still-primary-src.nix+4−4

This diff is too big to show here.

pkgs/applications/office/libreoffice/still.nix+39−31

This diff is too big to show here.

pkgs/applications/office/libreoffice/wrapper.nixnew file+16

This diff is too big to show here.

pkgs/applications/office/libreoffice/wrapper.shnew file+18

This diff is too big to show here.

pkgs/applications/office/marp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/mendeley/default.nix+30−18

This diff is too big to show here.

pkgs/applications/office/mendeley/update.nixnew file+60

This diff is too big to show here.

pkgs/applications/office/mmex/default.nix+1−1

This diff is too big to show here.

pkgs/applications/office/mytetra/default.nix+1−1

This diff is too big to show here.

pkgs/applications/office/osmo/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/paperwork/backend.nix+3−3

This diff is too big to show here.

pkgs/applications/office/paperwork/default.nix+4−4

This diff is too big to show here.

pkgs/applications/office/pinpoint/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/planner/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/skrooge/default.nix+17−6

This diff is too big to show here.

pkgs/applications/office/spice-up/default.nixnew file+57

This diff is too big to show here.

pkgs/applications/office/tagainijisho/default.nix+1−1

This diff is too big to show here.

pkgs/applications/office/timetrap/Gemfile.lock+4−4

This diff is too big to show here.

pkgs/applications/office/timetrap/default.nix+7−4

This diff is too big to show here.

pkgs/applications/office/timetrap/gemset.nix+7−6

This diff is too big to show here.

pkgs/applications/office/tryton/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/trytond/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/tudu/default.nix+4−4

This diff is too big to show here.

pkgs/applications/office/watson/default.nix+18−9

This diff is too big to show here.

pkgs/applications/office/wordgrinder/default.nix+17−9

This diff is too big to show here.

pkgs/applications/office/zanshin/default.nix+7−13

This diff is too big to show here.

pkgs/applications/office/zim/default.nix+2−2

This diff is too big to show here.

pkgs/applications/office/zotero/default.nix+54−70

This diff is too big to show here.

pkgs/applications/science/astronomy/celestia/default.nix+7−9

This diff is too big to show here.

pkgs/applications/science/astronomy/gpredict/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/science/astronomy/gravit/default.nix+10−3

This diff is too big to show here.

pkgs/applications/science/astronomy/stellarium/default.nix+7−7

This diff is too big to show here.

pkgs/applications/science/biology/EZminc/default.nixnew file+32

This diff is too big to show here.

pkgs/applications/science/biology/N3/default.nixnew file+38

This diff is too big to show here.

pkgs/applications/science/biology/bcftools/default.nix+4−6

This diff is too big to show here.

pkgs/applications/science/biology/bedtools/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/bowtie2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/bwa/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/dcm2niix/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/science/biology/igv/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/biology/inormalize/default.nixnew file+39

This diff is too big to show here.

pkgs/applications/science/biology/inormalize/lgmask-interp.patchnew file+10

This diff is too big to show here.

pkgs/applications/science/biology/inormalize/nu_correct_norm-interp.patchnew file+10

This diff is too big to show here.

pkgs/applications/science/biology/kallisto/default.nixnew file+25

This diff is too big to show here.

pkgs/applications/science/biology/minc-tools/default.nix+21−10

This diff is too big to show here.

pkgs/applications/science/biology/minc-widgets/default.nixnew file+34

This diff is too big to show here.

pkgs/applications/science/biology/mni_autoreg/default.nixnew file+36

This diff is too big to show here.

pkgs/applications/science/biology/muscle/default.nixnew file+35

This diff is too big to show here.

pkgs/applications/science/biology/muscle/muscle-3.8.31-no-static.patchnew file+21

This diff is too big to show here.

pkgs/applications/science/biology/paml/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/picard-tools/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/raxml/default.nixnew file+42

This diff is too big to show here.

pkgs/applications/science/biology/samtools/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/biology/samtools/samtools-0.1.19-no-curses.patchnew file+22

This diff is too big to show here.

pkgs/applications/science/biology/samtools/samtools_0_1_19.nixnew file+34

This diff is too big to show here.

pkgs/applications/science/biology/snpeff/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/biology/star/default.nixnew file+34

This diff is too big to show here.

pkgs/applications/science/biology/vcftools/default.nixnew file+24

This diff is too big to show here.

pkgs/applications/science/chemistry/avogadro/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/chemistry/molden/default.nixnew file+42

This diff is too big to show here.

pkgs/applications/science/chemistry/octopus/default.nixnew file+47

This diff is too big to show here.

pkgs/applications/science/electronics/bitscope/common.nixnew file+70

This diff is too big to show here.

pkgs/applications/science/electronics/bitscope/packages.nixnew file+153

This diff is too big to show here.

pkgs/applications/science/electronics/gtkwave/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/kicad/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/kicad/unstable.nixnew file+56

This diff is too big to show here.

pkgs/applications/science/electronics/librepcb/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/science/electronics/librepcb/fix-2017-12.patchnew file+29

This diff is too big to show here.

pkgs/applications/science/electronics/ngspice/default.nix+8−7

This diff is too big to show here.

pkgs/applications/science/electronics/pcb/default.nix+9−2

This diff is too big to show here.

pkgs/applications/science/electronics/pulseview/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/electronics/verilator/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/logic/abella/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/acgtk/default.nix+4−2

This diff is too big to show here.

pkgs/applications/science/logic/aspino/default.nix+19−7

This diff is too big to show here.

pkgs/applications/science/logic/avy/default.nix+19−1

This diff is too big to show here.

pkgs/applications/science/logic/avy/glucose-fenv.patchnew file+65

This diff is too big to show here.

pkgs/applications/science/logic/avy/minisat-fenv.patchnew file+65

This diff is too big to show here.

pkgs/applications/science/logic/beluga/default.nixnew file+34

This diff is too big to show here.

pkgs/applications/science/logic/boolector/default.nix+19−1

This diff is too big to show here.

pkgs/applications/science/logic/coq/8.4.nix+1−1

This diff is too big to show here.

pkgs/applications/science/logic/coq/HEAD.nixdeleted−81

This diff is too big to show here.

pkgs/applications/science/logic/coq/default.nix+12−9

This diff is too big to show here.

pkgs/applications/science/logic/cryptoverif/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/cvc4/default.nix+7

This diff is too big to show here.

pkgs/applications/science/logic/cvc4/minisat-fenv.patchnew file+65

This diff is too big to show here.

pkgs/applications/science/logic/drat-trim/default.nixnew file+40

This diff is too big to show here.

pkgs/applications/science/logic/elan/default.nixnew file+44

This diff is too big to show here.

pkgs/applications/science/logic/eprover/default.nix+2−1

This diff is too big to show here.

pkgs/applications/science/logic/glucose/syrup.nix+1−1

This diff is too big to show here.

pkgs/applications/science/logic/lean/default.nix+2−1

This diff is too big to show here.

pkgs/applications/science/logic/ltl2ba/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/mcrl2/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/ott/default.nix+9−9

This diff is too big to show here.

pkgs/applications/science/logic/picosat/default.nix+11

This diff is too big to show here.

pkgs/applications/science/logic/potassco/clingo.nix+8−5

This diff is too big to show here.

pkgs/applications/science/logic/sapic/default.nixnew file+28

This diff is too big to show here.

pkgs/applications/science/logic/sapic/native.patchnew file+38

This diff is too big to show here.

pkgs/applications/science/logic/stp/default.nix+5−1

This diff is too big to show here.

pkgs/applications/science/logic/symbiyosys/default.nix+6−6

This diff is too big to show here.

pkgs/applications/science/logic/tamarin-prover/default.nixnew file+90

This diff is too big to show here.

pkgs/applications/science/logic/tlaplus/default.nixnew file+40

This diff is too big to show here.

pkgs/applications/science/logic/tlaplus/tlaps.nixnew file+56

This diff is too big to show here.

pkgs/applications/science/logic/tlaplus/toolbox.nixnew file+77

This diff is too big to show here.

pkgs/applications/science/logic/tptp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/logic/why3/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/logic/workcraft/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/science/logic/z3/default.nix+6−7

This diff is too big to show here.

pkgs/applications/science/machine-learning/shogun/default.nix+17−3

This diff is too big to show here.

pkgs/applications/science/machine-learning/torch/torch-distro.nix+2

This diff is too big to show here.

pkgs/applications/science/math/R/default.nix+12−8

This diff is too big to show here.

pkgs/applications/science/math/R/setup-hook.sh+4−2

This diff is too big to show here.

pkgs/applications/science/math/almonds/default.nixnew file+29

This diff is too big to show here.

pkgs/applications/science/math/bcal/default.nixnew file+32

This diff is too big to show here.

pkgs/applications/science/math/caffe/default.nix+14−7

This diff is too big to show here.

pkgs/applications/science/math/calc/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/cbc/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/math/cntk/default.nix+10−17

This diff is too big to show here.

pkgs/applications/science/math/cntk/fix_std_bind.patchnew file+11

This diff is too big to show here.

pkgs/applications/science/math/ecm/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/math/fricas/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/gap/default.nix+70−15

This diff is too big to show here.

pkgs/applications/science/math/geogebra/default.nix+4−8

This diff is too big to show here.

pkgs/applications/science/math/gfan/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/giac/default.nix+30−10

This diff is too big to show here.

pkgs/applications/science/math/ginac/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/glsurf/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/gmsh/default.nix+5−5

This diff is too big to show here.

pkgs/applications/science/math/jags/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/lp_solve/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/lrcalc/default.nixnew file+41

This diff is too big to show here.

pkgs/applications/science/math/maxima/default.nix+40−10

This diff is too big to show here.

pkgs/applications/science/math/mxnet/default.nix+8−5

This diff is too big to show here.

pkgs/applications/science/math/nasc/default.nixnew file+71

This diff is too big to show here.

pkgs/applications/science/math/pari/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/pari/gp2c.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/qalculate-gtk/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/math/sage/default.nix+66−19

This diff is too big to show here.

pkgs/applications/science/math/sage/patchSageShebangs.shnew file+51

This diff is too big to show here.

pkgs/applications/science/math/sage/shebangs.patchnew file+36

This diff is too big to show here.

pkgs/applications/science/math/sage/spkg-giac.patch+13−4

This diff is too big to show here.

pkgs/applications/science/math/sage/spkg-git.patch+8−3

This diff is too big to show here.

pkgs/applications/science/math/sage/spkg-python.patchnew file+13

This diff is too big to show here.

pkgs/applications/science/math/sage/spkg-python2.patchdeleted−12

This diff is too big to show here.

pkgs/applications/science/math/sage/spkg-python3.patchdeleted−12

This diff is too big to show here.

pkgs/applications/science/math/sage/spkg-singular.patch+11−5

This diff is too big to show here.

pkgs/applications/science/math/scilab-bin/default.nix+7−7

This diff is too big to show here.

pkgs/applications/science/math/singular/default.nix+53−20

This diff is too big to show here.

pkgs/applications/science/math/weka/default.nix+8−12

This diff is too big to show here.

pkgs/applications/science/math/wxmaxima/default.nix+4−6

This diff is too big to show here.

pkgs/applications/science/medicine/aliza/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/boinc/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/cytoscape/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/gephi/default.nix+54−27

This diff is too big to show here.

pkgs/applications/science/misc/golly/beta.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/golly/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/gplates/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/misc/openmvg/default.nix+1

This diff is too big to show here.

pkgs/applications/science/misc/openmvs/default.nix+3−4

This diff is too big to show here.

pkgs/applications/science/misc/root/default.nix+4−4

This diff is too big to show here.

pkgs/applications/science/misc/sasview/default.nixnew file+60

This diff is too big to show here.

pkgs/applications/science/misc/sasview/local_config.patchnew file+10

This diff is too big to show here.

pkgs/applications/science/misc/sasview/pyparsing-fix.patchnew file+8

This diff is too big to show here.

pkgs/applications/science/misc/sasview/xhtml2pdf.nixnew file+32

This diff is too big to show here.

pkgs/applications/science/misc/simgrid/default.nix+88−60

This diff is too big to show here.

pkgs/applications/science/misc/tulip/default.nix+4−4

This diff is too big to show here.

pkgs/applications/science/misc/vite/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/molecular-dynamics/gromacs/default.nix+3−3

This diff is too big to show here.

pkgs/applications/science/programming/fdr/default.nix+4−4

This diff is too big to show here.

pkgs/applications/science/programming/plm/default.nix+1−1

This diff is too big to show here.

pkgs/applications/science/robotics/qgroundcontrol/default.nix+21−39

This diff is too big to show here.

pkgs/applications/science/robotics/yarp/default.nix+2−2

This diff is too big to show here.

pkgs/applications/science/spyder/default.nix+11−7

This diff is too big to show here.

pkgs/applications/search/catfish/default.nix+22−16

This diff is too big to show here.

pkgs/applications/search/doodle/default.nix+2−2

This diff is too big to show here.

pkgs/applications/search/grepcidr/default.nixnew file+21

This diff is too big to show here.

pkgs/applications/search/recoll/default.nix+34−25

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2006/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2007/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2008/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2009/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2010/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2011/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2012/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2013-wa/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2013/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2014-wa/default.nix+1−1

This diff is too big to show here.

pkgs/applications/taxes/aangifte-2014/default.nix+1−1

This diff is too big to show here.

pkgs/applications/version-management/bazaar/default.nix+10−2

This diff is too big to show here.

pkgs/applications/version-management/bugseverywhere/default.nix+1−1

This diff is too big to show here.

pkgs/applications/version-management/cvs/default.nix+5−1

This diff is too big to show here.

pkgs/applications/version-management/fossil/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/gerrit/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/cgit/default.nix+5−1

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/default.nix+14−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/diff-so-fancy/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-annex-metadata-gui/default.nixnew file+27

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-annex-remote-rclone/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-bz/default.nix−1

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-codeowners/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-cola/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-dit/default.nix+1−1

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-extras/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-hub/default.nix+1−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-open/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-radar/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-recent/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix+3−8

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git-secret/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git/default.nix+11−14

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git/git-send-email-honor-PATH.patchnew file+28

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git/git-sh-i18n.patch+4−4

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/git/ssh-path.patch+11−11

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/gitweb/default.nixnew file+37

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/grv/default.nixnew file+30

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/hub/unstable.nixnew file+36

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/qgit/default.nix+8−5

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/stgit/default.nix+4−3

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/svn-all-fast-export/default.nixnew file+41

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/svn2git-kde/default.nixdeleted−28

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/svn2git/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/tig/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-and-tools/transcrypt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-review/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/git-sizer/default.nixnew file+23

This diff is too big to show here.

pkgs/applications/version-management/git-up/default.nix+1

This diff is too big to show here.

pkgs/applications/version-management/gitaly/Gemfile+11−2

This diff is too big to show here.

pkgs/applications/version-management/gitaly/Gemfile.lock+74−18

This diff is too big to show here.

pkgs/applications/version-management/gitaly/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/gitaly/gemset.nix+211−23

This diff is too big to show here.

pkgs/applications/version-management/gitea/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/gitea/static-root-path.patch+3−3

This diff is too big to show here.

pkgs/applications/version-management/gitinspector/default.nix+4

This diff is too big to show here.

pkgs/applications/version-management/gitkraken/default.nix+26−24

This diff is too big to show here.

pkgs/applications/version-management/gitlab-shell/default.nix+6−28

This diff is too big to show here.

pkgs/applications/version-management/gitlab-shell/fixes.patch+3−4

This diff is too big to show here.

pkgs/applications/version-management/gitlab-shell/remove-hardcoded-locations.patch+15−15

This diff is too big to show here.

pkgs/applications/version-management/gitlab-workhorse/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/gitlab/Gemfile+44−28

This diff is too big to show here.

pkgs/applications/version-management/gitlab/Gemfile.lock+158−132

This diff is too big to show here.

pkgs/applications/version-management/gitlab/default.nix+16−11

This diff is too big to show here.

pkgs/applications/version-management/gitlab/gemset.nix+234−163

This diff is too big to show here.

pkgs/applications/version-management/gitlab/nulladapter.patchdeleted−33

This diff is too big to show here.

pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch+32−45

This diff is too big to show here.

pkgs/applications/version-management/gitless/default.nixnew file+26

This diff is too big to show here.

pkgs/applications/version-management/gitolite/default.nix+9−6

This diff is too big to show here.

pkgs/applications/version-management/gogs/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/gource/default.nix+6−7

This diff is too big to show here.

pkgs/applications/version-management/guitone/default.nix+3

This diff is too big to show here.

pkgs/applications/version-management/guitone/parallel-building.patchnew file+7

This diff is too big to show here.

pkgs/applications/version-management/meld/default.nix+16−8

This diff is too big to show here.

pkgs/applications/version-management/mercurial/default.nix+9−9

This diff is too big to show here.

pkgs/applications/version-management/monotone-viz/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/nbstripout/default.nix+25−6

This diff is too big to show here.

pkgs/applications/version-management/p4v/default.nixnew file+48

This diff is too big to show here.

pkgs/applications/version-management/peru/default.nix+2−2

This diff is too big to show here.

pkgs/applications/version-management/pijul/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/rabbitvcs/default.nix+4−2

This diff is too big to show here.

pkgs/applications/version-management/sit/default.nixnew file+23

This diff is too big to show here.

pkgs/applications/version-management/smartgithg/default.nix+3−3

This diff is too big to show here.

pkgs/applications/version-management/src/default.nix+12−4

This diff is too big to show here.

pkgs/applications/version-management/tailor/default.nix+1−1

This diff is too big to show here.

pkgs/applications/version-management/tortoisehg/default.nix+8−3

This diff is too big to show here.

pkgs/applications/version-management/vcsh/default.nix+10−17

This diff is too big to show here.

pkgs/applications/version-management/yadm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/aegisub/default.nix+3−3

This diff is too big to show here.

pkgs/applications/video/avidemux/bootstrap_logging.patchnew file+26

This diff is too big to show here.

pkgs/applications/video/avidemux/default.nix+72−110

This diff is too big to show here.

pkgs/applications/video/avidemux/wrapper.nixdeleted−24

This diff is too big to show here.

pkgs/applications/video/avxsynth/default.nix+1

This diff is too big to show here.

pkgs/applications/video/bombono/default.nix+21−2

This diff is too big to show here.

pkgs/applications/video/bomi/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/byzanz/default.nix+1−1

This diff is too big to show here.

pkgs/applications/video/cinelerra/default.nix+3−1

This diff is too big to show here.

pkgs/applications/video/clipgrab/default.nix+2−3

This diff is too big to show here.

pkgs/applications/video/dvb-apps/default.nix+1

This diff is too big to show here.

pkgs/applications/video/dvdstyler/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/gnome-mplayer/default.nix+23−10

This diff is too big to show here.

pkgs/applications/video/gnome-mplayer/fix-paths.patchnew file+87

This diff is too big to show here.

pkgs/applications/video/gnome-mpv/default.nix+16−11

This diff is too big to show here.

pkgs/applications/video/handbrake/default.nix+15−12

This diff is too big to show here.

pkgs/applications/video/kazam/bug_1190693.patchdeleted−14

This diff is too big to show here.

pkgs/applications/video/kazam/datadir.patchdeleted−11

This diff is too big to show here.

pkgs/applications/video/kazam/default.nix+28−33

This diff is too big to show here.

pkgs/applications/video/kazam/fix-paths.patchnew file+22

This diff is too big to show here.

pkgs/applications/video/kodi/default.nix+148−86

This diff is too big to show here.

pkgs/applications/video/kodi/plugins.nix+29−5

This diff is too big to show here.

pkgs/applications/video/lightworks/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/makemkv/default.nix+6−6

This diff is too big to show here.

pkgs/applications/video/minitube/default.nix+1−2

This diff is too big to show here.

pkgs/applications/video/miro/default.nix+3−3

This diff is too big to show here.

pkgs/applications/video/mkcast/default.nix+1−1

This diff is too big to show here.

pkgs/applications/video/mkvtoolnix/default.nix+20−16

This diff is too big to show here.

pkgs/applications/video/motion/default.nix+5−2

This diff is too big to show here.

pkgs/applications/video/mpc-qt/default.nixnew file+27

This diff is too big to show here.

pkgs/applications/video/mplayer/default.nix+5−4

This diff is too big to show here.

pkgs/applications/video/mpv/default.nix+49−26

This diff is too big to show here.

pkgs/applications/video/mpv/scripts/convert.nix+3−3

This diff is too big to show here.

pkgs/applications/video/mythtv/default.nix+18−13

This diff is too big to show here.

pkgs/applications/video/natron/default.nix+3−3

This diff is too big to show here.

pkgs/applications/video/obs-studio/default.nix+3−3

This diff is too big to show here.

pkgs/applications/video/ogmtools/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/omxplayer/default.nix+1−1

This diff is too big to show here.

pkgs/applications/video/openshot-qt/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/openshot-qt/libopenshot-audio.nix+2−2

This diff is too big to show here.

pkgs/applications/video/openshot-qt/libopenshot.nix+2−2

This diff is too big to show here.

pkgs/applications/video/peek/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/video/pitivi/default.nix+3−3

This diff is too big to show here.

pkgs/applications/video/qmediathekview/default.nixnew file+33

This diff is too big to show here.

pkgs/applications/video/quvi/library.nix+1−1

This diff is too big to show here.

pkgs/applications/video/quvi/scripts.nix+1−1

This diff is too big to show here.

pkgs/applications/video/quvi/tool.nix+1−1

This diff is too big to show here.

pkgs/applications/video/screenkey/default.nixnew file+60

This diff is too big to show here.

pkgs/applications/video/screenkey/paths.patchnew file+20

This diff is too big to show here.

pkgs/applications/video/shotcut/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/simplescreenrecorder/default.nix+6−11

This diff is too big to show here.

pkgs/applications/video/smplayer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/smtube/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/streamlink/default.nix+3−3

This diff is too big to show here.

pkgs/applications/video/subdl/default.nixnew file+26

This diff is too big to show here.

pkgs/applications/video/subtitleeditor/default.nix+15−25

This diff is too big to show here.

pkgs/applications/video/vlc/default.nix+3−13

This diff is too big to show here.

pkgs/applications/video/w_scan/default.nix+2−2

This diff is too big to show here.

pkgs/applications/video/webtorrent_desktop/default.nixnew file+88

This diff is too big to show here.

pkgs/applications/video/xine-ui/default.nix+4−4

This diff is too big to show here.

pkgs/applications/virtualization/OVMF/default.nix+39−20

This diff is too big to show here.

pkgs/applications/virtualization/bochs/bochs-2.6.9-glibc-2.26.patchnew file+14

This diff is too big to show here.

pkgs/applications/virtualization/bochs/default.nix+6−2

This diff is too big to show here.

pkgs/applications/virtualization/cbfstool/default.nix+2−2

This diff is too big to show here.

pkgs/applications/virtualization/containerd/default.nix+20−5

This diff is too big to show here.

pkgs/applications/virtualization/docker/default.nix+70−62

This diff is too big to show here.

pkgs/applications/virtualization/docker-distribution/default.nix → pkgs/applications/virtualization/docker/distribution.nixrenamed

The content is the same.

pkgs/applications/virtualization/dynamips/default.nix+2−2

This diff is too big to show here.

pkgs/applications/virtualization/lkl/default.nix+6−5

This diff is too big to show here.

pkgs/applications/virtualization/looking-glass-client/default.nixnew file+47

This diff is too big to show here.

pkgs/applications/virtualization/open-vm-tools/default.nix+1−1

This diff is too big to show here.

pkgs/applications/virtualization/openstack/glance.nixdeleted−69

This diff is too big to show here.

pkgs/applications/virtualization/openstack/keystone.nixdeleted−55

This diff is too big to show here.

pkgs/applications/virtualization/openstack/neutron-iproute-4.patchdeleted−93

This diff is too big to show here.

pkgs/applications/virtualization/openstack/neutron.nixdeleted−69

This diff is too big to show here.

pkgs/applications/virtualization/openstack/nova.nixdeleted−71

This diff is too big to show here.

pkgs/applications/virtualization/openstack/remove-oslo-policy-tests.patchdeleted−61

This diff is too big to show here.

pkgs/applications/virtualization/qemu/default.nix+66−21

This diff is too big to show here.

pkgs/applications/virtualization/qemu/riscv.nixnew file+30

This diff is too big to show here.

pkgs/applications/virtualization/qemu/statfs-flags.patchnew file+197

This diff is too big to show here.

pkgs/applications/virtualization/remotebox/default.nix+2−3

This diff is too big to show here.

pkgs/applications/virtualization/rkt/default.nix+3−3

This diff is too big to show here.

pkgs/applications/virtualization/runc/default.nix+2−2

This diff is too big to show here.

pkgs/applications/virtualization/seabios/default.nix+2−2

This diff is too big to show here.

pkgs/applications/virtualization/singularity/default.nix+40−5

This diff is too big to show here.

pkgs/applications/virtualization/singularity/env.patchnew file+21

This diff is too big to show here.

pkgs/applications/virtualization/spice-vdagent/default.nix+2−2

This diff is too big to show here.

pkgs/applications/virtualization/tini/default.nix+2−2

This diff is too big to show here.

pkgs/applications/virtualization/virt-manager/default.nix+16−13

This diff is too big to show here.

pkgs/applications/virtualization/virt-manager/qt.nix+9−10

This diff is too big to show here.

pkgs/applications/virtualization/virt-top/default.nix+7−5

This diff is too big to show here.

pkgs/applications/virtualization/virt-viewer/default.nix+14−10

This diff is too big to show here.

pkgs/applications/virtualization/virtualbox/default.nix+20−12

This diff is too big to show here.

pkgs/applications/virtualization/virtualbox/guest-additions/default.nix+4−2

This diff is too big to show here.

pkgs/applications/virtualization/virtualbox/guest-additions/fix_kerndir.patch+9−9

This diff is too big to show here.

pkgs/applications/virtualization/virtualbox/guest-additions/fix_kernincl.patch+3−3

This diff is too big to show here.

pkgs/applications/virtualization/vpcs/default.nix+6−5

This diff is too big to show here.

pkgs/applications/virtualization/vpcs/vpcs-0.8-glibc-2.26.patchnew file+14

This diff is too big to show here.

pkgs/applications/virtualization/xen/4.10.nixnew file+176

This diff is too big to show here.

pkgs/applications/virtualization/xen/4.5.nix+18−2

This diff is too big to show here.

pkgs/applications/virtualization/xen/4.8.nix+40−24

This diff is too big to show here.

pkgs/applications/virtualization/xen/generic.nix+4−3

This diff is too big to show here.

pkgs/applications/virtualization/xen/packages.nix+50−8

This diff is too big to show here.

pkgs/applications/virtualization/xen/xsa-patches.nix+162

This diff is too big to show here.

pkgs/applications/window-managers/awesome/3.5.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/awesome/default.nix+7−9

This diff is too big to show here.

pkgs/applications/window-managers/bspwm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/compton/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/compton/git.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/dwm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/i3/default.nix+3−3

This diff is too big to show here.

pkgs/applications/window-managers/i3/gaps.nix+3−3

This diff is too big to show here.

pkgs/applications/window-managers/i3/lock-color.nix+13−10

This diff is too big to show here.

pkgs/applications/window-managers/i3/lock-fancy.nix+7−7

This diff is too big to show here.

pkgs/applications/window-managers/i3/lock.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/i3/pystatus.nix+12−7

This diff is too big to show here.

pkgs/applications/window-managers/i3/status-rust.nixnew file+27

This diff is too big to show here.

pkgs/applications/window-managers/i3/status.nix+1−1

This diff is too big to show here.

pkgs/applications/window-managers/i3/wk-switch.nixnew file+32

This diff is too big to show here.

pkgs/applications/window-managers/icewm/default.nix+6−1

This diff is too big to show here.

pkgs/applications/window-managers/icewm/fix-strlcat_strlcpy.patchnew file+236

This diff is too big to show here.

pkgs/applications/window-managers/icewm/musl.patchnew file+23

This diff is too big to show here.

pkgs/applications/window-managers/jwm/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/kbdd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/lemonbar/default.nix+3−3

This diff is too big to show here.

pkgs/applications/window-managers/orbment/bemenu.nixnew file+26

This diff is too big to show here.

pkgs/applications/window-managers/orbment/default.nix+13−3

This diff is too big to show here.

pkgs/applications/window-managers/oroborus/default.nix+1−1

This diff is too big to show here.

pkgs/applications/window-managers/qtile/0001-Substitution-vars-for-absolute-paths.patch+4−17

This diff is too big to show here.

pkgs/applications/window-managers/qtile/0002-Restore-PATH-and-PYTHONPATH.patch+35−40

This diff is too big to show here.

pkgs/applications/window-managers/qtile/0003-Restart-executable.patch+3−15

This diff is too big to show here.

pkgs/applications/window-managers/qtile/default.nix+8−7

This diff is too big to show here.

pkgs/applications/window-managers/sawfish/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/stumpwm/default.nix+2−1

This diff is too big to show here.

pkgs/applications/window-managers/sway/default.nix+3−3

This diff is too big to show here.

pkgs/applications/window-managers/sxhkd/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/tabbed/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/trayer/default.nix+2−2

This diff is too big to show here.

pkgs/applications/window-managers/velox/default.nix+40−12

This diff is too big to show here.

pkgs/applications/window-managers/velox/dmenu.nixnew file+37

This diff is too big to show here.

pkgs/applications/window-managers/velox/st.nixnew file+40

This diff is too big to show here.

pkgs/applications/window-managers/velox/swc.nixnew file+36

This diff is too big to show here.

pkgs/applications/window-managers/velox/wld.nixnew file+32

This diff is too big to show here.

pkgs/applications/window-managers/way-cooler/bar.diffnew file+37

This diff is too big to show here.

pkgs/applications/window-managers/way-cooler/default.nixmode 100755 → 100644+82−16

This diff is too big to show here.

pkgs/applications/window-managers/way-cooler/way-cooler.nixnew file+1862

This diff is too big to show here.

pkgs/applications/window-managers/way-cooler/wc-bg.nixnew file+1379

This diff is too big to show here.

pkgs/applications/window-managers/way-cooler/wc-grab.nixnew file+801

This diff is too big to show here.

pkgs/applications/window-managers/way-cooler/wc-lock.nixnew file+1486

This diff is too big to show here.

pkgs/applications/window-managers/weston/default.nix+5−5

This diff is too big to show here.

pkgs/applications/window-managers/wtftw/default.nix+1−1

This diff is too big to show here.

pkgs/applications/window-managers/xmonad-log-applet/default.nixdeleted−45

This diff is too big to show here.

pkgs/applications/window-managers/xmonad/log-applet/default.nixnew file+45

This diff is too big to show here.

pkgs/applications/window-managers/xmonad-log-applet/fix-paths.patch → pkgs/applications/window-managers/xmonad/log-applet/fix-paths.patchrenamed

The content is the same.

pkgs/applications/window-managers/yabar/build.nix+1−3

This diff is too big to show here.

pkgs/applications/window-managers/yabar/unstable.nix+15−7

This diff is too big to show here.

pkgs/build-support/bintools-wrapper/add-flags.shnew file+40

This diff is too big to show here.

pkgs/build-support/bintools-wrapper/add-hardening.shnew file+53

This diff is too big to show here.

pkgs/build-support/bintools-wrapper/default.nixnew file+315

This diff is too big to show here.

pkgs/build-support/cc-wrapper/ld-solaris-wrapper.sh → pkgs/build-support/bintools-wrapper/ld-solaris-wrapper.shrenamed

Only the mode changed.

pkgs/build-support/bintools-wrapper/ld-wrapper.shnew file+210

This diff is too big to show here.

pkgs/build-support/bintools-wrapper/macos-sierra-reexport-hack.bashnew file+246

This diff is too big to show here.

pkgs/build-support/bintools-wrapper/setup-hook.shnew file+88

This diff is too big to show here.

pkgs/build-support/binutils-wrapper/macos-sierra-reexport-hack.bashdeleted−108

This diff is too big to show here.

pkgs/build-support/build-bazel-package/default.nixnew file+78

This diff is too big to show here.

pkgs/build-support/build-fhs-userenv/chroot-user.rbdeleted−169

This diff is too big to show here.

pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.cnew file+139

This diff is too big to show here.

pkgs/build-support/build-fhs-userenv/chrootenv/default.nixnew file+19

This diff is too big to show here.

pkgs/build-support/build-fhs-userenv/default.nix+6−12

This diff is too big to show here.

pkgs/build-support/build-fhs-userenv/env.nix+4−1

This diff is too big to show here.

pkgs/build-support/build-pecl.nix−2

This diff is too big to show here.

pkgs/build-support/build-setupcfg/default.nixnew file+25

This diff is too big to show here.

pkgs/build-support/cc-wrapper/add-flags.sh+8−32

This diff is too big to show here.

pkgs/build-support/cc-wrapper/add-hardening.sh−10

This diff is too big to show here.

pkgs/build-support/cc-wrapper/cc-wrapper.sh+10−3

This diff is too big to show here.

pkgs/build-support/cc-wrapper/default.nix+83−185

This diff is too big to show here.

pkgs/build-support/cc-wrapper/gnat-wrapper.shdeleted−126

This diff is too big to show here.

pkgs/build-support/cc-wrapper/gnatlink-wrapper.shdeleted−40

This diff is too big to show here.

pkgs/build-support/cc-wrapper/ld-wrapper.shdeleted−205

This diff is too big to show here.

pkgs/build-support/cc-wrapper/macos-sierra-reexport-hack.bashdeleted−106

This diff is too big to show here.

pkgs/build-support/cc-wrapper/setup-hook.sh+44−44

This diff is too big to show here.

pkgs/build-support/cc-wrapper/utils.sh+36

This diff is too big to show here.

pkgs/build-support/closure-info.nix+17−41

This diff is too big to show here.

pkgs/build-support/docker/default.nix+34−13

This diff is too big to show here.

pkgs/build-support/docker/examples.nix+9−1

This diff is too big to show here.

pkgs/build-support/docker/pull.nix+1−1

This diff is too big to show here.

pkgs/build-support/docker/tarsum.go+1−1

This diff is too big to show here.

pkgs/build-support/emacs/buffer.nix+4−1

This diff is too big to show here.

pkgs/build-support/emacs/setup-hook.sh+5−1

This diff is too big to show here.

pkgs/build-support/emacs/wrapper.nix+36−2

This diff is too big to show here.

pkgs/build-support/fetchbower/default.nix+3−4

This diff is too big to show here.

pkgs/build-support/fetchbzr/default.nix+3−3

This diff is too big to show here.

pkgs/build-support/fetchcvs/default.nix+3−3

This diff is too big to show here.

pkgs/build-support/fetchdarcs/default.nix+3−4

This diff is too big to show here.

pkgs/build-support/fetchdocker/credentials.nixnew file+38

This diff is too big to show here.

pkgs/build-support/fetchdocker/default.nixnew file+61

This diff is too big to show here.

pkgs/build-support/fetchdocker/fetchDockerConfig.nixnew file+13

This diff is too big to show here.

pkgs/build-support/fetchdocker/fetchDockerLayer.nixnew file+13

This diff is too big to show here.

pkgs/build-support/fetchdocker/fetchdocker-builder.shnew file+28

This diff is too big to show here.

pkgs/build-support/fetchdocker/generic-fetcher.nixnew file+97

This diff is too big to show here.

pkgs/build-support/fetchegg/default.nix+4−4

This diff is too big to show here.

pkgs/build-support/fetchfossil/default.nix+1−1

This diff is too big to show here.

pkgs/build-support/fetchgit/default.nix+5−5

This diff is too big to show here.

pkgs/build-support/fetchgit/nix-prefetch-git+1−1

This diff is too big to show here.

pkgs/build-support/fetchgit/private.nix+1−1

This diff is too big to show here.

pkgs/build-support/fetchgx/default.nix+3−5

This diff is too big to show here.

pkgs/build-support/fetchhg/default.nix+4−4

This diff is too big to show here.

pkgs/build-support/fetchipfs/default.nix+1−1

This diff is too big to show here.

pkgs/build-support/fetchmtn/default.nix+3−3

This diff is too big to show here.

pkgs/build-support/fetchnuget/default.nix+1−1

This diff is too big to show here.

pkgs/build-support/fetchpatch/default.nix+5−5

This diff is too big to show here.

pkgs/build-support/fetchrepoproject/default.nix+4−4

This diff is too big to show here.

pkgs/build-support/fetchs3/default.nix+3−3

This diff is too big to show here.

pkgs/build-support/fetchsvn/builder.sh+1−5

This diff is too big to show here.

pkgs/build-support/fetchsvn/default.nix+5−5

This diff is too big to show here.

pkgs/build-support/fetchsvnssh/default.nix+3−3

This diff is too big to show here.

pkgs/build-support/fetchurl/default.nix+20−17

This diff is too big to show here.

pkgs/build-support/fetchurl/mirrors.nix+1−1

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/add-flagsdeleted−28

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/builder.shdeleted−215

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/default.nixdeleted−99

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/gcc-wrapper-old.shdeleted−146

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/gcc-wrapper.shdeleted−147

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/gnat-wrapper.shdeleted−113

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/gnatlink-wrapper.shdeleted−43

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/ld-solaris-wrapper.shdeleted−40

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/ld-wrapper.shdeleted−166

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/setup-hook.shdeleted−33

This diff is too big to show here.

pkgs/build-support/gcc-wrapper-old/utils.shdeleted−26

This diff is too big to show here.

pkgs/build-support/kernel/make-initrd.nix+2

This diff is too big to show here.

pkgs/build-support/kernel/modules-closure.nix+3−3

This diff is too big to show here.

pkgs/build-support/kernel/modules-closure.sh+23

This diff is too big to show here.

pkgs/build-support/kernel/paths-from-graph.pl+2

This diff is too big to show here.

pkgs/build-support/libredirect/default.nix+6

This diff is too big to show here.

pkgs/build-support/mkshell/default.nixnew file+46

This diff is too big to show here.

pkgs/build-support/release/debian-build.nix+1−1

This diff is too big to show here.

pkgs/build-support/release/source-tarball.nix+2−1

This diff is too big to show here.

pkgs/build-support/rust/build-rust-crate.nixnew file+460

This diff is too big to show here.

pkgs/build-support/rust/cargo-vendor.nixdeleted−32

This diff is too big to show here.

pkgs/build-support/rust/cargo-vendor/cargo-vendor.nixnew file+1487

This diff is too big to show here.

pkgs/build-support/rust/cargo-vendor/default.nixnew file+10

This diff is too big to show here.

pkgs/build-support/rust/carnix.nixnew file+1450

This diff is too big to show here.

pkgs/build-support/rust/default-crate-overrides.nixnew file+72

This diff is too big to show here.

pkgs/build-support/rust/default.nix+29−14

This diff is too big to show here.

pkgs/build-support/rust/fetchcargo.nix+4−3

This diff is too big to show here.

pkgs/build-support/rust/fetchcrate.nixnew file+35

This diff is too big to show here.

pkgs/build-support/setup-hooks/auto-patchelf.shnew file+174

This diff is too big to show here.

pkgs/build-support/setup-hooks/find-xml-catalogs.sh+1−1

This diff is too big to show here.

pkgs/build-support/setup-hooks/gog-unpack.shnew file+11

This diff is too big to show here.

pkgs/build-support/setup-hooks/ld-is-cc-hook.shnew file+5

This diff is too big to show here.

pkgs/build-support/setup-hooks/make-wrapper.sh+12−6

This diff is too big to show here.

pkgs/build-support/setup-hooks/multiple-outputs.sh+2−11

This diff is too big to show here.

pkgs/build-support/setup-hooks/patch-shebangs.sh+4

This diff is too big to show here.

pkgs/build-support/setup-hooks/separate-debug-info.sh+3−3

This diff is too big to show here.

pkgs/build-support/setup-hooks/set-java-classpath.sh+1−1

This diff is too big to show here.

pkgs/build-support/setup-hooks/setup-debug-info-dirs.sh+1−1

This diff is too big to show here.

pkgs/build-support/setup-hooks/strip.sh+29−8

This diff is too big to show here.

pkgs/build-support/setup-hooks/win-dll-link.sh+1−1

This diff is too big to show here.

pkgs/build-support/setup-hooks/wrap-gapps-hook.sh+1−1

This diff is too big to show here.

pkgs/build-support/singularity-tools/default.nix+6−2

This diff is too big to show here.

pkgs/build-support/trivial-builders.nix+4−3

This diff is too big to show here.

pkgs/build-support/vm/default.nix+130−1085

This diff is too big to show here.

pkgs/build-support/vm/windows/cygwin-iso/default.nix−1

This diff is too big to show here.

pkgs/common-updater/scripts/update-source-version+29−7

This diff is too big to show here.

pkgs/data/documentation/bgnet/default.nix+1−1

This diff is too big to show here.

pkgs/data/documentation/man-pages/default.nix+2−3

This diff is too big to show here.

pkgs/data/documentation/mustache-spec/default.nix+1−1

This diff is too big to show here.

pkgs/data/documentation/stdman/default.nix+4−4

This diff is too big to show here.

pkgs/data/documentation/zeal/default.nix+4−4

This diff is too big to show here.

pkgs/data/documentation/zeal/remove_ads.patch+20−11

This diff is too big to show here.

pkgs/data/fonts/babelstone-han/default.nix+4−4

This diff is too big to show here.

pkgs/data/fonts/cantarell-fonts/default.nix+17−8

This diff is too big to show here.

pkgs/data/fonts/clearlyU/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/corefonts/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/dejavu-fonts/default.nix+3−3

This diff is too big to show here.

pkgs/data/fonts/dina-pcf/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/emojione/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/envypn-font/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/fantasque-sans-mono/default.nix+10−6

This diff is too big to show here.

pkgs/data/fonts/fira-code/default.nix+2−2

This diff is too big to show here.

pkgs/data/fonts/fira-code/symbols.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/fixedsys-excelsior/default.nixnew file+38

This diff is too big to show here.

pkgs/data/fonts/font-awesome-ttf/default.nix → pkgs/data/fonts/font-awesome-4/default.nixrenamed

The content is the same.

pkgs/data/fonts/font-awesome-5/default.nixnew file+30

This diff is too big to show here.

pkgs/data/fonts/gentium-book-basic/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/gentium/default.nix+2−2

This diff is too big to show here.

pkgs/data/fonts/gohufont/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/hack/default.nix+5−7

This diff is too big to show here.

pkgs/data/fonts/hasklig/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/ibm-plex/default.nixnew file+25

This diff is too big to show here.

pkgs/data/fonts/inconsolata/default.nix+7−9

This diff is too big to show here.

pkgs/data/fonts/inconsolata/lgc.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/input-fonts/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/iosevka/bin.nixnew file+28

This diff is too big to show here.

pkgs/data/fonts/iosevka/default.nix+86−10

This diff is too big to show here.

pkgs/data/fonts/iosevka/package-lock.jsonnew file+1025

This diff is too big to show here.

pkgs/data/fonts/iosevka/package-lock.nixnew file+142

This diff is too big to show here.

pkgs/data/fonts/kochi-substitute/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/league-of-moveable-type/default.nix+2−2

This diff is too big to show here.

pkgs/data/fonts/meslo-lg/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/migmix/default.nixnew file+44

This diff is too big to show here.

pkgs/data/fonts/migu/default.nixnew file+43

This diff is too big to show here.

pkgs/data/fonts/mplus-outline-fonts/default.nix+2−2

This diff is too big to show here.

pkgs/data/fonts/myrica/default.nixnew file+23

This diff is too big to show here.

pkgs/data/fonts/nafees/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/nerdfonts/default.nix+2−2

This diff is too big to show here.

pkgs/data/fonts/noto-fonts/default.nix+6−6

This diff is too big to show here.

pkgs/data/fonts/noto-fonts/tools.nixnew file+32

This diff is too big to show here.

pkgs/data/fonts/open-dyslexic/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/poly/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/proggyfonts/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/raleway/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/redhat-liberation-fonts/default.nix+6−6

This diff is too big to show here.

pkgs/data/fonts/ricty/default.nixnew file+38

This diff is too big to show here.

pkgs/data/fonts/roboto/default.nix+3−3

This diff is too big to show here.

pkgs/data/fonts/scheherazade/default.nixnew file+43

This diff is too big to show here.

pkgs/data/fonts/siji/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/tempora-lgc/default.nix+2−2

This diff is too big to show here.

pkgs/data/fonts/tewi/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/tex-gyre-math/default.nix+37−34

This diff is too big to show here.

pkgs/data/fonts/tex-gyre/default.nixnew file+90

This diff is too big to show here.

pkgs/data/fonts/tlwg/default.nixnew file+27

This diff is too big to show here.

pkgs/data/fonts/twemoji-color-font/default.nixnew file+43

This diff is too big to show here.

pkgs/data/fonts/ucs-fonts/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/uni-vga/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/unifont/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/unscii/default.nix−1

This diff is too big to show here.

pkgs/data/fonts/vdrsymbols/default.nixnew file+27

This diff is too big to show here.

pkgs/data/fonts/vista-fonts/default.nix+1−1

This diff is too big to show here.

pkgs/data/fonts/zilla-slab/default.nixnew file+34

This diff is too big to show here.

pkgs/data/icons/arc-icon-theme/default.nix+4−4

This diff is too big to show here.

pkgs/data/icons/elementary-icon-theme/default.nix+6−13

This diff is too big to show here.

pkgs/data/icons/elementary-xfce-icon-theme/default.nixnew file+34

This diff is too big to show here.

pkgs/data/icons/faba-icon-theme/default.nix+4−4

This diff is too big to show here.

pkgs/data/icons/faba-mono-icons/default.nix+11−7

This diff is too big to show here.

pkgs/data/icons/hicolor-icon-theme/default.nix+4−4

This diff is too big to show here.

pkgs/data/icons/hicolor-icon-theme/setup-hook.sh+2−1

This diff is too big to show here.

pkgs/data/icons/maia-icon-theme/default.nix+10−12

This diff is too big to show here.

pkgs/data/icons/moka-icon-theme/default.nix+7−7

This diff is too big to show here.

pkgs/data/icons/numix-icon-theme-circle/default.nix+10−6

This diff is too big to show here.

pkgs/data/icons/numix-icon-theme-square/default.nix+11−7

This diff is too big to show here.

pkgs/data/icons/numix-icon-theme/default.nix+16−12

This diff is too big to show here.

pkgs/data/icons/paper-icon-theme/default.nix+12−10

This diff is too big to show here.

pkgs/data/icons/papirus-icon-theme/default.nix+14−9

This diff is too big to show here.

pkgs/data/misc/adapta-backgrounds/default.nix+4−4

This diff is too big to show here.

pkgs/data/misc/brise/default.nix+1−1

This diff is too big to show here.

pkgs/data/misc/cacert/default.nix+10−2

This diff is too big to show here.

pkgs/data/misc/cacert/setup-hook.shnew file+5

This diff is too big to show here.

pkgs/data/misc/dns-root-data/default.nix+8−2

This diff is too big to show here.

pkgs/data/misc/geolite-legacy/default.nix+8−8

This diff is too big to show here.

pkgs/data/misc/hackage/default.nix+2−2

This diff is too big to show here.

pkgs/data/misc/iana-etc/default.nix+2−2

This diff is too big to show here.

pkgs/data/misc/libkkc-data/default.nixnew file+22

This diff is too big to show here.

pkgs/data/misc/media-player-info/default.nix+4−4

This diff is too big to show here.

pkgs/data/misc/mime-types/default.nixnew file+21

This diff is too big to show here.

pkgs/data/misc/osinfo-db/default.nixnew file+26

This diff is too big to show here.

pkgs/data/misc/poppler-data/default.nix+4−8

This diff is too big to show here.

pkgs/data/misc/scowl/default.nixnew file+113

This diff is too big to show here.

pkgs/data/misc/sound-theme-freedesktop/default.nix−1

This diff is too big to show here.

pkgs/data/misc/tzdata/default.nix+20−2

This diff is too big to show here.

pkgs/data/misc/tzdata/tzdata-setup-hook.shnew file+5

This diff is too big to show here.

pkgs/data/misc/wireless-regdb/default.nix+3−3

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/docbook-5.0/default.nix+2−2

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix+2−2

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix+2−2

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/builder.shdeleted−6

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/default.nix+11−3

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/xml-dtd/docbook/builder.shdeleted−7

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/xml-dtd/docbook/generic.nix+14−5

This diff is too big to show here.

pkgs/data/sgml+xml/schemas/xml-dtd/xhtml1/default.nix+1−1

This diff is too big to show here.

pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix+22−4

This diff is too big to show here.

pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/docbook-xsl-ns-infinite.patchnew file+30

This diff is too big to show here.

pkgs/desktops/deepin/deepin-gtk-theme/default.nixnew file+25

This diff is too big to show here.

pkgs/desktops/deepin/deepin-icon-theme/default.nixnew file+39

This diff is too big to show here.

pkgs/desktops/deepin/deepin-terminal/default.nixnew file+46

This diff is too big to show here.

pkgs/desktops/deepin/default.nixnew file+16

This diff is too big to show here.

pkgs/desktops/enlightenment/econnman.nix+2−3

This diff is too big to show here.

pkgs/desktops/enlightenment/efl.nix+11−5

This diff is too big to show here.

pkgs/desktops/enlightenment/enlightenment.nix+3−3

This diff is too big to show here.

pkgs/desktops/enlightenment/enlightenment.suid-exes.patch+2−2

This diff is too big to show here.

pkgs/desktops/enlightenment/ephoto.nix+2−6

This diff is too big to show here.

pkgs/desktops/enlightenment/rage.nix+7−10

This diff is too big to show here.

pkgs/desktops/enlightenment/terminology.nix+1−8

This diff is too big to show here.

pkgs/desktops/gnome-2/bindings/libglademm/default.nix+3−1

This diff is too big to show here.

pkgs/desktops/gnome-2/default.nix+12−9

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/gnome-control-center/default.nix+9−9

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/gnome-desktop/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/gnome-keyring/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/gnome-panel/default.nix+7−7

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/gnome-session/default.nixdeleted−20

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/gnome-settings-daemon/default.nix+3−3

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix+4−2

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/libgnomekbd/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/mail-notification/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/metacity/default.nix+5−5

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/vte/default.nix+12−2

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/vte/vte-0.28.2-limit-arguments.patchdeleted−40

This diff is too big to show here.

pkgs/desktops/gnome-2/desktop/zenity/default.nix+3−3

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/GConf/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/ORBit2/default.nix+3−3

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/at-spi/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/gnome-common/default.nix+1−1

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/gtkglext/default.nix+16−5

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/gtkglextmm/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/gtkhtml/4.x.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/libbonobo/default.nix+1−1

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/libglade/default.nix−2

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/libgnome/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-2/platform/libgnomeui/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/accerciser/default.nix+22−6

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/accerciser/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/bijiben/default.nix+41−23

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/bijiben/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/cheese/default.nix+44−13

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/cheese/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/evolution/default.nix+36−32

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/evolution/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/file-roller/default.nix+27−8

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/file-roller/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gedit/default.nix+22−13

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gedit/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/ghex/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/ghex/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/glade/default.nix+20−26

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/glade/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix+35−19

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-boxes/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix+27−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-calendar/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-characters/default.nix+26−7

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-characters/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix+26−14

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-clocks/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-documents/default.nix+38−22

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-documents/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-logs/default.nix+17−7

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-logs/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-maps/default.nix+28−11

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-maps/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-music/default.nix+38−17

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-music/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-photos/default.nix+34−19

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-photos/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-power-manager/default.nixnew file+58

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-weather/default.nix+19−6

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/gnome-weather/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/nautilus-sendto/default.nix+13−4

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/polari/default.nix+30−11

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/polari/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/seahorse/default.nix+26−17

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/seahorse/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/vinagre/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/apps/vinagre/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/core/adwaita-icon-theme/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/baobab/default.nix+24−14

This diff is too big to show here.

pkgs/desktops/gnome-3/core/baobab/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/caribou/default.nix+22−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/dconf-editor/default.nix+26−8

This diff is too big to show here.

pkgs/desktops/gnome-3/core/dconf-editor/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/dconf/default.nix+22−13

This diff is too big to show here.

pkgs/desktops/gnome-3/core/empathy/default.nix+42−41

This diff is too big to show here.

pkgs/desktops/gnome-3/core/eog/default.nix+33−11

This diff is too big to show here.

pkgs/desktops/gnome-3/core/eog/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/epiphany/default.nix+37−24

This diff is too big to show here.

pkgs/desktops/gnome-3/core/epiphany/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/evince/default.nix+30−31

This diff is too big to show here.

pkgs/desktops/gnome-3/core/evince/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/evolution-data-server/default.nix+39−18

This diff is too big to show here.

pkgs/desktops/gnome-3/core/evolution-data-server/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/folks/default.nix+17−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gconf/default.nix+4−4

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gcr/default.nix+17−8

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gcr/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gdm/default.nix+27−7

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gdm/gdm-x-session_path.patchdeleted−19

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gdm/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/geocode-glib/default.nix+30−6

This diff is too big to show here.

pkgs/desktops/gnome-3/core/geocode-glib/installed-tests-path.patchnew file+8

This diff is too big to show here.

pkgs/desktops/gnome-3/core/geocode-glib/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gjs/default.nix+34−9

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gjs/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-backgrounds/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix+19−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-bluetooth/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-calculator/default.nix+32−12

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-calculator/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-color-manager/default.nixnew file+30

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-common/default.nix+12−2

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-common/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-contacts/default.nix+41−30

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-contacts/gio_unix.patchdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-contacts/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-control-center/default.nix+48−34

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-control-center/paths.patchnew file+82

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-control-center/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patchnew file+19

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-desktop/default.nix+33−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-desktop/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix+21−18

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-dictionary/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix+26−15

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-disk-utility/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix+17−17

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-font-viewer/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-keyring/default.nix+38−8

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-keyring/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix+37−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-online-accounts/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix+15−12

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-online-miners/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix+28−17

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-screenshot/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-session/default.nix+39−14

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-session/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix+46−13

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-settings-daemon/fix-paths.patchnew file+15

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-settings-daemon/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix+48−7

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-shell-extensions/fix_gmenu.patchnew file+24

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-shell-extensions/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-shell/default.nix+74−47

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-shell/fix-paths.patchnew file+11

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-shell/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-software/default.nix+47−18

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-software/fix-paths.patchnew file+11

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-software/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-system-log/default.nix+16−19

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix+24−16

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-system-monitor/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-terminal/default.nix+20−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-terminal/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nixnew file+28

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-themes-standard/default.nixdeleted−15

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-themes-standard/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-user-docs/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-user-share/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gnome-user-share/src.nixdeleted−12

This diff is too big to show here.

pkgs/desktops/gnome-3/core/grilo-plugins/default.nix+25−13

This diff is too big to show here.

pkgs/desktops/gnome-3/core/grilo/default.nix+15−6

This diff is too big to show here.

pkgs/desktops/gnome-3/core/grilo/setup-hook.sh+1−1

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gsettings-desktop-schemas/default.nix+21−7

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gsettings-desktop-schemas/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gsound/default.nix+15−7

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gtksourceview/default.nixdeleted−23

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gtksourceview/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gtksourceviewmm/default.nix+12−2

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gtksourceviewmm/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gucharmap/default.nix+19−13

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gucharmap/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/gucharmap/unicode-data.nix+1−1

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libcroco/default.nix+26−5

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgdata/default.nix+17−7

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgee/default.nix+14−6

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgepub/default.nix+19−9

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix+15−4

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgnomekbd/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgnomekbd/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgweather/default.nix+38−8

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgweather/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libgxps/default.nix+20−5

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libpeas/default.nix+16−2

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libpeas/src.nixdeleted−13

This diff is too big to show here.

pkgs/desktops/gnome-3/core/libzapojit/default.nix+20−6

This diff is too big to show here.

pkgs/desktops/gnome-3/core/mutter/default.nix+22−22

This diff is too big to show here.

pkgs/desktops/gnome-3/core/mutter/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/nautilus/default.nix+34−15

This diff is too big to show here.

pkgs/desktops/gnome-3/core/nautilus/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/rest/default.nix+16−6

This diff is too big to show here.

pkgs/desktops/gnome-3/core/simple-scan/default.nix+24−14

This diff is too big to show here.

pkgs/desktops/gnome-3/core/simple-scan/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/sushi/default.nix+14−4

This diff is too big to show here.

pkgs/desktops/gnome-3/core/sushi/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/totem-pl-parser/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/core/totem-pl-parser/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/totem/default.nix+44−18

This diff is too big to show here.

pkgs/desktops/gnome-3/core/totem/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/tracker-miners/default.nixnew file+61

This diff is too big to show here.

pkgs/desktops/gnome-3/core/tracker-miners/fix-paths.patchnew file+20

This diff is too big to show here.

pkgs/desktops/gnome-3/core/tracker/default.nix+30−33

This diff is too big to show here.

pkgs/desktops/gnome-3/core/tracker/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/vino/default.nix+24−20

This diff is too big to show here.

pkgs/desktops/gnome-3/core/vino/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/vte/default.nix+15−6

This diff is too big to show here.

pkgs/desktops/gnome-3/core/vte/ng.nix+3−3

This diff is too big to show here.

pkgs/desktops/gnome-3/core/vte/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/yelp-tools/default.nix+12−2

This diff is too big to show here.

pkgs/desktops/gnome-3/core/yelp-tools/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/yelp-xsl/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/core/yelp-xsl/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/yelp/default.nix+20−11

This diff is too big to show here.

pkgs/desktops/gnome-3/core/yelp/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/core/zenity/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/core/zenity/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/default.nix+89−52

This diff is too big to show here.

pkgs/desktops/gnome-3/desktop/rarian/default.nix+18−4

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/anjuta/default.nix+22−6

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/anjuta/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/devhelp/default.nix+21−7

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/devhelp/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/gdl/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/gdl/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/gnome-devel-docs/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/nemiver/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/devtools/nemiver/src.nixdeleted−11

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/appindicator/default.nixnew file+33

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/battery-status/default.nixnew file+27

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/chrome-gnome-shell/default.nix+36−24

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/clipboard-indicator/default.nixnew file+28

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nixnew file+26

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/icon-hider/default.nixnew file+28

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/impatience.nix+6−5

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/mediaplayer/default.nixnew file+36

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/no-title-bar/default.nixnew file+35

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/no-title-bar/fix-paths.patchnew file+56

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/nohotcorner/default.nixnew file+30

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nixnew file+32

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/system-monitor.nixdeleted−34

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/system-monitor/default.nixnew file+45

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/system-monitor/paths_and_nonexisting_dirs.patchnew file+23

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/taskwhisperer/default.nixnew file+43

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/taskwhisperer/fix-paths.patchnew file+81

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/timepp/default.nixnew file+26

This diff is too big to show here.

pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix+3−3

This diff is too big to show here.

pkgs/desktops/gnome-3/find-latest-version.pynew file+60

This diff is too big to show here.

pkgs/desktops/gnome-3/games/aisleriot/default.nix+14−4

This diff is too big to show here.

pkgs/desktops/gnome-3/games/aisleriot/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/five-or-more/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/games/five-or-more/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/four-in-a-row/default.nix+17−7

This diff is too big to show here.

pkgs/desktops/gnome-3/games/four-in-a-row/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-chess/default.nix+23−8

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-chess/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-klotski/default.nix+21−9

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-klotski/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-mahjongg/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-mines/default.nix+24−8

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-mines/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-nibbles/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-robots/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-robots/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-sudoku/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-taquin/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-taquin/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/games/gnome-tetravex/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/hitori/default.nix+8−3

This diff is too big to show here.

pkgs/desktops/gnome-3/games/hitori/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/iagno/default.nix+13−3

This diff is too big to show here.

pkgs/desktops/gnome-3/games/iagno/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/lightsoff/default.nix+18−6

This diff is too big to show here.

pkgs/desktops/gnome-3/games/lightsoff/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/quadrapassel/default.nix+15−5

This diff is too big to show here.

pkgs/desktops/gnome-3/games/quadrapassel/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/swell-foop/default.nix+25−8

This diff is too big to show here.

pkgs/desktops/gnome-3/games/swell-foop/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/games/tali/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/games/tali/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/california/0002-Build-with-evolution-data-server-3.13.90.patchdeleted−39

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/california/default.nix+23−21

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/geary/default.nix+27−18

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gexiv2/default.nix+17−9

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gfbgraph/default.nix+21−7

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gitg/default.nix+35−20

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gitg/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix+11−1

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-autoar/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix+19−7

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-packagekit/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0001-Search-for-themes-and-icons-in-system-data-dirs.patchdeleted−123

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0002-Don-t-show-multiple-entries-for-a-single-theme.patchdeleted−103

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-tweak-tool/0003-Create-config-dir-if-it-doesn-t-exist.patchdeleted−27

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-tweak-tool/default.nixdeleted−43

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-tweak-tool/find_gsettings.patchdeleted−22

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-tweak-tool/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nixnew file+54

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gnome-video-effects/default.nix+16−8

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gpaste/default.nix+4−4

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gspell/default.nix+28−6

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gspell/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gtkhtml/default.nix+12−2

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/gtkhtml/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/libgames-support/default.nixdeleted−20

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/libgda/default.nix+26−7

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/libgda/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/libgit2-glib/default.nix+34−5

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/libgit2-glib/src.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/libgnome-games-support/default.nixnew file+33

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/libmediaart/default.nix+15−6

This diff is too big to show here.

pkgs/desktops/gnome-3/misc/pomodoro/default.nix+9−12

This diff is too big to show here.

pkgs/desktops/gnome-3/update.nixnew file+11

This diff is too big to show here.

pkgs/desktops/gnustep/back/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnustep/base/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnustep/gorm/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnustep/gui/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnustep/make/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/gnustep/make/setup-hook.sh+1−1

This diff is too big to show here.

pkgs/desktops/kde-4.14/CVE-2014-8600.diffdeleted−19

This diff is too big to show here.

pkgs/desktops/kde-4.14/default.nixdeleted−36

This diff is too big to show here.

pkgs/desktops/kde-4.14/files/ksysguard-0001-disable-signalplottertest.patchdeleted−36

This diff is too big to show here.

pkgs/desktops/kde-4.14/kactivities.nixdeleted−21

This diff is too big to show here.

pkgs/desktops/kde-4.14/kde-baseapps/kde-baseapps.nixdeleted−15

This diff is too big to show here.

pkgs/desktops/kde-4.14/kde-package/4.14.3.nixdeleted−71

This diff is too big to show here.

pkgs/desktops/kde-4.14/kde-package/default.nixdeleted−138

This diff is too big to show here.

pkgs/desktops/kde-4.14/kde-package/kde-manifest.shdeleted−173

This diff is too big to show here.

pkgs/desktops/kde-4.14/kde-package/kde-submodules.xsltdeleted−22

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdeedu/marble.nixdeleted−12

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdegraphics/libkdcraw.nixdeleted−11

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdegraphics/libkexiv2.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdegraphics/okular.nixdeleted−17

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdegraphics/svgpart.nixdeleted−10

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdelibs/baloo.nixdeleted−18

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdelibs/kfilemetadata.nixdeleted−14

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdemultimedia/libkcddb.nixdeleted−8

This diff is too big to show here.

pkgs/desktops/kde-4.14/kdepimlibs.nixdeleted−35

This diff is too big to show here.

pkgs/desktops/kde-4.14/l10n/default.nixdeleted−52

This diff is too big to show here.

pkgs/desktops/kde-4.14/l10n/l10n-manifest.shdeleted−32

This diff is too big to show here.

pkgs/desktops/kde-4.14/l10n/manifest-4.14.3.nixdeleted−267

This diff is too big to show here.

pkgs/desktops/kde-4.14/support/akonadi/default.nixdeleted−24

This diff is too big to show here.

pkgs/desktops/lumina/default.nix+22−6

This diff is too big to show here.

pkgs/desktops/lxde/core/lxappearance/default.nix+1−1

This diff is too big to show here.

pkgs/desktops/lxde/core/lxmenu-data.nix+1−1

This diff is too big to show here.

pkgs/desktops/lxde/core/lxpanel/default.nix+1−1

This diff is too big to show here.

pkgs/desktops/lxde/core/lxtask/default.nixnew file+34

This diff is too big to show here.

pkgs/desktops/lxqt/base/libqtxdg/default.nix+5−1

This diff is too big to show here.

pkgs/desktops/lxqt/core/lxqt-panel/default.nix+2−1

This diff is too big to show here.

pkgs/desktops/lxqt/optional/obconf-qt/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/lxqt/optional/qlipper/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/mate/atril/default.nix+8−9

This diff is too big to show here.

pkgs/desktops/mate/caja-dropbox/default.nixnew file+33

This diff is too big to show here.

pkgs/desktops/mate/caja-extensions/default.nix+6−7

This diff is too big to show here.

pkgs/desktops/mate/caja/cajaWithExtensions.nixdeleted−11

This diff is too big to show here.

pkgs/desktops/mate/caja/default.nix+5−6

This diff is too big to show here.

pkgs/desktops/mate/default.nix+34−4

This diff is too big to show here.

pkgs/desktops/mate/engrampa/default.nix+5−7

This diff is too big to show here.

pkgs/desktops/mate/eom/default.nix+7−9

This diff is too big to show here.

pkgs/desktops/mate/libmatekbd/default.nix+4−6

This diff is too big to show here.

pkgs/desktops/mate/libmatemixer/default.nix+4−6

This diff is too big to show here.

pkgs/desktops/mate/libmateweather/default.nix+4−6

This diff is too big to show here.

pkgs/desktops/mate/marco/default.nix+5−7

This diff is too big to show here.

pkgs/desktops/mate/mate-applets/default.nixnew file+46

This diff is too big to show here.

pkgs/desktops/mate/mate-backgrounds/default.nixnew file+21

This diff is too big to show here.

pkgs/desktops/mate/mate-calc/default.nixnew file+31

This diff is too big to show here.

pkgs/desktops/mate/mate-common/default.nix+4−6

This diff is too big to show here.

pkgs/desktops/mate/mate-control-center/default.nix+10−12

This diff is too big to show here.

pkgs/desktops/mate/mate-desktop/default.nix+4−6

This diff is too big to show here.

pkgs/desktops/mate/mate-icon-theme-faenza/default.nix+5−7

This diff is too big to show here.

pkgs/desktops/mate/mate-icon-theme/default.nix+8−10

This diff is too big to show here.

pkgs/desktops/mate/mate-indicator-applet/default.nixnew file+43

This diff is too big to show here.

pkgs/desktops/mate/mate-media/default.nixnew file+34

This diff is too big to show here.

pkgs/desktops/mate/mate-menus/default.nix+4−6

This diff is too big to show here.

pkgs/desktops/mate/mate-netbook/default.nixnew file+40

This diff is too big to show here.

pkgs/desktops/mate/mate-notification-daemon/default.nix+7−9

This diff is too big to show here.

pkgs/desktops/mate/mate-panel/default.nix+6−8

This diff is too big to show here.

pkgs/desktops/mate/mate-polkit/default.nixnew file+32

This diff is too big to show here.

pkgs/desktops/mate/mate-power-manager/default.nix+7−10

This diff is too big to show here.

pkgs/desktops/mate/mate-screensaver/default.nixnew file+40

This diff is too big to show here.

pkgs/desktops/mate/mate-sensors-applet/default.nixnew file+39

This diff is too big to show here.

pkgs/desktops/mate/mate-session-manager/default.nix+13−12

This diff is too big to show here.

pkgs/desktops/mate/mate-settings-daemon/default.nix+6−8

This diff is too big to show here.

pkgs/desktops/mate/mate-system-monitor/default.nixnew file+37

This diff is too big to show here.

pkgs/desktops/mate/mate-terminal/default.nix+3−5

This diff is too big to show here.

pkgs/desktops/mate/mate-themes/default.nix+6−14

This diff is too big to show here.

pkgs/desktops/mate/mate-user-guide/default.nixnew file+23

This diff is too big to show here.

pkgs/desktops/mate/mate-user-share/default.nixnew file+52

This diff is too big to show here.

pkgs/desktops/mate/mate-utils/default.nixnew file+35

This diff is too big to show here.

pkgs/desktops/mate/mozo/default.nixnew file+27

This diff is too big to show here.

pkgs/desktops/mate/pluma/default.nix+3−5

This diff is too big to show here.

pkgs/desktops/mate/python-caja/default.nixnew file+34

This diff is too big to show here.

pkgs/desktops/mate/update.shnew file+54

This diff is too big to show here.

pkgs/desktops/maxx/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/pantheon/apps/pantheon-terminal/default.nix+10−16

This diff is too big to show here.

pkgs/desktops/plasma-5/bluedevil.nix+2−2

This diff is too big to show here.

pkgs/desktops/plasma-5/breeze-plymouth/default.nix+32−3

This diff is too big to show here.

pkgs/desktops/plasma-5/breeze-qt4.nixdeleted−17

This diff is too big to show here.

pkgs/desktops/plasma-5/default.nix+6−9

This diff is too big to show here.

pkgs/desktops/plasma-5/fetch.sh+1−1

This diff is too big to show here.

pkgs/desktops/plasma-5/kde-gtk-config/default.nix+3−2

This diff is too big to show here.

pkgs/desktops/plasma-5/kgamma5.nix+2−2

This diff is too big to show here.

pkgs/desktops/plasma-5/kinfocenter.nix+2−2

This diff is too big to show here.

pkgs/desktops/plasma-5/kwin/default.nix+13−6

This diff is too big to show here.

pkgs/desktops/plasma-5/kwin/no-setcap-install.patchnew file+24

This diff is too big to show here.

pkgs/desktops/plasma-5/kwin/series+1

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-desktop/default.nix+4−3

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-integration.nixdeleted−17

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-integration/D9070.patchnew file+24

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-integration/default.nixnew file+24

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-nm/0001-mobile-broadband-provider-info-path.patch+1−1

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-nm/default.nix+3−3

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-pa.nix+2−2

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-vault/default.nix+5−5

This diff is too big to show here.

pkgs/desktops/plasma-5/plasma-workspace/plasma-workspace.patch+158−167

This diff is too big to show here.

pkgs/desktops/plasma-5/sddm-kcm.nix+2−2

This diff is too big to show here.

pkgs/desktops/plasma-5/srcs.nix+176−176

This diff is too big to show here.

pkgs/desktops/plasma-5/systemsettings.nix+2−2

This diff is too big to show here.

pkgs/desktops/plasma-5/user-manager.nixnew file+13

This diff is too big to show here.

pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nixnew file+13

This diff is too big to show here.

pkgs/desktops/rox/rox-filer/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/applications/mousepad-12134.patchnew file+90

This diff is too big to show here.

pkgs/desktops/xfce/applications/mousepad.nix+4−2

This diff is too big to show here.

pkgs/desktops/xfce/applications/orage.nix+3−3

This diff is too big to show here.

pkgs/desktops/xfce/applications/parole.nix+4−4

This diff is too big to show here.

pkgs/desktops/xfce/applications/ristretto.nix+5−5

This diff is too big to show here.

pkgs/desktops/xfce/applications/terminal.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/applications/xfce4-mixer.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/applications/xfce4-screenshooter.nix+3−3

This diff is too big to show here.

pkgs/desktops/xfce/core/exo.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/core/garcon-10967.patchnew file+14

This diff is too big to show here.

pkgs/desktops/xfce/core/garcon-12700.patchnew file+44

This diff is too big to show here.

pkgs/desktops/xfce/core/garcon.nix+1−1

This diff is too big to show here.

pkgs/desktops/xfce/core/libxfce4ui.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/core/libxfcegui4.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/core/thunar-build.nix+5−5

This diff is too big to show here.

pkgs/desktops/xfce/core/thunar.nix+3−3

This diff is too big to show here.

pkgs/desktops/xfce/core/tumbler.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/core/xfce4-light-locker.patch+13−4

This diff is too big to show here.

pkgs/desktops/xfce/core/xfce4-panel.nix+14−8

This diff is too big to show here.

pkgs/desktops/xfce/core/xfce4-power-manager.nix+5−5

This diff is too big to show here.

pkgs/desktops/xfce/core/xfce4-session.nix+5−5

This diff is too big to show here.

pkgs/desktops/xfce/core/xfce4-settings.nix+27−10

This diff is too big to show here.

pkgs/desktops/xfce/core/xfconf.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/core/xfdesktop.nix+12−8

This diff is too big to show here.

pkgs/desktops/xfce/core/xfwm4.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/default.nix+195−96

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-dict-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin.nix+1−1

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix+3−3

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix+3−3

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix+5−4

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix+4−4

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin.nix+3−3

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce/thunar-plugins/archive/default.nix+2−2

This diff is too big to show here.

pkgs/desktops/xfce4-13/automakeAddFlags.shnew file+7

This diff is too big to show here.

pkgs/desktops/xfce4-13/default.nixnew file+80

This diff is too big to show here.

pkgs/desktops/xfce4-13/exo/default.nixnew file+23

This diff is too big to show here.

pkgs/desktops/xfce4-13/exo/gtk3-only.patchnew file+28

This diff is too big to show here.

pkgs/desktops/xfce4-13/garcon/12700.patchnew file+37

This diff is too big to show here.

pkgs/desktops/xfce4-13/garcon/13785.patchnew file+75

This diff is too big to show here.

pkgs/desktops/xfce4-13/garcon/default.nixnew file+12

This diff is too big to show here.

pkgs/desktops/xfce4-13/gigolo/default.nixnew file+11

This diff is too big to show here.

pkgs/desktops/xfce4-13/libxfce4ui/default.nixnew file+18

This diff is too big to show here.

pkgs/desktops/xfce4-13/libxfce4util/default.nixnew file+16

This diff is too big to show here.

pkgs/desktops/xfce4-13/mkXfceDerivation.nixnew file+40

This diff is too big to show here.

pkgs/desktops/xfce4-13/mousepad/default.nixnew file+12

This diff is too big to show here.

pkgs/desktops/xfce4-13/orage/default.nixnew file+18

This diff is too big to show here.

pkgs/desktops/xfce4-13/parole/default.nixnew file+36

This diff is too big to show here.

pkgs/desktops/xfce4-13/ristretto/default.nixnew file+18

This diff is too big to show here.

pkgs/desktops/xfce4-13/thunar-volman/default.nixnew file+11

This diff is too big to show here.

pkgs/desktops/xfce4-13/thunar/default.nixnew file+30

This diff is too big to show here.

pkgs/desktops/xfce4-13/tumbler/default.nixnew file+14

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfburn/default.nixnew file+18

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-appfinder/default.nixnew file+12

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-dev-tools/default.nixnew file+31

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-dev-tools/setup-hook.shnew file+12

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-dict/configure-gio.patchnew file+11

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-dict/default.nixnew file+19

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-mixer/default.nixnew file+30

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-notifyd/default.nixnew file+13

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-panel/default.nixnew file+15

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-power-manager/default.nixnew file+19

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-screenshooter/default.nixnew file+11

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-settings/default.nixnew file+39

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-taskmanager/default.nixnew file+18

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-terminal/default.nixnew file+15

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfce4-volumed-pulse/default.nixnew file+15

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfconf/default.nixnew file+11

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfdesktop/default.nixnew file+22

This diff is too big to show here.

pkgs/desktops/xfce4-13/xfwm4/default.nixnew file+27

This diff is too big to show here.

pkgs/development/arduino/arduino-core/default.nix+8−8

This diff is too big to show here.

pkgs/development/arduino/arduino-core/downloads.nix+23−16

This diff is too big to show here.

pkgs/development/arduino/platformio/chrootenv.nix+36−20

This diff is too big to show here.

pkgs/development/arduino/platformio/core.nixnew file+30

This diff is too big to show here.

pkgs/development/python-modules/platformio/fix-searchpath.patch → pkgs/development/arduino/platformio/fix-searchpath.patchrenamed

The content is the same.

pkgs/development/beam-modules/default.nix+6−1

This diff is too big to show here.

pkgs/development/beam-modules/lib.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/adobe-flex-sdk/default.nix+1−1

This diff is too big to show here.

pkgs/development/compilers/arachne-pnr/default.nix+12−4

This diff is too big to show here.

pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/default.nixdeleted−98

This diff is too big to show here.

pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/minorSOname.patchdeleted−49

This diff is too big to show here.

pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/no-nested-deprecated-warnings.patchdeleted−22

This diff is too big to show here.

pkgs/development/compilers/ats2/default.nix+3−5

This diff is too big to show here.

pkgs/development/compilers/ats2/install-postiats-contrib.patchdeleted−19

This diff is too big to show here.

pkgs/development/compilers/avian/default.nix+11−5

This diff is too big to show here.

pkgs/development/compilers/binaryen/default.nix+21−4

This diff is too big to show here.

pkgs/development/compilers/boo/default.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/ccl/default.nix+26−22

This diff is too big to show here.

pkgs/development/compilers/chez/default.nix+46−11

This diff is too big to show here.

pkgs/development/compilers/chicken/default.nix+3−3

This diff is too big to show here.

pkgs/development/compilers/chicken/eggDerivation.nix+1−1

This diff is too big to show here.

pkgs/development/compilers/chicken/setup-hook.sh+1−1

This diff is too big to show here.

pkgs/development/compilers/closure/default.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/cmdstan/default.nix+4−4

This diff is too big to show here.

pkgs/development/compilers/colm/default.nix+1−1

This diff is too big to show here.

pkgs/development/compilers/compcert/default.nix+6−3

This diff is too big to show here.

pkgs/development/compilers/coreclr/default.nix+14−5

This diff is too big to show here.

pkgs/development/compilers/crystal/default.nix+19−23

This diff is too big to show here.

pkgs/development/compilers/cudatoolkit/default.nix+57−25

This diff is too big to show here.

pkgs/development/compilers/dmd/2.067.1.nixdeleted−167

This diff is too big to show here.

pkgs/development/compilers/dmd/default.nix+272−154

This diff is too big to show here.

pkgs/development/compilers/dtc/default.nix+23−6

This diff is too big to show here.

pkgs/development/compilers/edk2/default.nix+32−12

This diff is too big to show here.

pkgs/development/compilers/eli/default.nixnew file+91

This diff is too big to show here.

pkgs/development/compilers/elm/default.nix+15−10

This diff is too big to show here.

pkgs/development/compilers/elm/packages/elm-interface-to-json.nixnew file+24

This diff is too big to show here.

pkgs/development/compilers/elm/packages/elm-package.nix+5−1

This diff is too big to show here.

pkgs/development/compilers/emscripten-fastcomp/default.nixdeleted−26

This diff is too big to show here.

pkgs/development/compilers/emscripten-fastcomp/emscripten-fastcomp.nixdeleted−54

This diff is too big to show here.

pkgs/development/compilers/emscripten/default.nix+22−5

This diff is too big to show here.

pkgs/development/compilers/emscripten/fastcomp/default.nixnew file+28

This diff is too big to show here.

pkgs/development/compilers/emscripten/fastcomp/emscripten-fastcomp.nixnew file+55

This diff is too big to show here.

pkgs/development/compilers/factor-lang/default.nix+4−4

This diff is too big to show here.

pkgs/development/compilers/fpc/lazarus.nix+3−3

This diff is too big to show here.

pkgs/development/compilers/fsharp/default.nix+1−1

This diff is too big to show here.

pkgs/development/compilers/gambit/bootstrap.nix+4−4

This diff is too big to show here.

pkgs/development/compilers/gambit/build.nixnew file+70

This diff is too big to show here.

pkgs/development/compilers/gambit/default.nix+8−69

This diff is too big to show here.

pkgs/development/compilers/gambit/unstable.nixnew file+11

This diff is too big to show here.

pkgs/development/compilers/gcc/4.5/default.nixdeleted−471

This diff is too big to show here.

pkgs/development/compilers/gcc/4.5/ghdl-ortho-cflags.patchdeleted−111

This diff is too big to show here.

pkgs/development/compilers/gcc/4.5/no-sys-dirs.patchdeleted−54

This diff is too big to show here.

pkgs/development/compilers/gcc/4.5/sources.nixdeleted−26

This diff is too big to show here.

pkgs/development/compilers/gcc/4.8/default.nix+187−259

This diff is too big to show here.

pkgs/development/compilers/gcc/4.9/default.nix+196−258

This diff is too big to show here.

pkgs/development/compilers/gcc/5/default.nix+211−270

This diff is too big to show here.

pkgs/development/compilers/gcc/6/default.nix+210−267

This diff is too big to show here.

pkgs/development/compilers/gcc/6/fix-objdump-check.patchnew file+43

This diff is too big to show here.

pkgs/development/compilers/gcc/7/default.nix+231−276

This diff is too big to show here.

pkgs/development/compilers/gcc/7/riscv-no-relax.patchnew file+109

This diff is too big to show here.

pkgs/development/compilers/gcc/7/riscv-pthread-reentrant.patchnew file+13

This diff is too big to show here.

pkgs/development/compilers/gcc/builder.sh+109−108

This diff is too big to show here.

pkgs/development/compilers/gcc/gnat-cflags.patchdeleted−33

This diff is too big to show here.

pkgs/development/compilers/gcc/libstdc++-hook.sh+1−1

This diff is too big to show here.

pkgs/development/compilers/gcc/snapshot/default.nix+194−262

This diff is too big to show here.

pkgs/development/compilers/gerbil/build.nixnew file+88

This diff is too big to show here.

pkgs/development/compilers/gerbil/default.nix+9−70

This diff is too big to show here.

pkgs/development/compilers/gerbil/unstable.nixnew file+12

This diff is too big to show here.

pkgs/development/compilers/ghc/6.10.2-binary.nixdeleted−86

This diff is too big to show here.

pkgs/development/compilers/ghc/6.10.4.nixdeleted−32

This diff is too big to show here.

pkgs/development/compilers/ghc/6.12.3.nixdeleted−44

This diff is too big to show here.

pkgs/development/compilers/ghc/7.0.4-binary.nixdeleted−119

This diff is too big to show here.

pkgs/development/compilers/ghc/7.0.4.nixdeleted−57

This diff is too big to show here.

pkgs/development/compilers/ghc/7.10.2.nixdeleted−88

This diff is too big to show here.

pkgs/development/compilers/ghc/7.10.3-binary.nixnew file+159

This diff is too big to show here.

pkgs/development/compilers/ghc/7.10.3.nix+121−22

This diff is too big to show here.

pkgs/development/compilers/ghc/7.2.2.nixdeleted−67

This diff is too big to show here.

pkgs/development/compilers/ghc/7.4.2-binary.nixdeleted−133

This diff is too big to show here.

pkgs/development/compilers/ghc/7.4.2.nixdeleted−66

This diff is too big to show here.

pkgs/development/compilers/ghc/7.6.3.nixdeleted−92

This diff is too big to show here.

pkgs/development/compilers/ghc/7.8.3.nixdeleted−59

This diff is too big to show here.

pkgs/development/compilers/ghc/7.8.4.nixdeleted−62

This diff is too big to show here.

pkgs/development/compilers/ghc/8.0.2.nix+128−26

This diff is too big to show here.

pkgs/development/compilers/ghc/8.2.1-binary.nixnew file+163

This diff is too big to show here.

pkgs/development/compilers/ghc/8.2.1.nixdeleted−119

This diff is too big to show here.

pkgs/development/compilers/ghc/8.2.2.nix+156−69

This diff is too big to show here.

pkgs/development/compilers/ghc/8.4.1.nixnew file+206

This diff is too big to show here.

pkgs/development/compilers/ghc/8.4.2.nixnew file+188

This diff is too big to show here.

pkgs/development/compilers/ghc/abi-depends-determinism.nixnew file+12

This diff is too big to show here.

pkgs/development/compilers/ghc/fix-7.0.4-clang.patchdeleted−74

This diff is too big to show here.

pkgs/development/compilers/ghc/fix-7.2.2-clang.patchdeleted−74

This diff is too big to show here.

pkgs/development/compilers/ghc/fix-7.4.2-clang.patchdeleted−57

This diff is too big to show here.

pkgs/development/compilers/ghc/fix-7.6.3-clang.patchdeleted−71

This diff is too big to show here.

pkgs/development/compilers/ghc/head.nix+141−74

This diff is too big to show here.

pkgs/development/compilers/ghc/hpc-7.8.4.patchdeleted−13

This diff is too big to show here.

pkgs/development/compilers/ghcjs/base.nix+6−1

This diff is too big to show here.

pkgs/development/compilers/ghcjs/default.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/ghcjs/head.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/ghdl/default.nixdeleted−44

This diff is too big to show here.

pkgs/development/compilers/glslang/default.nix+19−5

This diff is too big to show here.

pkgs/development/compilers/gnatboot/default.nixdeleted−48

This diff is too big to show here.

pkgs/development/compilers/gnu-cobol/default.nix+17−12

This diff is too big to show here.

pkgs/development/compilers/go/1.10.nixnew file+184

This diff is too big to show here.

pkgs/development/compilers/go/1.4.nix+3

This diff is too big to show here.

pkgs/development/compilers/go/1.6.nixdeleted−168

This diff is too big to show here.

pkgs/development/compilers/go/1.7.nixdeleted−170

This diff is too big to show here.

pkgs/development/compilers/go/1.8.nixdeleted−178

This diff is too big to show here.

pkgs/development/compilers/go/1.9.nix+14−15

This diff is too big to show here.

pkgs/development/compilers/go/creds-test-1.9.patchnew file+14

This diff is too big to show here.

pkgs/development/compilers/go/creds-test.patch+11−12

This diff is too big to show here.

pkgs/development/compilers/go/fix-systime-1.6.patch−45

This diff is too big to show here.

pkgs/development/compilers/go/go-1.9-skip-flaky-19608.patch+12

This diff is too big to show here.

pkgs/development/compilers/go/go-1.9-skip-flaky-20072.patch+20

This diff is too big to show here.

pkgs/development/compilers/go/new-binutils.patch−194

This diff is too big to show here.

pkgs/development/compilers/go/remove-test-pie-1.8.patch−23

This diff is too big to show here.

pkgs/development/compilers/go/remove-test-pie.patch+24

This diff is too big to show here.

pkgs/development/compilers/go/remove-tools-1.5.patch−48

This diff is too big to show here.

pkgs/development/compilers/go/remove-tools-1.7.patch−35

This diff is too big to show here.

pkgs/development/compilers/go/remove-tools-1.8.patch−35

This diff is too big to show here.

pkgs/development/compilers/go/setup-hook.sh+1−1

This diff is too big to show here.

pkgs/development/compilers/go/ssl-cert-file.patch−80

This diff is too big to show here.

pkgs/development/compilers/go/strip.patch−12

This diff is too big to show here.

pkgs/development/compilers/graalvm/default.nix+208

This diff is too big to show here.

pkgs/development/compilers/halvm/2.4.0.nix−54

This diff is too big to show here.

pkgs/development/compilers/haxe/default.nix+21−3

This diff is too big to show here.

pkgs/development/compilers/haxe/setup-hook.sh+1−1

This diff is too big to show here.

pkgs/development/compilers/hhvm/default.nix+8−11

This diff is too big to show here.

pkgs/development/compilers/iasl/default.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/icedtea-web/default.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/ispc/default.nix+3−3

This diff is too big to show here.

pkgs/development/compilers/jetbrains-jdk/default.nix+6−6

This diff is too big to show here.

pkgs/development/compilers/jhc/default.nix−32

This diff is too big to show here.

pkgs/development/compilers/jsonnet/default.nix+3−2

This diff is too big to show here.

pkgs/development/compilers/julia/0.5.nix+1−2

This diff is too big to show here.

pkgs/development/compilers/julia/0.6.nix+13−10

This diff is too big to show here.

pkgs/development/compilers/julia/default.nix+3−2

This diff is too big to show here.

pkgs/development/compilers/julia/git.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/jwasm/default.nix+27

This diff is too big to show here.

pkgs/development/compilers/kotlin/default.nix+3−4

This diff is too big to show here.

pkgs/development/compilers/ldc/default.nix+241−88

This diff is too big to show here.

pkgs/development/compilers/llvm/3.4/clang.nix+1

This diff is too big to show here.

pkgs/development/compilers/llvm/3.4/llvm.nix+3−3

This diff is too big to show here.

pkgs/development/compilers/llvm/3.5/llvm.nix+3−3

This diff is too big to show here.

pkgs/development/compilers/llvm/3.7/default.nix+2−6

This diff is too big to show here.

pkgs/development/compilers/llvm/3.7/llvm.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/llvm/3.8/clang/default.nix+6−2

This diff is too big to show here.

pkgs/development/compilers/llvm/3.8/default.nix+4−6

This diff is too big to show here.

pkgs/development/compilers/llvm/3.8/llvm.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/llvm/3.9/clang/default.nix+6−2

This diff is too big to show here.

pkgs/development/compilers/llvm/3.9/default.nix+4−6

This diff is too big to show here.

pkgs/development/compilers/llvm/3.9/llvm.nix+2−2

This diff is too big to show here.

pkgs/development/compilers/llvm/4/clang/default.nix+28−17

This diff is too big to show here.

pkgs/development/compilers/llvm/4/cmdline-help.patch+39

This diff is too big to show here.

pkgs/development/compilers/llvm/4/default.nix+4−7

This diff is too big to show here.

pkgs/development/compilers/llvm/4/dynamiclibrary-musl.patch+33

This diff is too big to show here.

pkgs/development/compilers/llvm/4/libc++/default.nix+8−4

This diff is too big to show here.

pkgs/development/compilers/llvm/4/libc++/max_align_t.patch+54

This diff is too big to show here.

pkgs/development/compilers/llvm/4/libc++abi.nix+3

This diff is too big to show here.

pkgs/development/compilers/llvm/4/lldb.nix+10

This diff is too big to show here.

pkgs/development/compilers/llvm/4/llvm.nix+40−14

This diff is too big to show here.

pkgs/development/compilers/llvm/4/sanitizers-nongnu.patch+368

This diff is too big to show here.

pkgs/development/compilers/llvm/5/clang/default.nix+29−18

This diff is too big to show here.

pkgs/development/compilers/llvm/5/default.nix+7−10

This diff is too big to show here.

pkgs/development/compilers/llvm/5/libc++/default.nix+12−5

This diff is too big to show here.

pkgs/development/compilers/llvm/5/libc++abi.nix+3−1

This diff is too big to show here.

pkgs/development/compilers/llvm/5/lld.nix+1−1

This diff is too big to show here.

pkgs/development/compilers/llvm/5/lldb.nix+6−1

This diff is too big to show here.

pkgs/development/compilers/llvm/5/llvm.nix+42−13

This diff is too big to show here.

pkgs/development/compilers/llvm/5/openmp.nix+1−1

This diff is too big to show here.

pkgs/development/compilers/llvm/5/sanitizers-nongnu.patch+370

This diff is too big to show here.

pkgs/development/compilers/llvm/6/clang/default.nix+108

This diff is too big to show here.

pkgs/development/compilers/llvm/6/clang/purity.patch+30

This diff is too big to show here.

pkgs/development/compilers/llvm/6/compiler-rt-codesign.patch+155

This diff is too big to show here.

pkgs/development/compilers/llvm/6/default.nix+78

This diff is too big to show here.

pkgs/development/compilers/llvm/6/libc++/default.nix+51

This diff is too big to show here.

pkgs/development/compilers/llvm/6/libc++/setup-hook.sh+3

This diff is too big to show here.

pkgs/development/compilers/llvm/6/libc++abi.nix+49

This diff is too big to show here.

pkgs/development/compilers/llvm/6/lld.nix+33

This diff is too big to show here.

pkgs/development/compilers/llvm/6/lldb.nix+56

This diff is too big to show here.

pkgs/development/compilers/llvm/6/llvm-outputs.patch+26

This diff is too big to show here.

pkgs/development/compilers/llvm/6/llvm.nix+185

This diff is too big to show here.