Commit Graph

2477 Commits

Author SHA1 Message Date
Jonas Chevalier
c6b62f2381
mkShell: introduce packages argument (#122180)
The distinction between the inputs doesn't really make sense in the
mkShell context.  Technically speaking, we should be using the
nativeBuildInputs most of the time.

So in order to make this function more beginner-friendly, add "packages"
as an attribute, that maps to nativeBuildInputs.

This commit also updates all the uses in nixpkgs.
2021-05-13 19:17:29 +02:00
Sandro
c92942e00d
Merge pull request #121766 from bmwalters/minipro 2021-05-12 23:23:08 +02:00
Sandro
f8a1317749
Merge pull request #121524 from Mdsp9070/earthly 2021-05-12 18:49:20 +02:00
Bradley Walters
e5d8c19f70
maintainers: add bmwalters 2021-05-11 17:22:52 -06:00
Matheus de Souza Pessanha
ee6e39fdb8 maintainers: add mdsp
removed non alphabetically sorted mdsp maintainer

remove trailing whitespace in pkgs/top-level/all-packages.nix:2377

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-11 19:34:51 -03:00
maralorn
00794f2270
Merge pull request #122510 from NixOS/haskell-updates 2021-05-12 00:01:25 +02:00
Sandro
b1eb90c00f
Merge pull request #122454 from nixbitcoin/XD 2021-05-11 17:31:33 +02:00
Malte Brandy
49a014f3e9
maintainers/scripts/haskell/hydra-report.hs: Support HydraFailure statuscode 2021-05-11 16:04:22 +02:00
nixbitcoin
542e957965
maintainers: add nixbitcoin 2021-05-11 11:21:19 +00:00
maralorn
881d2af5ee
Merge pull request #122286 from NixOS/haskell-updates 2021-05-11 02:31:06 +02:00
Sandro
124eb1c9d2
Merge pull request #122169 from onsails/atuin 2021-05-11 01:20:39 +02:00
Malte Brandy
9a51c0704f
maintainers/scripts/haskell: Sort transitive broken case insensitive 2021-05-10 22:36:44 +02:00
Malte Brandy
dd8a25528a
maintainers/scripts/haskell: Add mark-broken.sh 2021-05-10 22:36:44 +02:00
Malte Brandy
1da75e70f8
maintainers/scripts/haskell/hydra-report.hs: Add links to job and set names 2021-05-10 22:36:43 +02:00
maralorn
086180140d
maintainers/scripts/haskell/hydra-report.hs: Fix typo
Co-authored-by: Dennis Gosnell <cdep.illabout@gmail.com>
2021-05-10 22:36:43 +02:00
Malte Brandy
10d2ea64cd
maintainers/scripts/haskell/hydra-report.hs: Deal with more buildstatus codes 2021-05-10 22:36:43 +02:00
(cdep)illabout
461c374bda
maintainers/scripts/haskell/hydra-report.hs: change Build.buildstatus to Maybe Int
The buildstatus may be `null` from Hydra if the Build hasn't finished
running yet.
2021-05-10 22:36:43 +02:00
Malte Brandy
df0572cf3a
maintainers/scripts/haskell/hydra-report.hs: Enable warnings and small refactoring 2021-05-10 22:36:43 +02:00
(cdep)illabout
277bb664de
maintainers/scripts/haskell/hydra-report.hs: Use only 2 queries to get report 2021-05-10 22:36:43 +02:00
Malte Brandy
912c7bd20d
maintainers/scripts/haskell/hydra-report.hs: init 2021-05-10 22:36:42 +02:00
Matheus de Souza Pessanha
a669f2a0e4 earthly: init at 0.5.11
Update pkgs/top-level/all-packages.nix; Added earthly

Do check tests

created personal handle in maintainers/maintainer-list.nix

preppended "debugger" and "shellrepeater" binaries with earthly-* to avoid collisions

fixed earthly package maintainer name
2021-05-10 13:01:27 -03:00
Alex Eyre
ab22d96d1d maintainers: add alex-eyre 2021-05-09 11:41:30 -07:00
Alex Eyre
51ade7bf46 maintainers: add noreferences 2021-05-09 11:41:30 -07:00
Malte Brandy
e60afba5d1
Merge branch 'master' into haskell-updates 2021-05-09 02:18:56 +02:00
Malte Brandy
66de11da71
maintainers/scripts/haskell/regenerate-hackage-packages.sh: Small improvents and encoding workaround 2021-05-09 01:01:33 +02:00
Maximilian Bosch
c98bdda0ae
Merge pull request #122060 from Ma27/hydra-maintainer-fix
maintainers/check-hydra-by-maintainer: use `pkgs.hydra-check` from package set itself
2021-05-08 23:23:54 +02:00
Robert Schütz
876e7e2883 maintainers/build: enable cross builds 2021-05-08 10:19:20 -07:00
sternenseemann
e37a0ebc85 Merge remote-tracking branch 'origin/master' into haskell-updates 2021-05-08 14:04:31 +02:00
Andrey Kuznetsov
4d55543634
maintainers: add onsails 2021-05-08 09:31:49 +00:00
Vladimír Čunát
080cd658ca
Merge #121780: treewide meta.maintainers tweaks 2021-05-08 10:47:08 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Malte Brandy
cfdeaa13f2
maintainers/scripts/haskell/update-stackage.sh: Fix wrong variable 2021-05-07 23:58:18 +02:00
Malte Brandy
7f236bd4b2
hackage2nix: Split configuration, auto disable hydra builds
We split configuration-hackage2nix.yaml into multiple files.  We bump
cabal2nix-unstable to get support for multiple config files in
hackage2nix.

* The file main.yaml is only supposed to be edited by humans.
* The file stackage.yaml is only supposed to be updated by the
  update-stackage.sh
* The file broken.yaml can be edited by humans, but probably future
  helpers will want to insert broken packages into this file based on
  hydra reports.
* The file transitive-broken.yaml is newly introduced to be generated
  by regenerate-transitive-broken-packages.sh

regenerate-transitive-broken-packages.sh makes a nix query (in
transitive-broken-packages.nix) which evaluates all haskellPackages
once with and once without "allowBroken" this way it get's a list of
packages which are broken by some transitive dependency, but does not
disable packages which have eval errors not caused by a broken package.
2021-05-07 21:58:08 +02:00
Maximilian Bosch
acb7b55d92
maintainers/check-hydra-by-maintainer: use pkgs.hydra-check from package set itself 2021-05-07 19:32:10 +02:00
Vladimír Čunát
9f054b5e1a
treewide: remove worldofpeace from meta.maintainers
(It was requested by them.)
I left one case due to fetching from their personal repo:
pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
2021-05-07 15:36:40 +02:00
Malte Brandy
2a11f1f5cc
Merge branch 'master' into haskell-updates 2021-05-07 15:03:54 +02:00
Jan Tojnar
416cd66e29
maintainers/scripts/update.nix: Ensure the worktree is clean
When an update script fails, it might still modify the source tree.
These changes would then be committed in the next update attempt.
Let’s make sure the worktree is clean before updating to avoid that.
2021-05-05 22:42:30 +02:00
Jan Tojnar
d51a631a46
maintainers/scripts/update.nix: Add support for filtering pkgs by predicate
Arbitrary predicate is useful for updating decentralised package sets like GNOME.
2021-05-05 22:20:20 +02:00
Malte Brandy
f37d5402bc
maintainers/scripts/haskell: Improve commit messages 2021-05-04 14:29:45 +02:00
sternenseemann
794bc5e9ed haskellPackages.cabal2nix-unstable: rename from cabal2nix-latest 2021-05-04 13:38:46 +02:00
sternenseemann
e30cf42f0c haskellPackages.cabal2nix-latest: use unstable-YYYY-MM-DD format
This is the preferred format for things fetched from git or similar that
are not proper releases: https://nixos.org/manual/nixpkgs/stable/#sec-package-naming

Also we should think about making name and attribute name more
consistent: cabal2nix-latest -> cabal2nix-unstable
2021-05-04 13:38:46 +02:00
Malte Brandy
81b5682da3
Merge branch 'master' into haskell-updates 2021-05-04 00:25:54 +02:00
Malte Brandy
4dbda0125a
maintainers/scripts/haskell: Add --do-commit option 2021-05-03 22:58:51 +02:00
Silvan Mosberger
0111666954
Merge pull request #109561 from mjlbach/init_matrix_dendrite
matrix-dendrite: init at 0.3.11
2021-05-03 20:16:27 +02:00
Luke Granger-Brown
97d8c5c9de
Merge pull request #120721 from diogox/master
frugal: init at 3.14.2
2021-05-03 10:49:43 +01:00
sternenseemann
387387aa20 lib/maintainers: add haskell team 2021-05-03 11:36:18 +02:00
Luke Granger-Brown
d922cad4d6
Merge pull request #119172 from midchildan/package/trafficserver
nixos/trafficserver: init
2021-05-03 09:48:07 +01:00
Dan Eads
33682a80a1 maintainers: add daneads 2021-05-02 09:15:45 -04:00
Vojtěch Káně
9a943b4b42
maintainers: add vojta001 2021-05-02 08:01:44 -04:00
hyperfekt
f3f84855e8
maintainers/scripts/haskell/regenerate-hackage-packages.sh: init
Introduces a script that can be used to update the Nix expressions for

the Haskell package set. In service of that, also

- introduces cabal2nix-latest, which pins the hackage2nix version used

- changes all-cabal-hashes to use fetchFromGitHub

- adds update-hackage.sh & update-cabal2nix-latest.sh & update-stackage.sh maintainer scripts
2021-05-01 21:55:18 +02:00