Commit Graph
216168 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
R. RyanTM 9d1c581a39 debootstrap: 1.0.116 -> 1.0.117 2020-02-12 06:00:43 +00:00
R. RyanTM 567a5904f9 byobu: 5.130 -> 5.131 2020-02-12 05:54:21 +00:00
R. RyanTM a2589275f2 dar: 2.6.7 -> 2.6.8 2020-02-12 05:19:46 +00:00
R. RyanTM 16dba2c7f6 closurecompiler: 20190909 -> 20200204 2020-02-12 05:13:18 +00:00
R. RyanTM 6b11b2fd39 armadillo: 9.800.4 -> 9.850.1 2020-02-12 03:15:36 +00:00
Ryan MulliganandGitHub e192ff3d6b Merge pull request #79807 from r-ryantm/auto-update/go-jsonnet
go-jsonnet: 0.14.0 -> 0.15.0
2020-02-11 19:06:02 -08:00
Ilya Fedin f7768c939a nixos/display-managers: Add DesktopNames parameter to generated desktop session files
Some display managers (e.g. SDDM) set the XDG_CURRENT_DESKTOP variable accroding to this parameter.
If this variable is not defined, there will be some problems (e.g. MATE doesn't have icons on the desktop).

Fixes https://github.com/NixOS/nixpkgs/issues/71427
2020-02-12 07:00:39 +04:00
R. RyanTM 5b174837fa caf: 0.17.3 -> 0.17.4 2020-02-12 01:28:09 +00:00
Mario RodasandGitHub 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
Milan Pässler d24c4038da netifd: init at unstable-2020-01-18 2020-02-12 02:12:05 +01:00
Milan Pässler 6ad91bb5ca uci: init at unstable-2020-01-27 2020-02-12 02:03:27 +01:00
Milan Pässler 020e93b394 ubus: init at unstable-2020-01-05 2020-02-12 02:03:27 +01:00
Milan Pässler e9cb7037f9 uqmi: 2016-12-19 -> unstable-2019-06-27 2020-02-12 02:03:22 +01:00
Milan Pässler 8f583860c8 libubox: 2017-09-29 -> unstable-2020-01-20 2020-02-12 01:57:48 +01:00
R. RyanTM 1905a37193 allegro5: 5.2.5.0 -> 5.2.6.0 2020-02-12 00:39:35 +00:00
Michele Guerini RoccoandGitHub 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
Michael Weiss d0729f8323 tdesktop: 1.9.9 -> 1.9.12
Note: I skipped the packaging of mapbox-variant for now.
2020-02-12 00:56:36 +01:00
Wael NasreddineandGitHub 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. RyanTMandJon e8fe8182e9 credstash: 1.16.1 -> 1.16.2 2020-02-11 14:35:00 -08:00
Michael Weiss 818628c53a tl-expected: init at 2019-11-11
This version is 5 commits ahead of version 1.0.0 because we need at
least one patch [0] that prevents CMake from trying to use Git to fetch
the already fetched submodule...
Also some files have the wrong formatting (CRLF line endings) which
makes the patching really messy. At this point is seems therefore better
to use the master version instead (1.0.0 is pretty broken regarding
CMake).

[0]: https://github.com/TartanLlama/expected/commit/0ca73ee30e72a54b285ef1e26fd9ecc83c81e5ea
2020-02-11 23:19:20 +01:00
Robert ScottandJon 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
Thomas TuegelandGitHub d178906a4f Merge pull request #79821 from r-ryantm/auto-update/openblas
openblas: 0.3.7 -> 0.3.8
2020-02-11 15:28:32 -06:00
R. RyanTM 44fb48ecd5 spdx-license-list-data: 3.7 -> 3.8 2020-02-11 21:12:47 +00:00
Florian Klink 4c8bdd1c4f nixos/filesystems: don't chown /run/keys recursively
3c74e48d9c was a bit too much, it updated
permissions of all files recursively, causing files to be readable by
the group.

This isn't a problem immediately after bootup, but on a new activation,
as tmpfiles.d get restarted then, updating the permission bits of
now-existing files.

This updates the `Z` to be a `z` (the non-recursive variant), and adds a
`d` to ensure a directory is created (which should be covered by the
initrd shell script anyway)
2020-02-11 21:52:27 +01:00
Stefano Mazzucco 2b4794f941 aws-sam-cli: add argument to conditionally enable telemetry
If someone really wants to opt into telemetry, they can do so by setting
`enableTelemetry` to `true` (the default is `false`), in which case the wrapper
that sets `SAM_CLI_TELEMETRY` to `0` will not be created.

Note that this actually allows a user to optionally disable telemetry from the
command line or the (poorly documented) configuration in
`~/.aws-sam/metadata.json`. The downside is telemetry will be enabled at least
on the first run, causing a unique installation ID to be saved in the
configuration file.
2020-02-11 20:44:04 +00:00
Emily 7f1ab0505c merriweather-sans: init at 1.008 2020-02-11 20:40:12 +00:00
Emily 21ea3ddf60 merriweather: init at 2.005 2020-02-11 20:40:12 +00:00
Christian KampkaandGitHub 9eaf6f5f5c kops_1_15: 1.15.1 -> 1.15.2 (#79809) 2020-02-11 21:35:35 +01:00
Guillaume MaudouxandGitHub 529948c302 gist: 5.0.0 -> 5.1.0 (#79838) 2020-02-11 21:35:01 +01:00
Michael Weiss e61b8d99c2 chromium: 80.0.3987.87 -> 80.0.3987.100
https://chromereleases.googleblog.com/2020/02/stable-channel-update-for-desktop_11.html
2020-02-11 21:25:53 +01:00
Maciej Krüger 8f69b1dcd2 cinnamon.xapps: move gobject-introspection to buildInputs 2020-02-11 21:08:22 +01:00
Alyssa Ross 88e4258df4 pounce: 1.0p1 -> 1.1 2020-02-11 20:04:58 +00:00
Daniel SchaeferandGitHub 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 SchaeferandGitHub 9b2d529062 Merge pull request #79671 from rnhmjoj/spleen
spleen: install otf font
2020-02-11 20:37:32 +01:00
Marek Mahut ab1a14d581 trezord-go: 2.0.27 -> 2.0.28 2020-02-11 20:34:46 +01:00
Daniel SchaeferandGitHub f528d880e1 Merge pull request #79005 from SeTSeR/master
tdlib: 1.5.0 -> 1.6.0
2020-02-11 20:31:40 +01:00
rnhmjoj b4c324c719 proggyfonts: cleanup
- mkfontdir and mkfontscale have been merged
- use install insead of cp
- make gzip deterministic with -n
2020-02-11 20:04:40 +01:00
Michael Weiss a0ef7ad1d6 androidStudioPackages.beta: 3.6.0.19 -> 3.6.0.20 2020-02-11 19:59:59 +01:00
José Romildo Malaquias 7926ad01f9 mate: update the version in the update script 2020-02-11 15:56:28 -03:00
Jörg ThalheimandGitHub f3d5966f43 Merge pull request #78819 from Izorkin/zsh-fix
zsh: fix bracketed-paste-magic
2020-02-11 18:49:14 +00:00
Maximilian BoschandGitHub 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
Mario Rodas b70a3234c5 nodejs-12_x: 12.15.0 -> 12.16.0
Changelog: https://github.com/nodejs/node/releases/tag/v12.16.0
2020-02-11 13:40:00 -05:00
Jan TojnarandGitHub dc78775c46 Merge pull request #79837 from multun/gegl-umfpack
gegl: enable umfpack support
2020-02-11 19:35:13 +01:00
0x4A6F 4b33402d30 maintainers: fix 0x4A6F 2020-02-11 19:29:51 +01:00