Commit graph

213049 commits

Author SHA1 Message Date
Gabriel Gonzalez
38f1d70c01 Add Nixpkgs support for Dhall
One of the motivations for this change is the following Discourse
discussion:

https://discourse.dhall-lang.org/t/offline-use-of-prelude/137

Many users have requested Dhall support for "offline" packages
that can be fetched/built/installed using ordinary package
management tools (like Nix) instead of using Dhall's HTTP import system.
I will continue to use the term "offline" to mean Dhall package
builds that do not use Dhall's language support for HTTP imports (and
instead use the package manager's support for HTTP requests, such
as `pkgs.fetchFromGitHub`)

The goal of this change is to document what is the idiomatic way to
implement "offline" Dhall builds by implementing Nixpkgs support
for such builds.  That way when other package management tools ask
me how to package Dhall with their tools I can refer them to how it
is done in Nixpkgs.

This change contains a fully "offline" build for the largest Dhall
package in existence, known as "dhall-packages" (not to be confused
with `dhallPackages`, which is our Nix attribute set containing
Dhall packages).

The trick to implementing offline builds in Dhall is to take
advantage of Dhall's support for semantic integrity checks.  If an
HTTP import is protected by an integrity check and a cached build
product matches the integrity check then the HTTP import is never
resolved and the expression is instead fetched from cache.

By "installing" dependencies in a pre-seeded and isolated cache
we can replace remote HTTP imports with dependencies that have
been built and supplied by Nix instead.

The offline nature of the builds are enforced by compiling the
Haskell interpreter with the `-f-with-http` flag, which disables
the interpreter's support for HTTP imports.  If a user forgets
to supply a necessary dependency as a Nix build product then the
build fails informing them that HTTP imports are disabled.

By default, built packages are "binary distributions", containing
just a cache product and a Dhall expression which can be used to
resolve the corresponding cache product.

