Commit graph

221978 commits

Author SHA1 Message Date
Daiderd Jordan 950ac2bc8f
meta: expose availability flags in derivation metadata
Currently it's not possible to determine the reason why a package is
unavailable without evaluating nixpkgs multiple times with different
settings. eg.

    nix-repl> :p android-studio.meta
    { available = false; broken = false; unfree = true; unsupported = true; ... }

The following snippet is an example that uses this information to query
the availability information of all packages in nixpkgs, giving an
overview of all the packages currently marked as broken, etc.

    { pkgs }:

    with import <nixpkgs/lib>;

    let

      mapPkgs =
        let mapPkgs' = path: f: mapAttrs (n: v:
          let result = builtins.tryEval (v ? meta); in
          if !result.success then {} else
          if isDerivation v then f (path ++ [n]) v else
          if isAttrs v && v.recurseForDerivations or false then mapPkgs' (path ++ [n]) f v else
          {}
        );
        in mapPkgs' [];

      getMeta = path: drv:
        if drv.meta ? available then
          let meta = {
            pkg = concatStringsSep "." path;
            inherit (drv.meta) broken unfree unsupported insecure;
          };
          in builtins.trace meta.pkg meta
          else {};

      metaToList = attrs: flatten (map (v: if v ? pkg then v else metaToList v) (attrValues attrs));

    in metaToList (mapPkgs getMeta pkgs)
