Commit Graph

59329 Commits

Author SHA1 Message Date
midchildan
cfcda0dc34
cjose: init at 0.6.1 2021-04-27 00:02:02 +09:00
Gabriel Ebner
be0b5f26b1 medfile: use hdf5 1.10 2021-04-11 17:54:55 +02:00
Fabian Affolter
20443c3482
Merge pull request #119082 from chivay/karton-core
pythonPackages.karton-core: init at 4.2.0
2021-04-11 17:03:31 +02:00
Anderson Torres
6cb6021f83
Merge pull request #118922 from AndersonTorres/new-yapesdl
yapesdl: init at 0.70.2
2021-04-11 12:00:27 -03:00
Sandro
172b4f4c61
Merge pull request #119122 from ju1m/ifcopenshell
ifcopenshell: 0.6.0b0 -> 210410
2021-04-11 16:45:40 +02:00
Sandro
9ca28714c8
Merge pull request #119086 from fabaff/hfinger
hfinger: init at 0.2.0
2021-04-11 16:13:06 +02:00
Sandro
7cc6af3955
Merge pull request #119074 from fabaff/aioemonitor
python3Packages.aioemonitor: init at 1.0.5
2021-04-11 16:03:13 +02:00
Hubert Jasudowicz
fac3725e5b pythonPackages.karton-core: init at 4.2.0 2021-04-11 12:32:08 +02:00
sterni
2140791f9b
ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected (#113696)
* ocamlPackages.janeStreet_0_9_0: join the ocamlPackages fix point

Internal dependencies in the janeStreet sets were always taken from the
own rec attribute set. While this is pretty simple and convenient, it
has the disadvantage that it doesn't play nice with overriding: If you'd
override an attribute in a janeStreet set previously, it would be
changed when referenced directly, but the other packages in that
janeStreet set still would use the original, non-overridden version of
the derivation.

This is easily fixed by passing janeStreet_0_9_0 itself from the fix
point of ocamlPackages and using it to reference the dependencies.

Example showing it now works as expected:

test-overlay.nix:

    self: super: {
      ocamlPackages = super.ocamlPackages.overrideScope (old: _: {
        janeStreet_0_9_0 = old.janeStreet_0_9_0 // {
          base = old.janeStreet_0_9_0.base.overrideAttrs (_: {
            meta.broken = true;
          });
        };
      });
    }

nix-repl> (import ./. {
  overlays = [ (import ./test-overlay.nix) ];
}).ocamlPackages.janeStreet_0_9_0.stdio

error: Package ‘ocaml4.10.0-base-0.9.4’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage.nix:6 is marked as broken, refusing to evaluate.

a) To temporarily allow broken packages, you can use an environment variable
   for a single invocation of the nix tools.

     $ export NIXPKGS_ALLOW_BROKEN=1

b) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

* ocamlPackages.janeStreet: take part in fixpoint for OCaml >= 4.08

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.14, i. e. OCaml >= 4.08

* ocamlPackages.janeStreet: take part in fixpoint for OCaml == 4.07

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.12, i. e. OCaml == 4.07

* ocamlPackages.janeStreet: take part in fixpoint for OCaml < 4.07

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.11, i. e. OCaml < 4.07

* ocamlPackages.janeStreet: remove self - super distinction

Previously, we inherited non-janestreet ocaml dependencies from super
and janestreet dependencies from self which always was super.janeStreet.

This behavior is however not really what we want due to liftJaneStreet:
Users and other packages will use ocamlPackages.base etc. instead of
ocamlPackages.janeStreet.base and the like. Consequently they also would
override the top-level attributes which would mean that other janestreet
packages would not pick up on it however.

As a consequence however, overriding ocamlPackages.janeStreet.base
doesn't work. Since this was never possible, I don't think this is an
issue. It is probably a good idea to deprecate that set anyways and
printing a warning when it is used via trace.

janeStreet_0_9_0 is unchanged as the disticniton between self and super
makes sense for it.

Below is an example showing how overriding would work from an user's
perspective:

test-overlay.nix:

    self: super: {
      ocamlPackages = super.ocamlPackages.overrideScope (old: _: {
        base = old.base.overrideAttrs (_: {
          meta.broken = true;
        });
      });
    }

nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages.
stdio
error: Package ‘ocaml4.10.0-base-0.14.0’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix:12 is marked as broken, refusing to evaluate.

a) To temporarily allow broken packages, you can use an environment variable
   for a single invocation of the nix tools.

     $ export NIXPKGS_ALLOW_BROKEN=1

b) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
2021-04-11 12:26:10 +02:00
Alyssa Ross
441f0c894a mdevd: init at 0.1.3.0 2021-04-11 10:22:29 +00:00
Julien Moutinho
687e55bfc0 ifcopenshell: 0.6.0b0 -> 210410 2021-04-11 12:10:46 +02:00
Fabian Affolter
0b78980d67 python3Packages.pyenvisalink: init at 4.1 2021-04-10 15:31:56 -07:00
Fabian Affolter
e5b6e6f289 hfinger: init at 0.2.0 2021-04-11 00:22:19 +02:00
Fabian Affolter
fec6f0b152 python3Packages.aioemonitor: init at 1.0.5 2021-04-10 21:11:42 +02:00
nixinator
3314db5a56
cdogs-sdl: init at 0.11.0 (#118949)
Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-10 17:23:57 +02:00
Sandro
aa05808456
Merge pull request #117677 from 06kellyjac/octant-desktop 2021-04-10 16:46:25 +02:00
sternenseemann
9c989f2fd9 spacecookie: add top-level attribute for haskellPackages.spacecookie
The haskellPackages.spacecookie derivation also includes a library and
thus a lot of propagated haskell dependencies. The top-level attribute
uses haskell.lib.justStaticExecutables and therefore only the
executable. This should reduce the runtime closure users have to
download considerably if they only want the server.
2021-04-10 15:44:19 +02:00
Vincent Haupert
f4af2f267a
nixos/github-runner: init at v2.277.1 (#116775)
* github-runner: init at 2.277.1

* nixos/github-runner: initial version

* nixos/github-runner: add warning if tokenFile in Nix store

* github-runner: don't accept unexpected attrs

* github-runner: formatting nits

* github-runner: add pre and post hooks to checkPhase

* nixos/github-runner: update ExecStartPre= comment

* nixos/github-runner: adapt tokenFile option description

Also note that not only a change to the option value will trigger a
reconfiguration but also modifications to the file's content.

* nixos/github-runner: remove mkDefault for DynamicUser=

* nixos/github-runner: create a parent for systemd dirs

Adds a parent directory "github-runner/" to all of the systemd lifecycle
directories StateDirectory=, RuntimeDirectory= and LogDirectory=.

Doing this has two motivations:

1. Something like this would required if we want to support multiple
   runners configurations. Please note that this is already possible
   using NixOS containers.
2. Having an additional parent directory makes it easier to remap
   any of the directories. Without a parent, systemd is going to
   complain if, for example, the given StateDirectory= is a symlink.

* nixos/github-runner: use specifier to get abs runtime path

* nixos/github-runner: use hostname as default for option `name`

Until now, the runner registration did not set the `--name` argument if
the configuration option was `null`, the default for the option.
According to GitHub's documentation, this instructs the registration
script to use the machine's hostname.

This commit causes the registration to always pass the `--name` argument
to the runner configuration script. The option now defaults to
`networking.hostName` which should be always set on NixOS.

This change becomes necessary as the systemd service name includes the
name of the runner since fcfa809 and, hence, expects it to be set. Thus,
an unset `name` option leads to an error.

* nixos/github-runner: use types.str for `name` option

Forcing a `name` option to comply with a pattern which could also be
used as a hostname is probably not required by GitHub.

* nixos/github-runner: pass dir paths explicitly for ExecStartPre=

* nixos/github-runner: update variable and script naming

* nixos/github-runner: let systemd choose the user/group

User and group naming restrictions are a complex topic [1] that I don't
even want to touch. Let systemd figure out the username and group and
reference it in our scripts through the USER environment variable.

[1] https://systemd.io/USER_NAMES/

* Revert "nixos/github-runner: use types.str for `name` option"

The escaping applied to the subdirectory paths given to StateDirectory=,
RuntimeDirectory= and LogsDirectory= apparently doesn't use the same
strategy that is used to escape unit names (cf. systemd-escape(1)). This
makes it unreasonably hard to construct reliable paths which work for
StateDirectory=/RuntimeDirectory=/LogsDirectory= and ExecStartPre=.

Against this background, I decided to (re-)apply restrictions to the
name a user might give for the GitHub runner. The pattern for
`networking.hostName` seems like a reasonable choice, also as its value
is the default if the `name` option isn't set.

This reverts commit 193ac67ba337990c22126da24a775c497dbc7e7d.

* nixos/github-runner: use types.path for `tokenFile` option

* nixos/github-runner: escape options used as shell arguments

* nixos/github-runner: wait for network-online.target

* github-runner: ignore additional online tests
2021-04-10 10:17:10 +00:00
Martin Weinelt
8735fd1e95
Merge pull request #118944 from fabaff/homematicip
python3Packages.homematicip: init at 1.0.0
2021-04-10 02:19:55 +02:00
Fabian Affolter
7564d5ef16 python3Packages.homematicip: init at 1.0.0 2021-04-10 00:22:23 +02:00
Fabian Affolter
c197fdd498 python3Packages.aiohttp-wsgi: init at 0.8.2 2021-04-09 23:44:02 +02:00
Sandro
cbdbd24665
Merge pull request #118919 from fabaff/omnilogic 2021-04-09 21:57:00 +02:00
AndersonTorres
cc3060f5e8 yapesdl: init at 0.70.2 2021-04-09 15:31:22 -03:00
Fabian Affolter
61a5c65f0d python3Packages.omnilogic: init at 0.4.3 2021-04-09 18:44:41 +02:00
Frederik Rietdijk
0656d546fb
Merge pull request #118312 from NixOS/staging-next
Staging next
2021-04-09 18:29:47 +02:00
Martin Weinelt
79d2bf4c84
Merge pull request #118809 from fabaff/webexteamssdk 2021-04-09 18:01:05 +02:00
Martin Weinelt
f882b057be
Merge pull request #111316 from higebu/add-gobgpd 2021-04-09 17:17:07 +02:00
Yuya Kusakabe
9a2af3baf2
gobpgd: init at 2.26.0 2021-04-09 14:56:31 +00:00
Fabian Affolter
4dc34642e3 python3Packages.webexteamssdk: init at 1.6 2021-04-09 16:44:12 +02:00
github-actions[bot]
c876eb99be
Merge master into staging-next 2021-04-09 12:06:22 +00:00
Ben Siraphob
970b82e7d0 coqtail-math: init at 20201124 2021-04-09 10:05:32 +02:00
github-actions[bot]
496c7d3e9d
Merge master into staging-next 2021-04-09 06:05:54 +00:00
Sandro
6fc2b7ecc2
Merge pull request #116570 from dnr/gphotos-sync 2021-04-09 02:55:52 +02:00
Sandro
e86802afa7
Merge pull request #118694 from benley/kubelogin-oidc
kubelogin-oidc: init at 1.23.0
2021-04-09 02:39:06 +02:00
Sandro
d5b46bbaa0
Merge pull request #118723 from oxalica/bump/electron-cash 2021-04-09 02:32:04 +02:00
github-actions[bot]
c99b6f5343
Merge master into staging-next 2021-04-09 00:16:01 +00:00
Sandro
26f16c1cef
Merge pull request #91318 from stephank/pkg-doh-proxy-rust 2021-04-08 22:32:12 +02:00
github-actions[bot]
85b57e4446
Merge master into staging-next 2021-04-08 18:14:17 +00:00
Robert Schütz
346af47879
Merge pull request #118574 from dotlambda/recoll-python
python3Packages.recoll: init
2021-04-08 18:21:06 +02:00
Michael Weiss
915e3fec91
Merge pull request #116544 from Synthetica9/sway-1.16
wlroots: 1.12 -> 1.13, sway: 1.5 -> 1.6
2021-04-08 17:53:42 +02:00
Patrick Hilhorst
e03dde82a7
wlroots: 0.12.0 -> 0.13.0
Pulls in an upstream patch for dwl. Explicitly takes xcbutilrenderutil
as an argument to avoid pulling in all of xorg.
2021-04-08 17:24:23 +02:00
Patrick Hilhorst
49299adf4e
wlroots_0_12: init at 0.12.0
Uses the old wlroots in places where the new one isn't yet compatible.

Co-authored-by: Alyssa Ross <hi@alyssa.is>
Co-authored-by: Michael Weiss <dev.primeos@gmail.com>
2021-04-08 17:23:20 +02:00
Sandro
f9544583b6
Merge pull request #118584 from fabaff/nats 2021-04-08 15:40:32 +02:00
midchildan
2e2a36f082
ssh-copy-id: init at 8.4p1 (#105896)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-08 14:53:06 +02:00
Jörg Thalheim
8865b1a8ce
Merge pull request #118803 from SuperSandro2000/radare-cleanup
Radare cleanup
2021-04-08 13:45:41 +01:00
Sandro
21264a9367
Merge pull request #116651 from jumper149/master
blucontrol-wrapper: init
2021-04-08 14:26:11 +02:00
Kim Lindberger
5a1bd5ff66
Merge pull request #116074 from talyz/discourse
discourse: Add package and NixOS module
2021-04-08 14:19:49 +02:00
github-actions[bot]
bf6abedefb
Merge master into staging-next 2021-04-08 12:06:16 +00:00
austinbutler
5db7e33f1d
python3Packages.awslambdaric: init at 1.0.0 (#118771)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-08 13:10:16 +02:00
Sandro Jäckel
1bed0e238c
aliases: add mising date 2021-04-08 13:08:53 +02:00