Merge staging-next into staging
This commit is contained in:
commit
58cfebde3e
@ -10,6 +10,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||
|
||||
- Cinnamon has been updated to 5.6, see [the pull request](https://github.com/NixOS/nixpkgs/pull/201328#issue-1449910204) for what is changed.
|
||||
|
||||
- KDE Plasma has been updated to v5.27, see [the release notes](https://kde.org/announcements/plasma/5/5.27.0/) for what is changed.
|
||||
|
||||
- `nixos-rebuild` now supports an extra `--specialisation` option that can be used to change specialisation for `switch` and `test` commands.
|
||||
|
||||
## New Services {#sec-release-23.05-new-services}
|
||||
|
@ -152,7 +152,7 @@ services.akkoma.config.":pleroma".":media_preview_proxy" = {
|
||||
|
||||
## Frontend management {#modules-services-akkoma-frontend-management}
|
||||
|
||||
Akkoma will be deployed with the `pleroma-fe` and `admin-fe` frontends by default. These can be
|
||||
Akkoma will be deployed with the `akkoma-fe` and `admin-fe` frontends by default. These can be
|
||||
modified by setting
|
||||
[{option}`services.akkoma.frontends`](options.html#opt-services.akkoma.frontends).
|
||||
|
||||
@ -160,7 +160,7 @@ The following example overrides the primary frontend’s default configuration u
|
||||
derivation.
|
||||
|
||||
```nix
|
||||
services.akkoma.frontends.primary.package = pkgs.runCommand "pleroma-fe" {
|
||||
services.akkoma.frontends.primary.package = pkgs.runCommand "akkoma-fe" {
|
||||
config = builtins.toJSON {
|
||||
expertLevel = 1;
|
||||
collapseMessageWithSubject = false;
|
||||
@ -177,10 +177,10 @@ services.akkoma.frontends.primary.package = pkgs.runCommand "pleroma-fe" {
|
||||
passAsFile = [ "config" ];
|
||||
} ''
|
||||
mkdir $out
|
||||
lndir ${pkgs.akkoma-frontends.pleroma-fe} $out
|
||||
lndir ${pkgs.akkoma-frontends.akkoma-fe} $out
|
||||
|
||||
rm $out/static/config.json
|
||||
jq -s add ${pkgs.akkoma-frontends.pleroma-fe}/static/config.json ${config} \
|
||||
jq -s add ${pkgs.akkoma-frontends.akkoma-fe}/static/config.json ${config} \
|
||||
>$out/static/config.json
|
||||
'';
|
||||
```
|
||||
|
@ -51,13 +51,13 @@ let
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
description = mdDoc "Akkoma frontend package.";
|
||||
example = literalExpression "pkgs.akkoma-frontends.pleroma-fe";
|
||||
example = literalExpression "pkgs.akkoma-frontends.akkoma-fe";
|
||||
};
|
||||
|
||||
name = mkOption {
|
||||
type = types.nonEmptyStr;
|
||||
description = mdDoc "Akkoma frontend name.";
|
||||
example = "pleroma-fe";
|
||||
example = "akkoma-fe";
|
||||
};
|
||||
|
||||
ref = mkOption {
|
||||
@ -476,8 +476,8 @@ in {
|
||||
type = with types; attrsOf (submodule frontend);
|
||||
default = {
|
||||
primary = {
|
||||
package = pkgs.akkoma-frontends.pleroma-fe;
|
||||
name = "pleroma-fe";
|
||||
package = pkgs.akkoma-frontends.akkoma-fe;
|
||||
name = "akkoma-fe";
|
||||
ref = "stable";
|
||||
};
|
||||
admin = {
|
||||
@ -489,8 +489,8 @@ in {
|
||||
defaultText = literalExpression ''
|
||||
{
|
||||
primary = {
|
||||
package = pkgs.akkoma-frontends.pleroma-fe;
|
||||
name = "pleroma-fe";
|
||||
package = pkgs.akkoma-frontends.akkoma-fe;
|
||||
name = "akkoma-fe";
|
||||
ref = "stable";
|
||||
};
|
||||
admin = {
|
||||
|
@ -79,7 +79,7 @@ in {
|
||||
(which can be opened e.g. by running `nixos-help`).
|
||||
'')
|
||||
(mkRemovedOptionModule [ "services" "nextcloud" "disableImagemagick" ] ''
|
||||
Use services.nextcloud.nginx.enableImagemagick instead.
|
||||
Use services.nextcloud.enableImagemagick instead.
|
||||
'')
|
||||
];
|
||||
|
||||
|
@ -316,7 +316,8 @@ in
|
||||
++ lib.optional config.services.colord.enable pkgs.colord-kde
|
||||
++ lib.optional config.services.hardware.bolt.enable pkgs.plasma5Packages.plasma-thunderbolt
|
||||
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ]
|
||||
++ lib.optional config.services.xserver.wacom.enable pkgs.wacomtablet;
|
||||
++ lib.optional config.services.xserver.wacom.enable pkgs.wacomtablet
|
||||
++ lib.optional config.services.flatpak.enable flatpak-kcm;
|
||||
|
||||
# Extra services for D-Bus activation
|
||||
services.dbus.packages = [
|
||||
|
@ -495,7 +495,7 @@ in {
|
||||
|
||||
# If we are not booting a NixOS closure (e.g. init=/bin/sh),
|
||||
# we don't know what root to prepare so we don't do anything
|
||||
if ! [ -x "/sysroot$closure/prepare-root" ]; then
|
||||
if ! [ -x "/sysroot$(readlink "/sysroot$closure/prepare-root" || echo "$closure/prepare-root")" ]; then
|
||||
echo "NEW_INIT=''${initParam[1]}" > /etc/switch-root.conf
|
||||
echo "$closure does not look like a NixOS installation - not activating"
|
||||
exit 0
|
||||
|
@ -13,7 +13,7 @@ in pkgs.lib.listToAttrs (builtins.map ({ predictable, withNetworkd }: {
|
||||
name = pkgs.lib.optionalString (!predictable) "un" + "predictable"
|
||||
+ pkgs.lib.optionalString withNetworkd "Networkd";
|
||||
value = makeTest {
|
||||
name = "${if predictable then "" else "un"}predictableInterfaceNames${if withNetworkd then "-with-networkd" else ""}";
|
||||
name = "${pkgs.lib.optionalString (!predictable) "un"}predictableInterfaceNames${pkgs.lib.optionalString withNetworkd "-with-networkd"}";
|
||||
meta = {};
|
||||
|
||||
nodes.machine = { lib, ... }: {
|
||||
|
@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
|
||||
prePatch = ''
|
||||
sed -e s,/bin/ln,ln,g -i src/Makefile
|
||||
sed -e 's,^CXXFLAGS=-O2,CXXFLAGS=-O2 -D PATH_ESPEAK_DATA=\\\"$(DATADIR)\\\",' -i src/Makefile
|
||||
'' + (if portaudio.api_version == 19 then ''
|
||||
'' + (lib.optionalString (portaudio.api_version == 19) ''
|
||||
cp src/portaudio19.h src/portaudio.h
|
||||
'' else "");
|
||||
'');
|
||||
|
||||
configurePhase = ''
|
||||
cd src
|
||||
|
@ -10,11 +10,11 @@ stdenv.mkDerivation {
|
||||
};
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ eigen ffmpeg ];
|
||||
fixupPhase = if stdenv.isDarwin then ''
|
||||
fixupPhase = lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -change libmusly.dylib $out/lib/libmusly.dylib $out/bin/musly
|
||||
install_name_tool -change libmusly_resample.dylib $out/lib/libmusly_resample.dylib $out/bin/musly
|
||||
install_name_tool -change libmusly_resample.dylib $out/lib/libmusly_resample.dylib $out/lib/libmusly.dylib
|
||||
'' else "";
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.musly.org";
|
||||
|
@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||
buildInputs = [ lightdm gtk3 glib ];
|
||||
|
||||
postUnpack = if conf != "" then ''
|
||||
postUnpack = lib.optionalString (conf != "") ''
|
||||
cp ${builtins.toFile "config.h" conf} source/config.h
|
||||
'' else "";
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin $out/share/xgreeters
|
||||
|
@ -10,8 +10,8 @@ let
|
||||
inherit tiling_wm;
|
||||
};
|
||||
stableVersion = {
|
||||
version = "2022.1.1.19"; # "Android Studio Electric Eel (2022.1.1)"
|
||||
sha256Hash = "luxE6a2C86JB28ezuIZV49TyE314S1RcNXQnCQamjUA=";
|
||||
version = "2022.1.1.20"; # "Android Studio Electric Eel (2022.1.1) Patch 1"
|
||||
sha256Hash = "sha256-UX7aOpTM23S7NBPNAz/fKEyK/dqWpok0NnpX9wck6p4=";
|
||||
};
|
||||
betaVersion = {
|
||||
version = "2022.2.1.12"; # "Android Studio Flamingo (2022.2.1) Beta 1"
|
||||
|
@ -27,18 +27,18 @@ rec {
|
||||
|
||||
postPatch = (if tex == null then ''
|
||||
gunzip < ${fullFontsSrc} | (cd TeXmacs && tar xvf -)
|
||||
'' else if extraFonts then ''
|
||||
'' else lib.optionalString extraFonts ''
|
||||
gunzip < ${extraFontsSrc} | (cd TeXmacs && tar xvf -)
|
||||
'' else "") +
|
||||
(if chineseFonts then ''
|
||||
'') +
|
||||
(lib.optionalString chineseFonts ''
|
||||
gunzip < ${chineseFontsSrc} | (cd TeXmacs && tar xvf -)
|
||||
'' else "") +
|
||||
(if japaneseFonts then ''
|
||||
'') +
|
||||
(lib.optionalString japaneseFonts ''
|
||||
gunzip < ${japaneseFontsSrc} | (cd TeXmacs && tar xvf -)
|
||||
'' else "") +
|
||||
(if koreanFonts then ''
|
||||
'') +
|
||||
(lib.optionalString koreanFonts ''
|
||||
gunzip < ${koreanFontsSrc} | (cd TeXmacs && tar xvf -)
|
||||
'' else "");
|
||||
'');
|
||||
|
||||
|
||||
meta = {
|
||||
|
@ -317,8 +317,8 @@ rec {
|
||||
lib.warnIf (wrapManual != null) ''
|
||||
vim.customize: wrapManual is deprecated: the manual is now included by default if `name == "vim"`.
|
||||
${if wrapManual == true && name != "vim" then "Set `standalone = false` to include the manual."
|
||||
else if wrapManual == false && name == "vim" then "Set `standalone = true` to get the *vim wrappers only."
|
||||
else ""}''
|
||||
else lib.optionalString (wrapManual == false && name == "vim") "Set `standalone = true` to get the *vim wrappers only."
|
||||
}''
|
||||
lib.warnIf (wrapGui != null)
|
||||
"vim.customize: wrapGui is deprecated: gvim is now automatically included if present"
|
||||
lib.throwIfNot (vimExecutableName == null && gvimExecutableName == null)
|
||||
@ -330,7 +330,7 @@ rec {
|
||||
else throw "at least one of vimrcConfig and vimrcFile must be specified";
|
||||
bin = runCommand "${name}-bin" { nativeBuildInputs = [ makeWrapper ]; } ''
|
||||
vimrc=${lib.escapeShellArg vimrc}
|
||||
gvimrc=${if gvimrcFile != null then lib.escapeShellArg gvimrcFile else ""}
|
||||
gvimrc=${lib.optionalString (gvimrcFile != null) (lib.escapeShellArg gvimrcFile)}
|
||||
|
||||
mkdir -p "$out/bin"
|
||||
for exe in ${
|
||||
|
101
pkgs/applications/emulators/c64-debugger/default.nix
Normal file
101
pkgs/applications/emulators/c64-debugger/default.nix
Normal file
@ -0,0 +1,101 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, alsa-lib
|
||||
, gtk3
|
||||
, libGL
|
||||
, libGLU
|
||||
, libX11
|
||||
, pkg-config
|
||||
, upx
|
||||
, xcbutil
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "c64-debugger";
|
||||
version = "0.64.58.6";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.code.sf.net/p/c64-debugger/code";
|
||||
rev = "f97772e3f5c8b4fa99e8ed212ed1c4cb1e2389f1";
|
||||
sha256 = "sha256-3SR73AHQlYSEYpJLtQ/aJ1UITZGq7aA9tQKxBsn/yuc=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
gtk3
|
||||
libGL
|
||||
libGLU
|
||||
pkg-config
|
||||
libX11
|
||||
xcbutil
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
upx
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Disable default definition of RUN_COMMODORE64
|
||||
sed -i 's|^#define RUN_COMMODORE64|//#define RUN_COMMODORE64|' MTEngine/Games/c64/C64D_Version.h
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
# Build C64 debugger
|
||||
make -C MTEngine \
|
||||
CFLAGS="-w -O2 -fcommon" \
|
||||
CXXFLAGS="-w -O2 --std=c++11" \
|
||||
DEFINES="-DRUN_COMMODORE64" \
|
||||
-j$NIX_BUILD_CORES
|
||||
mv MTEngine/c64debugger c64debugger
|
||||
make -C MTEngine clean
|
||||
|
||||
# Build 65XE debugger
|
||||
make -C MTEngine \
|
||||
CFLAGS="-w -O2 -fcommon" \
|
||||
CXXFLAGS="-w -O2 --std=c++11" \
|
||||
DEFINES="-DRUN_ATARI" \
|
||||
-j$NIX_BUILD_CORES
|
||||
mv MTEngine/c64debugger 65xedebugger
|
||||
make -C MTEngine clean
|
||||
|
||||
# Build NES debugger
|
||||
make -C MTEngine \
|
||||
CFLAGS="-w -O2 -fcommon" \
|
||||
CXXFLAGS="-w -O2 --std=c++11" \
|
||||
DEFINES="-DRUN_NES" \
|
||||
-j$NIX_BUILD_CORES
|
||||
mv MTEngine/c64debugger nesdebugger
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -d "$out/bin"
|
||||
install -d "$out/share/doc"
|
||||
install -m 755 c64debugger 65xedebugger nesdebugger "$out/bin"
|
||||
install -m 644 MTEngine/Assets/*.txt "$out/share/doc"
|
||||
install -m 644 MTEngine/Assets/*.pdf "$out/share/doc"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://sourceforge.net/projects/c64-debugger";
|
||||
description = "Commodore 64, Atari XL/XE and NES code and memory debugger that works in real time";
|
||||
license = with licenses; [
|
||||
gpl3Only # c64-debugger
|
||||
mit # MTEngine
|
||||
# emulators included in c64-debugger
|
||||
gpl2Plus # VICE, atari800
|
||||
gpl2 # nestopiaue
|
||||
];
|
||||
mainProgram = "c64debugger";
|
||||
maintainers = [ maintainers.detegr ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -1,15 +1,10 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, SDL2
|
||||
, SDL2_image
|
||||
, SDL2_net
|
||||
, alsa-lib
|
||||
{ alsa-lib
|
||||
, copyDesktopItems
|
||||
, fetchFromGitHub
|
||||
, fluidsynth
|
||||
, glib
|
||||
, gtest
|
||||
, irr1
|
||||
, lib
|
||||
, libGL
|
||||
, libGLU
|
||||
, libjack2
|
||||
@ -25,17 +20,22 @@
|
||||
, ninja
|
||||
, opusfile
|
||||
, pkg-config
|
||||
, irr1
|
||||
, SDL2
|
||||
, SDL2_image
|
||||
, SDL2_net
|
||||
, speexdsp
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (self: {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dosbox-staging";
|
||||
version = "0.80.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dosbox-staging";
|
||||
repo = "dosbox-staging";
|
||||
rev = "v${self.version}";
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc=";
|
||||
};
|
||||
|
||||
@ -49,9 +49,6 @@ stdenv.mkDerivation (self: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
SDL2_image
|
||||
SDL2_net
|
||||
alsa-lib
|
||||
fluidsynth
|
||||
glib
|
||||
@ -66,6 +63,9 @@ stdenv.mkDerivation (self: {
|
||||
libslirp
|
||||
libsndfile
|
||||
opusfile
|
||||
SDL2
|
||||
SDL2_image
|
||||
SDL2_net
|
||||
speexdsp
|
||||
];
|
||||
|
||||
@ -91,17 +91,17 @@ stdenv.mkDerivation (self: {
|
||||
# original dosbox. Doing it this way allows us to work with frontends and
|
||||
# launchers that expect the binary to be named dosbox, but get out of the
|
||||
# way of vanilla dosbox if the user desires to install that as well.
|
||||
mv $out/bin/dosbox $out/bin/${self.pname}
|
||||
mv $out/bin/dosbox $out/bin/${pname}
|
||||
makeWrapper $out/bin/dosbox-staging $out/bin/dosbox
|
||||
|
||||
# Create a symlink to dosbox manual instead of merely copying it
|
||||
pushd $out/share/man/man1/
|
||||
mv dosbox.1.gz ${self.pname}.1.gz
|
||||
ln -s ${self.pname}.1.gz dosbox.1.gz
|
||||
mv dosbox.1.gz ${pname}.1.gz
|
||||
ln -s ${pname}.1.gz dosbox.1.gz
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "https://dosbox-staging.github.io/";
|
||||
description = "A modernized DOS emulator";
|
||||
longDescription = ''
|
||||
@ -110,14 +110,10 @@ stdenv.mkDerivation (self: {
|
||||
existing DOSBox codebase while leveraging modern development tools and
|
||||
practices.
|
||||
'';
|
||||
changelog = "https://github.com/dosbox-staging/dosbox-staging/releases/tag/v${self.version}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [
|
||||
lib.maintainers.joshuafern
|
||||
lib.maintainers.AndersonTorres
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ joshuafern AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
priority = 101;
|
||||
};
|
||||
})
|
||||
# TODO: report upstream about not finding extra SDL2 libraries
|
||||
}
|
||||
# TODO: report upstream about not finding SDL2_net
|
||||
|
@ -34,11 +34,11 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
wrapVifmMedia = "wrapProgram $out/share/vifm/vifm-media --prefix PATH : ${path}";
|
||||
in ''
|
||||
${if mediaSupport then wrapVifmMedia else ""}
|
||||
${lib.optionalString mediaSupport wrapVifmMedia}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A vi-like file manager${if isFullPackage then "; Includes support for optional features" else ""}";
|
||||
description = "A vi-like file manager${lib.optionalString isFullPackage "; Includes support for optional features"}";
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
platforms = if mediaSupport then platforms.linux else platforms.unix;
|
||||
license = licenses.gpl2;
|
||||
|
@ -87,10 +87,10 @@ stdenv.mkDerivation rec {
|
||||
'' else ''
|
||||
substituteInPlace extern/clew/src/clew.c --replace '"libOpenCL.so"' '"${ocl-icd}/lib/libOpenCL.so"'
|
||||
'') +
|
||||
(if hipSupport then ''
|
||||
(lib.optionalString hipSupport ''
|
||||
substituteInPlace extern/hipew/src/hipew.c --replace '"/opt/rocm/hip/lib/libamdhip64.so"' '"${hip}/lib/libamdhip64.so"'
|
||||
substituteInPlace extern/hipew/src/hipew.c --replace '"opt/rocm/hip/bin"' '"${hip}/bin"'
|
||||
'' else "");
|
||||
'');
|
||||
|
||||
cmakeFlags =
|
||||
[
|
||||
|
@ -33,6 +33,14 @@ mkDerivation rec {
|
||||
sha256 = "sha256-q+hiupwlA0PfG+xtomCUp2zv6HQrGgmOd9CU193ucrY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# FIXME: backport GCC 12 build fix, remove for next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/maliit/framework/commit/86e55980e3025678882cb9c4c78614f86cdc1f04.diff";
|
||||
hash = "sha256-5R+sCI05vJX5epu6hcDSWWzlZ8ns1wKEJ+u8xC6d8Xo=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
at-spi2-atk
|
||||
at-spi2-core
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -46,7 +46,7 @@ in writeScript "update-${pname}" ''
|
||||
grep "^[0-9]" | \
|
||||
sort --version-sort | \
|
||||
grep -v "funnelcake" | \
|
||||
grep -e "${if isBeta then "b" else ""}\([[:digit:]]\|[[:digit:]][[:digit:]]\)$" | ${if isBeta then "" else "grep -v \"b\" |"} \
|
||||
grep -e "${lib.optionalString isBeta "b"}\([[:digit:]]\|[[:digit:]][[:digit:]]\)$" | ${lib.optionalString (not isBeta) "grep -v \"b\" |"} \
|
||||
tail -1`
|
||||
|
||||
curl --silent -o $HOME/shasums "$url$version/SHA256SUMS"
|
||||
|
@ -3,10 +3,10 @@
|
||||
rec {
|
||||
firefox = buildMozillaMach rec {
|
||||
pname = "firefox";
|
||||
version = "109.0.1";
|
||||
version = "110.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "58b21449a16a794152888f50e7fe9488c28739a7e067729acdc1de9f2e8384e6316cffdfe89f690f0d211189668d940825b4f8a26b8100468ae120772df99d72";
|
||||
sha512 = "52a37a8f59a694c4790c0a14cd81fba9e2c982f64e00191afd0897c39ae1d5e25f24cff16f74d0a0b5cdf8e93a9a0974b6042b0de605cf1a533ef4e6a3c0dcf9";
|
||||
};
|
||||
|
||||
meta = {
|
||||
@ -29,11 +29,11 @@ rec {
|
||||
|
||||
firefox-esr-102 = buildMozillaMach rec {
|
||||
pname = "firefox-esr-102";
|
||||
version = "102.7.0esr";
|
||||
version = "102.8.0esr";
|
||||
applicationName = "Mozilla Firefox ESR";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "2a9d212b5d15e1bf7a6156495126cbc9161d2057aeedea8f7a5a0670a19a9b00cf35044075935c8f3c788118856ba2cc00f9b297c5ac713f094857683f7cd13b";
|
||||
sha512 = "93ea87997b66088b94c6e943b6e99e9a71d1908444d096c0f65b6876d2c584e55ff6120266f3851f986b664bd1f12fa31206b03479c2b751e7c3ca097ac14275";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -70,7 +70,7 @@ let
|
||||
++ lib.optional libvaSupport libva
|
||||
++ [ gtk3 ];
|
||||
|
||||
suffix = if channel != "stable" then "-" + channel else "";
|
||||
suffix = lib.optionalString (channel != "stable") "-${channel}";
|
||||
|
||||
crashpadHandlerBinary = if lib.versionAtLeast version "94"
|
||||
then "chrome_crashpad_handler"
|
||||
|
@ -22,11 +22,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "evolution-ews";
|
||||
version = "3.46.3";
|
||||
version = "3.46.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "BFnqQFY2OKWllPQt3BzHGRotOCLCEcz/+82LNtMmQCU=";
|
||||
sha256 = "bLYE99MKkh7MgxA9ZPKOj1+1VcFT9mHSQvayB/9Hy58=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -44,11 +44,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "evolution";
|
||||
version = "3.46.3";
|
||||
version = "3.46.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "riIQdCXTDRejo0w1bNpfQKrXhG12vbYINEUYtdQpwfM=";
|
||||
sha256 = "eghCMc7SRaNLcT141Dp3Zgyso79S5qT1AwpqCAxpez0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preBuild = ''
|
||||
sed -i 's|zlib-1.2.8/zlib.h|zlib.h|g' *.c *.h
|
||||
${if stdenv.cc.isClang then "sed -i 's|g++|clang++|g' Makefile.std" else ""}
|
||||
${lib.optionalString stdenv.cc.isClang "sed -i 's|g++|clang++|g' Makefile.std"}
|
||||
|
||||
makeFlagsArray+=(
|
||||
ZLIB=-lz
|
||||
|
@ -76,11 +76,10 @@ stdenv.mkDerivation rec {
|
||||
# tagged releases don't have "unknown"
|
||||
# kicad nightlies use git describe --dirty
|
||||
# nix removes .git, so its approximated here
|
||||
postPatch = if (!stable) then ''
|
||||
postPatch = lib.optionalString (!stable) ''
|
||||
substituteInPlace cmake/KiCadVersion.cmake \
|
||||
--replace "unknown" "${builtins.substring 0 10 src.rev}"
|
||||
''
|
||||
else "";
|
||||
'';
|
||||
|
||||
makeFlags = optionals (debug) [ "CFLAGS+=-Og" "CFLAGS+=-ggdb" ];
|
||||
|
||||
|
@ -214,7 +214,7 @@ stdenv.mkDerivation rec {
|
||||
description = (if (stable)
|
||||
then "Open Source Electronics Design Automation suite"
|
||||
else "Open Source EDA suite, development build")
|
||||
+ (if (!with3d) then ", without 3D models" else "");
|
||||
+ (lib.optionalString (!with3d) ", without 3D models");
|
||||
homepage = "https://www.kicad.org/";
|
||||
longDescription = ''
|
||||
KiCad is an open source software suite for Electronic Design Automation.
|
||||
|
@ -66,10 +66,10 @@ let
|
||||
buildIde = args.buildIde or (!coqAtLeast "8.14");
|
||||
ideFlags = optionalString (buildIde && !coqAtLeast "8.10")
|
||||
"-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt";
|
||||
csdpPatch = if csdp != null then ''
|
||||
csdpPatch = lib.optionalString (csdp != null) ''
|
||||
substituteInPlace plugins/micromega/sos.ml --replace "; csdp" "; ${csdp}/bin/csdp"
|
||||
substituteInPlace plugins/micromega/coq_micromega.ml --replace "System.is_in_system_path \"csdp\"" "true"
|
||||
'' else "";
|
||||
'';
|
||||
ocamlPackages = if !isNull customOCamlPackages then customOCamlPackages
|
||||
else with versions; switch coq-version [
|
||||
{ case = range "8.16" "8.17"; out = ocamlPackages_4_14; }
|
||||
@ -158,7 +158,7 @@ self = stdenv.mkDerivation {
|
||||
UNAME=$(type -tp uname)
|
||||
RM=$(type -tp rm)
|
||||
substituteInPlace tools/beautify-archive --replace "/bin/rm" "$RM"
|
||||
${if !coqAtLeast "8.7" then "substituteInPlace configure.ml --replace \"md5 -q\" \"md5sum\"" else ""}
|
||||
${lib.optionalString (!coqAtLeast "8.7") "substituteInPlace configure.ml --replace \"md5 -q\" \"md5sum\""}
|
||||
${csdpPatch}
|
||||
'';
|
||||
|
||||
@ -196,7 +196,7 @@ self = stdenv.mkDerivation {
|
||||
categories = [ "Development" "Science" "Math" "IDE" "GTK" ];
|
||||
});
|
||||
|
||||
postInstall = let suffix = if coqAtLeast "8.14" then "-core" else ""; in optionalString (!coqAtLeast "8.17") ''
|
||||
postInstall = let suffix = optionalString (coqAtLeast "8.14") "-core"; in optionalString (!coqAtLeast "8.17") ''
|
||||
cp bin/votour $out/bin/
|
||||
'' + ''
|
||||
ln -s $out/lib/coq${suffix} $OCAMLFIND_DESTDIR/coq${suffix}
|
||||
@ -227,12 +227,12 @@ if coqAtLeast "8.17" then self.overrideAttrs(_: {
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
make dunestrap
|
||||
dune build -p coq-core,coq-stdlib,coq,coqide-server${if buildIde then ",coqide" else ""} -j $NIX_BUILD_CORES
|
||||
dune build -p coq-core,coq-stdlib,coq,coqide-server${lib.optionalString buildIde ",coqide"} -j $NIX_BUILD_CORES
|
||||
runHook postBuild
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
dune install --prefix $out coq-core coq-stdlib coq coqide-server${if buildIde then " coqide" else ""}
|
||||
dune install --prefix $out coq-core coq-stdlib coq coqide-server${lib.optionalString buildIde " coqide"}
|
||||
runHook postInstall
|
||||
'';
|
||||
}) else self
|
||||
|
@ -18,7 +18,7 @@ let
|
||||
src = sage-with-env.env.lib.src;
|
||||
runAllTests = files == null;
|
||||
testArgs = if runAllTests then "--all" else testFileList;
|
||||
patienceSpecifier = if longTests then "--long" else "";
|
||||
patienceSpecifier = lib.optionalString longTests "--long";
|
||||
timeSpecifier = if timeLimit == null then "" else "--short ${toString timeLimit}";
|
||||
relpathToArg = relpath: lib.escapeShellArg "${src}/${relpath}"; # paths need to be absolute
|
||||
testFileList = lib.concatStringsSep " " (map relpathToArg files);
|
||||
|
@ -16,7 +16,7 @@ let
|
||||
# getAttr-like helper for optional append to string:
|
||||
# "Hello" + appendByAttr "a" " " {a = "world";} = "Hello world"
|
||||
# "Hello" + appendByAttr "a" " " {} = "Hello"
|
||||
appendByAttr = attr: sep: x: if hasAttr attr x then sep + (getAttr attr x) else "";
|
||||
appendByAttr = attr: sep: x: lib.optionalString (hasAttr attr x) (sep + (getAttr attr x));
|
||||
|
||||
# Are there any OM dependencies at all?
|
||||
ifDeps = length pkg.omdeps != 0;
|
||||
|
@ -63,8 +63,8 @@ stdenv.mkDerivation (self: {
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(
|
||||
XWAYLAND=${if enableXWayland then "-DXWAYLAND" else ""}
|
||||
XLIBS=${if enableXWayland then "xcb\\ xcb-icccm" else ""}
|
||||
XWAYLAND=${lib.optionalString enableXWayland "-DXWAYLAND"}
|
||||
XLIBS=${lib.optionalString enableXWayland "xcb\\ xcb-icccm"}
|
||||
)
|
||||
'';
|
||||
|
||||
|
@ -83,12 +83,12 @@ stdenv.mkDerivation {
|
||||
'' + (if stdenv.hostPlatform.parsed.kernel.execFormat.name == "elf" then ''
|
||||
patchelf --set-soname libblas${canonicalExtension} $out/lib/libblas${canonicalExtension}
|
||||
patchelf --set-rpath "$(patchelf --print-rpath $out/lib/libblas${canonicalExtension}):${lib.getLib blasProvider'}/lib" $out/lib/libblas${canonicalExtension}
|
||||
'' else if stdenv.hostPlatform.isDarwin then ''
|
||||
'' else lib.optionalString (stdenv.hostPlatform.isDarwin) ''
|
||||
install_name_tool \
|
||||
-id $out/lib/libblas${canonicalExtension} \
|
||||
-add_rpath ${lib.getLib blasProvider'}/lib \
|
||||
$out/lib/libblas${canonicalExtension}
|
||||
'' else "") + ''
|
||||
'') + ''
|
||||
|
||||
if [ "$out/lib/libblas${canonicalExtension}" != "$out/lib/libblas${stdenv.hostPlatform.extensions.sharedLibrary}" ]; then
|
||||
ln -s $out/lib/libblas${canonicalExtension} "$out/lib/libblas${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
@ -115,12 +115,12 @@ EOF
|
||||
'' + (if stdenv.hostPlatform.parsed.kernel.execFormat.name == "elf" then ''
|
||||
patchelf --set-soname libcblas${canonicalExtension} $out/lib/libcblas${canonicalExtension}
|
||||
patchelf --set-rpath "$(patchelf --print-rpath $out/lib/libcblas${canonicalExtension}):${lib.getLib blasProvider'}/lib" $out/lib/libcblas${canonicalExtension}
|
||||
'' else if stdenv.hostPlatform.isDarwin then ''
|
||||
'' else lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
install_name_tool \
|
||||
-id $out/lib/libcblas${canonicalExtension} \
|
||||
-add_rpath ${lib.getLib blasProvider'}/lib \
|
||||
$out/lib/libcblas${canonicalExtension}
|
||||
'' else "") + ''
|
||||
'') + ''
|
||||
if [ "$out/lib/libcblas${canonicalExtension}" != "$out/lib/libcblas${stdenv.hostPlatform.extensions.sharedLibrary}" ]; then
|
||||
ln -s $out/lib/libcblas${canonicalExtension} "$out/lib/libcblas${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
fi
|
||||
|
@ -54,10 +54,10 @@ stdenv.mkDerivation {
|
||||
cp -L "$liblapack" $out/lib/liblapack${canonicalExtension}
|
||||
chmod +w $out/lib/liblapack${canonicalExtension}
|
||||
|
||||
'' + (if stdenv.hostPlatform.parsed.kernel.execFormat.name == "elf" then ''
|
||||
'' + (lib.optionalString (stdenv.hostPlatform.parsed.kernel.execFormat.name == "elf") ''
|
||||
patchelf --set-soname liblapack${canonicalExtension} $out/lib/liblapack${canonicalExtension}
|
||||
patchelf --set-rpath "$(patchelf --print-rpath $out/lib/liblapack${canonicalExtension}):${lapackProvider'}/lib" $out/lib/liblapack${canonicalExtension}
|
||||
'' else "") + ''
|
||||
'') + ''
|
||||
|
||||
if [ "$out/lib/liblapack${canonicalExtension}" != "$out/lib/liblapack${stdenv.hostPlatform.extensions.sharedLibrary}" ]; then
|
||||
ln -s $out/lib/liblapack${canonicalExtension} "$out/lib/liblapack${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
@ -83,10 +83,10 @@ EOF
|
||||
cp -L "$liblapacke" $out/lib/liblapacke${canonicalExtension}
|
||||
chmod +w $out/lib/liblapacke${canonicalExtension}
|
||||
|
||||
'' + (if stdenv.hostPlatform.parsed.kernel.execFormat.name == "elf" then ''
|
||||
'' + (lib.optionalString (stdenv.hostPlatform.parsed.kernel.execFormat.name == "elf") ''
|
||||
patchelf --set-soname liblapacke${canonicalExtension} $out/lib/liblapacke${canonicalExtension}
|
||||
patchelf --set-rpath "$(patchelf --print-rpath $out/lib/liblapacke${canonicalExtension}):${lib.getLib lapackProvider'}/lib" $out/lib/liblapacke${canonicalExtension}
|
||||
'' else "") + ''
|
||||
'') + ''
|
||||
|
||||
if [ -f "$out/lib/liblapacke.so.3" ]; then
|
||||
ln -s $out/lib/liblapacke.so.3 $out/lib/liblapacke.so
|
||||
|
@ -92,9 +92,8 @@ let
|
||||
else "";
|
||||
|
||||
expand-response-params =
|
||||
if buildPackages ? stdenv && buildPackages.stdenv.hasCC && buildPackages.stdenv.cc != "/dev/null"
|
||||
then import ../expand-response-params { inherit (buildPackages) stdenv; }
|
||||
else "";
|
||||
lib.optionalString (buildPackages ? stdenv && buildPackages.stdenv.hasCC && buildPackages.stdenv.cc != "/dev/null")
|
||||
(import ../expand-response-params { inherit (buildPackages) stdenv; });
|
||||
|
||||
in
|
||||
|
||||
|
@ -118,10 +118,10 @@ stdenv.mkDerivation (fBuildAttrs // {
|
||||
|
||||
# Remove all built in external workspaces, Bazel will recreate them when building
|
||||
rm -rf $bazelOut/external/{bazel_tools,\@bazel_tools.marker}
|
||||
${if removeRulesCC then "rm -rf $bazelOut/external/{rules_cc,\\@rules_cc.marker}" else ""}
|
||||
${lib.optionalString removeRulesCC "rm -rf $bazelOut/external/{rules_cc,\\@rules_cc.marker}"}
|
||||
rm -rf $bazelOut/external/{embedded_jdk,\@embedded_jdk.marker}
|
||||
${if removeLocalConfigCc then "rm -rf $bazelOut/external/{local_config_cc,\\@local_config_cc.marker}" else ""}
|
||||
${if removeLocal then "rm -rf $bazelOut/external/{local_*,\\@local_*.marker}" else ""}
|
||||
${lib.optionalString removeLocalConfigCc "rm -rf $bazelOut/external/{local_config_cc,\\@local_config_cc.marker}"}
|
||||
${lib.optionalString removeLocal "rm -rf $bazelOut/external/{local_*,\\@local_*.marker}"}
|
||||
|
||||
# Clear markers
|
||||
find $bazelOut/external -name '@*\.marker' -exec sh -c 'echo > {}' \;
|
||||
|
@ -212,7 +212,7 @@ in stdenv.mkDerivation {
|
||||
cd $out
|
||||
${extraBuildCommands}
|
||||
cd $out
|
||||
${if isMultiBuild then extraBuildCommandsMulti else ""}
|
||||
${lib.optionalString isMultiBuild extraBuildCommandsMulti}
|
||||
'';
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildEnv, writeText, pkgs, pkgsi686Linux }:
|
||||
{ stdenv, lib, buildEnv, writeText, pkgs, pkgsi686Linux }:
|
||||
|
||||
{ name
|
||||
, profile ? ""
|
||||
@ -237,7 +237,7 @@ in stdenv.mkDerivation {
|
||||
cd $out
|
||||
${extraBuildCommands}
|
||||
cd $out
|
||||
${if isMultiBuild then extraBuildCommandsMulti else ""}
|
||||
${lib.optionalString isMultiBuild extraBuildCommandsMulti}
|
||||
'';
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
@ -59,9 +59,7 @@ let
|
||||
suffixSalt = replaceStrings ["-" "."] ["_" "_"] targetPlatform.config;
|
||||
|
||||
expand-response-params =
|
||||
if (buildPackages.stdenv.hasCC or false) && buildPackages.stdenv.cc != "/dev/null"
|
||||
then import ../expand-response-params { inherit (buildPackages) stdenv; }
|
||||
else "";
|
||||
lib.optionalString ((buildPackages.stdenv.hasCC or false) && buildPackages.stdenv.cc != "/dev/null") (import ../expand-response-params { inherit (buildPackages) stdenv; });
|
||||
|
||||
useGccForLibs = isClang
|
||||
&& libcxx == null
|
||||
|
@ -35,4 +35,4 @@ let
|
||||
({prefix, path}: "DOCKER_CREDENTIALS" == prefix)
|
||||
builtins.nixPath);
|
||||
in
|
||||
if (pathParts != []) then (builtins.head pathParts).path else ""
|
||||
lib.optionalString (pathParts != []) ((builtins.head pathParts).path)
|
||||
|
@ -1,9 +1,9 @@
|
||||
{stdenv, fossil, cacert}:
|
||||
{stdenv, lib, fossil, cacert}:
|
||||
|
||||
{name ? null, url, rev, sha256}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fossil-archive" + (if name != null then "-${name}" else "");
|
||||
name = "fossil-archive" + (lib.optionalString (name != null) "-${name}");
|
||||
builder = ./builder.sh;
|
||||
nativeBuildInputs = [fossil cacert];
|
||||
|
||||
|
@ -7,9 +7,7 @@
|
||||
|
||||
short = builtins.substring 0 7 rev;
|
||||
|
||||
appendShort = if (builtins.match "[a-f0-9]*" rev) != null
|
||||
then "-${short}"
|
||||
else "";
|
||||
appendShort = lib.optionalString ((builtins.match "[a-f0-9]*" rev) != null) "-${short}";
|
||||
in "${if matched == null then base else builtins.head matched}${appendShort}";
|
||||
in
|
||||
{ url, rev ? "HEAD", md5 ? "", sha256 ? "", hash ? "", leaveDotGit ? deepClone
|
||||
|
@ -12,13 +12,13 @@ if md5 != null then
|
||||
else
|
||||
# TODO: statically check if mercurial as the https support if the url starts woth https.
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "hg-archive" + (if name != null then "-${name}" else "");
|
||||
name = "hg-archive" + (lib.optionalString (name != null) "-${name}");
|
||||
builder = ./builder.sh;
|
||||
nativeBuildInputs = [mercurial];
|
||||
|
||||
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
|
||||
|
||||
subrepoClause = if fetchSubrepos then "S" else "";
|
||||
subrepoClause = lib.optionalString fetchSubrepos "S";
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
|
@ -18,7 +18,7 @@
|
||||
let
|
||||
args' = if relative != null then {
|
||||
stripLen = 1 + lib.length (lib.splitString "/" relative) + stripLen;
|
||||
extraPrefix = if extraPrefix != null then extraPrefix else "";
|
||||
extraPrefix = lib.optionalString (extraPrefix != null) extraPrefix;
|
||||
} else {
|
||||
inherit stripLen extraPrefix;
|
||||
};
|
||||
|
@ -36,6 +36,6 @@ stdenvNoCC.mkDerivation {
|
||||
inherit perl;
|
||||
inherit (builtins) storeDir;
|
||||
shell = lib.getBin shell + (shell.shellPath or "");
|
||||
signingUtils = if darwinCodeSign then signingUtils else "";
|
||||
signingUtils = lib.optionalString darwinCodeSign signingUtils;
|
||||
};
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
directory, so the Makefile of the package should support DESTDIR.
|
||||
*/
|
||||
|
||||
{ src, stdenv
|
||||
{ src, lib, stdenv
|
||||
, name ? "binary-tarball"
|
||||
, ... } @ args:
|
||||
|
||||
@ -30,7 +30,7 @@ stdenv.mkDerivation (
|
||||
// args //
|
||||
|
||||
{
|
||||
name = name + (if src ? version then "-" + src.version else "");
|
||||
name = name + (lib.optionalString (src ? version) "-${src.version}");
|
||||
|
||||
postHook = ''
|
||||
mkdir -p $out/nix-support
|
||||
|
@ -24,7 +24,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||
// removeAttrs args ["vmTools" "lib"] //
|
||||
|
||||
{
|
||||
name = name + "-" + diskImage.name + (if src ? version then "-" + src.version else "");
|
||||
name = name + "-" + diskImage.name + (lib.optionalString (src ? version) "-${src.version}");
|
||||
|
||||
# !!! cut&paste from rpm-build.nix
|
||||
postHook = ''
|
||||
|
@ -11,7 +11,7 @@ rec {
|
||||
makeSourceTarball = sourceTarball; # compatibility
|
||||
|
||||
binaryTarball = args: import ./binary-tarball.nix (
|
||||
{ inherit stdenv;
|
||||
{ inherit lib stdenv;
|
||||
} // args);
|
||||
|
||||
mvnBuild = args: import ./maven-build.nix (
|
||||
@ -38,7 +38,7 @@ rec {
|
||||
} // args);
|
||||
|
||||
rpmBuild = args: import ./rpm-build.nix (
|
||||
{ inherit vmTools;
|
||||
{ inherit lib vmTools;
|
||||
} // args);
|
||||
|
||||
debBuild = args: import ./debian-build.nix (
|
||||
|
@ -22,7 +22,7 @@ in
|
||||
|
||||
stdenv.mkDerivation ( {
|
||||
inherit name src;
|
||||
phases = "setupPhase unpackPhase patchPhase mvnCompile ${if doTestCompile then "mvnTestCompile mvnTestJar" else ""} ${if doTest then "mvnTest" else ""} ${if doJavadoc then "mvnJavadoc" else ""} ${if doCheckstyle then "mvnCheckstyle" else ""} mvnJar mvnAssembly mvnRelease finalPhase";
|
||||
phases = "setupPhase unpackPhase patchPhase mvnCompile ${lib.optionalString doTestCompile "mvnTestCompile mvnTestJar"} ${lib.optionalString doTest "mvnTest"} ${lib.optionalString doJavadoc "mvnJavadoc"} ${lib.optionalString doCheckstyle "mvnCheckstyle"} mvnJar mvnAssembly mvnRelease finalPhase";
|
||||
|
||||
setupPhase = ''
|
||||
runHook preSetupPhase
|
||||
@ -88,9 +88,9 @@ stdenv.mkDerivation ( {
|
||||
|
||||
echo "$releaseName" > $out/nix-support/hydra-release-name
|
||||
|
||||
${if doRelease then ''
|
||||
${lib.optionalString doRelease ''
|
||||
echo "file zip $out/release/$releaseName.zip" >> $out/nix-support/hydra-build-products
|
||||
'' else ""}
|
||||
''}
|
||||
'';
|
||||
|
||||
finalPhase = ''
|
||||
|
@ -85,7 +85,7 @@ stdenv.mkDerivation (
|
||||
// removeAttrs args [ "lib" ] # Propagating lib causes the evaluation to fail, because lib is a function that can't be converted to a string
|
||||
|
||||
// {
|
||||
name = name + (if src ? version then "-" + src.version else "");
|
||||
name = name + (lib.optionalString (src ? version) "-${src.version}");
|
||||
|
||||
postHook = ''
|
||||
. ${./functions.sh}
|
||||
@ -167,7 +167,7 @@ stdenv.mkDerivation (
|
||||
|
||||
echo "building out of source tree, from \`$PWD'..."
|
||||
|
||||
${if preConfigure != null then preConfigure else ""}
|
||||
${lib.optionalString (preConfigure != null) preConfigure}
|
||||
'';
|
||||
}
|
||||
else {})
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
{ name ? "rpm-build"
|
||||
, diskImage
|
||||
, src, vmTools
|
||||
, src, lib, vmTools
|
||||
, ... } @ args:
|
||||
|
||||
vmTools.buildRPM (
|
||||
@ -11,7 +11,7 @@ vmTools.buildRPM (
|
||||
removeAttrs args ["vmTools"] //
|
||||
|
||||
{
|
||||
name = name + "-" + diskImage.name + (if src ? version then "-" + src.version else "");
|
||||
name = name + "-" + diskImage.name + (lib.optionalString (src ? version) "-${src.version}");
|
||||
|
||||
preBuild = ''
|
||||
. ${./functions.sh}
|
||||
|
@ -299,7 +299,7 @@ crate_: lib.makeOverridable
|
||||
);
|
||||
|
||||
libName = if crate ? libName then crate.libName else crate.crateName;
|
||||
libPath = if crate ? libPath then crate.libPath else "";
|
||||
libPath = lib.optionalString (crate ? libPath) crate.libPath;
|
||||
|
||||
# Seed the symbol hashes with something unique every time.
|
||||
# https://doc.rust-lang.org/1.0.0/rustc/metadata/loader/index.html#frobbing-symbols
|
||||
|
@ -406,7 +406,7 @@ rec {
|
||||
eval "$origPostHook"
|
||||
'';
|
||||
|
||||
origPostHook = if attrs ? postHook then attrs.postHook else "";
|
||||
origPostHook = lib.optionalString (attrs ? postHook) attrs.postHook;
|
||||
|
||||
/* Don't run Nix-specific build steps like patchelf. */
|
||||
fixupPhase = "true";
|
||||
@ -1032,22 +1032,22 @@ rec {
|
||||
};
|
||||
|
||||
debian11i386 = {
|
||||
name = "debian-11.5-bullseye-i386";
|
||||
fullName = "Debian 11.5 Bullseye (i386)";
|
||||
name = "debian-11.6-bullseye-i386";
|
||||
fullName = "Debian 11.6 Bullseye (i386)";
|
||||
packagesList = fetchurl {
|
||||
url = "https://snapshot.debian.org/archive/debian/20221126T084953Z/dists/bullseye/main/binary-i386/Packages.xz";
|
||||
hash = "sha256-tHrWSd4K5TCwIaLTPqK/Rcon0O0r+Jsxb7OcchOo8Vo=";
|
||||
url = "https://snapshot.debian.org/archive/debian/20230131T034648Z/dists/bullseye/main/binary-i386/Packages.xz";
|
||||
hash = "sha256-z9eG7RlvelEnZAaeCfIO+XxTZVL3d+zTA7ShU43l/pw=";
|
||||
};
|
||||
urlPrefix = "mirror://debian";
|
||||
packages = commonDebianPackages;
|
||||
};
|
||||
|
||||
debian11x86_64 = {
|
||||
name = "debian-11.5-bullseye-amd64";
|
||||
fullName = "Debian 11.5 Bullseye (amd64)";
|
||||
name = "debian-11.6-bullseye-amd64";
|
||||
fullName = "Debian 11.6 Bullseye (amd64)";
|
||||
packagesList = fetchurl {
|
||||
url = "https://snapshot.debian.org/archive/debian/20221126T084953Z/dists/bullseye/main/binary-amd64/Packages.xz";
|
||||
hash = "sha256-whpBERKOPyhrWguVQ2QchrwRHU4tCkGwu42x6khF/2g=";
|
||||
url = "https://snapshot.debian.org/archive/debian/20230131T034648Z/dists/bullseye/main/binary-amd64/Packages.xz";
|
||||
hash = "sha256-mz0eCWdn6uWt40OxsSPheHzEnMeLE52yR/vpb48/VF0=";
|
||||
};
|
||||
urlPrefix = "mirror://debian";
|
||||
packages = commonDebianPackages;
|
||||
|
@ -50,13 +50,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "evolution-data-server";
|
||||
version = "3.46.3";
|
||||
version = "3.46.4";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "CTjiJ55c+8IgR2bKnT/qVwkRaZsHwQy+AaymKn6LK+4=";
|
||||
sha256 = "pZslQUXFn6zXx7U4LbeNxfDtH2pum4/n1edZWfk8DMg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -298,7 +298,7 @@ index e61160c..b6553a4 100644
|
||||
G_CALLBACK (mi_user_headers_settings_changed_cb), NULL);
|
||||
G_UNLOCK (mi_user_headers);
|
||||
diff --git a/src/camel/providers/imapx/camel-imapx-server.c b/src/camel/providers/imapx/camel-imapx-server.c
|
||||
index 611d5c8..4790fca 100644
|
||||
index 28755e2..da8c40c 100644
|
||||
--- a/src/camel/providers/imapx/camel-imapx-server.c
|
||||
+++ b/src/camel/providers/imapx/camel-imapx-server.c
|
||||
@@ -5593,7 +5593,18 @@ camel_imapx_server_skip_old_flags_update (CamelStore *store)
|
||||
|
@ -45,11 +45,11 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-software";
|
||||
version = "43.3";
|
||||
version = "43.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "k+6AdHl4rSzALlrnPQo9Psgu6hNPx3niqpFpAbu1gJA=";
|
||||
sha256 = "6d8GDrq1n0lpfV7yYw7DbeYEVBadwZGvYNNINyCq2z4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, pkg-config
|
||||
, glib
|
||||
@ -29,6 +30,17 @@ mkDerivation rec {
|
||||
sha256 = "WgrcHM4iJLZsJO2obqSkjHHMB+/kcadQArkcXC5FB24=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# FIXME: backport Plasma 5.27 build fix, remove for next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/lxqt/lxqt-config/commit/6add4e4f0040693e7c4242fbae48c9d32007686c.diff";
|
||||
hash = "sha256-Tir4KeGhBnD9dYmB1FAjuf4R4V+rn12MOxsRwTdE0Sc=";
|
||||
})
|
||||
];
|
||||
|
||||
# FIXME: required to build with Plasma 5.27, which uses std::optional
|
||||
cmakeFlags = ["-DCMAKE_CXX_STANDARD=17"];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
@ -51,9 +51,9 @@ let
|
||||
mirror = "mirror://kde";
|
||||
};
|
||||
|
||||
mkDerivation = libsForQt5.callPackage ({ mkDerivation }: mkDerivation) { };
|
||||
qtStdenv = libsForQt5.callPackage ({ stdenv }: stdenv) {};
|
||||
|
||||
packages = self: with self;
|
||||
packages = self:
|
||||
let
|
||||
|
||||
propagate = out:
|
||||
@ -98,6 +98,7 @@ let
|
||||
|
||||
defaultSetupHook = if hasBin && hasDev then propagateBin else null;
|
||||
setupHook = args.setupHook or defaultSetupHook;
|
||||
nativeBuildInputs = (args.nativeBuildInputs or []) ++ [ libsForQt5.wrapQtAppsHook ];
|
||||
|
||||
meta =
|
||||
let meta = args.meta or { }; in
|
||||
@ -109,8 +110,8 @@ let
|
||||
broken = meta.broken or broken;
|
||||
};
|
||||
in
|
||||
mkDerivation (args // {
|
||||
inherit pname version meta outputs setupHook src;
|
||||
(args.stdenv or qtStdenv).mkDerivation (args // {
|
||||
inherit pname version meta outputs setupHook src nativeBuildInputs;
|
||||
});
|
||||
};
|
||||
|
||||
@ -123,6 +124,7 @@ let
|
||||
breeze-grub = callPackage ./breeze-grub.nix { };
|
||||
breeze-plymouth = callPackage ./breeze-plymouth { };
|
||||
discover = callPackage ./discover.nix { };
|
||||
flatpak-kcm = callPackage ./flatpak-kcm.nix { };
|
||||
kactivitymanagerd = callPackage ./kactivitymanagerd.nix { };
|
||||
kde-cli-tools = callPackage ./kde-cli-tools.nix { };
|
||||
kde-gtk-config = callPackage ./kde-gtk-config { inherit gsettings-desktop-schemas; };
|
||||
@ -162,6 +164,7 @@ let
|
||||
plasma-systemmonitor = callPackage ./plasma-systemmonitor.nix { };
|
||||
plasma-thunderbolt = callPackage ./plasma-thunderbolt.nix { };
|
||||
plasma-vault = callPackage ./plasma-vault { };
|
||||
plasma-welcome = callPackage ./plasma-welcome.nix { };
|
||||
plasma-workspace = callPackage ./plasma-workspace { };
|
||||
plasma-workspace-wallpapers = callPackage ./plasma-workspace-wallpapers.nix { };
|
||||
polkit-kde-agent = callPackage ./polkit-kde-agent.nix { };
|
||||
|
@ -1 +1 @@
|
||||
WGET_ARGS=( https://download.kde.org/stable/plasma/5.26.5/ -A '*.tar.xz' )
|
||||
WGET_ARGS=( https://download.kde.org/stable/plasma/5.27.0/ -A '*.tar.xz' )
|
||||
|
18
pkgs/desktops/plasma-5/flatpak-kcm.nix
Normal file
18
pkgs/desktops/plasma-5/flatpak-kcm.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ mkDerivation
|
||||
, extra-cmake-modules
|
||||
, flatpak
|
||||
, kcmutils
|
||||
, kconfig
|
||||
, kdeclarative
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "flatpak-kcm";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
flatpak
|
||||
kcmutils
|
||||
kconfig
|
||||
kdeclarative
|
||||
];
|
||||
}
|
@ -99,6 +99,6 @@ mkDerivation {
|
||||
# the same directory, while it is actually located in a completely different
|
||||
# store path
|
||||
preFixup = ''
|
||||
ln -sf ${lib.getExe systemsettings} $out/bin/kinfocenter
|
||||
ln -sf ${systemsettings}/bin/systemsettings $out/bin/kinfocenter
|
||||
'';
|
||||
}
|
||||
|
@ -7,6 +7,7 @@
|
||||
, kdeclarative
|
||||
, kglobalaccel
|
||||
, kidletime
|
||||
, libkscreen
|
||||
, kwayland
|
||||
, libXcursor
|
||||
, pam
|
||||
@ -27,6 +28,7 @@ mkDerivation {
|
||||
kdeclarative
|
||||
kglobalaccel
|
||||
kidletime
|
||||
libkscreen
|
||||
kwayland
|
||||
libXcursor
|
||||
pam
|
||||
|
@ -1,153 +0,0 @@
|
||||
From 84f020835e3624342a928aae68e62e636bf2cc8c Mon Sep 17 00:00:00 2001
|
||||
From: Yuriy Taraday <yorik.sar@gmail.com>
|
||||
Date: Wed, 12 Oct 2022 12:07:23 +0400
|
||||
Subject: [PATCH] Revert "[x11] Refactor output updates"
|
||||
|
||||
This reverts commit 9a34ebbffc791cbeadc9abafda793ebee654b270.
|
||||
|
||||
This should fix compilation with older GCC.
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
.../standalone/x11_standalone_platform.cpp | 63 +++++++++++--------
|
||||
2 files changed, 38 insertions(+), 27 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3e7bf700e..6ff24aa5c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -70,7 +70,7 @@ add_definitions(-DMESA_EGL_NO_X11_HEADERS)
|
||||
add_definitions(-DEGL_NO_X11)
|
||||
add_definitions(-DEGL_NO_PLATFORM_SPECIFIC_TYPES)
|
||||
|
||||
-set(CMAKE_CXX_STANDARD 20)
|
||||
+set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# required frameworks by Core
|
||||
diff --git a/src/backends/x11/standalone/x11_standalone_platform.cpp b/src/backends/x11/standalone/x11_standalone_platform.cpp
|
||||
index 498d5cbe3..ac0f732b2 100644
|
||||
--- a/src/backends/x11/standalone/x11_standalone_platform.cpp
|
||||
+++ b/src/backends/x11/standalone/x11_standalone_platform.cpp
|
||||
@@ -54,8 +54,6 @@
|
||||
#include <QX11Info>
|
||||
#endif
|
||||
|
||||
-#include <span>
|
||||
-
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
@@ -407,7 +405,8 @@ void X11StandalonePlatform::invertScreen()
|
||||
ScreenResources res((active_client && active_client->window() != XCB_WINDOW_NONE) ? active_client->window() : rootWindow());
|
||||
|
||||
if (!res.isNull()) {
|
||||
- for (auto crtc : std::span(res.crtcs(), res->num_crtcs)) {
|
||||
+ for (int j = 0; j < res->num_crtcs; ++j) {
|
||||
+ auto crtc = res.crtcs()[j];
|
||||
CrtcGamma gamma(crtc);
|
||||
if (gamma.isNull()) {
|
||||
continue;
|
||||
@@ -480,39 +479,54 @@ void X11StandalonePlatform::doUpdateOutputs()
|
||||
if (Xcb::Extensions::self()->isRandrAvailable()) {
|
||||
T resources(rootWindow());
|
||||
if (!resources.isNull()) {
|
||||
+ xcb_randr_crtc_t *crtcs = resources.crtcs();
|
||||
+ const xcb_randr_mode_info_t *modes = resources.modes();
|
||||
+
|
||||
+ QVector<Xcb::RandR::CrtcInfo> infos(resources->num_crtcs);
|
||||
+ for (int i = 0; i < resources->num_crtcs; ++i) {
|
||||
+ infos[i] = Xcb::RandR::CrtcInfo(crtcs[i], resources->config_timestamp);
|
||||
+ }
|
||||
|
||||
- std::span crtcs(resources.crtcs(), resources->num_crtcs);
|
||||
- for (auto crtc : crtcs) {
|
||||
- Xcb::RandR::CrtcInfo info(crtc, resources->config_timestamp);
|
||||
+ for (int i = 0; i < resources->num_crtcs; ++i) {
|
||||
+ Xcb::RandR::CrtcInfo info(infos.at(i));
|
||||
|
||||
const QRect geometry = info.rect();
|
||||
if (!geometry.isValid()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
- float refreshRate = -1.0f;
|
||||
+ xcb_randr_output_t *outputs = info.outputs();
|
||||
+ QVector<Xcb::RandR::OutputInfo> outputInfos(outputs ? resources->num_outputs : 0);
|
||||
+ QVector<Xcb::RandR::OutputProperty> edids(outputs ? resources->num_outputs : 0);
|
||||
+ if (outputs) {
|
||||
+ for (int i = 0; i < resources->num_outputs; ++i) {
|
||||
+ outputInfos[i] = Xcb::RandR::OutputInfo(outputs[i], resources->config_timestamp);
|
||||
+ edids[i] = Xcb::RandR::OutputProperty(outputs[i], atoms->edid, XCB_ATOM_INTEGER, 0, 100, false, false);
|
||||
+ }
|
||||
+ }
|
||||
|
||||
- for (auto mode : std::span(resources.modes(), resources->num_modes)) {
|
||||
- if (info->mode == mode.id) {
|
||||
- if (mode.htotal != 0 && mode.vtotal != 0) { // BUG 313996
|
||||
+ float refreshRate = -1.0f;
|
||||
+ for (int j = 0; j < resources->num_modes; ++j) {
|
||||
+ if (info->mode == modes[j].id) {
|
||||
+ if (modes[j].htotal != 0 && modes[j].vtotal != 0) { // BUG 313996
|
||||
// refresh rate calculation - WTF was wikipedia 1998 when I needed it?
|
||||
- int dotclock = mode.dot_clock,
|
||||
- vtotal = mode.vtotal;
|
||||
- if (mode.mode_flags & XCB_RANDR_MODE_FLAG_INTERLACE) {
|
||||
+ int dotclock = modes[j].dot_clock,
|
||||
+ vtotal = modes[j].vtotal;
|
||||
+ if (modes[j].mode_flags & XCB_RANDR_MODE_FLAG_INTERLACE) {
|
||||
dotclock *= 2;
|
||||
}
|
||||
- if (mode.mode_flags & XCB_RANDR_MODE_FLAG_DOUBLE_SCAN) {
|
||||
+ if (modes[j].mode_flags & XCB_RANDR_MODE_FLAG_DOUBLE_SCAN) {
|
||||
vtotal *= 2;
|
||||
}
|
||||
- refreshRate = dotclock / float(mode.htotal * vtotal);
|
||||
+ refreshRate = dotclock / float(modes[j].htotal * vtotal);
|
||||
}
|
||||
break; // found mode
|
||||
}
|
||||
}
|
||||
|
||||
- for (auto xcbOutput : std::span(info.outputs(), info->num_outputs)) {
|
||||
- Xcb::RandR::OutputInfo outputInfo(xcbOutput, resources->config_timestamp);
|
||||
- if (outputInfo->crtc != crtc) {
|
||||
+ for (int j = 0; j < info->num_outputs; ++j) {
|
||||
+ Xcb::RandR::OutputInfo outputInfo(outputInfos.at(j));
|
||||
+ if (outputInfo->crtc != crtcs[i]) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -528,14 +542,12 @@ void X11StandalonePlatform::doUpdateOutputs()
|
||||
// TODO: Perhaps the output has to save the inherited gamma ramp and
|
||||
// restore it during tear down. Currently neither standalone x11 nor
|
||||
// drm platform do this.
|
||||
- Xcb::RandR::CrtcGamma gamma(crtc);
|
||||
+ Xcb::RandR::CrtcGamma gamma(crtcs[i]);
|
||||
|
||||
output->setRenderLoop(m_renderLoop.get());
|
||||
- output->setCrtc(crtc);
|
||||
+ output->setCrtc(crtcs[i]);
|
||||
output->setGammaRampSize(gamma.isNull() ? 0 : gamma->size);
|
||||
- auto it = std::find(crtcs.begin(), crtcs.end(), crtc);
|
||||
- int crtcIndex = std::distance(crtcs.begin(), it);
|
||||
- output->setXineramaNumber(crtcIndex);
|
||||
+ output->setXineramaNumber(i);
|
||||
|
||||
QSize physicalSize(outputInfo->mm_width, outputInfo->mm_height);
|
||||
switch (info->rotation) {
|
||||
@@ -556,10 +568,9 @@ void X11StandalonePlatform::doUpdateOutputs()
|
||||
.physicalSize = physicalSize,
|
||||
};
|
||||
|
||||
- auto edidProperty = Xcb::RandR::OutputProperty(xcbOutput, atoms->edid, XCB_ATOM_INTEGER, 0, 100, false, false);
|
||||
bool ok;
|
||||
- if (auto data = edidProperty.toByteArray(&ok); ok && !data.isEmpty()) {
|
||||
- if (auto edid = Edid(data, edidProperty.data()->num_items); edid.isValid()) {
|
||||
+ if (auto data = edids[j].toByteArray(&ok); ok && !data.isEmpty()) {
|
||||
+ if (auto edid = Edid(data, edids[j].data()->num_items); edid.isValid()) {
|
||||
information.manufacturer = edid.manufacturerString();
|
||||
information.model = edid.monitorName();
|
||||
information.serialNumber = edid.serialNumber();
|
||||
--
|
||||
2.37.2
|
||||
|
@ -13,9 +13,9 @@ index efd236b..a69c046 100644
|
||||
--- a/src/plugins/qpa/main.cpp
|
||||
+++ b/src/plugins/qpa/main.cpp
|
||||
@@ -23,7 +23,7 @@ public:
|
||||
|
||||
QPlatformIntegration *KWinIntegrationPlugin::create(const QString &system, const QStringList ¶mList)
|
||||
{
|
||||
Q_UNUSED(paramList)
|
||||
- if (!QCoreApplication::applicationFilePath().endsWith(QLatin1String("kwin_wayland")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) {
|
||||
+ if (!QCoreApplication::applicationFilePath().endsWith(QLatin1String("kwin_wayland")) && !QCoreApplication::applicationFilePath().endsWith(QLatin1String(".kwin_wayland-wrapped")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) {
|
||||
// Not KWin
|
||||
|
@ -57,6 +57,7 @@
|
||||
, plasma-framework
|
||||
, libqaccessibilityclient
|
||||
, python3
|
||||
, gcc12Stdenv
|
||||
}:
|
||||
|
||||
# TODO (ttuegel): investigate qmlplugindump failure
|
||||
@ -142,12 +143,15 @@ mkDerivation {
|
||||
url = "https://invent.kde.org/plasma/kwin/-/commit/9a008b223ad696db3bf5692750f2b74e578e08b8.diff";
|
||||
sha256 = "sha256-f35G+g2MVABLDbAkCed3ZmtDWrzYn1rdD08mEx35j4k=";
|
||||
})
|
||||
] ++ lib.optionals stdenv.isAarch64 [
|
||||
./0001-Revert-x11-Refactor-output-updates.patch
|
||||
];
|
||||
|
||||
stdenv = if stdenv.isAarch64 then gcc12Stdenv else stdenv;
|
||||
|
||||
CXXFLAGS = [
|
||||
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
|
||||
];
|
||||
]
|
||||
++ lib.optional stdenv.isAarch64 "-mno-outline-atomics";
|
||||
|
||||
postInstall = ''
|
||||
# Some package(s) refer to these service types by the wrong name.
|
||||
# I would prefer to patch those packages, but I cannot find them!
|
||||
|
@ -1,16 +1,20 @@
|
||||
Index: libkscreen-5.9.4/src/backendmanager.cpp
|
||||
===================================================================
|
||||
--- libkscreen-5.9.4.orig/src/backendmanager.cpp
|
||||
+++ libkscreen-5.9.4/src/backendmanager.cpp
|
||||
@@ -172,14 +172,11 @@ QFileInfo BackendManager::preferredBackend(const QString &backend)
|
||||
diff --git a/src/backendmanager.cpp b/src/backendmanager.cpp
|
||||
index e1013d5..4bded53 100644
|
||||
--- a/src/backendmanager.cpp
|
||||
+++ b/src/backendmanager.cpp
|
||||
@@ -164,18 +164,11 @@ QFileInfo BackendManager::preferredBackend(const QString &backend)
|
||||
|
||||
QFileInfoList BackendManager::listBackends()
|
||||
{
|
||||
// Compile a list of installed backends first
|
||||
- // Compile a list of installed backends first
|
||||
- const QString backendFilter = QStringLiteral("KSC_*");
|
||||
- const QStringList paths = QCoreApplication::libraryPaths();
|
||||
- QFileInfoList finfos;
|
||||
- for (const QString &path : paths) {
|
||||
- const QDir dir(path + QLatin1String("/kf5/kscreen/"), backendFilter, QDir::SortFlags(QDir::QDir::Name), QDir::NoDotAndDotDot | QDir::Files);
|
||||
- const QDir dir(path + QStringLiteral("/kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/kscreen/"),
|
||||
- backendFilter,
|
||||
- QDir::SortFlags(QDir::QDir::Name),
|
||||
- QDir::NoDotAndDotDot | QDir::Files);
|
||||
- finfos.append(dir.entryInfoList());
|
||||
- }
|
||||
- return finfos;
|
||||
@ -21,4 +25,4 @@ Index: libkscreen-5.9.4/src/backendmanager.cpp
|
||||
+ return dir.entryInfoList();
|
||||
}
|
||||
|
||||
KScreen::AbstractBackend *BackendManager::loadBackendPlugin(QPluginLoader *loader, const QString &name, const QVariantMap &arguments)
|
||||
void BackendManager::setBackendArgs(const QVariantMap &arguments)
|
||||
|
@ -8,6 +8,7 @@
|
||||
, kdeclarative
|
||||
, kcmutils
|
||||
, kpackage
|
||||
, kscreenlocker
|
||||
, kwindowsystem
|
||||
, wayland
|
||||
, pkg-config
|
||||
@ -29,6 +30,7 @@ mkDerivation {
|
||||
kdeclarative
|
||||
kcmutils
|
||||
kpackage
|
||||
kscreenlocker
|
||||
kwindowsystem
|
||||
wayland
|
||||
libcec
|
||||
|
44
pkgs/desktops/plasma-5/plasma-welcome.nix
Normal file
44
pkgs/desktops/plasma-5/plasma-welcome.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ mkDerivation
|
||||
, extra-cmake-modules
|
||||
, qtquickcontrols2
|
||||
, accounts-qt
|
||||
, kaccounts-integration
|
||||
, kcoreaddons
|
||||
, kconfigwidgets
|
||||
, kdbusaddons
|
||||
, kdeclarative
|
||||
, ki18n
|
||||
, kio
|
||||
, kirigami2
|
||||
, knewstuff
|
||||
, knotifications
|
||||
, kservice
|
||||
, kuserfeedback
|
||||
, kwindowsystem
|
||||
, plasma-framework
|
||||
, signond
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "plasma-welcome";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
qtquickcontrols2
|
||||
accounts-qt
|
||||
kaccounts-integration
|
||||
kcoreaddons
|
||||
kconfigwidgets
|
||||
kdbusaddons
|
||||
kdeclarative
|
||||
ki18n
|
||||
kio
|
||||
kirigami2
|
||||
knewstuff
|
||||
knotifications
|
||||
kservice
|
||||
kuserfeedback
|
||||
kwindowsystem
|
||||
plasma-framework
|
||||
signond
|
||||
];
|
||||
}
|
@ -4,467 +4,483 @@
|
||||
|
||||
{
|
||||
aura-browser = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/aura-browser-5.26.5.tar.xz";
|
||||
sha256 = "0dhj058vh577jyhcjdp6x9dmh6apxk6yinknfci8l6vss9gchini";
|
||||
name = "aura-browser-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/aura-browser-5.27.0.tar.xz";
|
||||
sha256 = "0lw7qvvgbyrqy7zb3m4bd0j4j36x26z0nzxm2g84kgddmczf95az";
|
||||
name = "aura-browser-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
bluedevil = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/bluedevil-5.26.5.tar.xz";
|
||||
sha256 = "069hsn40zbnpkd73zcnnkdjv7n30dqyls5yvg3m0ljphn1syi79y";
|
||||
name = "bluedevil-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/bluedevil-5.27.0.tar.xz";
|
||||
sha256 = "0wjll668bmdk8xm2vl7p31md8ljwzycnr99y3bli4whczihiclly";
|
||||
name = "bluedevil-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/breeze-5.26.5.tar.xz";
|
||||
sha256 = "00zzb03jan14byh19mga3jrzwi3rl084cgpnk0wj3gwgf903p78y";
|
||||
name = "breeze-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/breeze-5.27.0.tar.xz";
|
||||
sha256 = "0g68l0kfdsp9halrwpbn3azm3v97gdynpc4y1bwa6j2xxaj5fp4a";
|
||||
name = "breeze-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze-grub = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/breeze-grub-5.26.5.tar.xz";
|
||||
sha256 = "0ibjqv6hyqi4ljf5jhx5sv55li9jcvk5lydl0xrb54v8czbarg4w";
|
||||
name = "breeze-grub-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/breeze-grub-5.27.0.tar.xz";
|
||||
sha256 = "0mnga6fhpy10shvbfys6lw0q3hk61vhfa95ykvgv6d5ssavzamyp";
|
||||
name = "breeze-grub-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze-gtk = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/breeze-gtk-5.26.5.tar.xz";
|
||||
sha256 = "1k1kcrv6cbx9m0yxnqhdgwq0bd8qf8055acwjdphwjhl50icliqi";
|
||||
name = "breeze-gtk-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/breeze-gtk-5.27.0.tar.xz";
|
||||
sha256 = "1apd17b7p8i2i2ls6pdpabzijca4lwdzd4p1srx46wb0slm6fqma";
|
||||
name = "breeze-gtk-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze-plymouth = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/breeze-plymouth-5.26.5.tar.xz";
|
||||
sha256 = "0skiii7ni6r6jp3a7nq10hd6qdria1481lml4l57ma9afgvpxi9v";
|
||||
name = "breeze-plymouth-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/breeze-plymouth-5.27.0.tar.xz";
|
||||
sha256 = "103f8v56a8qm1hlnakbzljsv5iyfc3ynry169f2vvsafm40bc6c0";
|
||||
name = "breeze-plymouth-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
discover = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/discover-5.26.5.tar.xz";
|
||||
sha256 = "19fd4f7nvqznfkrivxh77si627kqjnm1g17lidl9alz2iy2bxfm6";
|
||||
name = "discover-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/discover-5.27.0.tar.xz";
|
||||
sha256 = "0qa9hz7fxf1c9wi5c1x5z345mac3d5prgxxvadv4285c0sxvqidz";
|
||||
name = "discover-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
drkonqi = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/drkonqi-5.26.5.tar.xz";
|
||||
sha256 = "1syl78sl7wzjdb53glln6laa017cawgz0c39p33bdwq3kpzckw07";
|
||||
name = "drkonqi-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/drkonqi-5.27.0.tar.xz";
|
||||
sha256 = "015ivarw48ymsz06jbd2rdqvdmcww93r2msrmmfh7jrzszqh3dlg";
|
||||
name = "drkonqi-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
flatpak-kcm = {
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.27.0/flatpak-kcm-5.27.0.tar.xz";
|
||||
sha256 = "0318p0pm79kzk4l1rc239h7a7kvswz9vy3kylznn561fazkn3lss";
|
||||
name = "flatpak-kcm-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kactivitymanagerd = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kactivitymanagerd-5.26.5.tar.xz";
|
||||
sha256 = "0ypnnh3lpcfw8ggi6nc8sr4hcsamx6s3ax869b6rhh392avcw2ha";
|
||||
name = "kactivitymanagerd-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kactivitymanagerd-5.27.0.tar.xz";
|
||||
sha256 = "02k8il4sgl63rdkn63hhpsc6pymc9a5p4jv452fiw0vpf2zbj3sn";
|
||||
name = "kactivitymanagerd-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kde-cli-tools = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kde-cli-tools-5.26.5.tar.xz";
|
||||
sha256 = "0djxqxdkih4svmggk6lk6p6n3sx3w4q9fsnx2dxfn5injwh0qrkr";
|
||||
name = "kde-cli-tools-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kde-cli-tools-5.27.0.tar.xz";
|
||||
sha256 = "1w5cxbxwfnv5wl04jwchr14c6fx0yf3s3x98d18h87bd0vx3w48m";
|
||||
name = "kde-cli-tools-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kde-gtk-config = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kde-gtk-config-5.26.5.tar.xz";
|
||||
sha256 = "10r4kgpd04hh05yriga2r5awwdb8v93jsx0qksdgj3661xy00x7n";
|
||||
name = "kde-gtk-config-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kde-gtk-config-5.27.0.tar.xz";
|
||||
sha256 = "1bhqxnpgpj69jrfkn0znbnwp7r73gl6qb9xzi1pjj8cqb5bn5skg";
|
||||
name = "kde-gtk-config-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kdecoration = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kdecoration-5.26.5.tar.xz";
|
||||
sha256 = "1dzpqzi25wxmilj92lqjmd6wid3nlkbvnnpcpp0ywd860q30zzd2";
|
||||
name = "kdecoration-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kdecoration-5.27.0.tar.xz";
|
||||
sha256 = "04vw9kyvwq5jg8pw85b96c3ahm8213pf4a03dm49hv1fdzslvjaf";
|
||||
name = "kdecoration-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kdeplasma-addons = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kdeplasma-addons-5.26.5.tar.xz";
|
||||
sha256 = "17vrdnigif4v38gbh04p8qs7wqp3y3nqll1m7xc4qfqbq1dydyjq";
|
||||
name = "kdeplasma-addons-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kdeplasma-addons-5.27.0.tar.xz";
|
||||
sha256 = "19nr13aipfds1y5zr0a05wb55s7pdzqmpidmm7w9aaxxa5rbg623";
|
||||
name = "kdeplasma-addons-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kgamma5 = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kgamma5-5.26.5.tar.xz";
|
||||
sha256 = "0v4rpm2asv31w1rqrhn25kbcdl1acahg10lmh6iwisxl1i3x8hd8";
|
||||
name = "kgamma5-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kgamma5-5.27.0.tar.xz";
|
||||
sha256 = "1dyfpwfadp2n83lcr3mak3n8h2cxgxs2hv35madah6zf78m5ldw5";
|
||||
name = "kgamma5-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
khotkeys = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/khotkeys-5.26.5.tar.xz";
|
||||
sha256 = "0lkmh5n76kmrdxm4snkk1zz7d927qkl69ajd5qhz277whpz3slw8";
|
||||
name = "khotkeys-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/khotkeys-5.27.0.tar.xz";
|
||||
sha256 = "1xyy7511k6a1xlr63qq3qbk8wr1c12skmqzxliijv8q2b7b8dpiz";
|
||||
name = "khotkeys-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kinfocenter = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kinfocenter-5.26.5.tar.xz";
|
||||
sha256 = "0rka2fm7r2zikv3lcd1q39swgcp6fs5l4f5ldpgwpk9bps96cy4x";
|
||||
name = "kinfocenter-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kinfocenter-5.27.0.tar.xz";
|
||||
sha256 = "0k9h4m0jzxdyqyfn9pam0ssmhj6lng0l8mn23r7yw6mqi1i01yvl";
|
||||
name = "kinfocenter-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kmenuedit = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kmenuedit-5.26.5.tar.xz";
|
||||
sha256 = "17iyk77mb1lp9xjl92ffvv111b4m2qq98xznd1qafnah7ix1cg7p";
|
||||
name = "kmenuedit-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kmenuedit-5.27.0.tar.xz";
|
||||
sha256 = "1jb5pjy6flar0hxy9avnryxjmvh0ixyxr7xjbzbwjfx6zzf40i62";
|
||||
name = "kmenuedit-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kpipewire = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kpipewire-5.26.5.tar.xz";
|
||||
sha256 = "1yqymwq48mqv9zfw3idb0abizrfhr7f4d37ys9w7a9jixcm7rdrv";
|
||||
name = "kpipewire-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kpipewire-5.27.0.tar.xz";
|
||||
sha256 = "0mhpi16025bznxgp9lkg44rjxbm541yl39nj1rffpqh3bvhgw600";
|
||||
name = "kpipewire-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kscreen = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kscreen-5.26.5.tar.xz";
|
||||
sha256 = "0w8yrzpgr23s7sr3296lrm2zbm2j2174zv5az41i44l907iq9y1x";
|
||||
name = "kscreen-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kscreen-5.27.0.tar.xz";
|
||||
sha256 = "043g0h2lk6k4xqfbma45m91wf93fm0v1vgf49ax6bqx9y3hvb1gw";
|
||||
name = "kscreen-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kscreenlocker = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kscreenlocker-5.26.5.tar.xz";
|
||||
sha256 = "0lwn3xbbk1578974m3nkk2x5h9fadrcizvh4q4528s5wgxja6w2g";
|
||||
name = "kscreenlocker-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kscreenlocker-5.27.0.tar.xz";
|
||||
sha256 = "0xvwlqh6knrj2l9asrkmv7fzwl5xbxm05pgimb9lk1bk67nr0xir";
|
||||
name = "kscreenlocker-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
ksshaskpass = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/ksshaskpass-5.26.5.tar.xz";
|
||||
sha256 = "0k0jxbkav115i5nhazxyz3s3wg6gyfcsa1jilf3j3fr8vnh8qhx0";
|
||||
name = "ksshaskpass-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/ksshaskpass-5.27.0.tar.xz";
|
||||
sha256 = "1p55lf47vznvvprs2wn5c7ccq4iy6cxkqqdl9di02rzj9rf81zbs";
|
||||
name = "ksshaskpass-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
ksystemstats = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/ksystemstats-5.26.5.tar.xz";
|
||||
sha256 = "18sa2w6vgbqmw8wrg5vqbraql04x9kb7mj9k35z4zs2n4abfrrbi";
|
||||
name = "ksystemstats-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/ksystemstats-5.27.0.tar.xz";
|
||||
sha256 = "1vax9cq33gxv2qaz908bsckrvdpffl975ayliz72f6d2mhsx9r5i";
|
||||
name = "ksystemstats-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kwallet-pam = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kwallet-pam-5.26.5.tar.xz";
|
||||
sha256 = "1c5pzih8id0gld7qdf8ffxsbfgq9bsvpx37qyzr941b3vif7f9yx";
|
||||
name = "kwallet-pam-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kwallet-pam-5.27.0.tar.xz";
|
||||
sha256 = "0kwlinn6xcxqrib4xc200c9dmbq0gk0hmh6ahzd0nvgng6g6bvw7";
|
||||
name = "kwallet-pam-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kwayland-integration = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kwayland-integration-5.26.5.tar.xz";
|
||||
sha256 = "0czq16lq210hq7a3wqg7pvdr9a8vm16z6yb82p0w6yqv15kk7alx";
|
||||
name = "kwayland-integration-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kwayland-integration-5.27.0.tar.xz";
|
||||
sha256 = "0aml251n9amrjiyp6933iz245z3qr5lvpdyxsgnpzlvn652zyfqv";
|
||||
name = "kwayland-integration-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kwin = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kwin-5.26.5.tar.xz";
|
||||
sha256 = "1n0v0553s9l8s6wgdz5bhrnvww20q49h92v3m4w216razj7q3q0k";
|
||||
name = "kwin-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kwin-5.27.0.tar.xz";
|
||||
sha256 = "1g1rma3ks6i10dvqksa61fi0w0g87gbb73jjzkz0jicbs5823w9c";
|
||||
name = "kwin-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
kwrited = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/kwrited-5.26.5.tar.xz";
|
||||
sha256 = "14savlbywkx5107s0viprafs9pl389zhjk32iy4x5jmf9dk6vmm9";
|
||||
name = "kwrited-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/kwrited-5.27.0.tar.xz";
|
||||
sha256 = "15fxhk9dd0z9pfc99hsb9zqwish8wkbld8kgj8a1nzl5a2dnjnd3";
|
||||
name = "kwrited-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
layer-shell-qt = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/layer-shell-qt-5.26.5.tar.xz";
|
||||
sha256 = "1k79dcyic2hkm92sd7aix03ywagr4rgsdf86a9zy06kafg92jra9";
|
||||
name = "layer-shell-qt-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/layer-shell-qt-5.27.0.tar.xz";
|
||||
sha256 = "1zs3p7fbw3yf24d2zy51pyjlxy9gxs8k78c481yck04sj8vlf3cw";
|
||||
name = "layer-shell-qt-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
libkscreen = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/libkscreen-5.26.5.tar.xz";
|
||||
sha256 = "0vajgzjvpn909ds88jddsg7bman0rdphrm70b0k5ar7bcw0x54d5";
|
||||
name = "libkscreen-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/libkscreen-5.27.0.tar.xz";
|
||||
sha256 = "16b2j8gfgf12nxwm8pij41yl6ffcjh7h31rw54j6mlx2q7i5lq2h";
|
||||
name = "libkscreen-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
libksysguard = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/libksysguard-5.26.5.tar.xz";
|
||||
sha256 = "01a1wm6z191lzjqd5iws90jd3ld3r6r1qaw95bl65l9ar8p3gr8p";
|
||||
name = "libksysguard-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/libksysguard-5.27.0.tar.xz";
|
||||
sha256 = "01lsf52kfzp6h964s1aifg4wlf52hba56wf66cq3vi05ghckfbb5";
|
||||
name = "libksysguard-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
milou = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/milou-5.26.5.tar.xz";
|
||||
sha256 = "1pmz4n41ysb0mhgykvc65r5as8fkd7wr4k57sk0a12wzsndy7zv8";
|
||||
name = "milou-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/milou-5.27.0.tar.xz";
|
||||
sha256 = "1zs5n37crpqzbycjb5x239fs65wv2ghkx5m87sq65713rs7lmpbx";
|
||||
name = "milou-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
oxygen = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/oxygen-5.26.5.tar.xz";
|
||||
sha256 = "0wllhniaqpzvzji51a9871j1697kjwbz4xj8q9x1w89ip88pb6gq";
|
||||
name = "oxygen-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/oxygen-5.27.0.tar.xz";
|
||||
sha256 = "0vld1m3ac5z2z4k6vp8v5kzib094baj5ndwqvf6ryhyp9v7in3r0";
|
||||
name = "oxygen-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
oxygen-sounds = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/oxygen-sounds-5.26.5.tar.xz";
|
||||
sha256 = "1ws6bssn2r2m666kd6i0xnmzxb8x3z2pa6qk36xpbs1xjxdv5wny";
|
||||
name = "oxygen-sounds-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/oxygen-sounds-5.27.0.tar.xz";
|
||||
sha256 = "08brv177p3hlqvkf7chy1s5i45vnbjsjxiqxmac8grfh9dgsjyk6";
|
||||
name = "oxygen-sounds-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plank-player = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plank-player-5.26.5.tar.xz";
|
||||
sha256 = "18yw74mqcd0igps10m1sd41rlir2y8y78xkljxj5w2y4yvh97vbs";
|
||||
name = "plank-player-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plank-player-5.27.0.tar.xz";
|
||||
sha256 = "0ng97dcpfvm5klwnqzc47rv8lwxj0cmidx3igzjgkrl23k4rcxy2";
|
||||
name = "plank-player-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-bigscreen = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-bigscreen-5.26.5.tar.xz";
|
||||
sha256 = "0893ngwdgq1l76gib4p9212lwp4i2gxvpnmxygndbmkz7nhjax75";
|
||||
name = "plasma-bigscreen-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-bigscreen-5.27.0.tar.xz";
|
||||
sha256 = "0c2zldcsfqklwv3lsw9fb7q39vsaq5lzxad3wqrhsphz8c8v6yxg";
|
||||
name = "plasma-bigscreen-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-browser-integration = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-browser-integration-5.26.5.tar.xz";
|
||||
sha256 = "1bfzha5vd8hjij758b0g6ibyi4f8gmijz92fgn5is0p1hydm8y4l";
|
||||
name = "plasma-browser-integration-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-browser-integration-5.27.0.tar.xz";
|
||||
sha256 = "014fn47khppa7ay5sxcz43g81igbx6lpv19whc7p4ik3cp3rzk7i";
|
||||
name = "plasma-browser-integration-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-desktop = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-desktop-5.26.5.tar.xz";
|
||||
sha256 = "15kc5sam3y2c1ccp14cs7v5zakgzz9gpxpyxapimlvkwscxmvzn6";
|
||||
name = "plasma-desktop-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-desktop-5.27.0.tar.xz";
|
||||
sha256 = "0d52a4adjkyah6ab93153mp5af8338mipm9712i9xzylwf73100q";
|
||||
name = "plasma-desktop-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-disks = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-disks-5.26.5.tar.xz";
|
||||
sha256 = "137k44lly2qv6vrmfi4g2xqc7y907ywwshp7mn07qmbps3a85h30";
|
||||
name = "plasma-disks-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-disks-5.27.0.tar.xz";
|
||||
sha256 = "1m7hh901p7h0ibj7pgsqhz6jkn07mnw7m1xgs6d43i1n7vnw9hlb";
|
||||
name = "plasma-disks-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-firewall = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-firewall-5.26.5.tar.xz";
|
||||
sha256 = "18fp7iqnyjx2p44n8hjs7fss212ja3k2i5cryrnmwpf7r0q73l36";
|
||||
name = "plasma-firewall-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-firewall-5.27.0.tar.xz";
|
||||
sha256 = "02haqjiim2qk77074likhvmj07120p7cr9lsxjsmhfc4f69wwkh2";
|
||||
name = "plasma-firewall-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-integration = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-integration-5.26.5.tar.xz";
|
||||
sha256 = "0ap7rzhqmm7ai9sc6w281f2kf81qgs2h2qpf5bvbc6wm3vn1lm1g";
|
||||
name = "plasma-integration-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-integration-5.27.0.tar.xz";
|
||||
sha256 = "0ma6ig7gldl26pav4j1svcwxbpmgfq72q6nxzyysrgxzfyk93c1w";
|
||||
name = "plasma-integration-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-mobile = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-mobile-5.26.5.tar.xz";
|
||||
sha256 = "06gha8mga9xqmmvzc9why9pfzzpy8czrqym3k3n23pa9hy2qqsvj";
|
||||
name = "plasma-mobile-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-mobile-5.27.0.tar.xz";
|
||||
sha256 = "14a68d6lxm3pfq8znzk0k0f4kq9wpgmmj0zqa5jfr1gapqyrdkmv";
|
||||
name = "plasma-mobile-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-nano = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-nano-5.26.5.tar.xz";
|
||||
sha256 = "161sabckgl8gjxxsm0aklp33bf05iq2p84vh2v5y6bfpimsnamnj";
|
||||
name = "plasma-nano-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-nano-5.27.0.tar.xz";
|
||||
sha256 = "0sc8fdbbwwn3a1gip31dvwb5pfdl1zk08i795yp5gfjc04kckxs1";
|
||||
name = "plasma-nano-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-nm = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-nm-5.26.5.tar.xz";
|
||||
sha256 = "1msi9lhkhpb29h6fwkxqmp9js70r8vrvzzf38hzkgxcbf3757k64";
|
||||
name = "plasma-nm-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-nm-5.27.0.tar.xz";
|
||||
sha256 = "0p7vqw7nkwpy84lg5w5alkrkaisg56fwsrgvwb43mb54h5pfcd4f";
|
||||
name = "plasma-nm-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-pa = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-pa-5.26.5.tar.xz";
|
||||
sha256 = "19i9ipajiz68silvprap9pykki6rhb7d2ways501bx8g4vfcb0h5";
|
||||
name = "plasma-pa-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-pa-5.27.0.tar.xz";
|
||||
sha256 = "0z3njcfr8y9y9025sdz28qvi9fc6vsndfb7zi1wacrrncjxg1wkl";
|
||||
name = "plasma-pa-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-remotecontrollers = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-remotecontrollers-5.26.5.tar.xz";
|
||||
sha256 = "1cam1jchp3nwqkqskln4qbpb4rixzwa0bwma89ysdgqy0pzpq2x0";
|
||||
name = "plasma-remotecontrollers-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-remotecontrollers-5.27.0.tar.xz";
|
||||
sha256 = "0q8wjr5qi97k4j5lm5wy35r78hf9cwa9sbj170xm5ni2rmdlsb14";
|
||||
name = "plasma-remotecontrollers-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-sdk = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-sdk-5.26.5.tar.xz";
|
||||
sha256 = "0p20s2cp5vd1chj28wq88ixb625hisl134hnlllz6h70s5vzy79n";
|
||||
name = "plasma-sdk-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-sdk-5.27.0.tar.xz";
|
||||
sha256 = "0fqbpcw705yy0szbvvnf266bclv9l65v563kmcsryq31y7ji15iz";
|
||||
name = "plasma-sdk-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-systemmonitor = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-systemmonitor-5.26.5.tar.xz";
|
||||
sha256 = "0xghszlm8h70p192qizv2kj7f02fnf3p3hg1p10ni7sqfaczrbq1";
|
||||
name = "plasma-systemmonitor-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-systemmonitor-5.27.0.tar.xz";
|
||||
sha256 = "139jyqvwykxc7pfrcrrsyks0jdg3ljw8hg7plqw5n2cd4slx6psx";
|
||||
name = "plasma-systemmonitor-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-tests = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-tests-5.26.5.tar.xz";
|
||||
sha256 = "1h0cinrgjdp7rhl3v55c40a5agd93rqwx1xjqyj06vkjkbigx0fr";
|
||||
name = "plasma-tests-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-tests-5.27.0.tar.xz";
|
||||
sha256 = "1ncsjiwlx73kc6xzlz1da8xdppw8q1al9k8lm6zj1qvf4mnb62kr";
|
||||
name = "plasma-tests-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-thunderbolt = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-thunderbolt-5.26.5.tar.xz";
|
||||
sha256 = "1lzj3m2k34m3fvcq3ykr5igaq0sbc4v87cncxvz6ln0p7cq0i6y5";
|
||||
name = "plasma-thunderbolt-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-thunderbolt-5.27.0.tar.xz";
|
||||
sha256 = "053xi6vjlavavxqcz5d0b78pnjmswqg0y5kq4r7pqkazj0829ca3";
|
||||
name = "plasma-thunderbolt-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-vault = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-vault-5.26.5.tar.xz";
|
||||
sha256 = "104cs6prb8v5mccshz5brknfllyfbfnjzzpdrgk1xpzh5apwmhja";
|
||||
name = "plasma-vault-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-vault-5.27.0.tar.xz";
|
||||
sha256 = "0i5m9jyvpv5rfwms75pw65c4x315lwby0cg7pab3dz2xsy82g2p8";
|
||||
name = "plasma-vault-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-welcome = {
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-welcome-5.27.0.tar.xz";
|
||||
sha256 = "00pr7bvx1accs1faw149r28qkkjdxmmib2a6m7asyn591pykzbyh";
|
||||
name = "plasma-welcome-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-workspace = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-workspace-5.26.5.tar.xz";
|
||||
sha256 = "082jnlqgbp48bmyp1nbzg2d0p0pxkvra6xjv40kvh6k6rmpr5cjc";
|
||||
name = "plasma-workspace-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-workspace-5.27.0.tar.xz";
|
||||
sha256 = "0fq71fhqn0lx88a7n8rw9jrwkcm720s2c2l1ry9035kmvz94w901";
|
||||
name = "plasma-workspace-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-workspace-wallpapers = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plasma-workspace-wallpapers-5.26.5.tar.xz";
|
||||
sha256 = "07gln5jl947qfpvrgiqa1fnw8lnnf4jg734ayybi927j059s3g8i";
|
||||
name = "plasma-workspace-wallpapers-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plasma-workspace-wallpapers-5.27.0.tar.xz";
|
||||
sha256 = "1pyz1gnbg2n907yi4wlj9gq495145ww50z66q8ykgmix1yxwmjnz";
|
||||
name = "plasma-workspace-wallpapers-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
plymouth-kcm = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/plymouth-kcm-5.26.5.tar.xz";
|
||||
sha256 = "1isxs6gxbab2ddl22c3992gmdgy3mi5yjb9inv32ajzs6r7snrj1";
|
||||
name = "plymouth-kcm-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/plymouth-kcm-5.27.0.tar.xz";
|
||||
sha256 = "1cbwpqfxlm0vc2hjllqbsy929my1pmmbmb15ggj9m7gmxc59fbaf";
|
||||
name = "plymouth-kcm-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
polkit-kde-agent = {
|
||||
version = "1-5.26.5";
|
||||
version = "1-5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/polkit-kde-agent-1-5.26.5.tar.xz";
|
||||
sha256 = "19jrjx40m8g6hwq5k7ibbm0fmb803hxync2022gqbwzfrdb4493i";
|
||||
name = "polkit-kde-agent-1-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/polkit-kde-agent-1-5.27.0.tar.xz";
|
||||
sha256 = "0mihvr8w9rlqvsh2g19r3zrxp3shaiwlmjcx2w3lx4swiysnyps1";
|
||||
name = "polkit-kde-agent-1-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
powerdevil = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/powerdevil-5.26.5.tar.xz";
|
||||
sha256 = "063bqwdnpskcwqzpgcmjwgs9vpkn1gnq2nnzj2sdzrlflfrdsfvp";
|
||||
name = "powerdevil-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/powerdevil-5.27.0.tar.xz";
|
||||
sha256 = "0gdp2zsx761zkl4r4pj799x6q5jw0yzsljgx5p9cmrl4pvxb89rg";
|
||||
name = "powerdevil-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qqc2-breeze-style = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/qqc2-breeze-style-5.26.5.tar.xz";
|
||||
sha256 = "1lhv4jlg15w8a88czq0fazaizjwva3yv8wv3scdnhhyfnbkch9mr";
|
||||
name = "qqc2-breeze-style-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/qqc2-breeze-style-5.27.0.tar.xz";
|
||||
sha256 = "14aw06dvpqjglm4y0230b3yy2fg3z427ff87f9xn8f96603c8447";
|
||||
name = "qqc2-breeze-style-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
sddm-kcm = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/sddm-kcm-5.26.5.tar.xz";
|
||||
sha256 = "0cglb7dvwrkdpl5bgg91yfxrvqfpc2szj3qipcmd6ladsvbz8cxv";
|
||||
name = "sddm-kcm-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/sddm-kcm-5.27.0.tar.xz";
|
||||
sha256 = "1kdb5jyv4lrx02bjyzyaakq4ip4z095sfcipgipgc0w2ayicf1np";
|
||||
name = "sddm-kcm-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
systemsettings = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/systemsettings-5.26.5.tar.xz";
|
||||
sha256 = "1jb1d6933gq07vgg3kzqna91cpcv87p38wrk70g17iz7pszjb3ns";
|
||||
name = "systemsettings-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/systemsettings-5.27.0.tar.xz";
|
||||
sha256 = "0smsv1kr9c5d7ypi74hvp3hrckk41p62ddhvjvlxw44qvykby597";
|
||||
name = "systemsettings-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
xdg-desktop-portal-kde = {
|
||||
version = "5.26.5";
|
||||
version = "5.27.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.26.5/xdg-desktop-portal-kde-5.26.5.tar.xz";
|
||||
sha256 = "1hznyl90d3xswnjs4qc6r5azw1z3pzkr7z507v696xhv41j8bzsj";
|
||||
name = "xdg-desktop-portal-kde-5.26.5.tar.xz";
|
||||
url = "${mirror}/stable/plasma/5.27.0/xdg-desktop-portal-kde-5.27.0.tar.xz";
|
||||
sha256 = "069fsw47v7p63m05rf2pxllxw7f4agclndvxccyrjyvsv12hrmbh";
|
||||
name = "xdg-desktop-portal-kde-5.27.0.tar.xz";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -186,10 +186,10 @@ stdenv.mkDerivation ({
|
||||
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
|
||||
''
|
||||
+ (
|
||||
if targetPlatform != hostPlatform || stdenv.cc.libc != null then
|
||||
lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null)
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
# `/lib/ld*.so'.
|
||||
let
|
||||
(let
|
||||
libc = if libcCross != null then libcCross else stdenv.cc.libc;
|
||||
in
|
||||
(
|
||||
@ -207,8 +207,8 @@ stdenv.mkDerivation ({
|
||||
''
|
||||
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
|
||||
''
|
||||
)
|
||||
else "")
|
||||
))
|
||||
)
|
||||
+ lib.optionalString targetPlatform.isAvr ''
|
||||
makeFlagsArray+=(
|
||||
'-s' # workaround for hitting hydra log limit
|
||||
|
@ -195,10 +195,10 @@ stdenv.mkDerivation ({
|
||||
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
|
||||
''
|
||||
+ (
|
||||
if targetPlatform != hostPlatform || stdenv.cc.libc != null then
|
||||
lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null)
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
# `/lib/ld*.so'.
|
||||
let
|
||||
(let
|
||||
libc = if libcCross != null then libcCross else stdenv.cc.libc;
|
||||
in
|
||||
(
|
||||
@ -216,8 +216,8 @@ stdenv.mkDerivation ({
|
||||
''
|
||||
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
|
||||
''
|
||||
)
|
||||
else "")
|
||||
))
|
||||
)
|
||||
+ lib.optionalString targetPlatform.isAvr ''
|
||||
makeFlagsArray+=(
|
||||
'-s' # workaround for hitting hydra log limit
|
||||
|
@ -226,10 +226,10 @@ stdenv.mkDerivation ({
|
||||
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
|
||||
''
|
||||
+ (
|
||||
if targetPlatform != hostPlatform || stdenv.cc.libc != null then
|
||||
lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null)
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
# `/lib/ld*.so'.
|
||||
let
|
||||
(let
|
||||
libc = if libcCross != null then libcCross else stdenv.cc.libc;
|
||||
in
|
||||
(
|
||||
@ -248,7 +248,7 @@ stdenv.mkDerivation ({
|
||||
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
|
||||
''
|
||||
)
|
||||
else "")
|
||||
))
|
||||
+ lib.optionalString targetPlatform.isAvr ''
|
||||
makeFlagsArray+=(
|
||||
'-s' # workaround for hitting hydra log limit
|
||||
|
@ -246,10 +246,10 @@ stdenv.mkDerivation ({
|
||||
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
|
||||
''
|
||||
+ (
|
||||
if targetPlatform != hostPlatform || stdenv.cc.libc != null then
|
||||
lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null)
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
# `/lib/ld*.so'.
|
||||
let
|
||||
(let
|
||||
libc = if libcCross != null then libcCross else stdenv.cc.libc;
|
||||
in
|
||||
(
|
||||
@ -267,8 +267,8 @@ stdenv.mkDerivation ({
|
||||
''
|
||||
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
|
||||
''
|
||||
)
|
||||
else "");
|
||||
))
|
||||
);
|
||||
|
||||
inherit noSysDirs staticCompiler langJava crossStageStatic
|
||||
libcCross crossMingw;
|
||||
|
@ -190,10 +190,10 @@ stdenv.mkDerivation ({
|
||||
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
|
||||
''
|
||||
+ (
|
||||
if targetPlatform != hostPlatform || stdenv.cc.libc != null then
|
||||
lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null)
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
# `/lib/ld*.so'.
|
||||
let
|
||||
(let
|
||||
libc = if libcCross != null then libcCross else stdenv.cc.libc;
|
||||
in
|
||||
(
|
||||
@ -211,8 +211,8 @@ stdenv.mkDerivation ({
|
||||
''
|
||||
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
|
||||
''
|
||||
)
|
||||
else "")
|
||||
))
|
||||
)
|
||||
+ lib.optionalString targetPlatform.isAvr ''
|
||||
makeFlagsArray+=(
|
||||
'LIMITS_H_TEST=false'
|
||||
|
@ -172,10 +172,10 @@ stdenv.mkDerivation ({
|
||||
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
|
||||
''
|
||||
+ (
|
||||
if targetPlatform != hostPlatform || stdenv.cc.libc != null then
|
||||
lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null)
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
# `/lib/ld*.so'.
|
||||
let
|
||||
(let
|
||||
libc = if libcCross != null then libcCross else stdenv.cc.libc;
|
||||
in
|
||||
(
|
||||
@ -193,8 +193,8 @@ stdenv.mkDerivation ({
|
||||
''
|
||||
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
|
||||
''
|
||||
)
|
||||
else "")
|
||||
))
|
||||
)
|
||||
+ lib.optionalString targetPlatform.isAvr ''
|
||||
makeFlagsArray+=(
|
||||
'LIMITS_H_TEST=false'
|
||||
|
@ -186,10 +186,10 @@ stdenv.mkDerivation ({
|
||||
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
|
||||
''
|
||||
+ (
|
||||
if targetPlatform != hostPlatform || stdenv.cc.libc != null then
|
||||
lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null)
|
||||
# On NixOS, use the right path to the dynamic linker instead of
|
||||
# `/lib/ld*.so'.
|
||||
let
|
||||
(let
|
||||
libc = if libcCross != null then libcCross else stdenv.cc.libc;
|
||||
in
|
||||
(
|
||||
@ -207,8 +207,8 @@ stdenv.mkDerivation ({
|
||||
''
|
||||
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
|
||||
''
|
||||
)
|
||||
else "")
|
||||
))
|
||||
)
|
||||
+ lib.optionalString targetPlatform.isAvr ''
|
||||
makeFlagsArray+=(
|
||||
'LIMITS_H_TEST=false'
|
||||
|
@ -155,12 +155,12 @@ stdenv.mkDerivation rec {
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
|
||||
''}
|
||||
'' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
|
||||
'' else lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) ''
|
||||
rm -rf bin/*_*
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
|
||||
''}
|
||||
'' else "");
|
||||
'');
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
@ -155,12 +155,12 @@ stdenv.mkDerivation rec {
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
|
||||
''}
|
||||
'' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
|
||||
'' else lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) ''
|
||||
rm -rf bin/*_*
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
|
||||
''}
|
||||
'' else "");
|
||||
'');
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
@ -147,12 +147,12 @@ stdenv.mkDerivation rec {
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
|
||||
''}
|
||||
'' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
|
||||
'' else lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) ''
|
||||
rm -rf bin/*_*
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
|
||||
''}
|
||||
'' else "");
|
||||
'');
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
@ -79,8 +79,8 @@ openjdk17.overrideAttrs (oldAttrs: rec {
|
||||
|
||||
installPhase = let
|
||||
buildType = if debugBuild then "fastdebug" else "release";
|
||||
debugSuffix = if debugBuild then "-fastdebug" else "";
|
||||
jcefSuffix = if debugBuild then "" else "_jcef";
|
||||
debugSuffix = lib.optionalString debugBuild "-fastdebug";
|
||||
jcefSuffix = lib.optionalString (!debugBuild) "_jcef";
|
||||
in ''
|
||||
runHook preInstall
|
||||
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
{ lib, runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ runCommand, stdenv, llvm, lld, version }:
|
||||
|
||||
let
|
||||
prefix =
|
||||
if stdenv.hostPlatform != stdenv.targetPlatform
|
||||
then "${stdenv.targetPlatform.config}-"
|
||||
else "";
|
||||
prefix = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) "${stdenv.targetPlatform.config}-";
|
||||
in runCommand "llvm-binutils-${version}" {
|
||||
preferLocalBuild = true;
|
||||
passthru = {
|
||||
|
@ -188,7 +188,7 @@ stdenv.mkDerivation rec {
|
||||
lib.concatStringsSep " "
|
||||
(builtins.map (x: "--with-${x}") enableFeatures ++
|
||||
builtins.map (x: "--without-${x}") disableFeatures)
|
||||
} ${if stdenv.hostPlatform.system == "aarch64-darwin" then "--arch=arm64" else ""}
|
||||
} ${lib.optionalString (stdenv.hostPlatform.system == "aarch64-darwin") "--arch=arm64"}
|
||||
(cd doc/manual ; make info)
|
||||
|
||||
runHook postBuild
|
||||
|
@ -96,7 +96,7 @@ let
|
||||
for i in ./scripts/*.sh ./scripts/*.py ./test/*.sh ./test/*.py; do
|
||||
patchShebangs "$i"
|
||||
done
|
||||
TERM=xterm ./scripts/tests.sh ${if z3Support then "--no-smt" else ""}
|
||||
TERM=xterm ./scripts/tests.sh ${lib.optionalString z3Support "--no-smt"}
|
||||
popd
|
||||
'';
|
||||
|
||||
|
@ -16,8 +16,7 @@ stdenv.mkDerivation (swift._wrapperParams // {
|
||||
swiftOs swiftArch
|
||||
swiftModuleSubdir swiftLibSubdir
|
||||
swiftStaticModuleSubdir swiftStaticLibSubdir;
|
||||
swiftDriver = if useSwiftDriver
|
||||
then "${swift-driver}/bin/swift-driver" else "";
|
||||
swiftDriver = lib.optionalString useSwiftDriver "${swift-driver}/bin/swift-driver";
|
||||
|
||||
passAsFile = [ "buildCommand" ];
|
||||
buildCommand = ''
|
||||
|
@ -254,7 +254,7 @@ in package-set { inherit pkgs lib callPackage; } self // {
|
||||
# a cabal flag with '--flag=myflag'.
|
||||
developPackage =
|
||||
{ root
|
||||
, name ? if builtins.typeOf root == "path" then builtins.baseNameOf root else ""
|
||||
, name ? lib.optionalString (builtins.typeOf root == "path") (builtins.baseNameOf root)
|
||||
, source-overrides ? {}
|
||||
, overrides ? self: super: {}
|
||||
, modifier ? drv: drv
|
||||
|
@ -10,9 +10,8 @@ let
|
||||
let
|
||||
version = pkg.version or "";
|
||||
in
|
||||
if isPvpVersion version then
|
||||
''"${name}","${version}","http://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.${name}.x86_64-linux"''
|
||||
else "";
|
||||
lib.optionalString (isPvpVersion version)
|
||||
''"${name}","${version}","http://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.${name}.x86_64-linux"'';
|
||||
all-haskellPackages = builtins.toFile "all-haskellPackages" (lib.concatStringsSep "\n" (lib.filter (x: x != "") (lib.mapAttrsToList pkgLine haskellPackages)));
|
||||
in
|
||||
runCommand "hackage-package-list" { }
|
||||
|
@ -19,7 +19,7 @@ lib.makePackageOverridable
|
||||
name = "dhall-directory-package.nix";
|
||||
|
||||
buildCommand = ''
|
||||
dhall-to-nixpkgs directory --fixed-output-derivations --file "${file}" "${src}" ${if document then "--document" else ""} > $out
|
||||
dhall-to-nixpkgs directory --fixed-output-derivations --file "${file}" "${src}" ${lib.optionalString document "--document"} > $out
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ dhall-nixpkgs ];
|
||||
|
@ -186,7 +186,7 @@ let
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lobjc";
|
||||
|
||||
# See https://savannah.gnu.org/bugs/?50339
|
||||
F77_INTEGER_8_FLAG = if use64BitIdx then "-fdefault-integer-8" else "";
|
||||
F77_INTEGER_8_FLAG = lib.optionalString use64BitIdx "-fdefault-integer-8";
|
||||
|
||||
configureFlags = [
|
||||
"--with-blas=blas"
|
||||
|
@ -26,7 +26,7 @@ let
|
||||
inherit self sourceVersion pythonVersion packageOverrides;
|
||||
implementation = "pypy";
|
||||
libPrefix = "pypy${pythonVersion}";
|
||||
executable = "pypy${if isPy39OrNewer then lib.versions.majorMinor pythonVersion else if isPy3k then "3" else ""}";
|
||||
executable = "pypy${if isPy39OrNewer then lib.versions.majorMinor pythonVersion else lib.optionalString isPy3k "3"}";
|
||||
sitePackages = "site-packages";
|
||||
hasDistutilsCxxPatch = false;
|
||||
inherit pythonAttr;
|
||||
|
@ -32,7 +32,7 @@ let
|
||||
inherit self sourceVersion pythonVersion packageOverrides;
|
||||
implementation = "pypy";
|
||||
libPrefix = "pypy${pythonVersion}";
|
||||
executable = "pypy${if isPy3k then "3" else ""}";
|
||||
executable = "pypy${lib.optionalString isPy3k "3"}";
|
||||
sitePackages = "lib/${libPrefix}/site-packages";
|
||||
hasDistutilsCxxPatch = false;
|
||||
|
||||
|
@ -32,7 +32,7 @@ let
|
||||
inherit self sourceVersion pythonVersion packageOverrides;
|
||||
implementation = "pypy";
|
||||
libPrefix = "pypy${pythonVersion}";
|
||||
executable = "pypy${if isPy3k then "3" else ""}";
|
||||
executable = "pypy${lib.optionalString isPy3k "3"}";
|
||||
sitePackages = "site-packages";
|
||||
hasDistutilsCxxPatch = false;
|
||||
|
||||
|
@ -55,9 +55,9 @@ let
|
||||
self.majMinTiny + (
|
||||
if self.patchLevel != null then
|
||||
"-p${self.patchLevel}"
|
||||
else if self.tail != "" then
|
||||
"-${self.tail}"
|
||||
else "");
|
||||
else
|
||||
lib.optionalString (self.tail != "") "-${self.tail}"
|
||||
);
|
||||
};
|
||||
in
|
||||
rubyVersion
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user