Merge staging-next into staging
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
- pkgs/development/libraries/agda/**/*
|
||||
- pkgs/top-level/agda-packages.nix
|
||||
|
||||
"6.topic: bsd":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/os-specific/bsd/**/*
|
||||
|
||||
"6.topic: cinnamon":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -21,6 +27,55 @@
|
||||
- pkgs/by-name/ne/nemo/**/*
|
||||
- pkgs/by-name/ne/nemo-*/**/*
|
||||
|
||||
"6.topic: continuous integration":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- .github/**/*
|
||||
- ci/**/*
|
||||
|
||||
"6.topic: coq":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/applications/science/logic/coq/**/*
|
||||
- pkgs/development/coq-modules/**/*
|
||||
- pkgs/top-level/coq-packages.nix
|
||||
|
||||
"6.topic: crystal":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/development/compilers/crystal/**/*
|
||||
|
||||
"6.topic: cuda":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/development/cuda-modules/**/*
|
||||
- pkgs/top-level/cuda-packages.nix
|
||||
|
||||
"6.topic: darwin":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/os-specific/darwin/**/*
|
||||
- pkgs/top-level/darwin-aliases.nix
|
||||
- pkgs/top-level/darwin-packages.nix
|
||||
|
||||
"6.topic: deepin":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- nixos/modules/services/desktops/deepin/**/*
|
||||
- pkgs/desktops/deepin/**/*
|
||||
|
||||
"6.topic: docker tools":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/applications/virtualization/docker/**/*
|
||||
|
||||
"6.topic: dotnet":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -86,6 +141,12 @@
|
||||
- pkgs/build-support/flutter/*.nix
|
||||
- pkgs/development/compilers/flutter/**/*.nix
|
||||
|
||||
"6.topic: games":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/games/**/*
|
||||
|
||||
"6.topic: GNOME":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -105,6 +166,12 @@
|
||||
- pkgs/build-support/go/**/*
|
||||
- pkgs/development/compilers/go/**/*
|
||||
|
||||
"6.topic: hardware":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- nixos/modules/hardware/**/*
|
||||
|
||||
"6.topic: haskell":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -118,6 +185,28 @@
|
||||
- pkgs/top-level/haskell-packages.nix
|
||||
- pkgs/top-level/release-haskell.nix
|
||||
|
||||
"6.topic: java":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- nixos/modules/programs/java.nix
|
||||
- pkgs/development/compilers/graalvm/**/*
|
||||
- pkgs/development/compilers/openjdk/**/*
|
||||
- pkgs/development/compilers/temurin-bin/**/*
|
||||
- pkgs/development/compilers/zulu/**/*
|
||||
- pkgs/development/java-modules/**/*
|
||||
- pkgs/top-level/java-packages.nix
|
||||
|
||||
"6.topic: jitsi":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- nixos/modules/services/networking/jitsi-videobridge.nix
|
||||
- nixos/modules/services/web-apps/jitsi-meet.nix
|
||||
- pkgs/servers/web-apps/jitsi-meet/**/*
|
||||
- pkgs/servers/jitsi-videobridge/**/*
|
||||
- pkgs/applications/networking/instant-messengers/jitsi/**/*
|
||||
|
||||
"6.topic: julia":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -205,6 +294,12 @@
|
||||
- lib/tests/modules.sh
|
||||
- lib/tests/modules/**
|
||||
|
||||
"6.topic: musl":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/os-specific/linux/musl/**/*
|
||||
|
||||
"6.topic: nixos":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -213,6 +308,13 @@
|
||||
- pkgs/by-name/sw/switch-to-configuration-ng/**/*
|
||||
- pkgs/os-specific/linux/nixos-rebuild/**/*
|
||||
|
||||
"6.topic: nixos-container":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- nixos/modules/virtualisation/nixos-containers.nix
|
||||
- pkgs/tools/virtualization/nixos-container/**/*
|
||||
|
||||
"6.topic: nim":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -234,6 +336,15 @@
|
||||
- pkgs/development/tools/pnpm/**/*
|
||||
- pkgs/development/web/nodejs/*
|
||||
|
||||
"6.topic: nvidia":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- nixos/modules/hardware/video/nvidia.nix
|
||||
- nixos/modules/services/hardware/nvidia-container-toolkit/**/*
|
||||
- nixos/modules/services/hardware/nvidia-optimus.nix
|
||||
- pkgs/os-specific/linux/nvidia-x11/**/*
|
||||
|
||||
"6.topic: ocaml":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -306,6 +417,19 @@
|
||||
- pkgs/development/libraries/kde-frameworks/**/*
|
||||
- pkgs/development/libraries/qt-5/**/*
|
||||
|
||||
"6.topic: R":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/applications/science/math/R/**/*
|
||||
- pkgs/development/r-modules/**/*
|
||||
|
||||
"6.topic: rocm":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/development/rocm-modules/**/*
|
||||
|
||||
"6.topic: ruby":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -374,6 +498,12 @@
|
||||
- nixos/tests/make-test-python.nix # legacy
|
||||
# lib/debug.nix has a test framework (runTests) but it's not the main focus
|
||||
|
||||
"6.topic: updaters":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/common-updater/**/*
|
||||
|
||||
"6.topic: vim":
|
||||
- any:
|
||||
- changed-files:
|
||||
@@ -390,6 +520,12 @@
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/applications/editors/vscode/**/*
|
||||
|
||||
"6.topic: windows":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- pkgs/os-specific/windows/**/*
|
||||
|
||||
"6.topic: xen-project":
|
||||
- any:
|
||||
- changed-files:
|
||||
|
||||
@@ -57,8 +57,8 @@ Available compilers are collected under `haskell.compiler`.
|
||||
Each of those compiler versions has a corresponding attribute set `packages` built with
|
||||
it. However, the non-standard package sets are not tested regularly and, as a
|
||||
result, contain fewer working packages. The corresponding package set for GHC
|
||||
9.4.5 is `haskell.packages.ghc945`. In fact `haskellPackages` is just an alias
|
||||
for `haskell.packages.ghc964`:
|
||||
9.4.5 is `haskell.packages.ghc945`. In fact `haskellPackages` (at the time of writing) is just an alias
|
||||
for `haskell.packages.ghc966`:
|
||||
|
||||
Every package set also re-exposes the GHC used to build its packages as `haskell.packages.*.ghc`.
|
||||
|
||||
|
||||
@@ -25,12 +25,14 @@ stdenv.mkDerivation {
|
||||
|
||||
The same goes for Qt 5 where libraries and tools are under `libsForQt5`.
|
||||
|
||||
Any Qt package should include `wrapQtAppsHook` in `nativeBuildInputs`, or explicitly set `dontWrapQtApps` to bypass generating the wrappers.
|
||||
Any Qt package should include `wrapQtAppsHook` or `wrapQtAppsNoGuiHook` in `nativeBuildInputs`, or explicitly set `dontWrapQtApps` to bypass generating the wrappers.
|
||||
|
||||
::: {.note}
|
||||
Qt 6 graphical applications should also include `qtwayland` in `buildInputs` on Linux (but not on platforms e.g. Darwin, where `qtwayland` is not available), to ensure the Wayland platform plugin is available.
|
||||
|
||||
This may become default in the future, see [NixOS/nixpkgs#269674](https://github.com/NixOS/nixpkgs/pull/269674).
|
||||
`wrapQtAppsHook` propagates plugins and QML components from `qtwayland` on platforms that support it, to allow applications to act as native Wayland clients. It should be used for all graphical applications.
|
||||
|
||||
`wrapQtAppsNoGuiHook` does not propagate `qtwayland` to reduce closure size for purely command-line applications.
|
||||
|
||||
:::
|
||||
|
||||
## Packages supporting multiple Qt versions {#qt-versions}
|
||||
|
||||
@@ -55,7 +55,7 @@ let
|
||||
"wasm64-wasi" "wasm32-wasi"
|
||||
|
||||
# Windows
|
||||
"x86_64-windows" "i686-windows"
|
||||
"aarch64-windows" "x86_64-windows" "i686-windows"
|
||||
];
|
||||
|
||||
allParsed = map parse.mkSystemFromString all;
|
||||
|
||||
@@ -325,6 +325,13 @@ rec {
|
||||
libc = "ucrt"; # This distinguishes the mingw (non posix) toolchain
|
||||
};
|
||||
|
||||
# LLVM-based mingw-w64 for ARM
|
||||
ucrtAarch64 = {
|
||||
config = "aarch64-w64-mingw32";
|
||||
libc = "ucrt";
|
||||
useLLVM = true;
|
||||
};
|
||||
|
||||
# BSDs
|
||||
|
||||
x86_64-freebsd = {
|
||||
|
||||
@@ -60,7 +60,7 @@ lib.runTests (
|
||||
testlinux = mseteq linux [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "i686-linux" "loongarch64-linux" "m68k-linux" "microblaze-linux" "microblazeel-linux" "mips-linux" "mips64-linux" "mips64el-linux" "mipsel-linux" "powerpc64-linux" "powerpc64le-linux" "riscv32-linux" "riscv64-linux" "s390-linux" "s390x-linux" "x86_64-linux" ];
|
||||
testnetbsd = mseteq netbsd [ "aarch64-netbsd" "armv6l-netbsd" "armv7a-netbsd" "armv7l-netbsd" "i686-netbsd" "m68k-netbsd" "mipsel-netbsd" "powerpc-netbsd" "riscv32-netbsd" "riscv64-netbsd" "x86_64-netbsd" ];
|
||||
testopenbsd = mseteq openbsd [ "i686-openbsd" "x86_64-openbsd" ];
|
||||
testwindows = mseteq windows [ "i686-cygwin" "x86_64-cygwin" "i686-windows" "x86_64-windows" ];
|
||||
testwindows = mseteq windows [ "i686-cygwin" "x86_64-cygwin" "aarch64-windows" "i686-windows" "x86_64-windows" ];
|
||||
testunix = mseteq unix (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ cygwin ++ redox);
|
||||
})
|
||||
|
||||
|
||||
@@ -8297,6 +8297,13 @@
|
||||
githubId = 201997;
|
||||
name = "Eric Seidel";
|
||||
};
|
||||
griffi-gh = {
|
||||
name = "Alex Prasol";
|
||||
email = "prasol258@gmail.com";
|
||||
matrix = "@voxel:nyanbinary.rs";
|
||||
github = "griffi-gh";
|
||||
githubId = 45996170;
|
||||
};
|
||||
grimmauld = {
|
||||
name = "Sören Bender";
|
||||
email = "soeren@benjos.de";
|
||||
@@ -11298,6 +11305,12 @@
|
||||
github = "keenanweaver";
|
||||
githubId = 37268985;
|
||||
};
|
||||
kekschen = {
|
||||
email = "kx@imkx.dev";
|
||||
github = "kek5chen";
|
||||
githubId = 52585984;
|
||||
name = "Kek5chen";
|
||||
};
|
||||
keksgesicht = {
|
||||
name = "Jan Braun";
|
||||
email = "git@keksgesicht.de";
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
# Installing in a VirtualBox guest {#sec-installing-virtualbox-guest}
|
||||
|
||||
Installing NixOS into a VirtualBox guest is convenient for users who
|
||||
want to try NixOS without installing it on bare metal. If you want to
|
||||
use a pre-made VirtualBox appliance, it is available at [the downloads
|
||||
page](https://nixos.org/download/#nixos-virtualbox). If you want to set
|
||||
up a VirtualBox guest manually, follow these instructions:
|
||||
want to try NixOS without installing it on bare metal. If you want to set
|
||||
up a VirtualBox guest, follow these instructions:
|
||||
|
||||
1. Add a New Machine in VirtualBox with OS Type "Linux / Other Linux"
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ let
|
||||
dbUser = if repoSettings.username != null then repoSettings.username else "mobilizon";
|
||||
|
||||
postgresql = config.services.postgresql.package;
|
||||
postgresqlSocketDir = "/var/run/postgresql";
|
||||
postgresqlSocketDir = "/run/postgresql";
|
||||
|
||||
secretEnvFile = "/var/lib/mobilizon/secret-env.sh";
|
||||
in
|
||||
|
||||
@@ -53,7 +53,6 @@ in rec {
|
||||
(onFullSupported "nixos.iso_plasma6")
|
||||
(onFullSupported "nixos.iso_gnome")
|
||||
(onFullSupported "nixos.manual")
|
||||
(onSystems ["x86_64-linux"] "nixos.ova")
|
||||
(onSystems ["aarch64-linux"] "nixos.sd_image")
|
||||
(onFullSupported "nixos.tests.acme")
|
||||
(onSystems ["x86_64-linux"] "nixos.tests.boot.biosCdrom")
|
||||
|
||||
@@ -230,21 +230,6 @@ in rec {
|
||||
inherit system;
|
||||
});
|
||||
|
||||
# A bootable VirtualBox virtual appliance as an OVA file (i.e. packaged OVF).
|
||||
ova = forMatchingSystems [ "x86_64-linux" ] (system:
|
||||
|
||||
with import ./.. { inherit system; };
|
||||
|
||||
hydraJob ((import lib/eval-config.nix {
|
||||
inherit system;
|
||||
modules =
|
||||
[ versionModule
|
||||
./modules/installer/virtualbox-demo.nix
|
||||
];
|
||||
}).config.system.build.virtualBoxOVA)
|
||||
|
||||
);
|
||||
|
||||
# KVM image for proxmox in VMA format
|
||||
proxmoxImage = forMatchingSystems [ "x86_64-linux" ] (system:
|
||||
with import ./.. { inherit system; };
|
||||
|
||||
@@ -28,7 +28,7 @@ in {
|
||||
networking.interfaces.eth1.ipv4.addresses = [ { address = serverAddress; prefixLength = 24; } ];
|
||||
services.openssh.enable = true;
|
||||
users.users.root.openssh.authorizedKeys.keys = [ snakeOilPublicKey ];
|
||||
virtualisation.additionalPaths = with pkgs; [ patchelf bintools stdenv.cc.cc.lib ];
|
||||
virtualisation.additionalPaths = with pkgs; [ patchelf bintools (lib.getLib stdenv.cc.cc) ];
|
||||
};
|
||||
client = { ... }: {
|
||||
imports = [ ./common/x11.nix ./common/user-account.nix ];
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
dontWrapGApps = true; # we only want $gappsWrapperArgs here
|
||||
|
||||
buildInputs = with xorg; [
|
||||
alsa-lib cairo freetype gdk-pixbuf glib gtk3 libxcb xcbutil xcbutilwm zlib libXtst libxkbcommon pulseaudio libjack2 libX11 libglvnd libXcursor stdenv.cc.cc.lib
|
||||
alsa-lib cairo freetype gdk-pixbuf glib gtk3 libxcb xcbutil xcbutilwm zlib libXtst libxkbcommon pulseaudio libjack2 libX11 libglvnd libXcursor (lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
|
||||
ldLibraryPath = lib.strings.makeLibraryPath buildInputs;
|
||||
|
||||
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
|
||||
libxkbcommon
|
||||
pipewire
|
||||
pulseaudio
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
xcbutil
|
||||
xcbutilwm
|
||||
zlib
|
||||
|
||||
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
pango
|
||||
pipewire
|
||||
pulseaudio
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
vulkan-loader
|
||||
xcb-imdkit
|
||||
xcbutil
|
||||
|
||||
@@ -30,7 +30,7 @@ buildDotnetModule rec {
|
||||
graphicsmagick
|
||||
];
|
||||
|
||||
buildInputs = [ stdenv.cc.cc.lib fontconfig ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) fontconfig ];
|
||||
|
||||
runtimeDeps = [
|
||||
libglvnd
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
libXext # libXext.so.6
|
||||
alsa-lib # libasound.so.2
|
||||
freetype # libfreetype.so.6
|
||||
stdenv.cc.cc.lib # libstdc++.so.6
|
||||
(lib.getLib stdenv.cc.cc) # libstdc++.so.6
|
||||
];
|
||||
in ''
|
||||
patchelf \
|
||||
|
||||
@@ -45,7 +45,7 @@ let
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
xorg.libX11 # libX11.so.6
|
||||
xorg.libXext # libXext.so.6
|
||||
alsa-lib # libasound.so.2
|
||||
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
sourceRoot = lib.optionalString stdenv.hostPlatform.isDarwin "Reaper.app";
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib # reaper and libSwell need libstdc++.so.6
|
||||
(lib.getLib stdenv.cc.cc) # reaper and libSwell need libstdc++.so.6
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
gtk3
|
||||
alsa-lib
|
||||
@@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
|
||||
# We opt for wrapping the executable with LD_LIBRARY_PATH prefix.
|
||||
# Note that libcurl and libxml2 are needed for ReaPack to run.
|
||||
wrapProgram $out/opt/REAPER/reaper \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ curl lame libxml2 ffmpeg vlc xdotool stdenv.cc.cc.lib ]}"
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ curl lame libxml2 ffmpeg vlc xdotool stdenv.cc.cc ]}"
|
||||
|
||||
mkdir $out/bin
|
||||
ln -s $out/opt/REAPER/reaper $out/bin/
|
||||
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
libX11
|
||||
libXext
|
||||
alsa-lib
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -73,7 +73,7 @@ in stdenv.mkDerivation rec {
|
||||
ln -s $path/lib/*.so* $out/lib/
|
||||
done
|
||||
|
||||
ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
|
||||
ln -s ${lib.getLib stdenv.cc.cc}/lib/libstdc++.so.6 $out/lib/
|
||||
|
||||
mkdir $out/bin
|
||||
ln -s $out/renoise $out/bin/renoise
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
|
||||
|
||||
buildInputs = [ alsa-lib curl gtk3 stdenv.cc.cc.lib webkitgtk_4_0 zenity ];
|
||||
buildInputs = [ alsa-lib curl gtk3 (lib.getLib stdenv.cc.cc) webkitgtk_4_0 zenity ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
alsa-lib
|
||||
freetype
|
||||
libglvnd
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
alsa-lib
|
||||
freetype
|
||||
libglvnd
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoPatchelfHook dpkg ];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
alsa-lib
|
||||
freetype
|
||||
libglvnd
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoPatchelfHook dpkg ];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
alsa-lib
|
||||
freetype
|
||||
libglvnd
|
||||
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
alsa-lib
|
||||
freetype
|
||||
libglvnd
|
||||
|
||||
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
alsa-lib
|
||||
];
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
libX11
|
||||
libXi
|
||||
libGL
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
libGL
|
||||
xorg.libSM
|
||||
xorg.libICE
|
||||
|
||||
@@ -136,7 +136,7 @@ let
|
||||
sparrow-modules = stdenvNoCC.mkDerivation {
|
||||
pname = "sparrow-modules";
|
||||
inherit version src;
|
||||
nativeBuildInputs = [ makeWrapper gzip gnugrep openjdk autoPatchelfHook stdenv.cc.cc.lib zlib ];
|
||||
nativeBuildInputs = [ makeWrapper gzip gnugrep openjdk autoPatchelfHook (lib.getLib stdenv.cc.cc) zlib ];
|
||||
|
||||
buildPhase = ''
|
||||
# Extract Sparrow's JIMAGE and generate a list of them.
|
||||
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
# patch pre-built node modules
|
||||
asar e $out/share/${pname}/resources/app.asar asar-unpacked
|
||||
find asar-unpacked -name '*.node' -exec patchelf \
|
||||
--add-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \
|
||||
--add-rpath "${lib.makeLibraryPath [ stdenv.cc.cc ]}" \
|
||||
{} \;
|
||||
asar p asar-unpacked $out/share/${pname}/resources/app.asar
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ buildDotnetModule rec {
|
||||
dotnet-sdk = dotnetCorePackages.sdk_7_0;
|
||||
dotnet-runtime = dotnetCorePackages.aspnetcore_7_0;
|
||||
|
||||
buildInputs = [stdenv.cc.cc.lib zlib];
|
||||
buildInputs = [(lib.getLib stdenv.cc.cc) zlib];
|
||||
|
||||
runtimeDeps = [openssl zlib];
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ let
|
||||
runtimeLibs = [
|
||||
fontconfig.lib
|
||||
openssl
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
xorg.libX11
|
||||
xorg.libICE
|
||||
xorg.libSM
|
||||
|
||||
@@ -137,7 +137,7 @@ let
|
||||
e2fsprogs
|
||||
|
||||
# Gradle wants libstdc++.so.6
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
# mksdcard wants 32 bit libstdc++.so.6
|
||||
pkgsi686Linux.stdenv.cc.cc.lib
|
||||
|
||||
|
||||
@@ -153,8 +153,8 @@ let
|
||||
# https://github.com/Golevka/emacs-clang-complete-async/issues/90
|
||||
auto-complete-clang-async = (addPackageRequires super.auto-complete-clang-async [ self.auto-complete ]).overrideAttrs (old: {
|
||||
buildInputs = old.buildInputs ++ [ pkgs.llvmPackages.llvm ];
|
||||
CFLAGS = "-I${pkgs.llvmPackages.libclang.lib}/include";
|
||||
LDFLAGS = "-L${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
CFLAGS = "-I${lib.getLib pkgs.llvmPackages.libclang}/include";
|
||||
LDFLAGS = "-L${lib.getLib pkgs.llvmPackages.libclang}/lib";
|
||||
});
|
||||
|
||||
# part of a larger package
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
"631" = {
|
||||
# Python
|
||||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
};
|
||||
"7322" = {
|
||||
# Python community edition
|
||||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
};
|
||||
"8182" = {
|
||||
# Rust (deprecated)
|
||||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
chmod +x -R bin
|
||||
@@ -66,7 +66,7 @@
|
||||
"22407" = {
|
||||
# Rust
|
||||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
chmod +x -R bin
|
||||
|
||||
@@ -146,8 +146,8 @@ in
|
||||
--replace-fail '@node@' ${nodejs}
|
||||
|
||||
substituteInPlace src/cpp/core/libclang/LibClang.cpp \
|
||||
--replace-fail '@libclang@' ${llvmPackages.libclang.lib} \
|
||||
--replace-fail '@libclang.so@' ${llvmPackages.libclang.lib}/lib/libclang.so
|
||||
--replace-fail '@libclang@' ${lib.getLib llvmPackages.libclang} \
|
||||
--replace-fail '@libclang.so@' ${lib.getLib llvmPackages.libclang}/lib/libclang.so
|
||||
|
||||
substituteInPlace src/cpp/session/CMakeLists.txt \
|
||||
--replace-fail '@pandoc@' ${pandoc} \
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
libPath = lib.makeLibraryPath [
|
||||
libsecret
|
||||
glib
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
in
|
||||
''
|
||||
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
echo ${libPath}
|
||||
patchelf \
|
||||
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
--set-rpath ${libPath}:${lib.getLib stdenv.cc.cc}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
$out/sublime/sublime_text
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
|
||||
@@ -65,7 +65,7 @@ let
|
||||
for binary in ${ builtins.concatStringsSep " " binaries }; do
|
||||
patchelf \
|
||||
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
--set-rpath ${libPath}:${lib.getLib stdenv.cc.cc}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
$binary
|
||||
done
|
||||
|
||||
@@ -92,7 +92,7 @@ let
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/sublime_bash \
|
||||
--set LD_PRELOAD "${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"}/libgcc_s.so.1"
|
||||
--set LD_PRELOAD "${lib.getLib stdenv.cc.cc}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"}/libgcc_s.so.1"
|
||||
|
||||
wrapProgram $out/${primaryBinary} \
|
||||
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
|
||||
@@ -101,7 +101,7 @@ let
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
|
||||
# Without this, plugin_host crashes, even though it has the rpath
|
||||
wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"}/libgcc_s.so.1:${lib.getLib openssl}/lib/libssl.so:${bzip2.out}/lib/libbz2.so
|
||||
wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${lib.getLib stdenv.cc.cc}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"}/libgcc_s.so.1:${lib.getLib openssl}/lib/libssl.so:${bzip2.out}/lib/libbz2.so
|
||||
'';
|
||||
};
|
||||
in stdenv.mkDerivation (rec {
|
||||
|
||||
@@ -88,7 +88,7 @@ let
|
||||
for binary in ${builtins.concatStringsSep " " binaries}; do
|
||||
patchelf \
|
||||
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath ${lib.makeLibraryPath neededLibraries}:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
--set-rpath ${lib.makeLibraryPath neededLibraries}:${lib.getLib stdenv.cc.cc}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
$binary
|
||||
done
|
||||
|
||||
|
||||
@@ -293,7 +293,7 @@ in
|
||||
--replace "let g:clang_library_path = ''
|
||||
+ "''"
|
||||
+ ''
|
||||
" "let g:clang_library_path='${llvmPackages.libclang.lib}/lib/libclang.so'"
|
||||
" "let g:clang_library_path='${lib.getLib llvmPackages.libclang}/lib/libclang.so'"
|
||||
|
||||
substituteInPlace "$out"/plugin/libclang.py \
|
||||
--replace "/usr/lib/clang" "${llvmPackages.clang.cc}/lib/clang"
|
||||
@@ -302,7 +302,7 @@ in
|
||||
|
||||
clighter8 = super.clighter8.overrideAttrs {
|
||||
preFixup = ''
|
||||
sed "/^let g:clighter8_libclang_path/s|')$|${llvmPackages.clang.cc.lib}/lib/libclang.so')|" \
|
||||
sed "/^let g:clighter8_libclang_path/s|')$|${lib.getLib llvmPackages.clang.cc}/lib/libclang.so')|" \
|
||||
-i "$out"/plugin/clighter8.vim
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -1072,7 +1072,7 @@ let
|
||||
}
|
||||
// sources.${stdenv.system};
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
meta = {
|
||||
description = "Open-source autopilot for software development - bring the power of ChatGPT to your IDE";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=Continue.continue";
|
||||
@@ -1349,7 +1349,7 @@ let
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
@@ -3245,7 +3245,7 @@ let
|
||||
// sources.${stdenv.system};
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
zlib
|
||||
];
|
||||
meta = {
|
||||
|
||||
@@ -71,7 +71,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
|
||||
lttng-ust
|
||||
libkrb5
|
||||
zlib
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
|
||||
dontAutoPatchelf = isx86Linux;
|
||||
|
||||
@@ -23,7 +23,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
zlib
|
||||
];
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
# To use this for hacking of your Yi config file, drop into a shell
|
||||
# with env attribute.
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
makeWrapper,
|
||||
haskellPackages,
|
||||
extraPackages ? (s: [ ]),
|
||||
}:
|
||||
let
|
||||
yiEnv = haskellPackages.ghcWithPackages (self: [ self.yi ] ++ extraPackages self);
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "yi-custom";
|
||||
dontUnpack = true;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${haskellPackages.yi}/bin/yi $out/bin/yi \
|
||||
--set NIX_GHC ${yiEnv}/bin/ghc
|
||||
'';
|
||||
|
||||
# For hacking purposes
|
||||
passthru.env = yiEnv;
|
||||
|
||||
inherit (haskellPackages.yi) meta version;
|
||||
}
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
libPath = lib.makeLibraryPath (with xorg; [
|
||||
stdenv.cc.cc.lib
|
||||
stdenv.cc.cc
|
||||
at-spi2-core.out
|
||||
gdk-pixbuf
|
||||
glib
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook makeWrapper copyDesktopItems unzip ];
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
|
||||
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
alsa-lib
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
|
||||
@@ -37,7 +37,7 @@ let
|
||||
xorg.libXrandr
|
||||
xorg.libXrender
|
||||
xorg.libXtst
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
stdenv.cc.cc
|
||||
];
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, qtsvg
|
||||
, qtwayland
|
||||
, qttools
|
||||
, exiv2
|
||||
, wrapQtAppsHook
|
||||
@@ -28,7 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [
|
||||
qtsvg
|
||||
qtwayland
|
||||
exiv2
|
||||
];
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
stdenv.cc
|
||||
libGL
|
||||
libpulseaudio
|
||||
@@ -129,7 +129,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
postPatch = ''
|
||||
patchelf ./installer \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath ${stdenv.cc.cc.lib}/lib
|
||||
--set-rpath ${lib.getLib stdenv.cc.cc}/lib
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
preFixup = ''
|
||||
for f in `find $out/lib/sane/ -type f`; do
|
||||
# Make it possible to find libstdc++.so.6
|
||||
patchelf --set-rpath ${stdenv.cc.cc.lib}/lib:$out/lib/sane $f
|
||||
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib:$out/lib/sane $f
|
||||
|
||||
# Horrible kludge: The driver hardcodes /usr/lib/sane/ as a dlopen path.
|
||||
# We can directly modify the binary to force a relative lookup instead.
|
||||
|
||||
@@ -35,7 +35,7 @@ mkDerivation rec {
|
||||
# https://cgit.kde.org/kdevelop.git/commit/?id=716372ae2e8dff9c51e94d33443536786e4bd85b
|
||||
# required as nixos seems to be unable to find CLANG_BUILTIN_DIR
|
||||
cmakeFlags = [
|
||||
"-DCLANG_BUILTIN_DIR=${llvmPackages.libclang.lib}/lib/clang/${lib.getVersion llvmPackages.clang}/include"
|
||||
"-DCLANG_BUILTIN_DIR=${lib.getLib llvmPackages.libclang}/lib/clang/${lib.getVersion llvmPackages.clang}/include"
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
@@ -100,7 +100,7 @@ stdenv.mkDerivation {
|
||||
pango
|
||||
systemd
|
||||
]
|
||||
+ ":${stdenv.cc.cc.lib}/lib64";
|
||||
+ ":${lib.getLib stdenv.cc.cc}/lib64";
|
||||
in
|
||||
''
|
||||
runHook preInstall
|
||||
|
||||
@@ -44,7 +44,7 @@ buildDotnetModule rec {
|
||||
|
||||
buildInputs = [
|
||||
# Dependencies of nuget packages w/ native binaries
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
fontconfig
|
||||
];
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ stdenv.mkDerivation rec {
|
||||
libxkbcommon
|
||||
xorg.libxkbfile
|
||||
pango
|
||||
stdenv.cc.cc.lib
|
||||
stdenv.cc.cc
|
||||
systemd
|
||||
])
|
||||
targetPath
|
||||
|
||||
@@ -70,7 +70,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nss
|
||||
pango
|
||||
systemd
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
udev
|
||||
xorg.libX11
|
||||
xorg.libXScrnSaver
|
||||
|
||||
@@ -10,7 +10,7 @@ let
|
||||
|
||||
rpath = lib.makeLibraryPath
|
||||
[ libX11 zlib libSM libICE libXext freetype libXrender fontconfig libXft
|
||||
libXinerama stdenv.cc.cc.lib libnotify glib gtk3 libappindicator-gtk3
|
||||
libXinerama stdenv.cc.cc libnotify glib gtk3 libappindicator-gtk3
|
||||
curl libXfixes libXScrnSaver ];
|
||||
|
||||
in
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "huggle";
|
||||
version = "3.4.12";
|
||||
version = "3.4.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggle";
|
||||
repo = "huggle3-qt-lx";
|
||||
rev = version;
|
||||
sha256 = "scNGmMVZ6z9FTQuZCdwRYk0WP5qKfdb/M9Co8TbiMDE=";
|
||||
sha256 = "sha256-f7Oo6x262Ju9KY8f/xjm9gL6I1fRCaDsQWGWJMUNUfY=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
||||
find ${src_repo}/resources/fonts -type d -execdir cp -r '{}' $out/lib/koreader/fonts \;
|
||||
find $out -xtype l -print -delete
|
||||
wrapProgram $out/bin/koreader --prefix LD_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath [ gtk3-x11 SDL2 glib stdenv.cc.cc.lib ]
|
||||
lib.makeLibraryPath [ gtk3-x11 SDL2 glib stdenv.cc.cc ]
|
||||
}
|
||||
'';
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
libxkbcommon
|
||||
xorg.libxkbfile
|
||||
pango
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
systemd
|
||||
];
|
||||
in ''
|
||||
|
||||
@@ -384,7 +384,7 @@ buildStdenv.mkDerivation {
|
||||
"--enable-default-toolkit=cairo-gtk3${lib.optionalString waylandSupport "-wayland"}"
|
||||
"--enable-system-pixman"
|
||||
"--with-distribution-id=org.nixos"
|
||||
"--with-libclang-path=${llvmPackagesBuildBuild.libclang.lib}/lib"
|
||||
"--with-libclang-path=${lib.getLib llvmPackagesBuildBuild.libclang}/lib"
|
||||
"--with-system-ffi"
|
||||
"--with-system-icu"
|
||||
"--with-system-jpeg"
|
||||
|
||||
@@ -49,13 +49,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ladybird";
|
||||
version = "0-unstable-2024-10-22";
|
||||
version = "0-unstable-2024-11-06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LadybirdWebBrowser";
|
||||
repo = "ladybird";
|
||||
rev = "648fac7215e1841e3714d4c72c7aee75152da522";
|
||||
hash = "sha256-OB9dV+dNr5eA4h1+telYitrI62m+XSK/SYc9UPs7D4M=";
|
||||
rev = "ad1ba30b27ff2802b6e743c6b8970e4bd1309dfc";
|
||||
hash = "sha256-vrRkUTWHm+2GTJ3axO2oPJ0gKyMSH8Reh3TjYYze/Io=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -102,7 +102,7 @@ stdenv.mkDerivation rec {
|
||||
nspr
|
||||
nss
|
||||
pango
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
qt6.qtbase
|
||||
];
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
dbus-glib
|
||||
gtk2-x11
|
||||
libXt
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
] ++ lib.optionals withGTK3 [
|
||||
gtk3
|
||||
];
|
||||
|
||||
@@ -129,7 +129,7 @@ in stdenv.mkDerivation rec {
|
||||
nspr
|
||||
nss
|
||||
pango
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
libqt5pas
|
||||
qt6.qtbase
|
||||
];
|
||||
|
||||
@@ -45,7 +45,7 @@ let
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ stdenv.cc.cc.lib openssl protobuf zlib snappy libtirpc ];
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ (lib.getLib stdenv.cc.cc) openssl protobuf zlib snappy libtirpc ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
|
||||
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
|
||||
freetype
|
||||
nspr
|
||||
glib
|
||||
stdenv.cc.cc.lib
|
||||
stdenv.cc.cc
|
||||
nss
|
||||
libX11
|
||||
libXrandr
|
||||
|
||||
@@ -69,7 +69,7 @@ in stdenv.mkDerivation (rec {
|
||||
expat
|
||||
stdenv.cc.cc
|
||||
];
|
||||
runtimeDependencies = [ libglvnd stdenv.cc.cc.lib (lib.getLib udev) libnotify libappindicator-gtk3 ];
|
||||
runtimeDependencies = [ libglvnd (lib.getLib stdenv.cc.cc) (lib.getLib udev) libnotify libappindicator-gtk3 ];
|
||||
|
||||
unpackPhase = "dpkg-deb -x $src .";
|
||||
|
||||
|
||||
@@ -157,6 +157,7 @@ stdenv.mkDerivation rec {
|
||||
libXrender
|
||||
libXtst
|
||||
libappindicator-gtk3
|
||||
libpulseaudio
|
||||
libnotify
|
||||
libuuid
|
||||
mesa # for libgbm
|
||||
@@ -236,7 +237,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Fix the desktop link
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace "/opt/${dir}/${pname}" $out/bin/${pname} \
|
||||
--replace-fail "/opt/${dir}/${pname}" $out/bin/${pname} \
|
||||
--replace-fail "StartupWMClass=Signal" "StartupWMClass=signal"
|
||||
|
||||
# Note: The following path contains bundled libraries:
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
callPackage ./generic.nix { } rec {
|
||||
pname = "signal-desktop-beta";
|
||||
dir = "Signal Beta";
|
||||
version = "7.32.0-beta.1";
|
||||
version = "7.33.0-beta.1";
|
||||
url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop-beta/signal-desktop-beta_${version}_amd64.deb";
|
||||
hash = "sha256-WrHF7Y8OcEOr+W/Jhc+Hj5jCtOjKigZ02N9N/hE+XLA=";
|
||||
hash = "sha256-17ZSdfGS28OqXb0UBbel+tR8UTh07pPQNIoKmuUtzZ0=";
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
callPackage ./generic.nix { } rec {
|
||||
pname = "signal-desktop";
|
||||
dir = "Signal";
|
||||
version = "7.31.0";
|
||||
version = "7.32.0";
|
||||
url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${version}_amd64.deb";
|
||||
hash = "sha256-7UumNusnexW3ujA65SzxKAdRrWxmKrgZFzK0GMlURaM=";
|
||||
hash = "sha256-3D1Pou+x8mJBzWAKRq8YDcFOJXKKnA8ksMJ3SR8C+SU=";
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ let
|
||||
xorg.libXtst
|
||||
xorg.libxkbfile
|
||||
xorg.libxshmfence
|
||||
] + ":${stdenv.cc.cc.lib}/lib64";
|
||||
] + ":${lib.getLib stdenv.cc.cc}/lib64";
|
||||
|
||||
buildInputs = [
|
||||
gtk3 # needed for GSETTINGS_SCHEMAS_PATH
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = ''
|
||||
-L${stdenv.cc.cc.lib}/lib -lX11 -lglib-2.0 -lgtk-x11-2.0
|
||||
-L${lib.getLib stdenv.cc.cc}/lib -lX11 -lglib-2.0 -lgtk-x11-2.0
|
||||
-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpango-1.0 -latk-1.0 -lcairo
|
||||
-lc -lcrypto
|
||||
'';
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
libPath =
|
||||
lib.makeLibraryPath
|
||||
[ stdenv.cc stdenv.cc.cc.lib ];
|
||||
[ stdenv.cc stdenv.cc.cc ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin/
|
||||
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
|
||||
e2fsprogs
|
||||
gmp
|
||||
gtk3
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
libGL
|
||||
libX11
|
||||
libgcrypt
|
||||
|
||||
@@ -39,7 +39,7 @@ in stdenv.mkDerivation {
|
||||
libXmu
|
||||
libXrandr
|
||||
libXrender
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, autoPatchelfHook, fetchurl, nixosTests
|
||||
{ lib, stdenv, autoPatchelfHook, fetchurl, nixosTests
|
||||
, metaCommon }:
|
||||
|
||||
let
|
||||
@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
buildInputs = [ libusb1 udev stdenv.cc.cc.lib ];
|
||||
buildInputs = [ libusb1 udev (lib.getLib stdenv.cc.cc) ];
|
||||
|
||||
unpackPhase = ''
|
||||
sh "$src" --noexec --target source
|
||||
|
||||
@@ -35,7 +35,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
postFixup = ''
|
||||
for file in $(find $out -type f -type f -perm /0111); do
|
||||
old_rpath=$(patchelf --print-rpath $file) && \
|
||||
patchelf --set-rpath $old_rpath:${stdenv.cc.cc.lib}/lib $file || true
|
||||
patchelf --set-rpath $old_rpath:${lib.getLib stdenv.cc.cc}/lib $file || true
|
||||
done
|
||||
# Link to the master program
|
||||
ln -s $out/bin/quast.py $out/bin/quast
|
||||
|
||||
@@ -47,7 +47,7 @@ let
|
||||
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "${libPath}:$out/eagle-${version}/lib:${stdenv.cc.cc.lib}/lib" \
|
||||
--set-rpath "${libPath}:$out/eagle-${version}/lib:${lib.getLib stdenv.cc.cc}/lib" \
|
||||
"$out"/eagle-${version}/eagle
|
||||
|
||||
mkdir -p "$out"/bin
|
||||
|
||||
@@ -28,7 +28,7 @@ let
|
||||
inherit (sources.libpicoipp) version;
|
||||
src = fetchurl { inherit (sources.libpicoipp) url sha256; };
|
||||
nativeBuildInputs = [ dpkg autoPatchelfHook ];
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
sourceRoot = ".";
|
||||
unpackCmd = "dpkg-deb -x $src .";
|
||||
installPhase = ''
|
||||
|
||||
@@ -7,7 +7,7 @@ let
|
||||
gmp4
|
||||
ncurses
|
||||
zlib
|
||||
] + ":${stdenv.cc.cc.lib}/lib64";
|
||||
] + ":${lib.getLib stdenv.cc.cc}/lib64";
|
||||
|
||||
url = "https://github.com/GaloisInc/saw-script/releases/download";
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ let
|
||||
libPath = lib.makeLibraryPath
|
||||
[ stdenv.cc.libc stdenv.cc.cc gtk2 gdk-pixbuf atk pango glib cairo
|
||||
freetype fontconfig libxml2 gnome2.gtksourceview
|
||||
] + ":${stdenv.cc.cc.lib}/lib64:$out/libexec";
|
||||
] + ":${lib.getLib stdenv.cc.cc}/lib64:$out/libexec";
|
||||
|
||||
patchExe = x: ''
|
||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
|
||||
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||
ncurses
|
||||
opencv4
|
||||
openssl
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
unixODBC
|
||||
xkeyboard_config
|
||||
libxml2
|
||||
@@ -113,15 +113,15 @@ stdenv.mkDerivation rec {
|
||||
# Fix library paths
|
||||
cd $out/libexec/${dirName}/Executables
|
||||
for path in MathKernel math mcc wolfram; do
|
||||
makeWrapper $out/libexec/${dirName}/Executables/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}"
|
||||
makeWrapper $out/libexec/${dirName}/Executables/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${lib.getLib stdenv.cc.cc}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}"
|
||||
done
|
||||
|
||||
for path in WolframKernel wolframscript; do
|
||||
makeWrapper $out/libexec/${dirName}/SystemFiles/Kernel/Binaries/Linux-x86-64/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}"
|
||||
makeWrapper $out/libexec/${dirName}/SystemFiles/Kernel/Binaries/Linux-x86-64/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${lib.getLib stdenv.cc.cc}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}"
|
||||
done
|
||||
|
||||
wrapQtApp "$out/libexec/${dirName}/SystemFiles/FrontEnd/Binaries/Linux-x86-64/WolframPlayer" \
|
||||
--set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}" \
|
||||
--set LD_LIBRARY_PATH "${zlib}/lib:${lib.getLib stdenv.cc.cc}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}" \
|
||||
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb"
|
||||
if ! isELF "$out/libexec/${dirName}/SystemFiles/FrontEnd/Binaries/Linux-x86-64/WolframPlayer"; then
|
||||
substituteInPlace $out/libexec/${dirName}/SystemFiles/FrontEnd/Binaries/Linux-x86-64/WolframPlayer \
|
||||
|
||||
@@ -51,7 +51,7 @@ let
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
gtk2
|
||||
pango
|
||||
cairo
|
||||
|
||||
@@ -107,7 +107,7 @@ let
|
||||
dontConfigure = true;
|
||||
|
||||
libPath = lib.makeLibraryPath [
|
||||
stdenv.cc.cc.lib
|
||||
stdenv.cc.cc
|
||||
curlWithGnuTls
|
||||
udev
|
||||
libX11
|
||||
|
||||
@@ -85,7 +85,7 @@ let
|
||||
for binary in ${builtins.concatStringsSep " " binaries}; do
|
||||
patchelf \
|
||||
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath ${lib.makeLibraryPath neededLibraries}:${libGL}/lib:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
--set-rpath ${lib.makeLibraryPath neededLibraries}:${libGL}/lib:${lib.getLib stdenv.cc.cc}/lib${lib.optionalString stdenv.hostPlatform.is64bit "64"} \
|
||||
$binary
|
||||
done
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ buildKodiBinaryAddon rec {
|
||||
|
||||
extraBuildInputs = [ pugixml rapidjson ];
|
||||
|
||||
extraRuntimeDependencies = [ glib nspr nss stdenv.cc.cc.lib ];
|
||||
extraRuntimeDependencies = [ glib nspr nss (lib.getLib stdenv.cc.cc) ];
|
||||
|
||||
extraInstallPhase = let n = namespace; in ''
|
||||
ln -s $out/lib/addons/${n}/libssd_wv.so $out/${addonDir}/${n}/libssd_wv.so
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
substitutions = {
|
||||
dynamicLinker = "${stdenv.cc}/nix-support/dynamic-linker";
|
||||
libPath = lib.makeLibraryPath [
|
||||
stdenv.cc.cc.lib
|
||||
stdenv.cc.cc
|
||||
stdenv.cc.libc
|
||||
dotnet-sdk.passthru.icu
|
||||
zlib
|
||||
|
||||
@@ -42,7 +42,7 @@ else stdenv.mkDerivation rec {
|
||||
PATH=${bintools-unwrapped}/bin:${llvmPackages.clang-unwrapped}/bin:$PATH \
|
||||
clang -arch x86_64 -arch arm64 -arch arm64e \
|
||||
-isystem "$SDKROOT/usr/include" \
|
||||
-isystem ${llvmPackages.libclang.lib}/lib/clang/*/include \
|
||||
-isystem ${lib.getLib llvmPackages.libclang}/lib/clang/*/include \
|
||||
"-L$SDKROOT/usr/lib" \
|
||||
-Wl,-install_name,$out/lib/$libName \
|
||||
-Wall -std=c99 -O3 -fPIC libredirect.c \
|
||||
|
||||
@@ -232,7 +232,7 @@ in
|
||||
nettle-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ nettle clang ];
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";
|
||||
};
|
||||
|
||||
openssl = attrs: {
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
bindgenHook = callPackage ({}: makeSetupHook {
|
||||
name = "rust-bindgen-hook";
|
||||
substitutions = {
|
||||
libclang = clang.cc.lib;
|
||||
libclang = (lib.getLib clang.cc);
|
||||
inherit clang;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ let
|
||||
multiArch = true;
|
||||
|
||||
multiPkgs = pkgs: with pkgs; [
|
||||
stdenv.cc.cc.lib
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
xorg.libX11
|
||||
xorg.libXext
|
||||
xorg.libXrandr
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[
|
||||
libdrm
|
||||
openssl
|
||||
stdenv.cc.cc.lib
|
||||
stdenv.cc.cc
|
||||
zlib
|
||||
]
|
||||
++ (with xorg; [
|
||||
|
||||
@@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
|
||||
# No tests exist
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ stdenv.cc.cc.lib ];
|
||||
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
runtimeDependencies = [
|
||||
|
||||
@@ -3,9 +3,8 @@
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, rustPlatform
|
||||
, libiconv
|
||||
, buildPackages
|
||||
, darwin
|
||||
, apple-sdk_11
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
@@ -36,10 +35,7 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
libiconv
|
||||
darwin.apple_sdk_11_0.frameworks.AppKit
|
||||
darwin.apple_sdk_11_0.frameworks.Security
|
||||
darwin.apple_sdk_11_0.frameworks.SystemConfiguration
|
||||
apple-sdk_11
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user