Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b0ca5ad3b614
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 54757b35c11c
Choose a head ref

Commits on Oct 7, 2020

  1. Copy the full SHA
    03e4bac View commit details

Commits on Dec 12, 2020

  1. Copy the full SHA
    f3fc60b View commit details

Commits on Jan 18, 2021

  1. Copy the full SHA
    e3fd71a View commit details
  2. elinks: 0.13.5 -> 0.14.0

    r-ryantm committed Jan 18, 2021
    Copy the full SHA
    82d4817 View commit details
  3. entt: 3.5.2 -> 3.6.0

    r-ryantm committed Jan 18, 2021
    Copy the full SHA
    a3e8fa2 View commit details
  4. ergo: 3.3.6 -> 4.0.0

    r-ryantm committed Jan 18, 2021
    Copy the full SHA
    0618b93 View commit details

Commits on Jan 19, 2021

  1. jackett: 0.17.15 -> 0.17.311

    r-ryantm committed Jan 19, 2021
    Copy the full SHA
    a3f0b6c View commit details
  2. kube-router: 1.1.0 -> 1.1.1

    r-ryantm committed Jan 19, 2021
    Copy the full SHA
    1e1b57e View commit details
  3. keepalived: 2.1.5 -> 2.2.1

    r-ryantm committed Jan 19, 2021
    Copy the full SHA
    444c2b9 View commit details

Commits on Jan 20, 2021

  1. podiff: 1.2 -> 1.3

    r-ryantm committed Jan 20, 2021
    Copy the full SHA
    4cdd6f9 View commit details

Commits on Jan 21, 2021

  1. gcsfuse: 0.32.0 -> 0.33.0

    r-ryantm committed Jan 21, 2021
    Copy the full SHA
    e000c47 View commit details

Commits on Jan 28, 2021

  1. xed-editor: Init at 2.8.4

    tu-maurice committed Jan 28, 2021
    Copy the full SHA
    fb97c66 View commit details

Commits on Jan 29, 2021

  1. gammy: 0.9.62 -> 0.9.63

    r-ryantm committed Jan 29, 2021
    Copy the full SHA
    ea7bd6b View commit details

Commits on Jan 31, 2021

  1. Copy the full SHA
    278843e View commit details

Commits on Feb 6, 2021

  1. aws-c-common: mark broken on musl

    A recent update to aws-c-common uses the nonportable glibc-specific
    pthread_attr_setaffinity_np function, which precludes compilation on
    musl.
    r-burns committed Feb 6, 2021
    Copy the full SHA
    33f50b3 View commit details
  2. nix: disable aws support on musl

    This is just a temporary measure until musl
    compatibility is restored to aws-c-common.
    r-burns committed Feb 6, 2021
    Copy the full SHA
    7426b18 View commit details

Commits on Feb 8, 2021

  1. jdk11 (darwin): 11.0.1 -> 11.0.9

    1) openjdk/11.nix and openjdk/darwin/11.nix should be at the same version
    2) 11.0.1 is affected by TLS 1.3 validation bug https://bugs.openjdk.java.net/browse/JDK-8211806
    felixscheinost committed Feb 8, 2021
    Copy the full SHA
    7b01487 View commit details

Commits on Feb 9, 2021

  1. websocketd: 0.3.1 -> 0.4.1

    r-ryantm committed Feb 9, 2021
    Copy the full SHA
    5a5cb6f View commit details

Commits on Feb 10, 2021

  1. memtest86-efi: 8.3 -> 8.4

    r-ryantm committed Feb 10, 2021
    Copy the full SHA
    62802f0 View commit details

Commits on Feb 11, 2021

  1. doctl: 1.55.0 -> 1.56.0

    r-ryantm committed Feb 11, 2021
    Copy the full SHA
    7fc8b0b View commit details
  2. xplayer: init at 2.4.0

    tu-maurice committed Feb 11, 2021
    Copy the full SHA
    b9ae389 View commit details
  3. mergerfs: 2.32.2 -> 2.32.3

    r-ryantm committed Feb 11, 2021
    Copy the full SHA
    abed186 View commit details
  4. simdjson: 0.8.1 -> 0.8.2

    r-ryantm committed Feb 11, 2021
    Copy the full SHA
    35b2cc5 View commit details

