Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from NixOS:master #127

Merged
merged 112 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
801ecec
nixos/no-x-libs: add ghostscript
SuperSandro2000 Dec 6, 2023
e8201d7
jna: 5.13.0 -> 5.14.0
r-ryantm Dec 15, 2023
a7e7a9a
hareThirdParty.hare-toml: init at 0.1.0
onemoresuza Dec 2, 2023
6f4d0b5
lib.types: Improve descriptions of composed types that have commas
roberth Dec 23, 2023
3e75305
python311Packages.bravado-core: 6.1.0 -> 6.6.1
NickCao Dec 25, 2023
0fcb3dd
zeek.broker: unstable-2023-02-01 -> 2.7.0
marsam Dec 27, 2023
adf4824
zeek: 6.0.2 -> 6.1.0
marsam Dec 27, 2023
72779c9
zuo: unstable-2023-11-23 -> 1.9
marsam Dec 27, 2023
94c0771
python311Packages.skodaconnect: 1.3.8 -> 1.3.9
fabaff Dec 27, 2023
7a324ba
mautrix-telegram: 0.15.0 -> 0.15.1
NickCao Dec 27, 2023
06eacbf
python311Packages.pint: 0.22 -> 0.23
doronbehar Dec 28, 2023
703e8c4
batman-adv: fix redefinition of skb_vlan_eth_hdr
herbetom Dec 28, 2023
4ccef33
bruno: 1.5.0 -> 1.5.1
trzpiot Dec 29, 2023
4ba9613
bruno: remove period at the end of the description
trzpiot Dec 29, 2023
20f0fb4
bruno: add meta.sourceProvenance
trzpiot Dec 29, 2023
1038d49
netbootxyz-efi: 2.0.60 -> 2.0.75
astrdark Dec 29, 2023
bf3b684
tigervnc: fix `tests` eval
trofi Dec 29, 2023
74ee838
rust-analyzer-unwrapped: 2023-11-13 -> 2023-12-25
r-ryantm Dec 29, 2023
25f25d7
ryujinx: 1.1.1100 -> 1.1.1102
r-ryantm Dec 29, 2023
a60dcc7
jellyfin-ffmpeg: fix `tests` eval
trofi Dec 29, 2023
e9cdd5f
julia.withPackages: handle non-archive artifacts (fixes #277410)
thomasjm Dec 29, 2023
b5adf1b
traefik: fix cross compilation
NickCao Sep 24, 2022
9d530ca
micro: fix cross compilation
NickCao Dec 29, 2023
de9dba6
yubihsm-connector: fix cross compilation
NickCao Dec 29, 2023
750935f
stgit: 2.4.1 -> 2.4.2
r-ryantm Dec 29, 2023
ec390d5
supabase-cli: 1.129.0 -> 1.129.1
r-ryantm Dec 30, 2023
4011dd6
talosctl: 1.6.0 -> 1.6.1
kirillrdy Dec 30, 2023
9071830
tdlib: 1.8.22 -> 1.8.23
Dec 30, 2023
068e9d4
sing-box: 1.7.6 -> 1.7.7
NickCao Dec 30, 2023
7322f0f
just: 1.20.0 -> 1.21.0
mfrw Dec 30, 2023
65e75d6
vscode-extensions.serayuzgur.crates: 0.6.0 -> 0.6.5
trzpiot Dec 30, 2023
a13a927
obs-studio-plugins.obs-move-transition: 2.9.6 -> 2.9.8
r-ryantm Dec 30, 2023
52c26b4
vscode-extensions.dracula-theme.theme-dracula: 2.24.2 -> 2.24.3
trzpiot Dec 30, 2023
a713310
twm: 0.8.1 -> 0.8.2
vinnymeller Dec 30, 2023
2ecaa71
htmx-lsp: init at 0.1.0
vinnymeller Dec 29, 2023
97825d3
python311Packages.tplink-omada-client: 1.3.6 -> 1.3.7
r-ryantm Dec 30, 2023
98d8b59
sfeed: 1.9 -> 2.0
r-ryantm Dec 30, 2023
806f73a
qovery-cli: 0.77.0 -> 0.79.0
fabaff Dec 30, 2023
f6ac391
python311Packages.velbus-aio: 2023.11.0 -> 2023.12.0
fabaff Dec 30, 2023
834f8f4
gtree: 1.10.4 -> 1.10.7
r-ryantm Dec 30, 2023
c6aef2e
python311Packages.skodaconnect: update disabled
fabaff Dec 30, 2023
09c3374
sqls: 0.2.22 -> 0.2.27
r-ryantm Dec 30, 2023
1e9ffe1
sqls: 0.2.27 -> 0.2.28
marsam Dec 30, 2023
c83b707
minishift: remove
katexochen Dec 30, 2023
d7e8593
octoprint: fix `octoprint-dashboard` alias definition
trofi Dec 30, 2023
9257497
Merge pull request #271761 from onemoresuza/hare-toml
pbsds Dec 30, 2023
7f8b667
wl-mirror: 0.14.2 -> 0.15.0
Ferdi265 Dec 30, 2023
73a0ea1
wl-mirror: update description to match upstream description
Ferdi265 Dec 30, 2023
e550564
Merge pull request #277704 from katexochen/minishift/remove
Ma27 Dec 30, 2023
20f64b5
agate: 3.3.1 → 3.3.3
sikmir Dec 30, 2023
6f2b434
vimPlugins.sniprun: 1.3.9 -> 1.3.10
GaetanLepage Dec 30, 2023
9c09d09
revanced-cli: 4.3.0 -> 4.4.0
r-ryantm Dec 30, 2023
3131a46
Merge pull request #277675 from vinnymeller/bump-twm-version
Ma27 Dec 30, 2023
163c18c
Merge pull request #277538 from marsam/update-zeek
marsam Dec 30, 2023
9d6b736
Merge pull request #277663 from mfrw/mfrw/just-1.21.0
Ma27 Dec 30, 2023
500fd5e
Merge pull request #277710 from Ferdi265/update-wl-mirror
Ma27 Dec 30, 2023
ef6ffdb
Merge pull request #274564 from r-ryantm/auto-update/jna
marsam Dec 30, 2023
64af988
Merge pull request #277682 from r-ryantm/auto-update/sfeed
sikmir Dec 30, 2023
92531c3
sequoia-sq: 0.31.0 -> 0.32.0
r-ryantm Dec 30, 2023
cd2a28e
python311Packages.pymc: fix hash mismatch
GaetanLepage Dec 30, 2023
1e54473
Merge pull request #277618 from codedownio/julia-pkgs-fix-artifact-ta…
NickCao Dec 30, 2023
dbc255a
Merge pull request #277110 from fabaff/skodaconnect-bump
NickCao Dec 30, 2023
0176686
Merge pull request #277475 from vinnymeller/htmx-lsp
NickCao Dec 30, 2023
7c59c81
Merge pull request #267846 from kirillrdy/talosctl
NickCao Dec 30, 2023
9267f03
sing-box: set meta.mainProgram
NickCao Dec 30, 2023
1aa990f
Merge pull request #277592 from r-ryantm/auto-update/ryujinx
NickCao Dec 30, 2023
1f5baef
Merge pull request #277580 from trofi/tigervnc-fix-test-eval
NickCao Dec 30, 2023
4b3294f
Merge pull request #277578 from astrdark/master
NickCao Dec 30, 2023
ddd3e14
Merge pull request #277731 from r-ryantm/auto-update/sequoia-sq
NickCao Dec 30, 2023
d4c1bf0
Merge pull request #277727 from r-ryantm/auto-update/revanced-cli
NickCao Dec 30, 2023
e914c72
Merge pull request #277726 from GaetanLepage/sniprun
NickCao Dec 30, 2023
ac1873b
Merge pull request #277715 from trofi/octoprint-fix-tests-eval
NickCao Dec 30, 2023
7a089cb
Merge pull request #277712 from sikmir/agate
NickCao Dec 30, 2023
ec18649
Merge pull request #277699 from r-ryantm/auto-update/gtree
NickCao Dec 30, 2023
21e14a8
Merge pull request #277693 from fabaff/qovery-cli-bump
NickCao Dec 30, 2023
9571f9f
Merge pull request #277692 from fabaff/velbus-aio-bump
NickCao Dec 30, 2023
a66a86a
Merge pull request #277680 from r-ryantm/auto-update/python311Package…
NickCao Dec 30, 2023
713ce10
Merge pull request #277668 from r-ryantm/auto-update/obs-studio-plugi…
NickCao Dec 30, 2023
095a532
Merge pull request #277667 from trzpiot/vscode-extensions.dracula-the…
NickCao Dec 30, 2023
a2a5766
Merge pull request #277665 from trzpiot/vscode-extensions.serayuzgur.…
NickCao Dec 30, 2023
b903832
Merge pull request #277728 from marsam/update-zuo
NickCao Dec 30, 2023
60a2ed3
Merge pull request #277645 from Vonfry/update/tdlib-1.8.23
NickCao Dec 30, 2023
23e56b2
Merge pull request #277637 from r-ryantm/auto-update/supabase-cli
NickCao Dec 30, 2023
19031b4
Merge pull request #277631 from r-ryantm/auto-update/stgit
NickCao Dec 30, 2023
c3af87f
Merge pull request #277369 from herbetom/fix-batman-adv-skb_vlan_eth_hdr
mweinelt Dec 30, 2023
036d7e3
mtail: build all binaries, enable tests
NickCao Dec 29, 2023
f260d14
Merge pull request #277600 from trofi/jellyfin-ffmpeg-fix-tests-eval
NickCao Dec 30, 2023
2925c77
Merge pull request #277138 from NickCao/mautrix-telegram
NickCao Dec 30, 2023
c73edc4
Merge pull request #276750 from NickCao/bravado-core
NickCao Dec 30, 2023
79ed4d9
surrealdb-migrations: 1.0.0 -> 1.0.1
r-ryantm Dec 30, 2023
b13feab
dkimproxy: fix running (#277729)
Ekleog Dec 30, 2023
fd7af63
Merge pull request #277706 from r-ryantm/auto-update/sqls
marsam Dec 30, 2023
2961883
Merge pull request #277624 from NickCao/yubihsm-connector
NickCao Dec 30, 2023
5392800
Merge pull request #277730 from GaetanLepage/pymc
NickCao Dec 30, 2023
9f98c59
Merge pull request #276271 from hercules-ci/modules-types-description…
roberth Dec 30, 2023
5b2eefc
far2l: 2.4.1 -> 2.5.3
snaar Dec 30, 2023
da90576
nixos/lxd-agent: fix evaluation regression caused by nixos/nixpkgs#27…
philiptaron Dec 30, 2023
9795981
Merge pull request #277687 from snaar/update-far2l
sikmir Dec 30, 2023
c9ecfc1
Merge pull request #277619 from NickCao/mtail
NickCao Dec 30, 2023
5eee63e
Merge pull request #277652 from NickCao/sing-box
NickCao Dec 30, 2023
7d97faa
Merge pull request #277752 from philiptaron/regression-fix/pr-271326
adamcstephens Dec 30, 2023
86b9cdb
Merge pull request #277736 from r-ryantm/auto-update/surrealdb-migrat…
NickCao Dec 30, 2023
fb6f005
Merge pull request #272552 from SuperSandro2000/ghostscript-nox
NickCao Dec 30, 2023
b0d36bd
Merge pull request #277337 from doronbehar/pkg/python-pint
doronbehar Dec 30, 2023
cc0553a
goxel: 0.12.0 -> 0.13.0
r-ryantm Dec 27, 2023
ff69b00
rat-king-adventure: 1.5.2a -> 1.5.3
r-ryantm Dec 23, 2023
5bc0439
Merge pull request #272683 from r-ryantm/auto-update/rust-analyzer-un…
NickCao Dec 30, 2023
d3252cd
Merge pull request #277522 from trzpiot/bruno-1.5.1
sikmir Dec 30, 2023
00a18a8
Merge pull request #277623 from NickCao/micro
sikmir Dec 30, 2023
88a82d4
nix-du: 1.1.1 -> 1.2.0
symphorien Dec 27, 2023
09a5f17
lua-wrapper: fix luaPath and luaCpath definitions
trofi Dec 28, 2023
3ff2ce7
Merge pull request #277621 from NickCao/traefik
sikmir Dec 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lib/tests/misc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,18 @@ runTests {
expr = (with types; int).description;
expected = "signed integer";
};
testTypeDescriptionIntsPositive = {
expr = (with types; ints.positive).description;
expected = "positive integer, meaning >0";
};
testTypeDescriptionIntsPositiveOrEnumAuto = {
expr = (with types; either ints.positive (enum ["auto"])).description;
expected = ''positive integer, meaning >0, or value "auto" (singular enum)'';
};
testTypeDescriptionListOfPositive = {
expr = (with types; listOf ints.positive).description;
expected = "list of (positive integer, meaning >0)";
};
testTypeDescriptionListOfInt = {
expr = (with types; listOf int).description;
expected = "list of signed integer";
Expand Down
22 changes: 19 additions & 3 deletions lib/types.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,14 @@ rec {
, # Description of the type, defined recursively by embedding the wrapped type if any.
description ? null
# A hint for whether or not this description needs parentheses. Possible values:
# - "noun": a simple noun phrase such as "positive integer"
# - "conjunction": a phrase with a potentially ambiguous "or" connective.
# - "noun": a noun phrase
# Example description: "positive integer",
# - "conjunction": a phrase with a potentially ambiguous "or" connective
# Example description: "int or string"
# - "composite": a phrase with an "of" connective
# Example description: "list of string"
# - "nonRestrictiveClause": a noun followed by a comma and a clause
# Example description: "positive integer, meaning >0"
# See the `optionDescriptionPhrase` function.
, descriptionClass ? null
, # DO NOT USE WITHOUT KNOWING WHAT YOU ARE DOING!
Expand Down Expand Up @@ -338,10 +343,12 @@ rec {
unsigned = addCheck types.int (x: x >= 0) // {
name = "unsignedInt";
description = "unsigned integer, meaning >=0";
descriptionClass = "nonRestrictiveClause";
};
positive = addCheck types.int (x: x > 0) // {
name = "positiveInt";
description = "positive integer, meaning >0";
descriptionClass = "nonRestrictiveClause";
};
u8 = unsign 8 256;
u16 = unsign 16 65536;
Expand Down Expand Up @@ -383,10 +390,12 @@ rec {
nonnegative = addCheck number (x: x >= 0) // {
name = "numberNonnegative";
description = "nonnegative integer or floating point number, meaning >=0";
descriptionClass = "nonRestrictiveClause";
};
positive = addCheck number (x: x > 0) // {
name = "numberPositive";
description = "positive integer or floating point number, meaning >0";
descriptionClass = "nonRestrictiveClause";
};
};

Expand Down Expand Up @@ -463,6 +472,7 @@ rec {
passwdEntry = entryType: addCheck entryType (str: !(hasInfix ":" str || hasInfix "\n" str)) // {
name = "passwdEntry ${entryType.name}";
description = "${optionDescriptionPhrase (class: class == "noun") entryType}, not containing newlines or colons";
descriptionClass = "nonRestrictiveClause";
};

attrs = mkOptionType {
Expand Down Expand Up @@ -870,7 +880,13 @@ rec {
# Either value of type `t1` or `t2`.
either = t1: t2: mkOptionType rec {
name = "either";
description = "${optionDescriptionPhrase (class: class == "noun" || class == "conjunction") t1} or ${optionDescriptionPhrase (class: class == "noun" || class == "conjunction" || class == "composite") t2}";
description =
if t1.descriptionClass or null == "nonRestrictiveClause"
then
# Plain, but add comma
"${t1.description}, or ${optionDescriptionPhrase (class: class == "noun" || class == "conjunction") t2}"
else
"${optionDescriptionPhrase (class: class == "noun" || class == "conjunction") t1} or ${optionDescriptionPhrase (class: class == "noun" || class == "conjunction" || class == "composite") t2}";
descriptionClass = "conjunction";
check = x: t1.check x || t2.check x;
merge = loc: defs:
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/config/no-x-libs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ with lib;
ffmpeg_5 = super.ffmpeg_5.override { ffmpegVariant = "headless"; };
# dep of graphviz, libXpm is optional for Xpm support
gd = super.gd.override { withXorg = false; };
ghostscript = super.ghostscript.override { cupsSupport = false; x11Support = false; };
gobject-introspection = super.gobject-introspection.override { x11Support = false; };
gpsd = super.gpsd.override { guiSupport = false; };
graphviz = super.graphviz-nox;
Expand Down
5 changes: 3 additions & 2 deletions nixos/modules/virtualisation/lxd-agent.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ in {
systemd.services.lxd-agent = {
enable = true;
wantedBy = [ "multi-user.target" ];
before = [ "shutdown.target" ];
before = [ "shutdown.target" ] ++ lib.optionals config.services.cloud-init.enable [
"cloud-init.target" "cloud-init.service" "cloud-init-local.service"
];
conflicts = [ "shutdown.target" ];
path = [
pkgs.kmod
Expand All @@ -78,7 +80,6 @@ in {
Description = "LXD - agent";
Documentation = "https://documentation.ubuntu.com/lxd/en/latest";
ConditionPathExists = "/dev/virtio-ports/org.linuxcontainers.lxd";
Before = lib.optionals config.services.cloud-init.enable [ "cloud-init.target" "cloud-init.service" "cloud-init-local.service" ];
DefaultDependencies = "no";
StartLimitInterval = "60";
StartLimitBurst = "10";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/micro/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ buildGoModule rec {
];

preBuild = ''
go generate ./runtime
GOOS= GOARCH= go generate ./runtime
'';

postInstall = ''
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1067,12 +1067,12 @@

sniprun =
let
version = "1.3.9";
version = "1.3.10";
src = fetchFromGitHub {
owner = "michaelb";
repo = "sniprun";
rev = "refs/tags/v${version}";
hash = "sha256-g2zPGAJIjMDWn8FCsuRPZyYHDk+ZHCd04lGlYHvb4OI=";
hash = "sha256-7tDREZ8ZXYySHrXVOh+ANT23CknJQvZJ8WtU5r0pOOQ=";
};
sniprun-bin = rustPlatform.buildRustPackage {
pname = "sniprun-bin";
Expand All @@ -1082,7 +1082,7 @@
darwin.apple_sdk.frameworks.Security
];

cargoHash = "sha256-h/NhDFp+Yiyx37Tlfu0W9rMnd+ZmQp5gt+qhY3PB7DE=";
cargoHash = "sha256-n/HW+q4Xrme/ssS9Th5uFEUsDgkxRxKt2wSR8k08uHY=";

nativeBuildInputs = [ makeWrapper ];

Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/editors/vscode/extensions/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1151,8 +1151,8 @@ let
mktplcRef = {
name = "theme-dracula";
publisher = "dracula-theme";
version = "2.24.2";
sha256 = "sha256-YNqWEIvlEI29mfPxOQVdd4db9G2qNodhz8B0MCAAWK8=";
version = "2.24.3";
sha256 = "sha256-3B18lEu8rXVXySdF3+xsPnAyruIuEQJDhlNw82Xm6b0=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/dracula-theme.theme-dracula/changelog";
Expand Down Expand Up @@ -3111,8 +3111,8 @@ let
mktplcRef = {
name = "crates";
publisher = "serayuzgur";
version = "0.6.0";
sha256 = "080zd103vjrz86vllr1ricq2vi3hawn4534n492m7xdcry9l9dpc";
version = "0.6.5";
sha256 = "sha256-HgqM4PKGk3R5MLY4cVjKxv79p5KlOkVDeDbv7/6FmpM=";
};
meta = {
license = lib.licenses.mit;
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/ryujinx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@

buildDotnetModule rec {
pname = "ryujinx";
version = "1.1.1100"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml
version = "1.1.1102"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml

src = fetchFromGitHub {
owner = "Ryujinx";
repo = "Ryujinx";
rev = "06bff0159c9eddc5111859d1ca315708152ac61b";
sha256 = "1fxslad3i6cbd4kcjal1pzbr472az834ahyg7k8yf34b7syljswq";
rev = "f11d663df73f68350820dfa65aa51a8a9b9ffd0f";
sha256 = "15yai8zwwy2537ng6iqyg2jhv0q2w1c9rahkdkbvgkwiycsl7rjy";
};

dotnet-sdk = dotnetCorePackages.sdk_8_0;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/goxel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "goxel";
version = "0.12.0";
version = "0.13.0";

src = fetchFromGitHub {
owner = "guillaumechereau";
repo = "goxel";
rev = "v${version}";
hash = "sha256-taDe5xJU6ijikHaSMDYs/XE2O66X3J7jOKWzbj7hrN0=";
hash = "sha256-mB4ln2uIhK/hsX+hUpeZ8H4aumaAUl5vaFkqolJtLRg=";
};

nativeBuildInputs = [ scons pkg-config wrapGAppsHook ];
Expand Down
36 changes: 17 additions & 19 deletions pkgs/applications/misc/far2l/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, cmake, ninja, pkg-config, m4, bash
{ lib, stdenv, fetchFromGitHub, makeWrapper, cmake, ninja, pkg-config, m4, perl, bash
, xdg-utils, zip, unzip, gzip, bzip2, gnutar, p7zip, xz
, IOKit, Carbon, Cocoa, AudioToolbox, OpenGL, System
, withTTYX ? true, libX11
Expand All @@ -14,18 +14,16 @@

stdenv.mkDerivation rec {
pname = "far2l";
version = "2.4.1";
version = "2.5.3";

src = fetchFromGitHub {
owner = "elfmz";
repo = "far2l";
rev = "v_${version}";
sha256 = "sha256-0t1ND6LmDcivfrZ8RaEr1vjeS5JtaeWkoHkl2e7Xr5s=";
sha256 = "sha256-aK6+7ChFAkeDiEYU2llBb//PBej2Its/wBeuG7ys/ew=";
};

patches = [ ./python_prebuild.patch ];

nativeBuildInputs = [ cmake ninja pkg-config m4 makeWrapper ];
nativeBuildInputs = [ cmake ninja pkg-config m4 perl makeWrapper ];

buildInputs = lib.optional withTTYX libX11
++ lib.optional withGUI wxGTK32
Expand All @@ -39,21 +37,21 @@ stdenv.mkDerivation rec {

postPatch = ''
patchShebangs python/src/prebuild.sh
substituteInPlace far2l/src/vt/vtcompletor.cpp \
--replace '"/bin/bash"' '"${bash}/bin/bash"'
substituteInPlace far2l/src/cfg/config.cpp \
--replace '"/bin/bash"' '"${bash}/bin/bash"'
patchShebangs far2l/bootstrap/view.sh
'';

cmakeFlags = lib.mapAttrsToList (k: v: "-D${k}=${if v then "yes" else "no"}") {
TTYX = withTTYX;
USEWX = withGUI;
USEUCD = withUCD;
COLORER = withColorer;
MULTIARC = withMultiArc;
NETROCKS = withNetRocks;
PYTHON = withPython;
};
cmakeFlags = [
(lib.cmakeBool "TTYX" withTTYX)
(lib.cmakeBool "USEWX" withGUI)
(lib.cmakeBool "USEUCD" withUCD)
(lib.cmakeBool "COLORER" withColorer)
(lib.cmakeBool "MULTIARC" withMultiArc)
(lib.cmakeBool "NETROCKS" withNetRocks)
(lib.cmakeBool "PYTHON" withPython)
] ++ lib.optionals withPython [
(lib.cmakeFeature "VIRTUAL_PYTHON" "python")
(lib.cmakeFeature "VIRTUAL_PYTHON_VERSION" "python")
];

runtimeDeps = [ unzip zip p7zip xz gzip bzip2 gnutar ];

Expand Down
20 changes: 0 additions & 20 deletions pkgs/applications/misc/far2l/python_prebuild.patch

This file was deleted.

2 changes: 1 addition & 1 deletion pkgs/applications/misc/octoprint/plugins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -480,5 +480,5 @@ in
};
};
} // lib.optionalAttrs config.allowAliases {
octoprint-dashboard = self.dashboard;
octoprint-dashboard = super.dashboard;
}
4 changes: 2 additions & 2 deletions pkgs/applications/misc/revanced-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "revanced-cli";
version = "4.3.0";
version = "4.4.0";

src = fetchurl {
url = "https://github.com/revanced/revanced-cli/releases/download/v${version}/revanced-cli-${version}-all.jar";
hash = "sha256-D/4zR5PvcZqv8yyNIzbnYnGoHDrPQAeHyrN/G4QsTB0=";
hash = "sha256-ydP9iPClWNKlbBhsNC1bzqfJYRyit1WsxIgwbQQbgi8=";
};

nativeBuildInputs = [ makeWrapper ];
Expand Down
12 changes: 6 additions & 6 deletions pkgs/applications/misc/sqls/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

buildGoModule rec {
pname = "sqls";
version = "0.2.22";
version = "0.2.28";

src = fetchFromGitHub {
owner = "lighttiger2505";
repo = pname;
owner = "sqls-server";
repo = "sqls";
rev = "v${version}";
sha256 = "sha256-xtvm/NVL98dRzQL1id/WwT/NdsnB7qTRVR7jfrRsabY=";
hash = "sha256-b3zLyj2n+eKOPBRooS68GfM0bsiTVXDblYKyBYKiYug=";
};

vendorHash = "sha256-sowzyhvNr7Ek3ex4BP415HhHSKnqPHy5EbnECDVZOGw=";
vendorHash = "sha256-6IFJvdT7YLnWsg7Icd3nKXXHM6TZKZ+IG9nEBosRCwA=";

ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.revision=${src.rev}" ];

doCheck = false;

meta = with lib; {
homepage = "https://github.com/lighttiger2505/sqls";
homepage = "https://github.com/sqls-server/sqls";
description = "SQL language server written in Go";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
Expand Down
Loading