2020-04-19 12:53:04 +02:00
Gabriel Ebner 257aff8010
Merge pull request #85532 from marsam/update-lean 2020-04-19 10:00:27 +02:00
Mario Rodas b2d8cf9def
Merge pull request #85473 from marsam/update-bazelisk
bazelisk: 1.3.0 -> 1.4.0
2020-04-19 02:38:52 -05:00
Mario Rodas ad4eebc5ca
Merge pull request #85471 from bbigras/spotifyd
spotifyd: add withMpris and withKeyring optionals
2020-04-19 02:38:26 -05:00
Matthew Bauer a2d9f58433
Merge pull request #85512 from ggreif/wasmtime
wasmtime-0.12.0: fix cargoSha256
2020-04-18 22:03:24 -05:00
Jaka Hudoklin bc0e5f8c4c
Merge pull request #85514 from petabyteboy/feature/docker
docker: add git to extraPath
2020-04-19 01:42:57 +00:00
worldofpeace f578913905
Merge pull request #85528 from NixOS/revert-84370-update-calibre
Revert "calibre: 4.12.0 -> 4.13.0"
2020-04-18 20:52:04 -04:00
worldofpeace ddbc832637
Revert "calibre: 4.12.0 -> 4.13.0" 2020-04-18 20:51:33 -04:00
adisbladis 8804e2f53f
Merge pull request #85248 from HugoReeves/update-joplin-desktop
joplin-desktop: 1.0.179 -> 1.0.200
2020-04-19 02:48:45 +02:00
worldofpeace d0716d2351
Merge pull request #85524 from rvolosatovs/update/fira
fira: 4.106 -> 4.202
2020-04-18 20:45:03 -04:00
worldofpeace b8a2ebdea8
Merge pull request #85527 from NixOS/revert-84363-update-twolame
Revert "[WIP] {help wanted} twolame: 2017-09-27 -> 0.4.0"
2020-04-18 20:43:54 -04:00
worldofpeace 0bab5253b1
Revert "[WIP] {help wanted} twolame: 2017-09-27 -> 0.4.0" 2020-04-18 20:43:37 -04:00
worldofpeace 443e544721 firefox-wrapper: don't throw on enableGnomeExtensions
We use the config for the native messaging host below this statement.
2020-04-18 20:36:55 -04:00
Roman Volosatovs 6a634cf026
fira: 4.106 -> 4.202 2020-04-19 01:58:03 +02:00
Vladimír Čunát e233a9d4dd
Merge #84442: staging-next branch 2020-04-18 23:11:00 +02:00
taku0 f63bc540cb flashplayer: 32.0.0.344 -> 32.0.0.363 2020-04-18 23:08:58 +02:00
Maximilian Bosch 16c6b2de8d
gitAndTools.delta: 0.0.17 -> 0.0.18
https://github.com/dandavison/delta/releases/tag/0.0.18
2020-04-18 22:36:35 +02:00
Anderson Torres 8bafac89cd
Merge pull request #84363 from AndersonTorres/update-twolame
twolame : 2017-09-27 -> 0.4.0
2020-04-18 16:54:43 -03:00
Anderson Torres 5f0fa1b454
Merge pull request #84370 from AndersonTorres/update-calibre
calibre : 4.12.0 -> 4.13.0
2020-04-18 16:54:14 -03:00
Milan Pässler 08d83c1641 docker: add git to extraPath
When building a docker container from git, docker was missing the git
binary in $PATH.
2020-04-18 21:48:55 +02:00
Gabor Greif 94d88d3b70 wasmtime-0.12.0: fix cargoSha256 2020-04-18 21:30:29 +02:00
Mario Rodas 45b21b38a8
Merge pull request #85346 from xrelkd/update/tinygo
tinygo: 0.12.0 -> 0.13.0
2020-04-18 14:08:59 -05:00
Mario Rodas e6ddc18720
Merge pull request #85416 from xrelkd/update/go-ethereum
go-ethereum: 1.9.12 -> 1.9.13
2020-04-18 14:08:46 -05:00
Jörg Thalheim cd3bc38f40
Merge pull request #85501 from petabyteboy/feature/micro 2020-04-18 19:48:25 +01:00
Jan Tojnar 09c4736405
Merge pull request #83755 from jtojnar/jcat-0.1 2020-04-18 20:38:24 +02:00
Milan f6be877728
_3mux: init at 0.2.0 (#85141)
* _3mux: init at 0.1.0

* _3mux: 0.1.0 -> 0.2.0
2020-04-18 20:26:36 +02:00
Mario Rodas e5dd52b99d
Merge pull request #85422 from marsam/update-lxc
lxc: 4.0.1 -> 4.0.2
2020-04-18 13:24:22 -05:00
Benjamin Hipple 78760d192d
Merge pull request #79246 from status-im/upgrade-brlaser
nixpkgs/brlaser: upgrade to v6
2020-04-18 14:23:43 -04:00
worldofpeace 21861f3a80
Merge pull request #85340 from xrelkd/add/sniffglue
sniffglue: init at 0.10.1
2020-04-18 14:16:40 -04:00
xrelkd 2b87ca0f9c sniffglue: init at 0.10.1 2020-04-19 01:57:35 +08:00
Jan Tojnar 06e5800a73
fwupd: 1.3.9 → 1.4.0
https://github.com/fwupd/fwupd/releases/tag/1.4.0
2020-04-18 19:51:08 +02:00
Jörg Thalheim 35eb7793a3
Merge pull request #83166 from avnik/nix-build-location 2020-04-18 18:37:15 +01:00
Alexander V. Nikolaev 5291925fd2 nixos: Introduce nix.buildLocation option
Allow to specify where package build will happens.
It helps big packages (like browsers) not to overflow tmpfs.
2020-04-18 20:31:04 +03:00
Jörg Thalheim 3940ec2ed2
Merge pull request #85498 from filalex77/httpie-2.1.0 2020-04-18 18:30:42 +01:00
Milan Pässler 58d165420b micro: 1.4.1 -> 2.0.3 2020-04-18 19:26:43 +02:00
worldofpeace 996ae856b6
Merge pull request #85365 from immae/fix_acme_postrun
nixos/acme: Fix postRun in acme certificate being ran at every run
2020-04-18 13:16:16 -04:00
Markus Wamser 5fbab6dabb
pythonPackages.pdfposter init at 0.7.post1 (#82926)
Signed-off-by: Markus S. Wamser <github-dev@mail2013.wamser.eu>
2020-04-18 13:15:29 -04:00
Oleksii Filonenko a0cca88d16
_3mux: 0.1.0 -> 0.2.0 2020-04-18 18:43:58 +03:00
Oleksii Filonenko 9524aafeb7
httpie: 2.0.0 -> 2.1.0 2020-04-18 18:36:09 +03:00
Alyssa Ross 1b0d8015fe nixos/rss2email: globally install rss2email
For man pages.
2020-04-18 14:16:00 +00:00
Mario Rodas 54792ee584
Merge pull request #85491 from zowoq/fuse-overlayfs
fuse-overlayfs: 0.7.8 -> 1.0.0
2020-04-18 08:27:29 -05:00
Michael Raskin 6c0bacc165
Merge pull request #85493 from prusnak/rfc45
treewide: per RFC45, remove more unquoted URLs
2020-04-18 13:26:44 +00:00
Michael Weiss 34643fcf96
Merge pull request #85253 from primeos/chromium-vaapi
chromium: Build with VA-API but disable it by default
2020-04-18 14:20:33 +02:00
Pavol Rusnak fadcfc3ea4
treewide: per RFC45, remove more unquoted URLs 2020-04-18 14:04:37 +02:00
Michael Weiss 267eefcdb7
chromium: Build with VA-API but disable it by default
This makes it possible to enable VA-API without having to rebuild
Chromium: `chromium.override { enableVaapi = true; }`
2020-04-18 13:46:22 +02:00
zowoq 3037b6d1ef fuse-overlayfs: 0.7.8 -> 1.0.0
https://github.com/containers/fuse-overlayfs/releases/tag/v1.0.0
2020-04-18 21:25:51 +10:00
Michael Weiss e5450d9d00
androidStudioPackages.{dev,canary}: 4.1.0.5 -> 4.1.0.6 2020-04-18 12:29:11 +02:00
Michael Weiss b7b1022fb2
android-studio: 3.6.2 -> 3.6.3 2020-04-18 12:29:05 +02:00
Mario Rodas f37c9226fc
lean: 3.8.0 -> 3.9.0 2020-04-18 04:20:00 -05:00
Robert Helgesson 730ecad048
msmtp: 1.8.7 -> 1.8.8 2020-04-18 10:46:11 +02:00