Commits on Feb 12, 2021

  1. bslizr: 1.2.8 -> 1.2.10

    r-ryantm committed Feb 12, 2021
    Copy the full SHA
    6053f46 View commit details
  2. flyway: 7.5.2 -> 7.5.3

    r-ryantm committed Feb 12, 2021
    Copy the full SHA
    6181c9a View commit details
  3. Copy the full SHA
    c21fee9 View commit details
  4. Copy the full SHA
    c3da6f9 View commit details
  5. Copy the full SHA
    e79e264 View commit details
  6. Copy the full SHA
    3aec4fa View commit details
  7. ngspice: 33 -> 34

    r-ryantm committed Feb 12, 2021
    Copy the full SHA
    edba482 View commit details

Commits on Feb 13, 2021

  1. Copy the full SHA
    d85cc9d View commit details
  2. bdf2sfd: 1.1.5 -> 1.1.6

    r-ryantm committed Feb 13, 2021
    Copy the full SHA
    82f771c View commit details

Commits on Feb 14, 2021

  1. liquibase: 4.3.0 -> 4.3.1

    r-ryantm committed Feb 14, 2021
    Copy the full SHA
    52bb4af View commit details

Commits on Feb 15, 2021

  1. buildRustPackage: add cargoDepsName attribute

    The directory in the tarball of vendored dependencies contains `name`,
    which is by default set to `${pname}-${version}`. This adds an
    additional attribute to permit setting the name to something of the
    user's choosing.
    
    Since `cargoSha256`/`cargoHash` depend on the name of the directory of
    vendored dependencies, `cargoDepsName` can be used to e.g. make the
    hash invariant to the package version by setting `cargoDepsName =
    pname`.
    danieldk committed Feb 15, 2021
    Copy the full SHA
    d923960 View commit details
  2. ncmpc: 0.44 -> 0.45

    r-ryantm committed Feb 15, 2021
    Copy the full SHA
    af4e924 View commit details
  3. gallery-dl: 1.16.4 -> 1.16.5

    r-ryantm committed Feb 15, 2021
    Copy the full SHA
    0bceb98 View commit details
  4. Copy the full SHA
    a884ef6 View commit details

Commits on Feb 16, 2021

  1. Copy the full SHA
    0b3247f View commit details
  2. gifski: 1.3.3 -> 1.4.0

    r-ryantm committed Feb 16, 2021
    Copy the full SHA
    8b3d6b8 View commit details
  3. Copy the full SHA
    dc9cba6 View commit details
  4. saml2aws: 2.27.1 -> 2.28.0

    r-ryantm committed Feb 16, 2021
    Copy the full SHA
    09d862a View commit details

Commits on Feb 17, 2021

  1. mpd: 0.22.4 -> 0.22.5

    r-ryantm committed Feb 17, 2021
    Copy the full SHA
    9b4fa5a View commit details
  2. sbcl: Small fixes around the phase definitions

    - Remove some debugging output at the start of the `patchPhase` section,
      which appears to have outlived its value.
    - Rename `patchPhase` to `postPatch`, to avoid preventing people adding
      patches via the `patches` variable.
    - Add `preBuild` and `postBuild` run-hooks to the `buildPhase` section.
    - Add `preInstall` and `postInstall` run-hooks to the `installPhase`
      section.
    equill committed Feb 17, 2021
    Copy the full SHA
    89d4504 View commit details
  3. Copy the full SHA
    81e2319 View commit details
  4. Copy the full SHA
    4b92627 View commit details
  5. Copy the full SHA
    0a7c4f6 View commit details

Commits on Feb 18, 2021

  1. Copy the full SHA
    9c19eee View commit details
  2. flow: 0.144.0 -> 0.145.0

    r-ryantm committed Feb 18, 2021
    Copy the full SHA
    2569d86 View commit details
  3. Copy the full SHA
    4e924da View commit details
  4. openlibm: 0.7.4 -> 0.7.5

    r-ryantm committed Feb 18, 2021
    Copy the full SHA
    07b16b2 View commit details
Showing 580 changed files with 9,808 additions and 3,051 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@

# Rust
/pkgs/development/compilers/rust @Mic92 @LnL7 @zowoq
/pkgs/build-support/rust @andir @zowoq
/pkgs/build-support/rust @andir @danieldk @zowoq

# Darwin-related
/pkgs/stdenv/darwin @NixOS/darwin-maintainers
27 changes: 27 additions & 0 deletions doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
@@ -80,6 +80,33 @@ The fetcher will verify that the `Cargo.lock` file is in sync with the `src`
attribute, and fail the build if not. It will also will compress the vendor
directory into a tar.gz archive.

