Merge release-21.05 into staging-next-21.05
This commit is contained in:
commit
8c1d120aa9
@ -53,7 +53,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
shellAliases = mkOption {
|
shellAliases = mkOption {
|
||||||
default = {};
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Set of aliases for zsh shell, which overrides <option>environment.shellAliases</option>.
|
Set of aliases for zsh shell, which overrides <option>environment.shellAliases</option>.
|
||||||
See <option>environment.shellAliases</option> for an option format description.
|
See <option>environment.shellAliases</option> for an option format description.
|
||||||
@ -118,7 +118,9 @@ in
|
|||||||
setOptions = mkOption {
|
setOptions = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [
|
default = [
|
||||||
"HIST_IGNORE_DUPS" "SHARE_HISTORY" "HIST_FCNTL_LOCK"
|
"HIST_IGNORE_DUPS"
|
||||||
|
"SHARE_HISTORY"
|
||||||
|
"HIST_FCNTL_LOCK"
|
||||||
];
|
];
|
||||||
example = [ "EXTENDED_HISTORY" "RM_STAR_WAIT" ];
|
example = [ "EXTENDED_HISTORY" "RM_STAR_WAIT" ];
|
||||||
description = ''
|
description = ''
|
||||||
@ -278,15 +280,29 @@ in
|
|||||||
|
|
||||||
environment.etc.zinputrc.source = ./zinputrc;
|
environment.etc.zinputrc.source = ./zinputrc;
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.zsh ]
|
environment.systemPackages =
|
||||||
++ optional cfg.enableCompletion pkgs.nix-zsh-completions;
|
let
|
||||||
|
completions =
|
||||||
|
if lib.versionAtLeast (lib.getVersion config.nix.package) "2.4pre"
|
||||||
|
then
|
||||||
|
pkgs.nix-zsh-completions.overrideAttrs
|
||||||
|
(_: {
|
||||||
|
postInstall = ''
|
||||||
|
rm $out/share/zsh/site-functions/_nix
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
else pkgs.nix-zsh-completions;
|
||||||
|
in
|
||||||
|
[ pkgs.zsh ]
|
||||||
|
++ optional cfg.enableCompletion completions;
|
||||||
|
|
||||||
environment.pathsToLink = optional cfg.enableCompletion "/share/zsh";
|
environment.pathsToLink = optional cfg.enableCompletion "/share/zsh";
|
||||||
|
|
||||||
#users.defaultUserShell = mkDefault "/run/current-system/sw/bin/zsh";
|
#users.defaultUserShell = mkDefault "/run/current-system/sw/bin/zsh";
|
||||||
|
|
||||||
environment.shells =
|
environment.shells =
|
||||||
[ "/run/current-system/sw/bin/zsh"
|
[
|
||||||
|
"/run/current-system/sw/bin/zsh"
|
||||||
"${pkgs.zsh}/bin/zsh"
|
"${pkgs.zsh}/bin/zsh"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
pname = "steam-runtime";
|
pname = "steam-runtime";
|
||||||
# from https://repo.steampowered.com/steamrt-images-scout/snapshots/
|
# from https://repo.steampowered.com/steamrt-images-scout/snapshots/
|
||||||
version = "0.20210527.0";
|
version = "0.20210630.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/steam-runtime.tar.xz";
|
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/steam-runtime.tar.xz";
|
||||||
sha256 = "1880d1byn265w0vy5p98d8w8virnbywj707ydybj7rixhid2gzdc";
|
sha256 = "sha256-vwSgk3hEaI/RO9uvehAx3+ZBynpqjwGDzuyeyGCnu18=";
|
||||||
name = "scout-runtime-${version}.tar.gz";
|
name = "scout-runtime-${version}.tar.gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
27
pkgs/tools/archivers/lha/default.nix
Normal file
27
pkgs/tools/archivers/lha/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{stdenv, lib, fetchFromGitHub, autoreconfHook}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "lha";
|
||||||
|
version = "unstable-2021-01-07";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jca02266";
|
||||||
|
repo = "lha";
|
||||||
|
rev = "03475355bc6311f7f816ea9a88fb34a0029d975b";
|
||||||
|
sha256 = "18w2x0g5yq89yxkxh1fmb05lz4hw7a3b4jmkk95gvh11mwbbr5lm";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "LHa is an archiver and compressor using the LZSS and Huffman encoding compression algorithms";
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = [ maintainers.sander ];
|
||||||
|
# Some of the original LhA code has been rewritten and the current author
|
||||||
|
# considers adopting a "true" free and open source license for it.
|
||||||
|
# However, old code is still covered by the original LHa license, which is
|
||||||
|
# not a free software license (it has additional requirements on commercial
|
||||||
|
# use).
|
||||||
|
license = licenses.unfree;
|
||||||
|
};
|
||||||
|
}
|
@ -6127,6 +6127,8 @@ in
|
|||||||
|
|
||||||
lf = callPackage ../tools/misc/lf {};
|
lf = callPackage ../tools/misc/lf {};
|
||||||
|
|
||||||
|
lha = callPackage ../tools/archivers/lha { };
|
||||||
|
|
||||||
lhasa = callPackage ../tools/compression/lhasa {};
|
lhasa = callPackage ../tools/compression/lhasa {};
|
||||||
|
|
||||||
libcpuid = callPackage ../tools/misc/libcpuid { };
|
libcpuid = callPackage ../tools/misc/libcpuid { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user