Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 5, 2021
2 parents c12e3c1 + b2da1af commit ac4cb43
Show file tree
Hide file tree
Showing 72 changed files with 1,185 additions and 474 deletions.
4 changes: 2 additions & 2 deletions doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ you of the correct hash.

`rustPlatform` provides the following hooks to automate Cargo builds:

* `cargoSetupHook`: configure Cargo to use depenencies vendored
* `cargoSetupHook`: configure Cargo to use dependencies vendored
through `fetchCargoTarball`. This hook uses the `cargoDeps`
environment variable to find the vendored dependencies. If a project
already vendors its dependencies, the variable `cargoVendorDir` can
Expand Down Expand Up @@ -701,7 +701,7 @@ Some crates require external libraries. For crates from
`defaultCrateOverrides` package in nixpkgs itself.
Starting from that file, one can add more overrides, to add features
or build inputs by overriding the hello crate in a seperate file.
or build inputs by overriding the hello crate in a separate file.
```nix
with import <nixpkgs> {};
Expand Down
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8910,6 +8910,12 @@
githubId = 421510;
name = "Noé Rubinstein";
};
photex = {
email = "[email protected]";
github = "photex";
githubId = 301903;
name = "Chip Collier";
};
phreedom = {
email = "[email protected]";
github = "phreedom";
Expand Down
4 changes: 2 additions & 2 deletions nixos/doc/manual/administration/cleaning-store.chapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ a while to finish.
## NixOS Boot Entries {#sect-nixos-gc-boot-entries}

If your `/boot` partition runs out of space, after clearing old profiles
you must rebuild your system with `nixos-rebuild` to update the `/boot`
partition and clear space.
you must rebuild your system with `nixos-rebuild boot` or `nixos-rebuild
switch` to update the `/boot` partition and clear space.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ $ nix-store --optimise
<para>
If your <literal>/boot</literal> partition runs out of space,
after clearing old profiles you must rebuild your system with
<literal>nixos-rebuild</literal> to update the
<literal>nixos-rebuild boot</literal> or
<literal>nixos-rebuild switch</literal> to update the
<literal>/boot</literal> partition and clear space.
</para>
</section>
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/audio/roon-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ in {
environment.ROON_DATAROOT = "/var/lib/${name}";

serviceConfig = {
ExecStart = "${pkgs.roon-server}/start.sh";
ExecStart = "${pkgs.roon-server}/bin/RoonServer";
LimitNOFILE = 8192;
User = cfg.user;
Group = cfg.group;
Expand Down
41 changes: 41 additions & 0 deletions nixos/tests/wine.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ system ? builtins.currentSystem
, pkgs ? import ../.. { inherit system; config = { }; }
}:

let
inherit (pkgs.lib) concatMapStrings listToAttrs;
inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest;

hello32 = "${pkgs.pkgsCross.mingw32.hello}/bin/hello.exe";
hello64 = "${pkgs.pkgsCross.mingwW64.hello}/bin/hello.exe";

makeWineTest = packageSet: exes: variant: rec {
name = "${packageSet}-${variant}";
value = makeTest {
inherit name;
meta = with pkgs.lib.maintainers; { maintainers = [ chkno ]; };

machine = { pkgs, ... }: {
environment.systemPackages = [ pkgs."${packageSet}"."${variant}" ];
virtualisation.diskSize = "800";
};

testScript = ''
machine.wait_for_unit("multi-user.target")
${concatMapStrings (exe: ''
greeting = machine.succeed(
"bash -c 'wine ${exe} 2> >(tee wine-stderr >&2)'"
)
assert 'Hello, world!' in greeting
machine.fail(
"fgrep 'Could not find Wine Gecko. HTML rendering will be disabled.' wine-stderr"
)
'') exes}
'';
};
};

variants = [ "base" "full" "minimal" "staging" "unstable" ];

in listToAttrs (map (makeWineTest "winePackages" [ hello32 ]) variants
++ map (makeWineTest "wineWowPackages" [ hello32 hello64 ]) variants)
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/ledger-live-desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

let
pname = "ledger-live-desktop";
version = "2.34.3";
version = "2.34.4";
name = "${pname}-${version}";

src = fetchurl {
url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage";
sha256 = "07r7gfn44c4bdcq9rgs6v4frrl2g004lh9lcsrj6rbqy6949r9j2";
sha256 = "00zl7ywmkbhwzkj7p618rin5pd0ix8cas5q1b8ka6ynw4wlg3w5c";
};

appimageContents = appimageTools.extractType2 {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/jetbrains/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let loName = toLower product;
+ ".vmoptions";
in

with stdenv; lib.makeOverridable mkDerivation rec {
with stdenv; lib.makeOverridable mkDerivation (rec {
inherit name src;
meta = args.meta // { inherit mainProgram; };

Expand Down Expand Up @@ -94,4 +94,4 @@ with stdenv; lib.makeOverridable mkDerivation rec {

} // lib.optionalAttrs (!(meta.license.free or true)) {
preferLocalBuild = true;
}
})
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchFromGitLab, fetchpatch, qtsvg, qtbase, libcsys, libcprime, cmake, ninja, }:
{ mkDerivation, lib, fetchFromGitLab, fetchpatch, qtsvg, qtbase, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "coreaction";
Expand Down Expand Up @@ -27,8 +27,8 @@ mkDerivation rec {
buildInputs = [
qtsvg
qtbase
libcsys
libcprime
libcsys
];

meta = with lib; {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, libcprime, cmake, ninja, }:
{ mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "corearchiver";
Expand All @@ -18,9 +18,10 @@ mkDerivation rec {

buildInputs = [
qtbase
libcprime
libarchive-qt
libarchive
libcprime
libcsys
];

meta = with lib; {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libcprime, libcsys, cmake, ninja }:
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "corefm";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, libcprime, cmake, ninja }:
{ mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "coregarage";
Expand All @@ -18,9 +18,10 @@ mkDerivation rec {

buildInputs = [
qtbase
libcprime
libarchive
libarchive-qt
libcprime
libcsys
];

meta = with lib; {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libcprime, cmake, ninja }:
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "corehunt";
Expand All @@ -19,6 +19,7 @@ mkDerivation rec {
buildInputs = [
qtbase
libcprime
libcsys
];

meta = with lib; {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchFromGitLab, libcprime, qtbase, cmake, ninja }:
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "coreimage";
Expand All @@ -19,6 +19,7 @@ mkDerivation rec {
buildInputs = [
qtbase
libcprime
libcsys
];

meta = with lib; {
Expand Down
35 changes: 35 additions & 0 deletions pkgs/applications/misc/cubocore-packages/coreinfo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, libzen, libmediainfo, zlib, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "coreinfo";
version = "4.2.0";

src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-kLBOvvulHE1+4TyZVEVZwEA+Id7+w8fI3ll+QL2ukr0=";
};

nativeBuildInputs = [
cmake
ninja
];

buildInputs = [
qtbase
libzen
libmediainfo
zlib
libcprime
libcsys
];

meta = with lib; {
description = "A file information tool from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/coreinfo";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}
35 changes: 35 additions & 0 deletions pkgs/applications/misc/cubocore-packages/corekeyboard/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, xorg, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "corekeyboard";
version = "4.2.0";

src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-0CbQ43BN4ORvtxs6FwNkgk/0jcVdFJq/tqvjUGYanM4=";
};

nativeBuildInputs = [
cmake
ninja
];

buildInputs = [
qtbase
qtx11extras
xorg.libXtst
xorg.libX11
libcprime
libcsys
];

meta = with lib; {
description = "A virtual keyboard for X11 from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corekeyboard";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}
32 changes: 32 additions & 0 deletions pkgs/applications/misc/cubocore-packages/corepad/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "corepad";
version = "4.2.0";

src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2bGHVv0+0NlkIqnvWm014Kr20uARWnOS5xSuNmCt/bQ=";
};

nativeBuildInputs = [
cmake
ninja
];

buildInputs = [
qtbase
libcprime
libcsys
];

meta = with lib; {
description = "A document editor from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corepad";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}
32 changes: 32 additions & 0 deletions pkgs/applications/misc/cubocore-packages/corepaint/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "corepaint";
version = "4.2.0";

src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-nATraYm7FZEXoNWgXt1G86KdrAvRgM358F+YdfWcnkg=";
};

nativeBuildInputs = [
cmake
ninja
];

buildInputs = [
qtbase
libcprime
libcsys
];

meta = with lib; {
description = "A paint app from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corepaint";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}
33 changes: 33 additions & 0 deletions pkgs/applications/misc/cubocore-packages/corepdf/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, poppler, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
pname = "corepdf";
version = "4.2.0";

src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-HeOklgCwJ5h3DeelJOZqasG+eC9DGG3R0Cqg2yPKYhM=";
};

nativeBuildInputs = [
cmake
ninja
];

buildInputs = [
qtbase
poppler
libcprime
libcsys
];

meta = with lib; {
description = "A PDF viewer from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corepdf";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}
Loading

0 comments on commit ac4cb43

Please sign in to comment.