The tarball with vendored dependencies contains a directory with the
package's `name`, which is normally composed of `pname` and
`version`. This means that the vendored dependencies hash
(`cargoSha256`/`cargoHash`) is dependent on the package name and
version. The `cargoDepsName` attribute can be used to use another name
for the directory of vendored dependencies. For example, the hash can
be made invariant to the version by setting `cargoDepsName` to
`pname`:

```nix
rustPlatform.buildRustPackage rec {
pname = "broot";
version = "1.2.0";
src = fetchCrate {
inherit pname version;
sha256 = "1mqaynrqaas82f5957lx31x80v74zwmwmjxxlbywajb61vh00d38";
};
cargoHash = "sha256-JmBZcDVYJaK1cK05cxx5BrnGWp4t8ca6FLUbvIot67s=";
cargoDepsName = pname;
# ...
}
```


### Cross compilation

By default, Rust packages are compiled for the host platform, just like any
12 changes: 6 additions & 6 deletions doc/using/configuration.xml
Original file line number Diff line number Diff line change
@@ -151,26 +151,26 @@
</listitem>
<listitem>
<para>
It is also possible to whitelist and blacklist licenses that are specifically acceptable or not acceptable, using <literal>whitelistedLicenses</literal> and <literal>blacklistedLicenses</literal>, respectively.
It is also possible to allow and block licenses that are specifically acceptable or not acceptable, using <literal>allowlistedLicenses</literal> and <literal>blocklistedLicenses</literal>, respectively.
</para>
<para>
The following example configuration whitelists the licenses <literal>amd</literal> and <literal>wtfpl</literal>:
The following example configuration allowlists the licenses <literal>amd</literal> and <literal>wtfpl</literal>:
<programlisting>
{
whitelistedLicenses = with lib.licenses; [ amd wtfpl ];
allowlistedLicenses = with lib.licenses; [ amd wtfpl ];
}
</programlisting>
</para>
<para>
The following example configuration blacklists the <literal>gpl3Only</literal> and <literal>agpl3Only</literal> licenses:
The following example configuration blocklists the <literal>gpl3Only</literal> and <literal>agpl3Only</literal> licenses:
<programlisting>
{
blacklistedLicenses = with lib.licenses; [ agpl3Only gpl3Only ];
blocklistedLicenses = with lib.licenses; [ agpl3Only gpl3Only ];
}
</programlisting>
</para>
<para>
Note that <literal>whitelistedLicenses</literal> only applies to unfree licenses unless <literal>allowUnfree</literal> is enabled. It is not a generic whitelist for all types of licenses. <literal>blacklistedLicenses</literal> applies to all licenses.
Note that <literal>allowlistedLicenses</literal> only applies to unfree licenses unless <literal>allowUnfree</literal> is enabled. It is not a generic allowlist for all types of licenses. <literal>blocklistedLicenses</literal> applies to all licenses.
</para>
</listitem>
</itemizedlist>
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -7203,6 +7203,12 @@
githubId = 157610;
name = "Piotr Bogdan";
};
pborzenkov = {
email = "pavel@borzenkov.net";
github = "pborzenkov";
githubId = 434254;
name = "Pavel Borzenkov";
};
pblkt = {
email = "pebblekite@gmail.com";
github = "pblkt";
6 changes: 6 additions & 0 deletions nixos/doc/manual/release-notes/rl-2105.xml
Original file line number Diff line number Diff line change
@@ -100,6 +100,12 @@
<link linkend="sec-custom-ifnames">Assigning custom names</link> section
of the NixOS manual for an example using networkd links.
</para>
</listitem>
<listitem>
<para>
The <option>security.hideProcessInformation</option> module has been removed.
It was broken since the switch to cgroups-v2.
</para>
</listitem>
<listitem>
<para>
13 changes: 9 additions & 4 deletions nixos/modules/config/console.nix
Original file line number Diff line number Diff line change
@@ -144,11 +144,16 @@ in
''}
'';

