jiebi/CodeConvo huggingface dataset:
<ins> { coreutils , fetchFromGitHub }: let advcpmv-data = { pname = "advcpmv"; patch-version = "0.9"; coreutils-version = "9.4"; version = "${advcpmv-data.patch-version}-${advcpmv-data.coreutils-version}"; src = fetchFromGitHub { owner = "jarun"; repo = "advcpmv"; rev = "a1f8b505e691737db2f7f2b96275802c45f65c59"; hash = "sha256-IHfMu6PyGRPc87J/hbxMUdosmLq13K0oWa5fPLWKOvo="; }; patch-file = advcpmv-data.src + "/advcpmv-${advcpmv-data.version}.patch"; }; coreutilsNoSingleBinary = coreutils.override { singleBinary = false; }; in assert (advcpmv-data.coreutils-version == coreutils.version); coreutilsNoSingleBinary.overrideAttrs (old: { inherit (advcpmv-data) pname version; patches = (old.patches or [ ]) ++ [ advcpmv-data.patch-file ]; outputs = [ "out" ]; # Since we don't need info files configureFlags = (old.configureFlags or [ ]) ++ [ # To not conflict with regular coreutils "--program-prefix=adv" ]; # Only cpg and mvg are desired, the others are not touched and therefore can # be removed. Equally, the info directory is removed. postFixup = (old.postFixup or "") + '' rm -rf $out/share/info pushd $out/bin mv advcp cpg mv advmv mvg rm adv* mv cpg advcp mv mvg advmv ln -s advcp cpg ln -s advcp acp ln -s advmv mvg ln -s advmv amv popd ''; meta = old.meta // { homepage = "https://github.com/jarun/advcpmv"; description = "Patched cp and mv from Coreutils that provides progress bars"; longDescription = '' Advanced Copy is a mod for the GNU cp and GNU mv tools which adds a progress bar and provides some info on what's going on. It was written by Florian Zwicke and released under the GPL. ''; }; }) </ins>
<ins> { stdenv , lib , fetchFromGitHub , fetchpatch , writeText , openjdk21_headless , gradle , pkg-config , perl , cmake , gperf , gtk2 , gtk3 , libXtst , libXxf86vm , glib , alsa-lib , ffmpeg_4 , python3 , ruby , icu68 , withMedia ? true , withWebKit ? false }: let major = "22"; update = ""; build = "+30"; repover = "${major}${update}${build}"; makePackage = args: stdenv.mkDerivation ({ version = "${major}${update}${build}"; src = fetchFromGitHub { owner = "openjdk"; repo = "jfx"; rev = repover; hash = "sha256-sZF7ZPC0kgTTxWgtkxmGtOlfroGPGVZcMw0/wSTJUxQ="; }; buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4 icu68 ]; nativeBuildInputs = [ gradle perl pkg-config cmake gperf python3 ruby ]; dontUseCmakeConfigure = true; config = writeText "gradle.properties" ('' CONF = Release JDK_HOME = ${openjdk21_headless.home} '' + args.gradleProperties or ""); buildPhase = '' runHook preBuild export NUMBER_OF_PROCESSORS=$NIX_BUILD_CORES export GRADLE_USER_HOME=$(mktemp -d) ln -s $config gradle.properties export NIX_CFLAGS_COMPILE="$(pkg-config --cflags glib-2.0) $NIX_CFLAGS_COMPILE" gradle --no-daemon $gradleFlags sdk runHook postBuild ''; } // args); # Fake build to pre-download deps into fixed-output derivation. # We run nearly full build because I see no other way to download everything that's needed. # Anyone who knows a better way? deps = makePackage { pname = "openjfx-deps"; # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) installPhase = '' find $GRADLE_USER_HOME -type f -regex '.*/modules.*.(jar|pom)'  | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/s]+))$# ($x = $2) =~ tr|.|/|; "install -Dm444 $1 $out/$x/$3/$4/$5" #e'  | sh rm -rf $out/tmp ''; outputHashAlgo = "sha256"; outputHashMode = "recursive"; outputHash = "sha256-2I7LvYcudlB4DKJ/wEiTjY6nICUxUY52euosUqOA+Bs="; }; in makePackage { pname = "openjfx-modular-sdk"; gradleProperties = '' COMPILE_MEDIA = ${lib.boolToString withMedia} COMPILE_WEBKIT = ${lib.boolToString withWebKit} ''; preBuild = '' swtJar="$(find ${deps} -name org.eclipse.swt*.jar)" substituteInPlace build.gradle  --replace 'mavenCentral()' 'mavenLocal(); maven { url uri("${deps}") }'  --replace 'name: SWT_FILE_NAME' "files('$swtJar')" ''; installPhase = '' cp -r build/modular-sdk $out ''; stripDebugList = [ "." ]; postFixup = '' # Remove references to bootstrap. export openjdkOutPath='${openjdk21_headless.outPath}' find "$out" -name *.so | while read lib; do new_refs="$(patchelf --print-rpath "$lib" | perl -pe 's,:?Q$ENV{openjdkOutPath}E[^:]*,,')" patchelf --set-rpath "$new_refs" "$lib" done ''; disallowedReferences = [ openjdk21_headless openjdk21_headless ]; passthru.deps = deps; meta = with lib; { homepage = "https://openjdk.org/projects/openjfx/"; license = licenses.gpl2Classpath; description = "The next-generation Java client toolkit"; maintainers = with maintainers; [ abbradar ]; platforms = platforms.unix; }; } </ins>
<ins> { callPackage , enableJavaFX ? false , ... }@args: callPackage ./common.nix ({ # Details from https://www.azul.com/downloads/?version=java-22-lts&package=jdk # Note that the latest build may differ by platform dists = { x86_64-linux = { zuluVersion = "22.28.91"; jdkVersion = "22.0.0"; hash = if enableJavaFX then "sha256-HvMiODsz+puu1xtxG2RRXH/PWCk91PGNZ7UcOd9orqQ=" else "sha256-HvMiODsz+puu1xtxG2RRXH/PWCk91PGNZ7UcOd9orqQ="; }; aarch64-linux = { zuluVersion = "22.28.91"; jdkVersion = "22.0.0"; hash = if enableJavaFX then throw "JavaFX is not available for aarch64-linux" else "sha256-3RLNNEbMk5wAZsQmbQj/jpx9iTL/yr9N3wL4t7m6c+s="; }; x86_64-darwin = { zuluVersion = "22.28.91"; jdkVersion = "22.0.0"; hash = if enableJavaFX then "sha256-Y6PSNQjHRXukwux2sVbvpTIqT+Cg+KeG1C0iSEwyKZw=" else "sha256-Y6PSNQjHRXukwux2sVbvpTIqT+Cg+KeG1C0iSEwyKZw="; }; aarch64-darwin = { zuluVersion = "22.28.91"; jdkVersion = "22.0.0"; hash = if enableJavaFX then "sha256-o0VkWB4+PzBmNNWy+FZlyjTgukBTe6owfydb3YNfEE0=" else "sha256-o0VkWB4+PzBmNNWy+FZlyjTgukBTe6owfydb3YNfEE0="; }; }; } // builtins.removeAttrs args [ "callPackage" ]) </ins>
hugs = callPackage ../development/interpreters/hugs { }; <del> inherit (javaPackages) openjfx11 openjfx15 openjfx17 openjfx19 openjfx20 openjfx21; </del> <ins> inherit (javaPackages) openjfx11 openjfx15 openjfx17 openjfx19 openjfx20 openjfx21 openjfx22; </ins> openjfx = openjfx17; openjdk8-bootstrap = javaPackages.compiler.openjdk8-bootstrap;
jdk21 = openjdk21; jdk21_headless = openjdk21_headless; <ins> openjdk22 = javaPackages.compiler.openjdk22; openjdk22_headless = javaPackages.compiler.openjdk22.headless; jdk22 = openjdk22; jdk22_headless = openjdk22_headless; </ins> /* default JDK */ jdk = jdk21; jdk_headless = jdk21_headless;
openjfx19 = callPackage ../development/compilers/openjdk/openjfx/19.nix { }; openjfx20 = callPackage ../development/compilers/openjdk/openjfx/20.nix { }; openjfx21 = callPackage ../development/compilers/openjdk/openjfx/21.nix { }; <ins> openjfx22 = callPackage ../development/compilers/openjdk/openjfx/22.nix { }; </ins> in { <del> inherit openjfx11 openjfx15 openjfx17 openjfx19 openjfx20 openjfx21; </del> <ins> inherit openjfx11 openjfx15 openjfx17 openjfx19 openjfx20 openjfx21 openjfx22; </ins> compiler = let
openjfx = openjfx21; }; <ins> openjdk22 = mkOpenjdk ../development/compilers/openjdk/22.nix ../development/compilers/zulu/22.nix { openjdk22-bootstrap = temurin-bin.jdk-21; openjfx = openjfx22; }; </ins> temurin-bin = recurseIntoAttrs (callPackage ( if stdenv.isLinux then ../development/compilers/temurin-bin/jdk-linux.nix
}; }; <del> meta = with lib; { </del> <ins> # Some of the OpenJDK derivation set their `pos` by hand. We need to # overwrite this in order to point to Corretto, not OpenJDK. pos = __curPos; meta = with lib; oldAttrs.meta // { </ins> homepage = "https://aws.amazon.com/corretto"; license = licenses.gpl2Only; description = "Amazon's distribution of OpenJDK"; <del> platforms = jdk.meta.platforms; mainProgram = "java"; </del> maintainers = with maintainers; [ rollf ]; }; })
'' runHook preInstall <ins> mv build/linux-${cpu}-server-${buildType}/images/jdk/man build/linux-${cpu}-server-${buildType}/images/${jbrsdkDir} </ins> rm -rf build/linux-${cpu}-server-${buildType}/images/jdk mv build/linux-${cpu}-server-${buildType}/images/${jbrsdkDir} build/linux-${cpu}-server-${buildType}/images/jdk '' + oldAttrs.installPhase + "runHook postInstall";
npmDepsHash = "sha256-KPBKUjCxva11w/E+Qhlx+1vikpCL7Hr9MiKenYHEVSU="; <ins> npmBuildFlags = [ "--production" ]; passthru.tests.help = runCommand "${pname}-tests" { } '' ${web-ext}/bin/web-ext --help touch $out ''; </ins> meta = { description = "A command line tool to help build, run, and test web extensions"; homepage = "https://github.com/mozilla/web-ext";
<ins> commit 166afaf144d6473464975438353257359dd51708 Author: Andreas Wiese <andreas.wiese@kernkonzept.com> Date:   Thu Feb 1 11:35:02 2024 +0100 aa-remove-unknown: fix readability check This check is intended for ensuring that the profiles file can actually be opened.  The *actual* check is performed by the shell, not the read utility, which won't even be executed if the input redirection (and hence the test) fails. If the test succeeds, though, using `read` here might actually jeopardize the test result if there are no profiles loaded and the file is empty. This commit fixes that case by simply using `true` instead of `read`. diff --git a/utils/aa-remove-unknown b/utils/aa-remove-unknown index 0e00d6a0..3351feef 100755 --- a/utils/aa-remove-unknown +++ b/utils/aa-remove-unknown @@ -63,7 +63,7 @@ fi # We have to do this check because error checking awk's getline() below is # tricky and, as is, results in an infinite loop when apparmorfs returns an # error from open(). -if ! IFS= read -r _ < "$PROFILES" ; then +if ! true < "$PROFILES" ; then echo "ERROR: Unable to read apparmorfs profiles file" 1>&2 exit 1 elif [ ! -w "$REMOVE" ] ; then </ins>
--replace "/usr/include/linux/capability.h" "${linuxHeaders}/include/linux/capability.h" ''; <del> patches = lib.optionals stdenv.hostPlatform.isMusl [ </del> <ins> patches = [ ./0001-aa-remove-unknown_empty-ruleset.patch ] ++ lib.optionals stdenv.hostPlatform.isMusl [ </ins> (fetchpatch { url = "https://git.alpinelinux.org/aports/plain/testing/apparmor/0003-Added-missing-typedef-definitions-on-parser.patch?id=74b8427cc21f04e32030d047ae92caa618105b53"; name = "0003-Added-missing-typedef-definitions-on-parser.patch";
"-DENABLE_JACK=ON" (lib.cmakeBool "ENABLE_QSV11" stdenv.hostPlatform.isx86_64) (lib.cmakeBool "ENABLE_LIBFDK" withFdk) <ins> (lib.cmakeBool "ENABLE_ALSA" alsaSupport) (lib.cmakeBool "ENABLE_PULSEAUDIO" pulseaudioSupport) (lib.cmakeBool "ENABLE_PIPEWIRE" pipewireSupport) </ins> ]; dontWrapGApps = true;
video content, efficiently ''; homepage = "https://obsproject.com"; <del> maintainers = with maintainers; [ jb55 MP2E materus fpletz ]; </del> <ins> maintainers = with maintainers; [ eclairevoyant jb55 MP2E materus fpletz ]; </ins> license = with licenses; [ gpl2Plus ] ++ optional withFdk fraunhofer-fdk; platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; mainProgram = "obs";
echo "=== Running MathInstaller ===" ./MathInstaller -auto -createdir=y -execdir=$out/bin -targetdir=$out/libexec/Mathematica -silent <ins> # Fix library paths cd $out/libexec/Mathematica/Executables for path in mathematica MathKernel Mathematica WolframKernel wolfram math; do sed -i -e 's#export LD_LIBRARY_PATH$#export LD_LIBRARY_PATH=${zlib}/lib:''${LD_LIBRARY_PATH}#' $path done </ins> ''; preFixup = ''
<del> { lib, stdenv, buildPecl, php, valgrind, pcre2, fetchFromGitHub }: </del> <ins> { lib , stdenv , buildPecl , php , valgrind , pcre2 , fetchFromGitHub }: </ins> let <del> version = "5.0.3"; </del> <ins> version = "5.1.2"; </ins> in buildPecl { inherit version; pname = "swoole";
owner = "swoole"; repo = "swoole-src"; rev = "v${version}"; <del> sha256 = "sha256-xadseYMbA+llzTf9JFIitJK2iR0dN8vAjv3n9/e7FGs="; </del> <ins> hash = "sha256-WTsntvauiooj081mOoFcK6CVpnCCR/cEQtJbsOIJ/wo="; </ins> }; buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ]; <del> doCheck = true; checkTarget = "tests"; </del> <ins> # tests require internet access doCheck = false; </ins> <del> meta = with lib; { </del> <ins> meta = { </ins> changelog = "https://github.com/swoole/swoole-src/releases/tag/v${version}"; description = "Coroutine-based concurrency library for PHP"; <del> license = licenses.asl20; homepage = "https://www.swoole.co.uk/"; maintainers = teams.php.members; </del> <ins> homepage = "https://www.swoole.com"; license = lib.licenses.asl20; maintainers = lib.teams.php.members; </ins> }; }
, gnome }: <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "loupe"; <del> version = "45.2"; </del> <ins> version = "45.3"; </ins> src = fetchurl { <del> url = "mirror://gnome/sources/loupe/${lib.versions.major version}/loupe-${version}.tar.xz"; hash = "sha256-uLP/rzZXAmsX4E8Z4EDLqNUetNDKtU5CKVsOWlJxwKs="; </del> <ins> url = "mirror://gnome/sources/loupe/${lib.versions.major finalAttrs.version}/loupe-${finalAttrs.version}.tar.xz"; hash = "sha256-9l8tEgjQhatf+pmN1DyS/pUictTVm1HP7MEevf/KLYY="; </ins> }; patches = [
, nixosTests }: <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "vte"; <del> version = "0.74.1"; </del> <ins> version = "0.74.2"; </ins> outputs = [ "out" "dev" "devdoc" ]; src = fetchurl { <del> url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "sha256-IyjD8cmYNQoY4OUTNI6fxYHVfqTnuJrt8R4OPGUEK08="; </del> <ins> url = "mirror://gnome/sources/vte/${lib.versions.majorMinor finalAttrs.version}/vte-${finalAttrs.version}.tar.xz"; sha256 = "sha256-pTX7Kpj+qKJEnNGgLMz1GQEx3d/1LnFa/azj/rU26uc="; </ins> }; patches = [
hash = "sha256-2ZUD+RBsl35QV3250JOPCIoJb4sJcBsiRE4SZaS6ROs="; }; <del> nativeBuildInputs = [ cmake python3 jq which pkg-config ]; </del> <ins> nativeBuildInputs = [ cmake python3 jq which pkg-config libsForQt5.qt5.wrapQtAppsHook ]; </ins> buildInputs = [ expat
{ lib , stdenv , fetchFromGitHub <del> , python3Packages </del> <ins> , python310Packages </ins> , testers , stig }: <del> python3Packages.buildPythonApplication rec { </del> <ins> python310Packages.buildPythonApplication rec { </ins> pname = "stig"; # This project has a different concept for pre release / alpha, # Read the project's README for details: https://github.com/rndusr/stig#stig <del> version = "0.12.5a0"; </del> <ins> version = "0.12.8a0"; </ins> src = fetchFromGitHub { owner = "rndusr"; repo = "stig"; rev = "v${version}"; <del> sha256 = "sha256-e27DBzing38llFxPIsMGkZJXp2q7jjFlQdtfsqLXNHw="; </del> <ins> sha256 = "sha256-vfmuA6DqWvAygcS6N+qX1h+Ag+P4eOwm41DhAFZR3r8="; </ins> }; <del> propagatedBuildInputs = with python3Packages; [ </del> <ins> propagatedBuildInputs = with python310Packages; [ </ins> urwid urwidtrees aiohttp
export LC_ALL=C ''; <del> pytestFlagsArray = [ "tests" # TestScrollBarWithScrollable.test_wrapping_bug fails "--deselect=tests/tui_test/scroll_test.py::TestScrollBarWithScrollable::test_wrapping_bug" # https://github.com/rndusr/stig/issues/214 "--deselect=tests/completion_test/classes_test.py::TestCandidates::test_candidates_are_sorted_case_insensitively" ] ++ lib.optionals stdenv.isDarwin [ "--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second" "--deselect=tests/client_test/aiotransmission_test/api_torrent_test.py" "--deselect=tests/client_test/aiotransmission_test/rpc_test.py" </del> <ins> disabledTestPaths = [ # Almost all tests fail in this file, it is reported upstream in: # https://github.com/rndusr/stig/issues/214 , and upstream fails to # reproduce the issue unfortunately. "tests/client_test/aiotransmission_test/api_settings_test.py" ]; disabledTests = [ # Another failure with similar circumstances to the above "test_candidates_are_sorted_case_insensitively" </ins> ]; passthru.tests = testers.testVersion {
<del> { stdenv , lib , fetchurl , autoPatchelfHook , wrapGAppsHook , dbus , libGL , libX11 , libXcursor , libXi , libXrandr , udev , unzip , alsa-lib }: stdenv.mkDerivation rec { pname = "cryptowatch-desktop"; version = "0.7.1"; src = fetchurl { url = "https://cryptowat.ch/desktop/download/linux/${version}"; hash = "sha256-ccyHfjp00CgQH+3SiDWx9yE1skOj0RWxnBomHWY/IaU="; }; unpackPhase = "unzip $src"; nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook unzip ]; buildInputs = [ dbus udev alsa-lib ]; sourceRoot = "."; installPhase = '' install -m755 -D cryptowatch_desktop $out/bin/cryptowatch_desktop ''; preFixup = '' gappsWrapperArgs+=( --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL libX11 libXcursor libXrandr libXi ]}" ) ''; meta = with lib; { homepage = "https://cryptowat.ch"; description = "Application for visualising real-time cryptocurrency market data"; platforms = platforms.linux; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; maintainers = with maintainers; [ livnev kashw2 ]; }; } </del>
composable_kernel = throw "'composable_kernel' has been replaced with 'rocmPackages.composable_kernel'"; # Added 2023-10-08 cpp-ipfs-api = cpp-ipfs-http-client; # Project has been renamed. Added 2022-05-15 crispyDoom = crispy-doom; # Added 2023-05-01 <ins> cryptowatch-desktop = throw "Cryptowatch Desktop was sunset on September 30th 2023 and has been removed from nixpkgs"; # Added 2023-12-22 </ins> clash = throw "'clash' has been removed, upstream gone. Consider using 'clash-meta' instead."; # added 2023-11-10 clasp = clingo; # added 2022-12-22 claws-mail-gtk3 = claws-mail; # Added 2021-07-10
In an effort to keep the Nixpkgs manual in a consistent style, please follow the conventions below, unless they prevent you from properly documenting something. In that case, please open an issue about the particular documentation convention and tag it with a "needs: documentation" label. <ins> When needed, each convention explain why it exists, so you can make a decision whether to follow it or not based on your particular case. Note that these conventions are about the **structure** of the manual (and its source files), not about the content that goes in it. You, as the writer of documentation, are still in charge of its content. </ins> - Put each sentence in its own line. This makes reviews and suggestions much easier, since GitHub's review system is based on lines.
} ``` <ins> - When showing inputs/outputs of any [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop), such as a shell or the Nix REPL, use a format as you'd see in the REPL, while trying to visually separate inputs from outputs. This means that for a shell, you should use a format like the following: ```shell $ nix-build -A hello '<nixpkgs>'  --option require-sigs false  --option trusted-substituters file:///tmp/hello-cache  --option substituters file:///tmp/hello-cache /nix/store/zhl06z4lrfrkw5rp0hnjjfrgsclzvxpm-hello-2.12.1 ``` Note how the input is preceded by `$` on the first line and indented on subsequent lines, and how the output is provided as you'd see on the shell. For the Nix REPL, you should use a format like the following: ```shell nix-repl> builtins.attrNames { a = 1; b = 2; } [ "a" "b" ] ``` Note how the input is preceded by `nix-repl>` and the output is provided as you'd see on the Nix REPL. - When documenting functions or anything that has inputs/outputs and example usage, use nested headings to clearly separate inputs, outputs, and examples. Keep examples as the last nested heading, and link to the examples wherever applicable in the documentation. The purpose of this convention is to provide a familiar structure for navigating the manual, so any reader can expect to find content related to inputs in an "inputs" heading, examples in an "examples" heading, and so on. An example: ``` ## buildImage Some explanation about the function here. Describe a particular scenario, and point to [](#ex-dockerTools-buildImage), which is an example demonstrating it. ### Inputs Documentation for the inputs of `buildImage`. Perhaps even point to [](#ex-dockerTools-buildImage) again when talking about something specifically linked to it. ### Passthru outputs Documentation for any passthru outputs of `buildImage`. ### Examples Note that this is the last nested heading in the `buildImage` section. :::{.example #ex-dockerTools-buildImage} # Using `buildImage` Example of how to use `buildImage` goes here. ::: ``` </ins> - Use [definition lists](#definition-lists) to document function arguments, and the attributes of such arguments as well as their [types](https://nixos.org/manual/nix/stable/language/values). For example:
<ins> { lib , rustPlatform , fetchFromGitHub , pkg-config , wrapGAppsHook , atk , cairo , gdk-pixbuf , glib , gtk3 , pango , gtk-layer-shell }: rustPlatform.buildRustPackage rec { pname = "sway-easyfocus"; version = "unstable-2023-11-05"; src = fetchFromGitHub { owner = "edzdez"; repo = "sway-easyfocus"; rev = "4c70f6728dbfc859e60505f0a7fd82f5a90ed42c"; hash = "sha256-WvYXhf13ZCoa+JAF4bYgi5mI22i9pZLtbIhF1odqaTU="; }; cargoHash = "sha256-9cN0ervcU8JojwG7J250fprbCD2rB9kh9TbRU+wCE/Y="; nativeBuildInputs = [ pkg-config wrapGAppsHook ]; buildInputs = [ atk cairo gdk-pixbuf glib gtk3 gtk-layer-shell pango ]; meta = { description = "A tool to help efficiently focus windows in Sway, inspired by i3-easyfocus"; homepage = "https://github.com/edzdez/sway-easyfocus"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eclairevoyant ]; mainProgram = "sway-easyfocus"; }; } </ins>
desktopItems = [ (makeDesktopItem { <del> name = "davinci-resolve"; desktopName = "Davinci Resolve"; </del> <ins> name = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; desktopName = "Davinci Resolve${lib.optionalString studioVariant " Studio"}"; </ins> genericName = "Video Editor"; <del> exec = "resolve"; # icon = "DV_Resolve"; </del> <ins> exec = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; icon = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; </ins> comment = "Professional video editing, color, effects and audio post-processing"; categories = [ "AudioVideo"
'' }"; <ins> extraInstallCommands = '' mkdir -p $out/share/applications $out/share/icons/hicolor/128x128/apps ln -s ${davinci}/share/applications/*.desktop $out/share/applications/ ln -s ${davinci}/graphics/DV_Resolve.png $out/share/icons/hicolor/128x128/apps/davinci-resolve${lib.optionalString studioVariant "-studio"}.png ''; </ins> passthru = { inherit davinci; updateScript = lib.getExe (writeShellApplication {
maintainers = with maintainers; [ amarshall jshcmpbll orivej ]; platforms = [ "x86_64-linux" ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; <del> mainProgram = "davinci-resolve"; </del> <ins> mainProgram = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; </ins> }; }
to  work, the username used to connect to PostgreSQL must match the database name, that is services.invidious.settings.db.user must match services.invidious.settings.db.dbname. This is the default since NixOS 24.05. For older systems, it is normally safe to manually set <del> services.invidious.database.user to "invidious" as the new user will be created with permissions for the existing database. `REASSIGN OWNED BY kemal TO invidious;` may also be needed. </del> <ins> the user to "invidious" as the new user will be created with permissions for the existing database. `REASSIGN OWNED BY kemal TO invidious;` may also be needed, it can be run as `sudo -u postgres env psql --user=postgres --dbname=invidious -c 'reassign OWNED BY kemal to invidious;'`. </ins> ''; } ];
, pkg-config , gtk3 , libxml2 <ins> , xkeyboard_config </ins> , wrapGAppsHook <ins> , unstableGitUpdater </ins> }: stdenv.mkDerivation (finalAttrs: { pname = "labwc-tweaks"; <del> version = "unstable-2023-12-08"; </del> <ins> version = "unstable-2024-01-04"; </ins> src = fetchFromGitHub { owner = "labwc"; <del> repo = finalAttrs.pname; rev = "1c79d6a5ee3ac3d1a6140a1a98ae89674ef36635"; hash = "sha256-RD1VCKVoHsoY7SezY7tjZzomikMgA7N6B5vaYkIo9Es="; </del> <ins> repo = "labwc-tweaks"; rev = "1604f64cc62e4800ee04a6e1c323a48ee8140d83"; hash = "sha256-xFvc+Y03HjSvj846o84Wpk5tEXI49z8xkILSX2oas8A="; </ins> }; nativeBuildInputs = [