jiebi/CodeConvo huggingface dataset:
{stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { <del> name = "vala-0.14.2"; </del> <ins> version = "0.17.2"; name = "vala-${version}"; </ins> src = fetchurl { <del> url = mirror://gnome/sources/vala/0.14/vala-0.14.2.tar.xz; sha256 = "1l5kllw9vpwv24lzv9fp64l3sad46wpxgvsgryrwlrjg91w6jzl0"; </del> <ins> url = "mirror://gnome/sources/vala/0.17/${name}.tar.xz"; sha256 = "09i2s0dwmrk147ind2dx7nq845g12fp6fsjqrphhrr0dbi0zzgh3"; </ins> }; buildNativeInputs = [ yacc flex pkgconfig xz ];
urweb = callPackage ../development/compilers/urweb { }; <del> vala = callPackage ../development/compilers/vala { }; </del> <ins> vala = vala17; vala15 = callPackage ../development/compilers/vala/15.2.nix { }; vala16 = callPackage ../development/compilers/vala/16.1.nix { }; vala17 = callPackage ../development/compilers/vala/default.nix { }; </ins> visualcpp = callPackage ../development/compilers/visual-c++ { };
<del> { stdenv, fetchzip, applyPatches, ... }: </del> <ins> { stdenv, fetchzip, applyPatches, lib, ... }: </ins> { url , sha256 <ins> , appName ? null , appVersion ? null , license </ins> , patches ? [ ] <del> , name ? null , version ? null </del> <ins> , description ? null , homepage ? null </ins> }: <del> if name != null || version != null then throw '' `pkgs.fetchNextcloudApp` has been changed to use `fetchzip`. To update, please * remove `name`/`version` * update the hash '' else applyPatches { </del> <ins> applyPatches ({ </ins> inherit patches; src = fetchzip { inherit url sha256;
fi popd &>/dev/null ''; <ins> meta = { license = lib.licenses.${license}; longDescription = description; inherit homepage; } // lib.optionalAttrs (description != null) { longDescription = description; } // lib.optionalAttrs (homepage != null) { inherit homepage; }; </ins> }; <del> } </del> <ins> } // lib.optionalAttrs (appName != null && appVersion != null) { name = "nextcloud-app-${appName}-${appVersion}"; }) </ins>
) + "-patched" , patches   ? [] , postPatch ? "" <del> }: stdenvNoCC.mkDerivation { </del> <ins> , ... }@args: stdenvNoCC.mkDerivation { </ins> inherit name src patches postPatch; preferLocalBuild = true; allowSubstitutes = false; phases = "unpackPhase patchPhase installPhase"; installPhase = "cp -R ./ $out"; <del> }; </del> <ins> } # Carry `meta` information from the underlying `src` if present. // (optionalAttrs (src?meta) { inherit (src) meta; }) // (removeAttrs args [ "src" "name" "patches" "postPatch" ]); </ins> /* An immutable file in the store with a length of 0 bytes. */ emptyFile = runCommand "empty-file" {
"sha256": "1kdpma5f3rb9g29j364lqv6bkar5qgwlvcxmhpmzllwlkmjpc9w8", "url": "https://github.com/nextcloud/bookmarks/releases/download/v12.1.0/bookmarks-12.1.0.tar.gz", "version": "12.1.0", <del> "description": "- 📂 Sort bookmarks into foldersn- 🏷 Add tags and personal notesn- 🔍 Full-text searchn- 📲 Synchronize with all your browsers and devicesn- 👪 Share bookmarks with other users and publiclyn- ☠ Find broken linksn- ⚛ Generate RSS feeds of your collectionsn- 📔 Read archived versions of your links in case they are depublishedn- 💬 Create new bookmarks directly from within Nextcloud Talkn- 💼 Built-in Dashboard widgets for frequent and recent linksnnRequirements:n - PHP v7.4+n - PHP extensions:n   - intl: *n   - mbstring: *n - when using MySQL, use at least v8.0", </del> <ins> "description": "- 📂 Sort bookmarks into foldersn- 🏷 Add tags and personal notesn- 🔍 Full-text searchn- 📲 Synchronize with all your browsers and devicesn- 👪 Share bookmarks with other users and publiclyn- ☠ Find broken linksn- ⚛ Generate RSS feeds of your collectionsn- 📔 Read archived versions of your links in case they are depublishedn- 💬 Create new bookmarks directly from within Nextcloud Talkn- 💼 Built-in Dashboard widgets for frequent and recent linksnnRequirements:n - PHP extensions:n   - intl: *n   - mbstring: *n - when using MySQL, use at least v8.0", </ins> "homepage": "https://github.com/nextcloud/bookmarks", "licenses": [ "agpl"
] }, "onlyoffice": { <del> "sha256": "10axh9a4w8y3iw95xdjn4q8wjg5459dki42xb6cax5ikimyfv07j", "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v7.8.0/onlyoffice.tar.gz", "version": "7.8.0", </del> <ins> "sha256": "12hzmngps86ha4lcfwaf62svfz41aywykq0z419r644g5i4v7raq", "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v7.9.0/onlyoffice.tar.gz", "version": "7.9.0", </ins> "description": "ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.", "homepage": "https://www.onlyoffice.com", "licenses": [
{ "bookmarks": { <del> "sha256": "0xx331bgly91y8ncxk36ha3ncrr2xlivblfi7rix6ffkrdx73yb9", "url": "https://github.com/nextcloud/bookmarks/releases/download/v13.0.1/bookmarks-13.0.1.tar.gz", "version": "13.0.1", "description": "- 📂 Sort bookmarks into foldersn- 🏷 Add tags and personal notesn- 🔍 Full-text searchn- 📲 Synchronize with all your browsers and devicesn- 👪 Share bookmarks with other users and publiclyn- ☠ Find broken linksn- ⚛ Generate RSS feeds of your collectionsn- 📔 Read archived versions of your links in case they are depublishedn- 💬 Create new bookmarks directly from within Nextcloud Talkn- 💼 Built-in Dashboard widgets for frequent and recent linksnnRequirements:n - PHP v7.4+n - PHP extensions:n   - intl: *n   - mbstring: *n - when using MySQL, use at least v8.0", </del> <ins> "sha256": "16j10gj5nghgji36jhng60291wl4h9c3vndjx9j8jij9qn6hz23f", "url": "https://github.com/nextcloud/bookmarks/releases/download/v13.1.0/bookmarks-13.1.0.tar.gz", "version": "13.1.0", "description": "- 📂 Sort bookmarks into foldersn- 🏷 Add tags and personal notesn- 🔍 Full-text searchn- 📲 Synchronize with all your browsers and devicesn- 👪 Share bookmarks with other users and publiclyn- ☠ Find broken linksn- ⚛ Generate RSS feeds of your collectionsn- 📔 Read archived versions of your links in case they are depublishedn- 💬 Create new bookmarks directly from within Nextcloud Talkn- 💼 Built-in Dashboard widgets for frequent and recent linksnnRequirements:n - PHP extensions:n   - intl: *n   - mbstring: *n - when using MySQL, use at least v8.0", </ins> "homepage": "https://github.com/nextcloud/bookmarks", "licenses": [ "agpl"
] }, "news": { <del> "sha256": "1z08k8xnyv71zj0djlv339faq9lx23mlqgjanf2jhv6jhh8cy5c6", "url": "https://github.com/nextcloud/news/releases/download/22.0.0/news.tar.gz", "version": "22.0.0", </del> <ins> "sha256": "1j9dhqz5anwsmw3f8hbhvqc2h1fp15zmxzdbpnz1p3vwqf8f5cjs", "url": "https://github.com/nextcloud/news/releases/download/23.0.0/news.tar.gz", "version": "23.0.0", </ins> "description": "📰 A RSS/Atom Feed reader App for Nextcloudnn- 📲 Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)n- 🔄 Automatic updates of your news feedsn- 🆓 Free and open source under AGPLv3, no ads or premium functionsnn**System Cron is currently required for this app to work**nnRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)nnThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)nnCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)nnCreate a [feature request](https://github.com/nextcloud/news/discussions/new)nnReport a [feed issue](https://github.com/nextcloud/news/discussions/new)", "homepage": "https://github.com/nextcloud/news", "licenses": [
generatedJson = { inherit apps; }; <ins> appBaseDefs = builtins.fromJSON (builtins.readFile ./nextcloud-apps.json); </ins> in { # Create a derivation from the official Nextcloud apps. # This takes the data generated from the go tool. <del> mkNextcloudDerivation = self.callPackage ({ }: { data }: </del> <ins> mkNextcloudDerivation = self.callPackage ({ }: { pname, data }: </ins> pkgs.fetchNextcloudApp { <del> inherit (data) url sha256; </del> <ins> appName = pname; appVersion = data.version; license = appBaseDefs.${pname}; inherit (data) url sha256 description homepage; </ins> }) {}; <del> } // lib.mapAttrs (type: pkgs: lib.makeExtensible (_: lib.mapAttrs (pname: data: self.mkNextcloudDerivation { inherit data; }) pkgs)) generatedJson; </del> <ins> } // lib.mapAttrs (type: pkgs: lib.makeExtensible (_: lib.mapAttrs (pname: data: self.mkNextcloudDerivation { inherit pname; inherit data; }) pkgs)) generatedJson; </ins> in (lib.makeExtensible (_: (lib.makeScope newScope packages))).extend (selfNC: superNC: {})
export NEXTCLOUD_VERSIONS=$(nix-instantiate --eval -E 'import ./nc-versions.nix {}' -A e) <del> APPS=`cat nextcloud-apps.json | jq -r '.[]' | sed -z 's/n/,/g;s/,$/n/'` </del> <ins> APPS=`cat nextcloud-apps.json | jq -r 'keys|.[]' | sed -z 's/n/,/g;s/,$/n/'` </ins> nc4nix -apps $APPS rm *.log
<del> [ "bookmarks" , "calendar" , "contacts" , "cospend" , "deck" , "files_texteditor" , "files_markdown" , "forms" , "groupfolders" , "impersonate" , "keeweb" , "mail" , "maps" , "memories" , "news" , "notes" , "notify_push" , "onlyoffice" , "polls" , "previewgenerator" , "qownnotesapi" , "registration" , "spreed" , "tasks" , "twofactor_nextcloud_notification" , "twofactor_totp" , "twofactor_webauthn" , "unsplash" , "user_saml" ] </del> <ins> { "bookmarks": "agpl3Plus" , "calendar": "agpl3Plus" , "contacts": "agpl3Plus" , "cospend": "agpl3Plus" , "deck": "agpl3Plus" , "files_texteditor": "agpl3Plus" , "files_markdown": "agpl3Plus" , "forms": "agpl3Plus" , "groupfolders": "agpl3Plus" , "impersonate": "agpl3Plus" , "keeweb": "agpl3Plus" , "mail": "agpl3Plus" , "maps": "agpl3Plus" , "memories": "agpl3Plus" , "news": "agpl3Plus" , "notes": "agpl3Plus" , "notify_push": "agpl3Plus" , "onlyoffice": "asl20" , "polls": "agpl3Plus" , "previewgenerator": "agpl3Plus" , "qownnotesapi": "agpl3Plus" , "registration": "agpl3Plus" , "spreed": "agpl3Plus" , "tasks": "agpl3Plus" , "twofactor_nextcloud_notification": "agpl3Only" , "twofactor_totp": "agpl3Plus" , "twofactor_webauthn": "agpl3Plus" , "unsplash": "agpl3Only" , "user_saml": "agpl3Plus" } </ins>
<ins> { lib , buildGoModule , fetchFromGitHub , testers , goatcounter }: buildGoModule rec { pname = "goatcounter"; version = "2.5.0"; src = fetchFromGitHub { owner = "arp242"; repo = "goatcounter"; rev = "v${version}"; sha256 = "sha256-lwiLk/YYxX4QwSDjpU/mAikumGXYMzleRzmPjZGruZU="; }; vendorHash = "sha256-YAb3uBWQc6hWzF1Z5cAg8RzJQSJV+6dkppfczKS832s="; subPackages = [ "cmd/goatcounter" ]; modRoot = "."; # Derived from the upstream build scripts: # # `-trimpath` is used, which `allowGoReference` sets allowGoReference = true; # Flags set in the upstream build. ldflags = [ "-s" "-w" "-X zgo.at/goatcounter/v2.Version=${src.rev}" ]; passthru.tests.version = testers.testVersion { package = goatcounter; command = "goatcounter version"; version = "v${version}"; }; meta = { description = "Easy web analytics. No tracking of personal data"; changelog = "https://github.com/arp242/goatcounter/releases/tag/${src.rev}"; longDescription = '' GoatCounter is an open source web analytics platform available as a hosted service (free for non-commercial use) or self-hosted app. It aims to offer easy to use and meaningful privacy-friendly web analytics as an alternative to Google Analytics or Matomo. ''; homepage = "https://github.com/arp242/goatcounter"; license = lib.licenses.eupl12; maintainers = with lib.maintainers; [ tylerjl ]; mainProgram = "goatcounter"; }; } </ins>
''; }; <ins> boot.tmpOnTmpfsSize = mkOption { type = types.oneOf [ types.str types.types.ints.positive ]; default = "50%"; description = '' Size of tmpfs in percentage. Percentage is defined by systemd. ''; }; </ins> }; ###### implementation config = { <del> systemd.mounts = mkIf config.boot.tmpOnTmpfs [ </del> <ins> # When changing remember to update /tmp mount in virtualisation/qemu-vm.nix systemd.mounts = mkIf cfg.tmpOnTmpfs [ </ins> { what = "tmpfs"; where = "/tmp"; type = "tmpfs"; <del> mountConfig.Options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=50%" ]; </del> <ins> mountConfig.Options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=${toString cfg.tmpOnTmpfsSize}" ]; </ins> } ];
fsType = "tmpfs"; neededForBoot = true; # Sync with systemd's tmp.mount; <del> options = [ "mode=1777" "strictatime" "nosuid" "nodev" ]; </del> <ins> options = [ "mode=1777" "strictatime" "nosuid" "nodev" "size=${toString config.boot.tmpOnTmpfsSize}" ]; </ins> }; "/tmp/xchg" = { device = "xchg";
ucx xorg.libxshmfence xorg.libxkbfile <del> ] ++ lib.optionals (lib.versionAtLeast version "12.1") (map lib.getLib [ </del> <ins> ] ++ (lib.optionals (lib.versionAtLeast version "12.1") (map lib.getLib ([ </ins> # Used by `/target-linux-x64/CollectX/clx` and `/target-linux-x64/CollectX/libclx_api.so` for: # - `libcurl.so.4` curlMinimal <del> # Used by `/target-linux-x64/libQt6Multimedia.so.6` for: # - `libgstaudio-1.0.so.0` # - `libgstvideo-1.0.so.0` # - `libgstpbutils-1.0.so.0` # - `libgstallocators-1.0.so.0` # - `libgstapp-1.0.so.0` # - `libgstbase-1.0.so.0` # - `libgstreamer-1.0.so.0` </del> <ins> # Used by `/host-linux-x64/Scripts/WebRTCContainer/setup/neko/server/bin/neko` </ins> gst_all_1.gstreamer gst_all_1.gst-plugins-base <del> ]); </del> <ins> ]) ++ (with qt6; [ qtmultimedia qttools qtpositioning qtscxml qtsvg qtwebchannel qtwebengine ]))); </ins> # Prepended to runpaths by autoPatchelf. # The order inherited from older rpath preFixup code
rm -rf $out/lib ''} <ins> ${lib.optionalString (lib.versionAtLeast version "12.0") '' rm $out/host-linux-x64/libQt6* ''} </ins> # Remove some cruft. ${lib.optionalString ((lib.versionAtLeast version "7.0") && (lib.versionOlder version "10.1")) "rm $out/bin/uninstall*"}
"11.8" = ./manifests/redistrib_11.8.0.json; "12.0" = ./manifests/redistrib_12.0.1.json; "12.1" = ./manifests/redistrib_12.1.1.json; <ins> "12.2" = ./manifests/redistrib_12.2.0.json; </ins> }; # Function to build a single cudatoolkit redist package
url = "https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux.run" sha256 = "sha256-10Ai1B2AEFMZ36Ib7qObd6W5kZU5wEh6BcqvJEbWpw4=" gcc = "gcc12" <ins> ["12.2"] version = "12.2.0" url = "https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux.run" sha256 = "sha256-7PPSr63LrAKfD0UFeFgQ1S0AbkuHunn/P5hDNqK79Rg=" gcc = "gcc12" </ins>
cudaPackages_12_0 = callPackage ./cuda-packages.nix { cudaVersion = "12.0"; }; cudaPackages_12_1 = callPackage ./cuda-packages.nix { cudaVersion = "12.1"; }; <ins> cudaPackages_12_2 = callPackage ./cuda-packages.nix { cudaVersion = "12.2"; }; </ins> cudaPackages_12 = cudaPackages_12_0; # TODO: try upgrading once there is a cuDNN release supporting CUDA 12. No
<ins> { lib , buildNpmPackage , fetchFromGitHub }: buildNpmPackage rec { pname = "igir"; version = "2.0.6"; src = fetchFromGitHub { owner = "emmercm"; repo = "igir"; rev = "v${version}"; hash = "sha256-HIhk60I5VUMHBUp5EQGpE7RZ0KiYwVMl1jEX9zb5ttA="; }; npmDepsHash = "sha256-P+H6q+jwfJFMb5qtOS3OCVUu9MtZ+Knaog0qyP3FpFo="; # I have no clue why I have to do this postPatch = '' patchShebangs scripts/update-readme-help.sh ''; meta = with lib; { description = "A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS"; homepage = "https://igir.io"; license = licenses.gpl3Plus; maintainers = with maintainers; [ TheBrainScrambler ]; platforms = platforms.linux; }; } </ins>
Additional syntax extensions are available, all of which can be used in NixOS option documentation. The following extensions are currently used: <ins> - []{#ssec-contributing-markup-tables} Tables, using the [GitHub-flavored Markdown syntax](https://github.github.com/gfm/#tables-extension-). </ins> - []{#ssec-contributing-markup-anchors} Explicitly defined **anchors** on headings, to allow linking to sections. These should be always used, to ensure the anchors can be linked even when the heading text changes, and to prevent conflicts between [automatically assigned identifiers](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/auto_identifiers.md).
<ins> { lib , python3 , fetchFromGitHub }: python3.pkgs.buildPythonApplication rec { pname = "doq"; version = "0.9.1"; format = "setuptools"; src = fetchFromGitHub { owner = "heavenshell"; repo = "py-doq"; rev = "refs/tags/${version}"; hash = "sha256-6ff7R/2Jo4jYm1hA70yopjklpKIMWlj7DH9eKxOlfgU="; }; propagatedBuildInputs = with python3.pkgs; [ jinja2 parso toml ]; nativeCheckInputs = with python3.pkgs; [ parameterized unittestCheckHook ]; pythonImportsCheck = [ "doq" ]; meta = with lib; { description = "Docstring generator for Python"; homepage = "https://github.com/heavenshell/py-doq"; changelog = "https://github.com/heavenshell/py-doq/releases/tag/${src.rev}"; license = licenses.bsd3; maintainers = with maintainers; [ natsukium ]; }; } </ins>
<del> { lib, fetchFromGitHub, buildLinux, ... } @ args: </del> <ins> { lib, stdenv, fetchFromGitHub, buildLinux, ... } @ args: </ins> let # comments with variant added for update script # ./update-zen.py zen zenVariant = { <del> version = "6.4.1"; #zen </del> <ins> version = "6.4.2"; #zen </ins> suffix = "zen1"; #zen <del> sha256 = "05a3dplzz6vy5gjz9yd1hz7n4xf3mlr2q112kf3yabg8k8izqnys"; #zen </del> <ins> sha256 = "1swd3y97w55wh9vl6k1bsrx6fqi6b6ssbw306h87nxn36xwzx8cd"; #zen </ins> isLqx = false; }; # ./update-zen.py lqx lqxVariant = { <del> version = "6.3.11"; #lqx suffix = "lqx2"; #lqx sha256 = "0hpzafw2zwy25ss4cwj6mm8pr1nnv680m8bfcal29f7gaxbm96k8"; #lqx </del> <ins> version = "6.4.2"; #lqx suffix = "lqx1"; #lqx sha256 = "14hr88lbwm2pz3knw6nxlahdk4pwwb4ya63mrd7zg7g1x2xhfb59"; #lqx </ins> isLqx = true; }; zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {
inherit sha256; }; <ins> # This is based on the following sources: # - zen: https://gitlab.archlinux.org/archlinux/packaging/packages/linux-zen/-/blob/main/config # - lqx: https://github.com/damentz/liquorix-package/blob/6.4/master/linux-liquorix/debian/config/kernelarch-x86/config-arch-64 # - Liquorix features: https://liquorix.net/ # The list below is not exhaustive, so the kernels probably doesn't match # the upstream, but should bring most of the improvements that will be # expected by users structuredExtraConfig = with lib.kernel; { # Zen Interactive tuning ZEN_INTERACTIVE = yes; # FQ-Codel Packet Scheduling NET_SCH_DEFAULT = yes; DEFAULT_FQ_CODEL = yes; DEFAULT_NET_SCH = freeform "fq_codel"; # Preempt (low-latency) PREEMPT = lib.mkOverride 60 yes; PREEMPT_VOLUNTARY = lib.mkOverride 60 no; # Preemptible tree-based hierarchical RCU TREE_RCU = yes; PREEMPT_RCU = yes; RCU_EXPERT = yes; TREE_SRCU = yes; TASKS_RCU_GENERIC = yes; TASKS_RCU = yes; TASKS_RUDE_RCU = yes; TASKS_TRACE_RCU = yes; RCU_STALL_COMMON = yes; RCU_NEED_SEGCBLIST = yes; RCU_FANOUT = freeform "64"; RCU_FANOUT_LEAF = freeform "16"; RCU_BOOST = yes; RCU_BOOST_DELAY = freeform "500"; RCU_NOCB_CPU = yes; RCU_LAZY = yes; # Futex WAIT_MULTIPLE implementation for Wine / Proton Fsync. FUTEX = yes; FUTEX_PI = yes; # Preemptive Full Tickless Kernel at 1000Hz HZ = freeform "1000"; HZ_1000 = yes; } // lib.optionalAttrs (isLqx) { # Google's BBRv2 TCP congestion Control TCP_CONG_BBR2 = yes; DEFAULT_BBR2 = yes; DEFAULT_TCP_CONG = freeform "bbr2"; # PDS Process Scheduler SCHED_ALT = yes; SCHED_PDS = yes; # Swap storage is compressed with LZ4 using zswap ZSWAP_COMPRESSOR_DEFAULT_LZ4 = yes; ZSWAP_COMPRESSOR_DEFAULT = freeform "lz4"; # Fix error: unused option: XXX. CFS_BANDWIDTH = lib.mkForce (option no); PSI = lib.mkForce (option no); RT_GROUP_SCHED = lib.mkForce (option no); SCHED_AUTOGROUP = lib.mkForce (option no); SCHED_CORE = lib.mkForce (option no); # ERROR: modpost: "sched_numa_hop_mask" [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined! MLX5_CORE = no; }; </ins> passthru.updateScript = [ ./update-zen.py (if isLqx then "lqx" else "zen") ]; extraMeta = { branch = lib.versions.majorMinor version + "/master"; <del> maintainers = with lib.maintainers; [ ]; </del> <ins> maintainers = with lib.maintainers; [ thiagokokada ]; </ins> description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads." + <del> lib.optionalString isLqx " (Same as linux_zen but less aggressive release schedule)"; </del> <ins> lib.optionalString isLqx " (Same as linux_zen, but less aggressive release schedule and additional extra config)"; broken = stdenv.isAarch64; </ins> }; } // (args.argsOverride or { }));
<ins> { lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "virter"; version = "0.25.0"; src = fetchFromGitHub { owner = "LINBIT"; repo = "virter"; rev = "v${version}"; hash = "sha256-NIZBaPYFFH3MG2M7rF39TW8sLVR44SA37ZU3gOPwAFU="; }; vendorHash = "sha256-cVOxRrsDdtlDSJ3WRDNk8nqt7ztz4GSRIf6FDDBxvPc="; ldflags = [ "-s" "-w" "-X github.com/LINBIT/virter/cmd.version=${version}" "-X github.com/LINBIT/virter/cmd.builddate=builtByNix" "-X github.com/LINBIT/virter/cmd.githash=builtByNix" ]; # requires network access doCheck = false; meta = { description = "A command line tool for simple creation and cloning of virtual machines based on libvirt"; homepage = "https://github.com/LINBIT/virter"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dit7ya ]; }; } </ins>
let version = pkg.version or ""; in <del> lib.optionalString (isPvpVersion version) </del> <ins> lib.optionalString (isPvpVersion version && (pkg.meta.hydraPlatforms or null) != lib.platforms.none) </ins> ''"${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" { } # This command will make a join between all packages on hackage and haskellPackages.*. <ins> # It ignores packages marked as broken (according to hydraPlatforms) </ins> # It creates a valid csv file which can be uploaded to hackage.haskell.org. # The call is wrapped in echo $(...) to trim trailing newline, which hackage requires. ''
comment = "Code Editing. Redefined."; genericName = "Text Editor"; exec = executableName + " --open-url %U"; <del> icon = "code"; </del> <ins> icon = "vs${executableName}"; </ins> startupNotify = true; categories = [ "Utility" "TextEditor" "Development" "IDE" ]; mimeTypes = [ "x-scheme-handler/vscode" ];
ln -s "$desktopItem/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop" ln -s "$urlHandlerDesktopItem/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop" <ins> # These are named vscode.png, vscode-insiders.png, etc to match the name in upstream *.deb packages. </ins> mkdir -p "$out/share/pixmaps" <del> cp "$out/lib/vscode/resources/app/resources/linux/code.png" "$out/share/pixmaps/code.png" </del> <ins> cp "$out/lib/vscode/resources/app/resources/linux/code.png" "$out/share/pixmaps/vs${executableName}.png" </ins> # Override the previously determined VSCODE_PATH with the one we know to be correct sed -i "/ELECTRON=/iVSCODE_PATH='$out/lib/vscode'" "$out/bin/${executableName}"
mkdir -p "$out/share/applications" mkdir -p "$out/share/pixmaps" <del> ln -sT "${vscode}/share/pixmaps/code.png" "$out/share/pixmaps/code.png" </del> <ins> ln -sT "${vscode}/share/pixmaps/vs${executableName}.png" "$out/share/pixmaps/vs${executableName}.png" </ins> ln -sT "${vscode}/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop" ln -sT "${vscode}/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop" makeWrapper "${vscode}/bin/${executableName}" "$out/bin/${executableName}" ${extensionsFlag}