systemd.services.systemd-vconsole-setup =
{
before = optional config.services.xserver.enable "display-manager.service";
after = [ "systemd-udev-settle.service" ];
systemd.services.reload-systemd-vconsole-setup =
{ description = "Reset console on configuration changes";
wantedBy = [ "multi-user.target" ];
restartTriggers = [ vconsoleConf consoleEnv ];
reloadIfChanged = true;
serviceConfig =
{ RemainAfterExit = true;
ExecStart = "${pkgs.coreutils}/bin/true";
ExecReload = "/run/current-system/systemd/bin/systemctl restart systemd-vconsole-setup";
};
};
}

3 changes: 2 additions & 1 deletion nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -207,7 +207,6 @@
./security/dhparams.nix
./security/duosec.nix
./security/google_oslogin.nix
./security/hidepid.nix
./security/lock-kernel-modules.nix
./security/misc.nix
./security/oath.nix
@@ -257,6 +256,8 @@
./services/backup/tsm.nix
./services/backup/zfs-replication.nix
./services/backup/znapzend.nix
./services/blockchain/ethereum/geth.nix
./services/backup/zrepl.nix
./services/cluster/hadoop/default.nix
./services/cluster/k3s/default.nix
./services/cluster/kubernetes/addons/dns.nix
2 changes: 0 additions & 2 deletions nixos/modules/profiles/hardened.nix
Original file line number Diff line number Diff line change
@@ -22,8 +22,6 @@ with lib;
environment.memoryAllocator.provider = mkDefault "scudo";
environment.variables.SCUDO_OPTIONS = mkDefault "ZeroContents=1";

security.hideProcessInformation = mkDefault true;

security.lockKernelModules = mkDefault true;

security.protectKernelImage = mkDefault true;
9 changes: 8 additions & 1 deletion nixos/modules/programs/steam.nix
Original file line number Diff line number Diff line change
@@ -4,6 +4,13 @@ with lib;

let
cfg = config.programs.steam;

steam = pkgs.steam.override {
extraLibraries = pkgs: with config.hardware.opengl;
if pkgs.hostPlatform.is64bit
then [ package ] ++ extraPackages
else [ package32 ] ++ extraPackages32;
};
in {
options.programs.steam.enable = mkEnableOption "steam";

@@ -18,7 +25,7 @@ in {

hardware.steam-hardware.enable = true;

environment.systemPackages = [ pkgs.steam ];
environment.systemPackages = [ steam steam.run ];
};

meta.maintainers = with maintainers; [ mkg20001 ];
5 changes: 5 additions & 0 deletions nixos/modules/rename.nix
Original file line number Diff line number Diff line change
@@ -73,6 +73,11 @@ with lib;
(mkRemovedOptionModule [ "services" "venus" ] "The corresponding package was removed from nixpkgs.")
(mkRemovedOptionModule [ "services" "flashpolicyd" ] "The flashpolicyd module has been removed. Adobe Flash Player is deprecated.")

(mkRemovedOptionModule [ "security" "hideProcessInformation" ] ''
The hidepid module was removed, since the underlying machinery
is broken when using cgroups-v2.
'')

# Do NOT add any option renames here, see top of the file
];
}
31 changes: 0 additions & 31 deletions nixos/modules/security/hidepid.nix

This file was deleted.

28 changes: 0 additions & 28 deletions nixos/modules/security/hidepid.xml

This file was deleted.

54 changes: 54 additions & 0 deletions nixos/modules/services/backup/zrepl.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{ config, pkgs, lib, ... }:

with lib;
let
cfg = config.services.zrepl;
format = pkgs.formats.yaml { };
configFile = format.generate "zrepl.yml" cfg.settings;
in
{
meta.maintainers = with maintainers; [ cole-h ];

options = {
services.zrepl = {
enable = mkEnableOption "zrepl";

settings = mkOption {
default = { };
description = ''
Configuration for zrepl. See <link
xlink:href="https://zrepl.github.io/configuration.html"/>
for more information.
'';
type = types.submodule {
freeformType = format.type;
};
};
};
};

### Implementation ###

config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.zrepl ];

# zrepl looks for its config in this location by default. This
# allows the use of e.g. `zrepl signal wakeup <job>` without having
# to specify the storepath of the config.
environment.etc."zrepl/zrepl.yml".source = configFile;

systemd.packages = [ pkgs.zrepl ];
systemd.services.zrepl = {
requires = [ "local-fs.target" ];
wantedBy = [ "zfs.target" ];
after = [ "zfs.target" ];

path = [ config.boot.zfs.package ];
restartTriggers = [ configFile ];

serviceConfig = {
Restart = "on-failure";
};
};
};
}
Loading