Users can also optionally enable a "source distribution" of a package
which already includes the equivalent fully-evaluated Dhall code (for
convenience), but this is disabled by default to keep `/nix/store`
utilization as compact as possible.
2020-02-11 22:02:53 -08:00
Mario Rodas
50273a1e83
Merge pull request #79865 from r-ryantm/auto-update/spdx-license-list-data
spdx-license-list-data: 3.7 -> 3.8
2020-02-11 20:21:29 -05:00
Michele Guerini Rocco
48704fbd4f
Merge pull request #71302 from tokudan/encrypted-swap-entropy-fix
rngd: Start early during boot and encrypted swap entropy fix
2020-02-12 01:28:03 +01:00
Wael Nasreddine
2f61814665
cypress: 3.6.1 -> 3.8.3 (#79871)
* cypress: 3.6.1 -> 3.8.3

* cypress: binary_state.json is now expected at the root of $out
2020-02-11 15:32:43 -08:00
Mario Rodas
59e0025ec8
spdx-license-list-data: add platforms 2020-02-11 18:18:18 -05:00
R. RyanTM
e8fe8182e9 credstash: 1.16.1 -> 1.16.2 2020-02-11 14:35:00 -08:00
Robert Scott
f77e057cda pythonPackages.pysaml2: fix tests with fixed & now-expired timestamps
these only expired (and upstream only seem to have noticed) today
2020-02-11 14:08:30 -08:00
R. RyanTM
44fb48ecd5 spdx-license-list-data: 3.7 -> 3.8 2020-02-11 21:12:47 +00:00
Christian Kampka
9eaf6f5f5c
kops_1_15: 1.15.1 -> 1.15.2 (#79809) 2020-02-11 21:35:35 +01:00
Guillaume Maudoux
529948c302
gist: 5.0.0 -> 5.1.0 (#79838) 2020-02-11 21:35:01 +01:00
Daniel Schaefer
8cc8b3b235
Merge pull request #73777 from doronbehar/package-brotab
brotab: init at 0.0.5
2020-02-11 20:49:06 +01:00
Tim Steinbach
b6d2d42165
oh-my-zsh: 2020-02-07 -> 2020-02-11 2020-02-11 14:48:14 -05:00
Tim Steinbach
da8c2896e8
linux: 5.5.2 -> 5.5.3 2020-02-11 14:42:38 -05:00
Tim Steinbach
05b407ac81
linux: 5.4.18 -> 5.4.19 2020-02-11 14:42:30 -05:00
Tim Steinbach
ae4b390551
linux: 4.19.102 -> 4.19.103 2020-02-11 14:42:18 -05:00
Daniel Schaefer
9b2d529062
Merge pull request #79671 from rnhmjoj/spleen
spleen: install otf font
2020-02-11 20:37:32 +01:00
Daniel Schaefer
f528d880e1
Merge pull request #79005 from SeTSeR/master
tdlib: 1.5.0 -> 1.6.0
2020-02-11 20:31:40 +01:00
Michael Weiss
a0ef7ad1d6
androidStudioPackages.beta: 3.6.0.19 -> 3.6.0.20 2020-02-11 19:59:59 +01:00
Jörg Thalheim
f3d5966f43
Merge pull request #78819 from Izorkin/zsh-fix
zsh: fix bracketed-paste-magic
2020-02-11 18:49:14 +00:00
Maximilian Bosch
053006ecac
Merge pull request #79606 from k0ral/nixos-unstable
clipman: 1.2.0 -> unstable-2019-12-10
2020-02-11 19:43:38 +01:00
Jan Tojnar
dc78775c46
Merge pull request #79837 from multun/gegl-umfpack
gegl: enable umfpack support
2020-02-11 19:35:13 +01:00
Robert Djubek
68cff3a69c matomo: 3.13.1 -> 3.13.2
Updated both matomo and matomo-beta to the latest version
2020-02-11 19:16:13 +01:00
Benjamin Saunders
ad1934b465 vulkan-tools: 1.1.114.0 -> 1.2.131.1 2020-02-11 19:11:32 +01:00
Benjamin Saunders
3b9d71af2c shaderc: 2019.0 -> 2019.1 2020-02-11 19:11:32 +01:00
Benjamin Saunders
d73c83fca5 vulkan-validation-layers: 1.1.114.0 -> 1.2.131.2 2020-02-11 19:11:32 +01:00
Benjamin Saunders
533e7c2296 glslang: 7.11.3214 -> 8.13.3559 2020-02-11 19:11:32 +01:00
Benjamin Saunders
eb250b9a00 vulkan-loader: 1.1.144.0 -> 1.2.131.2 2020-02-11 19:11:32 +01:00
Benjamin Saunders
8985abb3c6 vulkan-headers: 1.1.144.0 -> 1.2.131.1 2020-02-11 19:11:32 +01:00
Jan Tojnar
d40256f0e5
Merge pull request #79845 from hedning/gsconnect-fix-build
gnomeExtensions.gsconnect: fix build
2020-02-11 18:48:21 +01:00
Jörg Thalheim
019ad4ab4e
Merge pull request #79848 from schmittlauch/tipp10
tipp10: init at 3.1.0
2020-02-11 17:41:14 +00:00
Michael Weiss
8ffa642baa
gitRepo: 2.0 -> 2.1.1 2020-02-11 18:32:29 +01:00
R. RyanTM
d217d4c63c psc-package: 0.6.0 -> 0.6.2 2020-02-11 18:05:29 +01:00
Milan Pässler
7fbc860d72 tipp10: init at 3.1.0 2020-02-11 17:36:22 +01:00
Tor Hedin Brønner
71a54f1130 gnomeExtensions.gsconnect: fix build
dbus is now propagated from at-spi2-core, which made gsconnect try to
install dbus service files in the wrong location.

closes https://github.com/NixOS/nixpkgs/issues/79806
2020-02-11 17:16:00 +01:00
Eelco Dolstra
dd7f6b0c6b nixUnstable, nixFlakes: Update to latest
Note that we need to build from a tarball now to get the vendored
crates. A bit ugly to fetch tarballs from Hydra...
2020-02-11 16:36:37 +01:00
lewo
2a773b1506
Merge pull request #79325 from eonpatapon/safe
safe: init at 1.5.1
2020-02-11 16:27:00 +01:00
Maximilian Bosch
3d1007716c
pinentry_qt5: alias to pinentry-qt
Attribute was removed in a4916fdea5 which
will land in 20.03, but breaks evaluation for everyone using
pinentry_qt5 on NixOS 19.09 when updating.
2020-02-11 16:10:01 +01:00
Jean-Philippe Braun
dd759b3b67 safe: init at 1.5.1 2020-02-11 16:09:54 +01:00
Victor multun Collod
7f311beb43 gegl: enable umfpack support
Fixes #79836
2020-02-11 16:02:22 +01:00
Ryan Mulligan
536720e5c8
Merge pull request #79813 from r-ryantm/auto-update/krohnkite
krohnkite: 0.6 -> 0.6.1
2020-02-11 06:52:47 -08:00
Ryan Mulligan
3e47162b13
Merge pull request #79808 from r-ryantm/auto-update/grabserial
grabserial: 1.9.9 -> 2.0.2
2020-02-11 06:51:46 -08:00
worldofpeace
c6fa3c201c
Merge pull request #75166 from nyanloutre/radarr_2_0_1450
radarr: 0.2.0.1358 -> 0.2.0.1450
2020-02-11 08:22:46 -05:00
Mario Rodas
e7830e552b
Merge pull request #79811 from r-ryantm/auto-update/hugo
hugo: 0.64.0 -> 0.64.1
2020-02-11 08:19:58 -05:00
Mario Rodas
6a9ba2f5f4
Merge pull request #79804 from r-ryantm/auto-update/fluent-bit
fluent-bit: 1.3.6 -> 1.3.7
2020-02-11 05:42:07 -05:00
Andreas Rammhold
a352631a71
Merge pull request #79299 from andir/buildRustCrate-remap-source-path
buildRustCrate: remap the current build dir to / for (more) reproducible builds
2020-02-11 11:38:50 +01:00
R. RyanTM
a27ceaa565 krohnkite: 0.6 -> 0.6.1 2020-02-11 10:04:03 +00:00
R. RyanTM
5dc70e89c4 hugo: 0.64.0 -> 0.64.1 2020-02-11 09:10:51 +00:00
Dmitry Kalinkin
5f2a3bef33
Merge pull request #79778 from jbedo/delly
delly: 0.8.1 -> 0.8.2
2020-02-11 03:54:02 -05:00
ahiaao
f216b03d5b tigervnc: fix compatibility with xorgserver 1.20.7 2020-02-11 09:46:24 +01:00
R. RyanTM
7e8a31126d grabserial: 1.9.9 -> 2.0.2 2020-02-11 08:38:05 +00:00