Merge branch 'master' into staging
This commit is contained in:
commit
0e8d2725dc
|
@ -740,7 +740,7 @@ to the `stack.yaml` like the following:
|
||||||
enable: true
|
enable: true
|
||||||
packages: [ zlib ]
|
packages: [ zlib ]
|
||||||
|
|
||||||
Stack's Nix support knows to add `${zlib}/lib` and `${zlib}/include` as an
|
Stack's Nix support knows to add `${zlib.out}/lib` and `${zlib.dev}/include` as an
|
||||||
`--extra-lib-dirs` and `extra-include-dirs`, respectively. Alternatively, you
|
`--extra-lib-dirs` and `extra-include-dirs`, respectively. Alternatively, you
|
||||||
can achieve the same effect by hand. First of all, run
|
can achieve the same effect by hand. First of all, run
|
||||||
|
|
||||||
|
|
|
@ -291,8 +291,8 @@ pyfftw = buildPythonPackage rec {
|
||||||
# Tests cannot import pyfftw. pyfftw works fine though.
|
# Tests cannot import pyfftw. pyfftw works fine though.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
LDFLAGS="-L${pkgs.fftw}/lib -L${pkgs.fftwFloat}/lib -L${pkgs.fftwLongDouble}/lib"
|
LDFLAGS="-L${pkgs.fftw.dev}/lib -L${pkgs.fftwFloat.out}/lib -L${pkgs.fftwLongDouble.out}/lib"
|
||||||
CFLAGS="-I${pkgs.fftw}/include -I${pkgs.fftwFloat}/include -I${pkgs.fftwLongDouble}/include"
|
CFLAGS="-I${pkgs.fftw.dev}/include -I${pkgs.fftwFloat.dev}/include -I${pkgs.fftwLongDouble.dev}/include"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
ericbmerritt = "Eric Merritt <eric@afiniate.com>";
|
ericbmerritt = "Eric Merritt <eric@afiniate.com>";
|
||||||
ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";
|
ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";
|
||||||
erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
|
erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
|
||||||
ertes = "Ertugrul Söylemez <ertesx@gmx.de>";
|
ertes = "Ertugrul Söylemez <esz@posteo.de>";
|
||||||
exi = "Reno Reckling <nixos@reckling.org>";
|
exi = "Reno Reckling <nixos@reckling.org>";
|
||||||
exlevan = "Alexey Levan <exlevan@gmail.com>";
|
exlevan = "Alexey Levan <exlevan@gmail.com>";
|
||||||
expipiplus1 = "Joe Hermaszewski <nix@monoid.al>";
|
expipiplus1 = "Joe Hermaszewski <nix@monoid.al>";
|
||||||
|
|
|
@ -29,7 +29,7 @@ rec {
|
||||||
cp ${./test-driver/Logger.pm} $libDir/Logger.pm
|
cp ${./test-driver/Logger.pm} $libDir/Logger.pm
|
||||||
|
|
||||||
wrapProgram $out/bin/nixos-test-driver \
|
wrapProgram $out/bin/nixos-test-driver \
|
||||||
--prefix PATH : "${qemu_kvm}/bin:${vde2}/bin:${netpbm}/bin:${coreutils}/bin" \
|
--prefix PATH : "${lib.makeBinPath [ qemu_kvm vde2 netpbm coreutils ]}" \
|
||||||
--prefix PERL5LIB : "${with perlPackages; lib.makePerlPath [ TermReadLineGnu XMLWriter IOTty FileSlurp ]}:$out/lib/perl5/site_perl"
|
--prefix PERL5LIB : "${with perlPackages; lib.makePerlPath [ TermReadLineGnu XMLWriter IOTty FileSlurp ]}:$out/lib/perl5/site_perl"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -121,7 +121,7 @@ let
|
||||||
makeWrapper ${cfg.packages.gitlab.env}/bin/bundle $out/bin/gitlab-bundle \
|
makeWrapper ${cfg.packages.gitlab.env}/bin/bundle $out/bin/gitlab-bundle \
|
||||||
${concatStrings (mapAttrsToList (name: value: "--set ${name} '${value}' ") gitlabEnv)} \
|
${concatStrings (mapAttrsToList (name: value: "--set ${name} '${value}' ") gitlabEnv)} \
|
||||||
--set GITLAB_CONFIG_PATH '${cfg.statePath}/config' \
|
--set GITLAB_CONFIG_PATH '${cfg.statePath}/config' \
|
||||||
--set PATH '${pkgs.nodejs}/bin:${pkgs.gzip}/bin:${config.services.postgresql.package}/bin:$PATH' \
|
--set PATH '${stdenv.lib.makeBinPath [ pkgs.nodejs pkgs.gzip config.services.postgresql.package ]}:$PATH' \
|
||||||
--set RAKEOPT '-f ${cfg.packages.gitlab}/share/gitlab/Rakefile' \
|
--set RAKEOPT '-f ${cfg.packages.gitlab}/share/gitlab/Rakefile' \
|
||||||
--run 'cd ${cfg.packages.gitlab}/share/gitlab'
|
--run 'cd ${cfg.packages.gitlab}/share/gitlab'
|
||||||
makeWrapper $out/bin/gitlab-bundle $out/bin/gitlab-rake \
|
makeWrapper $out/bin/gitlab-bundle $out/bin/gitlab-rake \
|
||||||
|
|
|
@ -248,7 +248,7 @@ in
|
||||||
description = ''
|
description = ''
|
||||||
List of binary cache URLs that non-root users can use (in
|
List of binary cache URLs that non-root users can use (in
|
||||||
addition to those specified using
|
addition to those specified using
|
||||||
<option>nix.binaryCaches</option> by passing
|
<option>nix.binaryCaches</option>) by passing
|
||||||
<literal>--option binary-caches</literal> to Nix commands.
|
<literal>--option binary-caches</literal> to Nix commands.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -465,7 +465,7 @@ in {
|
||||||
DJANGO_SETTINGS_MODULE = "graphite.settings";
|
DJANGO_SETTINGS_MODULE = "graphite.settings";
|
||||||
GRAPHITE_CONF_DIR = configDir;
|
GRAPHITE_CONF_DIR = configDir;
|
||||||
GRAPHITE_STORAGE_DIR = dataDir;
|
GRAPHITE_STORAGE_DIR = dataDir;
|
||||||
LD_LIBRARY_PATH = "${pkgs.cairo}/lib";
|
LD_LIBRARY_PATH = "${pkgs.cairo.out}/lib";
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
|
|
|
@ -133,7 +133,7 @@ in
|
||||||
@{PROC}/sys/kernel/random/uuid r,
|
@{PROC}/sys/kernel/random/uuid r,
|
||||||
@{PROC}/sys/vm/overcommit_memory r,
|
@{PROC}/sys/vm/overcommit_memory r,
|
||||||
|
|
||||||
${pkgs.openssl}/etc/** r,
|
${pkgs.openssl.out}/etc/** r,
|
||||||
${pkgs.transmission}/share/transmission/** r,
|
${pkgs.transmission}/share/transmission/** r,
|
||||||
|
|
||||||
owner ${settingsDir}/** rw,
|
owner ${settingsDir}/** rw,
|
||||||
|
|
|
@ -169,7 +169,7 @@ in
|
||||||
++ lib.optional config.networking.networkmanager.enable kde5.plasma-nm
|
++ lib.optional config.networking.networkmanager.enable kde5.plasma-nm
|
||||||
++ lib.optional config.hardware.pulseaudio.enable kde5.plasma-pa
|
++ lib.optional config.hardware.pulseaudio.enable kde5.plasma-pa
|
||||||
++ lib.optional config.powerManagement.enable kde5.powerdevil
|
++ lib.optional config.powerManagement.enable kde5.powerdevil
|
||||||
++ lib.optional config.services.colord.enable kde5.colord-kde
|
++ lib.optional config.services.colord.enable pkgs.colord-kde
|
||||||
++ lib.optionals config.services.samba.enable [ kde5.kdenetwork-filesharing pkgs.samba ];
|
++ lib.optionals config.services.samba.enable [ kde5.kdenetwork-filesharing pkgs.samba ];
|
||||||
|
|
||||||
environment.pathsToLink = [ "/share" ];
|
environment.pathsToLink = [ "/share" ];
|
||||||
|
|
|
@ -134,8 +134,9 @@ let
|
||||||
(*) echo "$0: Desktop manager '$desktopManager' not found.";;
|
(*) echo "$0: Desktop manager '$desktopManager' not found.";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# FIXME: gdbus should not be in glib.dev!
|
||||||
${optionalString (cfg.startDbusSession && cfg.updateDbusEnvironment) ''
|
${optionalString (cfg.startDbusSession && cfg.updateDbusEnvironment) ''
|
||||||
${pkgs.glib}/bin/gdbus call --session \
|
${pkgs.glib.dev}/bin/gdbus call --session \
|
||||||
--dest org.freedesktop.DBus --object-path /org/freedesktop/DBus \
|
--dest org.freedesktop.DBus --object-path /org/freedesktop/DBus \
|
||||||
--method org.freedesktop.DBus.UpdateActivationEnvironment \
|
--method org.freedesktop.DBus.UpdateActivationEnvironment \
|
||||||
"{$(env | ${pkgs.gnused}/bin/sed "s/'/\\\\'/g; s/\([^=]*\)=\(.*\)/'\1':'\2'/" \
|
"{$(env | ${pkgs.gnused}/bin/sed "s/'/\\\\'/g; s/\([^=]*\)=\(.*\)/'\1':'\2'/" \
|
||||||
|
|
|
@ -20,9 +20,9 @@ in
|
||||||
services.xserver.windowManager.session = singleton
|
services.xserver.windowManager.session = singleton
|
||||||
{ name = "metacity";
|
{ name = "metacity";
|
||||||
start = ''
|
start = ''
|
||||||
env LD_LIBRARY_PATH=${xorg.libX11.out}/lib:${xorg.libXext.out}/lib:/usr/lib/
|
env LD_LIBRARY_PATH=${lib.makeLibraryPath [ xorg.libX11 xorg.libXext ]}:/usr/lib/
|
||||||
# !!! Hack: load the schemas for Metacity.
|
# !!! Hack: load the schemas for Metacity.
|
||||||
GCONF_CONFIG_SOURCE=xml::~/.gconf ${gnome.GConf}/bin/gconftool-2 \
|
GCONF_CONFIG_SOURCE=xml::~/.gconf ${gnome.GConf.out}/bin/gconftool-2 \
|
||||||
--makefile-install-rule ${gnome.metacity}/etc/gconf/schemas/*.schemas # */
|
--makefile-install-rule ${gnome.metacity}/etc/gconf/schemas/*.schemas # */
|
||||||
${gnome.metacity}/bin/metacity &
|
${gnome.metacity}/bin/metacity &
|
||||||
waitPID=$!
|
waitPID=$!
|
||||||
|
|
|
@ -93,6 +93,10 @@ in
|
||||||
boot.initrd.extraUtilsCommands = ''
|
boot.initrd.extraUtilsCommands = ''
|
||||||
copy_bin_and_libs ${pkgs.dropbear}/bin/dropbear
|
copy_bin_and_libs ${pkgs.dropbear}/bin/dropbear
|
||||||
cp -pv ${pkgs.glibc.out}/lib/libnss_files.so.* $out/lib
|
cp -pv ${pkgs.glibc.out}/lib/libnss_files.so.* $out/lib
|
||||||
|
|
||||||
|
${optionalString (cfg.hostRSAKey != null) "install -D ${cfg.hostRSAKey} $out/etc/dropbear/dropbear_rsa_host_key"}
|
||||||
|
${optionalString (cfg.hostDSSKey != null) "install -D ${cfg.hostDSSKey} $out/etc/dropbear/dropbear_dss_host_key"}
|
||||||
|
${optionalString (cfg.hostECDSAKey != null) "install -D ${cfg.hostECDSAKey} $out/etc/dropbear/dropbear_ecdsa_host_key"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
boot.initrd.extraUtilsCommandsTest = ''
|
boot.initrd.extraUtilsCommandsTest = ''
|
||||||
|
@ -108,9 +112,9 @@ in
|
||||||
touch /var/log/lastlog
|
touch /var/log/lastlog
|
||||||
|
|
||||||
mkdir -p /etc/dropbear
|
mkdir -p /etc/dropbear
|
||||||
${optionalString (cfg.hostRSAKey != null) "ln -s ${cfg.hostRSAKey} /etc/dropbear/dropbear_rsa_host_key"}
|
${optionalString (cfg.hostRSAKey != null) "ln -s $extraUtils/etc/dropbear/dropbear_rsa_host_key /etc/dropbear/dropbear_rsa_host_key"}
|
||||||
${optionalString (cfg.hostDSSKey != null) "ln -s ${cfg.hostDSSKey} /etc/dropbear/dropbear_dss_host_key"}
|
${optionalString (cfg.hostDSSKey != null) "ln -s $extraUtils/etc/dropbear/dropbear_dss_host_key /etc/dropbear/dropbear_dss_host_key"}
|
||||||
${optionalString (cfg.hostECDSAKey != null) "ln -s ${cfg.hostECDSAKey} /etc/dropbear/dropbear_ecdsa_host_key"}
|
${optionalString (cfg.hostECDSAKey != null) "ln -s $extraUtils/etc/dropbear/dropbear_ecdsa_host_key /etc/dropbear/dropbear_ecdsa_host_key"}
|
||||||
|
|
||||||
mkdir -p /root/.ssh
|
mkdir -p /root/.ssh
|
||||||
${concatStrings (map (key: ''
|
${concatStrings (map (key: ''
|
||||||
|
|
|
@ -11,14 +11,14 @@ in
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
system.fsPackages = mkIf (any (fs: fs == "cifs") config.boot.supportedFilesystems) [ pkgs.cifs_utils ];
|
system.fsPackages = mkIf (any (fs: fs == "cifs") config.boot.supportedFilesystems) [ pkgs.cifs-utils ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = mkIf inInitrd
|
boot.initrd.availableKernelModules = mkIf inInitrd
|
||||||
[ "cifs" "nls_utf8" "hmac" "md4" "ecb" "des_generic" "sha256" ];
|
[ "cifs" "nls_utf8" "hmac" "md4" "ecb" "des_generic" "sha256" ];
|
||||||
|
|
||||||
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
||||||
''
|
''
|
||||||
copy_bin_and_libs ${pkgs.cifs_utils}/sbin/mount.cifs
|
copy_bin_and_libs ${pkgs.cifs-utils}/sbin/mount.cifs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,7 +20,7 @@ in
|
||||||
|
|
||||||
postVM =
|
postVM =
|
||||||
''
|
''
|
||||||
PATH=$PATH:${pkgs.gnutar}/bin:${pkgs.gzip}/bin
|
PATH=$PATH:${stdenv.lib.makeBinPath [ pkgs.gnutar pkgs.gzip ]}
|
||||||
pushd $out
|
pushd $out
|
||||||
${pkgs.qemu_kvm}/bin/qemu-img convert -c -O qcow2 $diskImageBase nixos.qcow2
|
${pkgs.qemu_kvm}/bin/qemu-img convert -c -O qcow2 $diskImageBase nixos.qcow2
|
||||||
rm $diskImageBase
|
rm $diskImageBase
|
||||||
|
|
|
@ -23,7 +23,7 @@ in
|
||||||
|
|
||||||
postVM =
|
postVM =
|
||||||
''
|
''
|
||||||
PATH=$PATH:${pkgs.gnutar}/bin:${pkgs.gzip}/bin
|
PATH=$PATH:${stdenv.lib.makeBinPath [ pkgs.gnutar pkgs.gzip ]}
|
||||||
pushd $out
|
pushd $out
|
||||||
mv $diskImageBase disk.raw
|
mv $diskImageBase disk.raw
|
||||||
tar -Szcf $diskImageBase.tar.gz disk.raw
|
tar -Szcf $diskImageBase.tar.gz disk.raw
|
||||||
|
|
|
@ -4,12 +4,12 @@ with import ../lib/testing.nix { inherit system; };
|
||||||
with pkgs.lib;
|
with pkgs.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
testVMConfig = vmName: attrs: { config, pkgs, ... }: let
|
testVMConfig = vmName: attrs: { config, pkgs, lib, ... }: let
|
||||||
guestAdditions = pkgs.linuxPackages.virtualboxGuestAdditions;
|
guestAdditions = pkgs.linuxPackages.virtualboxGuestAdditions;
|
||||||
|
|
||||||
miniInit = ''
|
miniInit = ''
|
||||||
#!${pkgs.stdenv.shell} -xe
|
#!${pkgs.stdenv.shell} -xe
|
||||||
export PATH="${pkgs.coreutils}/bin:${pkgs.utillinux}/bin"
|
export PATH="${lib.makeBinPath [ pkgs.coreutils pkgs.utillinux ]}"
|
||||||
|
|
||||||
mkdir -p /var/run/dbus
|
mkdir -p /var/run/dbus
|
||||||
cat > /etc/passwd <<EOF
|
cat > /etc/passwd <<EOF
|
||||||
|
|
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for executable in $(cd $out/bin && ls); do
|
for executable in $(cd $out/bin && ls); do
|
||||||
wrapProgram $out/bin/$executable \
|
wrapProgram $out/bin/$executable \
|
||||||
--prefix PATH : "${bc}/bin:${findutils}/bin:${sox}/bin:${procps}/bin:${opusTools}/bin:${lame}/bin:${flac.bin}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ bc findutils sox procps opusTools lame flac ]}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchsvn, pkgconfig, autoreconfHook, gnutls33, freetype
|
{ stdenv, fetchsvn, pkgconfig, autoreconfHook, gnutls33, freetype
|
||||||
, SDL, SDL_gfx, SDL_ttf, liblo, libxml2, alsaLib, libjack2, libvorbis
|
, SDL, SDL_gfx, SDL_ttf, liblo, libxml2, alsaLib, libjack2, libvorbis
|
||||||
, libsndfile, libogg
|
, libSM, libsndfile, libogg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig autoreconfHook gnutls33 freetype SDL SDL_gfx SDL_ttf
|
pkgconfig autoreconfHook gnutls33 freetype SDL SDL_gfx SDL_ttf
|
||||||
liblo libxml2 libjack2 alsaLib libvorbis libsndfile libogg
|
liblo libxml2 libjack2 alsaLib libvorbis libsndfile libogg libSM
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [ ./am_path_sdl.patch ./xml.patch ];
|
patches = [ ./am_path_sdl.patch ./xml.patch ];
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
name = "mopidy-${version}";
|
name = "mopidy-${version}";
|
||||||
|
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mopidy";
|
owner = "mopidy";
|
||||||
repo = "mopidy";
|
repo = "mopidy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06f1y87dqc7p6kq5npmg3ki8x4iacyjzd7nq7188x20y2zglrjbm";
|
sha256 = "15i17rj2bh2kda6d6rwcjhs2m3nfsrcyq3lj9vbgmacg0cdb22pp";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook ];
|
nativeBuildInputs = [ wrapGAppsHook ];
|
||||||
|
|
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace bin/areca_run.sh --replace "/usr/lib/java/swt.jar" "${swt}/jars/swt.jar"
|
substituteInPlace bin/areca_run.sh --replace "/usr/lib/java/swt.jar" "${swt}/jars/swt.jar"
|
||||||
|
|
||||||
sed -i "s#^PROGRAM_DIR.*#PROGRAM_DIR=$out#g" bin/areca_run.sh
|
sed -i "s#^PROGRAM_DIR.*#PROGRAM_DIR=$out#g" bin/areca_run.sh
|
||||||
sed -i "s#^LIBRARY_PATH.*#LIBRARY_PATH=${swt}/lib:$out/lib:${acl}/lib#g" bin/areca_run.sh
|
sed -i "s#^LIBRARY_PATH.*#LIBRARY_PATH=$out/lib:${stdenv.lib.makeLibraryPath [ swt acl ]}#g" bin/areca_run.sh
|
||||||
|
|
||||||
# https://sourceforge.net/p/areca/bugs/563/
|
# https://sourceforge.net/p/areca/bugs/563/
|
||||||
substituteInPlace bin/areca_run.sh --replace '[ "$JAVA_IMPL" = "java" ]' \
|
substituteInPlace bin/areca_run.sh --replace '[ "$JAVA_IMPL" = "java" ]' \
|
||||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
interpreter=$(echo ${stdenv.glibc.out}/lib/ld-linux*.so.2)
|
interpreter=$(echo ${stdenv.glibc.out}/lib/ld-linux*.so.2)
|
||||||
libCairo=$out/eclipse/libcairo-swt.so
|
libCairo=$out/eclipse/libcairo-swt.so
|
||||||
patchelf --set-interpreter $interpreter $out/eclipse/eclipse
|
patchelf --set-interpreter $interpreter $out/eclipse/eclipse
|
||||||
[ -f $libCairo ] && patchelf --set-rpath ${freetype}/lib:${fontconfig}/lib:${libX11}/lib:${libXrender}/lib:${zlib}/lib $libCairo
|
[ -f $libCairo ] && patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ freetype fontconfig libX11 libXrender zlib ]} $libCairo
|
||||||
|
|
||||||
# Create wrapper script. Pass -configuration to store
|
# Create wrapper script. Pass -configuration to store
|
||||||
# settings in ~/.eclipse/org.eclipse.platform_<version> rather
|
# settings in ~/.eclipse/org.eclipse.platform_<version> rather
|
||||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
||||||
--prefix PATH : ${jdk}/bin \
|
--prefix PATH : ${jdk}/bin \
|
||||||
--prefix LD_LIBRARY_PATH : ${glib}/lib:${gtk.out}/lib:${libXtst}/lib${stdenv.lib.optionalString (webkitgtk2 != null) ":${webkitgtk2}/lib"} \
|
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk libXtst ] ++ stdenv.lib.optional (webkitgtk2 != null) webkitgtk2)} \
|
||||||
--add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration"
|
--add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration"
|
||||||
|
|
||||||
# Create desktop item.
|
# Create desktop item.
|
||||||
|
|
|
@ -25,13 +25,13 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "emacs-25.1-rc1";
|
name = "emacs-25.1-rc2";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://alpha.gnu.org/gnu/emacs/pretest/${name}.tar.xz";
|
url = "ftp://alpha.gnu.org/gnu/emacs/pretest/${name}.tar.xz";
|
||||||
sha256 = "0cv1hars9zxlv040h7f3zz50fhn67dqa18ms4hg9sdblckk50360";
|
sha256 = "1hffvyvl50mrivdv6lp92sbxi3l2zhblj8npmpbzk47zpl1mzm2v";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optionals stdenv.isDarwin [
|
patches = lib.optionals stdenv.isDarwin [
|
||||||
|
|
|
@ -62,7 +62,7 @@ with stdenv; lib.makeOverridable mkDerivation rec {
|
||||||
item=${desktopItem}
|
item=${desktopItem}
|
||||||
|
|
||||||
makeWrapper "$out/$name/bin/${loName}.sh" "$out/bin/${execName}" \
|
makeWrapper "$out/$name/bin/${loName}.sh" "$out/bin/${execName}" \
|
||||||
--prefix PATH : "$out/libexec/${name}:${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin" \
|
--prefix PATH : "$out/libexec/${name}:${stdenv.lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \
|
||||||
--set JDK_HOME "$jdk" \
|
--set JDK_HOME "$jdk" \
|
||||||
--set ${hiName}_JDK "$jdk" \
|
--set ${hiName}_JDK "$jdk" \
|
||||||
--set ANDROID_JAVA_HOME "$jdk" \
|
--set ANDROID_JAVA_HOME "$jdk" \
|
||||||
|
|
|
@ -26,7 +26,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
wrapProgram $out/bin/tuxguitar \
|
wrapProgram $out/bin/tuxguitar \
|
||||||
--set JAVA "${jdk}/bin/java" \
|
--set JAVA "${jdk}/bin/java" \
|
||||||
--prefix LD_LIBRARY_PATH : "$out/lib/:${swt}/lib:${alsaLib.out}/lib" \
|
--prefix LD_LIBRARY_PATH : "$out/lib/:${stdenv.lib.makeLibraryPath [ swt alsaLib ]}" \
|
||||||
--prefix CLASSPATH : "${swt}/jars/swt.jar:$out/lib/tuxguitar.jar:$out/lib/itext.jar"
|
--prefix CLASSPATH : "${swt}/jars/swt.jar:$out/lib/tuxguitar.jar:$out/lib/itext.jar"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -a netbeans $out
|
cp -a netbeans $out
|
||||||
makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \
|
makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \
|
||||||
--prefix PATH : ${jdk}/bin:${which}/bin \
|
--prefix PATH : ${stdenv.lib.makeBinPath [ jdk which ]} \
|
||||||
--prefix JAVA_HOME : ${jdk.home} \
|
--prefix JAVA_HOME : ${jdk.home} \
|
||||||
--add-flags "--jdkhome ${jdk.home}"
|
--add-flags "--jdkhome ${jdk.home}"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
# Allow geeqie to find exiv2 and exiftran, necessary to
|
# Allow geeqie to find exiv2 and exiftran, necessary to
|
||||||
# losslessly rotate JPEG images.
|
# losslessly rotate JPEG images.
|
||||||
sed -i $out/lib/geeqie/geeqie-rotate \
|
sed -i $out/lib/geeqie/geeqie-rotate \
|
||||||
-e '1 a export PATH=${exiv2}/bin:${fbida}/bin:$PATH'
|
-e '1 a export PATH=${stdenv.lib.makeBinPath [ exiv2 fbida ]}:$PATH'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -21,10 +21,10 @@ stdenv.mkDerivation rec {
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -r linux/work/* $out/${name}/
|
cp -r linux/work/* $out/${name}/
|
||||||
makeWrapper $out/${name}/processing $out/bin/processing \
|
makeWrapper $out/${name}/processing $out/bin/processing \
|
||||||
--prefix PATH : "${jdk}/bin:${which}/bin" \
|
--prefix PATH : "${stdenv.lib.makeBinPath [ jdk which ]}" \
|
||||||
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
|
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
|
||||||
makeWrapper $out/${name}/processing-java $out/bin/processing-java \
|
makeWrapper $out/${name}/processing-java $out/bin/processing-java \
|
||||||
--prefix PATH : "${jdk}/bin:${which}/bin" \
|
--prefix PATH : "${stdenv.lib.makeBinPath [ jdk which ]}" \
|
||||||
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
|
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
|
||||||
ln -s ${jdk} $out/${name}/java
|
ln -s ${jdk} $out/${name}/java
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
qmakeFlags = [
|
qmakeFlags = [
|
||||||
"EXIV2PATH=${exiv2}/include/exiv2"
|
"EXIV2PATH=${exiv2.dev}/include/exiv2"
|
||||||
"OPENEXRDIR=${openexr}/include/OpenEXR"
|
"OPENEXRDIR=${openexr}/include/OpenEXR"
|
||||||
"FFTW3DIR=${fftwSinglePrec.dev}/include"
|
"FFTW3DIR=${fftwSinglePrec.dev}/include"
|
||||||
"LIBTIFFDIR=${libtiff.dev}/include"
|
"LIBTIFFDIR=${libtiff.dev}/include"
|
||||||
|
|
|
@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
${myPatchElf "opt/brother/scanner/brscan4/brsaneconfig4"}
|
${myPatchElf "opt/brother/scanner/brscan4/brsaneconfig4"}
|
||||||
|
|
||||||
RPATH=${libusb}/lib
|
RPATH=${libusb.out}/lib
|
||||||
for a in usr/lib64/sane/*.so*; do
|
for a in usr/lib64/sane/*.so*; do
|
||||||
if ! test -L $a; then
|
if ! test -L $a; then
|
||||||
patchelf --set-rpath $RPATH $a
|
patchelf --set-rpath $RPATH $a
|
||||||
|
|
|
@ -55,7 +55,7 @@ stdenv.mkDerivation {
|
||||||
--replace "RUN+=\"/bin/sh" "RUN+=\"${stdenv.shell}"
|
--replace "RUN+=\"/bin/sh" "RUN+=\"${stdenv.shell}"
|
||||||
|
|
||||||
substituteInPlace $out/lib/libsane.la \
|
substituteInPlace $out/lib/libsane.la \
|
||||||
--replace "-ljpeg" "-L${libjpeg}/lib -ljpeg"
|
--replace "-ljpeg" "-L${libjpeg.out}/lib -ljpeg"
|
||||||
'' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware);
|
'' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware);
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||||
ln -s $out/{nix-support,bin}/wavesurfer.tcl
|
ln -s $out/{nix-support,bin}/wavesurfer.tcl
|
||||||
wrapProgram "$out/nix-support/wavesurfer.tcl" \
|
wrapProgram "$out/nix-support/wavesurfer.tcl" \
|
||||||
--set TCLLIBPATH "${snack}/lib" \
|
--set TCLLIBPATH "${snack}/lib" \
|
||||||
--prefix PATH : "${tcl}/bin:${tk}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ tcl tk ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk mono]}"
|
export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk mono]}"
|
||||||
# We need PATH from user env for xdg-open to find its tools, which
|
# We need PATH from user env for xdg-open to find its tools, which
|
||||||
# typically depend on the currently running desktop environment.
|
# typically depend on the currently running desktop environment.
|
||||||
export PATH="${avrgcclibc}/bin:${avrdude}/bin:${xdg_utils}/bin:\$PATH"
|
export PATH="${stdenv.lib.makeBinPath [ avrgcclibc avrdude xdg_utils ]}:\$PATH"
|
||||||
|
|
||||||
# avrdudess must have its resource files in its current working directory
|
# avrdudess must have its resource files in its current working directory
|
||||||
cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
|
cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchurl, SDL, boost, cmake, ffmpeg, gettext, glew
|
{ stdenv, lib, fetchurl, boost, cmake, ffmpeg, gettext, glew
|
||||||
, ilmbase, libXi, libjpeg, libpng, libsamplerate, libsndfile
|
, ilmbase, libXi, libX11, libjpeg, libpng, libsamplerate, libsndfile
|
||||||
, libtiff, mesa, openal, opencolorio, openexr, openimageio, openjpeg, python
|
, libtiff, mesa, openal, opencolorio, openexr, openimageio, openjpeg, python
|
||||||
, zlib, fftw, opensubdiv
|
, zlib, fftw, opensubdiv, freetype
|
||||||
, jackaudioSupport ? false, libjack2
|
, jackaudioSupport ? false, libjack2
|
||||||
, cudaSupport ? false, cudatoolkit
|
, cudaSupport ? false, cudatoolkit
|
||||||
, colladaSupport ? true, opencollada
|
, colladaSupport ? true, opencollada
|
||||||
|
@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ SDL boost cmake ffmpeg gettext glew ilmbase libXi
|
[ boost cmake ffmpeg gettext glew ilmbase libXi libX11 freetype
|
||||||
libjpeg libpng libsamplerate libsndfile libtiff mesa openal
|
libjpeg libpng libsamplerate libsndfile libtiff mesa openal
|
||||||
opencolorio openexr openimageio /* openjpeg */ python zlib fftw
|
opencolorio openexr openimageio openjpeg python zlib fftw
|
||||||
(opensubdiv.override { inherit cudaSupport; })
|
(opensubdiv.override { inherit cudaSupport; })
|
||||||
]
|
]
|
||||||
++ optional jackaudioSupport libjack2
|
++ optional jackaudioSupport libjack2
|
||||||
|
@ -41,12 +41,15 @@ stdenv.mkDerivation rec {
|
||||||
"-DWITH_SDL=ON"
|
"-DWITH_SDL=ON"
|
||||||
"-DWITH_GAMEENGINE=ON"
|
"-DWITH_GAMEENGINE=ON"
|
||||||
"-DWITH_OPENCOLORIO=ON"
|
"-DWITH_OPENCOLORIO=ON"
|
||||||
|
"-DWITH_SYSTEM_OPENJPEG=ON"
|
||||||
"-DWITH_PLAYER=ON"
|
"-DWITH_PLAYER=ON"
|
||||||
"-DWITH_OPENSUBDIV=ON"
|
"-DWITH_OPENSUBDIV=ON"
|
||||||
"-DPYTHON_LIBRARY=python${python.majorVersion}m"
|
"-DPYTHON_LIBRARY=python${python.majorVersion}m"
|
||||||
"-DPYTHON_LIBPATH=${python}/lib"
|
"-DPYTHON_LIBPATH=${python}/lib"
|
||||||
"-DPYTHON_INCLUDE_DIR=${python}/include/python${python.majorVersion}m"
|
"-DPYTHON_INCLUDE_DIR=${python}/include/python${python.majorVersion}m"
|
||||||
"-DPYTHON_VERSION=${python.majorVersion}"
|
"-DPYTHON_VERSION=${python.majorVersion}"
|
||||||
|
"-DWITH_PYTHON_INSTALL=OFF"
|
||||||
|
"-DWITH_PYTHON_INSTALL_NUMPY=OFF"
|
||||||
]
|
]
|
||||||
++ optional jackaudioSupport "-DWITH_JACK=ON"
|
++ optional jackaudioSupport "-DWITH_JACK=ON"
|
||||||
++ optional cudaSupport "-DWITH_CYCLES_CUDA_BINARIES=ON"
|
++ optional cudaSupport "-DWITH_CYCLES_CUDA_BINARIES=ON"
|
||||||
|
|
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
cp ding.png $out/share/pixmaps/
|
cp ding.png $out/share/pixmaps/
|
||||||
cp ding.desktop $out/share/applications/
|
cp ding.desktop $out/share/applications/
|
||||||
|
|
||||||
wrapProgram $out/bin/ding --prefix PATH : ${gnugrep}/bin:${aspellEnv}/bin:${tk}/bin:${fortune}/bin --prefix ASPELL_CONF : "\"prefix ${aspellEnv};\""
|
wrapProgram $out/bin/ding --prefix PATH : ${stdenv.lib.makeBinPath [ gnugrep aspellEnv tk fortune ]} --prefix ASPELL_CONF : "\"prefix ${aspellEnv};\""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "emem";
|
pname = "emem";
|
||||||
version = "0.2.26";
|
version = "0.2.27";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
inherit jdk;
|
inherit jdk;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ebzzry/${pname}/releases/download/v${version}/${pname}.jar";
|
url = "https://github.com/ebzzry/${pname}/releases/download/v${version}/${pname}.jar";
|
||||||
sha256 = "1qa3q2zgy20yq060b8gz5h7f5h8kbbk7rgfxvjbxllgd847qs4dy";
|
sha256 = "0zmh152dfgsq2yj14wb3504pyibq4r671q5yz6yy28ihym7qr0fd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ];
|
buildInputs = [ ];
|
||||||
|
|
|
@ -41,7 +41,7 @@ stdenv.mkDerivation {
|
||||||
wrapProgram "$out/bin/finalterm" \
|
wrapProgram "$out/bin/finalterm" \
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||||
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules" \
|
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules" \
|
||||||
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:${gnome3.gtk}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:${gnome3.gtk.out}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -18,7 +18,7 @@ buildPerlPackage {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/man/man1
|
mkdir -p $out/bin $out/share/man/man1
|
||||||
cp get_iplayer $out/bin
|
cp get_iplayer $out/bin
|
||||||
wrapProgram $out/bin/get_iplayer --suffix PATH : ${ffmpeg.bin}/bin:${flvstreamer}/bin:${vlc}/bin:${rtmpdump}/bin --prefix PERL5LIB : $PERL5LIB
|
wrapProgram $out/bin/get_iplayer --suffix PATH : ${stdenv.lib.makeBinPath [ ffmpeg flvstreamer vlc rtmpdump ]} --prefix PERL5LIB : $PERL5LIB
|
||||||
cp get_iplayer.1 $out/share/man/man1
|
cp get_iplayer.1 $out/share/man/man1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
sed -i -e 's+-I \$srcdir/mupdf/include -I \$srcdir/mupdf/thirdparty/freetype/include+-I ${freetype}/include+' build.sh
|
sed -i -e 's+-I \$srcdir/mupdf/include -I \$srcdir/mupdf/thirdparty/freetype/include+-I ${freetype.dev}/include+' build.sh
|
||||||
sed -i -e 's+-lmupdf +-lfreetype -lz -lharfbuzz -ljbig2dec -lopenjp2 -ljpeg -lmupdf +' build.sh
|
sed -i -e 's+-lmupdf +-lfreetype -lz -lharfbuzz -ljbig2dec -lopenjp2 -ljpeg -lmupdf +' build.sh
|
||||||
sed -i -e 's+-L\$srcdir/mupdf/build/native ++' build.sh
|
sed -i -e 's+-L\$srcdir/mupdf/build/native ++' build.sh
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-libxml2=${libxml2}"
|
"--with-libxml2=${libxml2}"
|
||||||
"--with-libxslt=${libxslt}"
|
"--with-libxslt=${libxslt.dev}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -76,13 +76,13 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace $out/share/test/TestCommons.awk --replace "\"gawk\"" "\"${gawk}/bin/gawk\""
|
substituteInPlace $out/share/test/TestCommons.awk --replace "\"gawk\"" "\"${gawk}/bin/gawk\""
|
||||||
substituteInPlace $out/share/test/TestCommons.awk --replace "Commons.awk" "$out/share/include/Commons.awk"
|
substituteInPlace $out/share/test/TestCommons.awk --replace "Commons.awk" "$out/share/include/Commons.awk"
|
||||||
|
|
||||||
substituteInPlace $out/share/include/Main.awk --replace "\"tput\"" "\"${ncurses}/bin/tput\""
|
substituteInPlace $out/share/include/Main.awk --replace "\"tput\"" "\"${ncurses.out}/bin/tput\""
|
||||||
substituteInPlace $out/share/include/Help.awk --replace "\"groff\"" "\"${groff}/bin/groff\""
|
substituteInPlace $out/share/include/Help.awk --replace "\"groff\"" "\"${groff}/bin/groff\""
|
||||||
substituteInPlace $out/share/include/Utils.awk --replace "\"fribidi\"" "\"${fribidi}/bin/fribidi\""
|
substituteInPlace $out/share/include/Utils.awk --replace "\"fribidi\"" "\"${fribidi}/bin/fribidi\""
|
||||||
substituteInPlace $out/share/include/Utils.awk --replace "\"fribidi " "\"${fribidi}/bin/fribidi "
|
substituteInPlace $out/share/include/Utils.awk --replace "\"fribidi " "\"${fribidi}/bin/fribidi "
|
||||||
substituteInPlace $out/share/include/Utils.awk --replace "\"rlwrap\"" "\"${rlwrap}/bin/rlwrap\""
|
substituteInPlace $out/share/include/Utils.awk --replace "\"rlwrap\"" "\"${rlwrap}/bin/rlwrap\""
|
||||||
substituteInPlace $out/share/include/Utils.awk --replace "\"emacs\"" "\"${emacs}/bin/emacs\""
|
substituteInPlace $out/share/include/Utils.awk --replace "\"emacs\"" "\"${emacs}/bin/emacs\""
|
||||||
substituteInPlace $out/share/include/Utils.awk --replace "\"curl\"" "\"${curl}/bin/curl\""
|
substituteInPlace $out/share/include/Utils.awk --replace "\"curl\"" "\"${curl.bin}/bin/curl\""
|
||||||
|
|
||||||
substituteInPlace $out/share/build.awk --replace "\"pandoc " "\"${pandoc}/bin/pandoc "
|
substituteInPlace $out/share/build.awk --replace "\"pandoc " "\"${pandoc}/bin/pandoc "
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
export BOOST_INCLUDEDIR=${boost}/include
|
export BOOST_INCLUDEDIR=${boost.dev}/include
|
||||||
export BOOST_LIBRARYDIR=${boost.out}/lib
|
export BOOST_LIBRARYDIR=${boost.out}/lib
|
||||||
|
|
||||||
mkdir -p Build/Install
|
mkdir -p Build/Install
|
||||||
|
|
|
@ -128,6 +128,7 @@ let
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./patches/widevine.patch
|
./patches/widevine.patch
|
||||||
|
./patches/glibc-2.24.patch
|
||||||
(if versionOlder version "52.0.0.0"
|
(if versionOlder version "52.0.0.0"
|
||||||
then ./patches/nix_plugin_paths_50.patch
|
then ./patches/nix_plugin_paths_50.patch
|
||||||
else ./patches/nix_plugin_paths_52.patch)
|
else ./patches/nix_plugin_paths_52.patch)
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
--- old/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp 2016-08-03 21:02:37.000000000 +0200
|
||||||
|
+++ new/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp 2016-08-14 10:59:51.395354850 +0200
|
||||||
|
@@ -41,6 +41,11 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
+#if OS(LINUX) && defined(MADV_FREE)
|
||||||
|
+// Added in Linux 4.5, but we don't want to depend on 4.5 at runtime
|
||||||
|
+#undef MADV_FREE
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifndef MADV_FREE
|
||||||
|
#define MADV_FREE MADV_DONTNEED
|
||||||
|
#endif
|
|
@ -7,6 +7,7 @@
|
||||||
, trezor-bridge, bluejeans, djview4, adobe-reader
|
, trezor-bridge, bluejeans, djview4, adobe-reader
|
||||||
, google_talk_plugin, fribid, gnome3/*.gnome_shell*/
|
, google_talk_plugin, fribid, gnome3/*.gnome_shell*/
|
||||||
, esteidfirefoxplugin
|
, esteidfirefoxplugin
|
||||||
|
, vlc_npapi
|
||||||
}:
|
}:
|
||||||
|
|
||||||
## configurability of the wrapper itself
|
## configurability of the wrapper itself
|
||||||
|
@ -45,6 +46,7 @@ let
|
||||||
++ lib.optional (cfg.enableBluejeans or false) bluejeans
|
++ lib.optional (cfg.enableBluejeans or false) bluejeans
|
||||||
++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
|
++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
|
||||||
++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
|
++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
|
||||||
|
++ lib.optional (cfg.enableVLC or false) vlc_npapi
|
||||||
);
|
);
|
||||||
libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])
|
libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])
|
||||||
++ lib.optionals (cfg.enableQuakeLive or false)
|
++ lib.optionals (cfg.enableQuakeLive or false)
|
||||||
|
|
|
@ -41,9 +41,6 @@ buildPythonApplication rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/bin/qutebrowser $out/bin/.qutebrowser-noqtpath
|
|
||||||
makeQtWrapper $out/bin/.qutebrowser-noqtpath $out/bin/qutebrowser
|
|
||||||
|
|
||||||
install -Dm644 doc/qutebrowser.1 "$out/share/man/man1/qutebrowser.1"
|
install -Dm644 doc/qutebrowser.1 "$out/share/man/man1/qutebrowser.1"
|
||||||
install -Dm644 qutebrowser.desktop \
|
install -Dm644 qutebrowser.desktop \
|
||||||
"$out/share/applications/qutebrowser.desktop"
|
"$out/share/applications/qutebrowser.desktop"
|
||||||
|
@ -56,6 +53,14 @@ buildPythonApplication rec {
|
||||||
install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/*
|
install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapPythonPrograms
|
||||||
|
mv $out/bin/qutebrowser $out/bin/.qutebrowser-noqtpath
|
||||||
|
makeQtWrapper $out/bin/.qutebrowser-noqtpath $out/bin/qutebrowser
|
||||||
|
|
||||||
|
sed -i 's/\.qutebrowser-wrapped/qutebrowser/g' $out/bin/..qutebrowser-wrapped-wrapped
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/The-Compiler/qutebrowser;
|
homepage = https://github.com/The-Compiler/qutebrowser;
|
||||||
description = "Keyboard-focused browser with a minimal GUI";
|
description = "Keyboard-focused browser with a minimal GUI";
|
||||||
|
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||||
mv * $out
|
mv * $out
|
||||||
|
|
||||||
for n in $out/{bin,sbin}"/"*; do
|
for n in $out/{bin,sbin}"/"*; do
|
||||||
wrapProgram $n --prefix PATH : "${which}/bin:${jre}/bin:${bash}/bin" --set JAVA_HOME "${jre}" --set HADOOP_PREFIX "$out"
|
wrapProgram $n --prefix PATH : "${stdenv.lib.makeBinPath [ which jre bash ]}" --set JAVA_HOME "${jre}" --set HADOOP_PREFIX "$out"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -38,9 +38,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/kube-proxy" --prefix PATH : "${iptables}/bin"
|
wrapProgram "$out/bin/kube-proxy" --prefix PATH : "${iptables}/bin"
|
||||||
wrapProgram "$out/bin/kubelet" --prefix PATH : "${utillinux}/bin:${procps-ng}/bin"
|
wrapProgram "$out/bin/kubelet" --prefix PATH : "${stdenv.lib.makeBinPath [ utillinux procps-ng ]}"
|
||||||
chmod +x "$out/libexec/kubernetes/safe_format_and_mount"
|
chmod +x "$out/libexec/kubernetes/safe_format_and_mount"
|
||||||
wrapProgram "$out/libexec/kubernetes/safe_format_and_mount" --prefix PATH : "${e2fsprogs}/bin:${utillinux}/bin"
|
wrapProgram "$out/libexec/kubernetes/safe_format_and_mount" --prefix PATH : "${stdenv.lib.makeBinPath [ e2fsprogs utillinux ]}"
|
||||||
substituteInPlace "$out"/libexec/kubernetes/cluster/update-storage-objects.sh \
|
substituteInPlace "$out"/libexec/kubernetes/cluster/update-storage-objects.sh \
|
||||||
--replace KUBE_OUTPUT_HOSTBIN KUBE_BIN
|
--replace KUBE_OUTPUT_HOSTBIN KUBE_BIN
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
for n in $out/{bin,sbin}"/"*; do
|
for n in $out/{bin,sbin}"/"*; do
|
||||||
wrapProgram $n \
|
wrapProgram $n \
|
||||||
--prefix PATH : "${jre}/bin:${bash}/bin" \
|
--prefix PATH : "${stdenv.lib.makeBinPath [ jre bash ]}" \
|
||||||
--set JAVA_HOME "${jre}" --set HADOOP_PREFIX "${hadoop}"
|
--set JAVA_HOME "${jre}" --set HADOOP_PREFIX "${hadoop}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "terraform-${version}";
|
name = "terraform-${version}";
|
||||||
version = "0.7.0";
|
version = "0.7.1";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
goPackagePath = "github.com/hashicorp/terraform";
|
goPackagePath = "github.com/hashicorp/terraform";
|
||||||
|
@ -11,7 +11,7 @@ buildGoPackage rec {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
owner = "hashicorp";
|
owner = "hashicorp";
|
||||||
repo = "terraform";
|
repo = "terraform";
|
||||||
sha256 = "0k5d6zph6sq1qg8vi5jmk7apy6v67xn5i7rqjamyr5an7lpxssc9";
|
sha256 = "1nvz4nqkn8pl25zyw7x5079dbzmwdxsar9gbcjk1srfpa746j1y4";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -22,4 +22,10 @@ buildGoPackage rec {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Tool for building, changing, and versioning infrastructure";
|
||||||
|
homepage = "https://www.terraform.io/";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp ./* $out/bin/ -R
|
cp ./* $out/bin/ -R
|
||||||
wrapProgram $out/bin/davmail.sh --prefix PATH : ${jre}/bin --prefix LD_LIBRARY_PATH : ${glib}/lib:${gtk}/lib:${libXtst}/lib
|
wrapProgram $out/bin/davmail.sh --prefix PATH : ${jre}/bin --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk libXtst ]}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed <"frontends/snipe" >"$out/bin/snipe" \
|
sed <"frontends/snipe" >"$out/bin/snipe" \
|
||||||
-e "2i export PATH=\"$out/bin:${coreutils}/bin:${gawk}/bin:${bash}/bin:${which}/bin:\$PATH\""
|
-e "2i export PATH=\"$out/bin:${stdenv.lib.makeBinPath [ coreutils gawk bash which ]}:\$PATH\""
|
||||||
chmod 555 "$out/bin/snipe"
|
chmod 555 "$out/bin/snipe"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make install
|
make install
|
||||||
for file in "$out"/bin/* "$out"/sbin/*; do
|
for file in "$out"/bin/* "$out"/sbin/*; do
|
||||||
wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${openssl.out}/lib:${gcc.cc}/lib:${stdenv.glibc.out}/lib::${gcc.cc}/lib64:${stdenv.glibc.out}/lib64:${libedit}/lib:${qt4}/lib"
|
wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${stdenv.lib.makeLibraryPath [ openssl gcc.cc stdenv.glibc libedit qt4 ]}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "4.0.1641";
|
version = "4.26.0.1655";
|
||||||
|
|
||||||
rpath = stdenv.lib.makeLibraryPath [
|
rpath = stdenv.lib.makeLibraryPath [
|
||||||
xdg_utils
|
xdg_utils
|
||||||
|
@ -43,7 +43,7 @@ let
|
||||||
if stdenv.system == "x86_64-linux" then
|
if stdenv.system == "x86_64-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/pool/HipChat4-${version}-Linux.deb";
|
url = "https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/pool/HipChat4-${version}-Linux.deb";
|
||||||
sha256 = "15xy89qmldp1zs3f809b8sayvawc7sz24l0718iib83g5jzvivsm";
|
sha256 = "1y484cp77kz984z9zdsy6c4669fmwv2knc287c1v24s81p5pqygg";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw "HipChat is not supported on ${stdenv.system}";
|
throw "HipChat is not supported on ${stdenv.system}";
|
||||||
|
|
|
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||||
chmod +x $out/bin/jitsi
|
chmod +x $out/bin/jitsi
|
||||||
substituteInPlace $out/bin/jitsi \
|
substituteInPlace $out/bin/jitsi \
|
||||||
--subst-var-by JAVA ${jdk}/bin/java \
|
--subst-var-by JAVA ${jdk}/bin/java \
|
||||||
--subst-var-by EXTRALIBS ${gtk2}/lib
|
--subst-var-by EXTRALIBS ${gtk2.out}/lib
|
||||||
patchShebangs $out
|
patchShebangs $out
|
||||||
|
|
||||||
libPath="$libPath:${jdk.jre.home}/lib/${jdk.architecture}"
|
libPath="$libPath:${jdk.jre.home}/lib/${jdk.architecture}"
|
||||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
wrapArgs = "--prefix PATH ':' ${texLive}/bin:${imagemagick.out}/bin";
|
wrapArgs = "--prefix PATH ':' ${stdenv.lib.makeBinPath [ texLive imagemagick ]}";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -77,7 +77,7 @@ rec {
|
||||||
# gtk3 programs have the runtime dependency on XDG_DATA_DIRS
|
# gtk3 programs have the runtime dependency on XDG_DATA_DIRS
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
for f in "$out/bin/sflphone" "$out/bin/sflphone-client-gnome"; do
|
for f in "$out/bin/sflphone" "$out/bin/sflphone-client-gnome"; do
|
||||||
wrapProgram $f --prefix XDG_DATA_DIRS ":" "${gtk}/share:$GSETTINGS_SCHEMAS_PATH"
|
wrapProgram $f --prefix XDG_DATA_DIRS ":" "${gtk.out}/share:$GSETTINGS_SCHEMAS_PATH"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
|
||||||
wrapProgram $out/opt/viber/Viber \
|
wrapProgram $out/opt/viber/Viber \
|
||||||
--set QT_PLUGIN_PATH "$out/opt/viber/plugins" \
|
--set QT_PLUGIN_PATH "$out/opt/viber/plugins" \
|
||||||
--set QT_XKB_CONFIG_ROOT "${xorg.xkeyboardconfig}/share/X11/xkb" \
|
--set QT_XKB_CONFIG_ROOT "${xorg.xkeyboardconfig}/share/X11/xkb" \
|
||||||
--set QTCOMPOSE "${xorg.libX11}/share/X11/locale"
|
--set QTCOMPOSE "${xorg.libX11.out}/share/X11/locale"
|
||||||
ln -s $out/opt/viber/Viber $out/bin/viber
|
ln -s $out/opt/viber/Viber $out/bin/viber
|
||||||
|
|
||||||
mv $out/usr/share $out/share
|
mv $out/usr/share $out/share
|
||||||
|
|
|
@ -21,7 +21,7 @@ pythonPackages.buildPythonApplication rec {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/mailpile \
|
wrapProgram $out/bin/mailpile \
|
||||||
--prefix PATH ":" "${gnupg1orig}/bin:${openssl.bin}/bin"
|
--prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg1orig openssl ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||||
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules:${glib_networking.out}/lib/gio/modules" \
|
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules:${glib_networking.out}/lib/gio/modules" \
|
||||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gtk}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gtk.out}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, fetchgit, ant, jdk, bash, coreutils, substituteAll }:
|
{ stdenv, fetchurl, fetchFromGitHub, ant, jdk, bash, coreutils, substituteAll }:
|
||||||
|
|
||||||
let
|
let
|
||||||
freenet_ext = fetchurl {
|
freenet_ext = fetchurl {
|
||||||
|
@ -6,28 +6,30 @@ let
|
||||||
sha256 = "17ypljdvazgx2z6hhswny1lxfrknysz3x6igx8vl3xgdpvbb7wij";
|
sha256 = "17ypljdvazgx2z6hhswny1lxfrknysz3x6igx8vl3xgdpvbb7wij";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bcprov_version = "jdk15on-154";
|
||||||
bcprov = fetchurl {
|
bcprov = fetchurl {
|
||||||
url = https://downloads.freenetproject.org/latest/bcprov-jdk15on-152.jar;
|
url = "https://www.bouncycastle.org/download/bcprov-ext-${bcprov_version}.jar";
|
||||||
sha256 = "0wqpdcvcfh939fk8yr033ijzr1vjbp6ydlnv5ly8jiykwj0x3i0d";
|
sha256 = "0abmhg2h44g8c5p7skzqwfxj8xwcjh9vs84mc0hr78k1am0633jk";
|
||||||
};
|
};
|
||||||
seednodes = fetchurl {
|
seednodes = fetchurl {
|
||||||
url = https://downloads.freenetproject.org/alpha/opennet/seednodes.fref;
|
url = https://downloads.freenetproject.org/alpha/opennet/seednodes.fref;
|
||||||
sha256 = "109zn9w8axdkjwhkkcm2s8dvib0mq0n8imjgs3r8hvi128cjsmg9";
|
sha256 = "08awwr8n80b4cdzzb3y8hf2fzkr1f2ly4nlq779d6pvi5jymqdvv";
|
||||||
};
|
};
|
||||||
version = "build01470";
|
version = "build01475";
|
||||||
|
|
||||||
freenet-jars = stdenv.mkDerivation {
|
freenet-jars = stdenv.mkDerivation {
|
||||||
name = "freenet-jars-${version}";
|
name = "freenet-jars-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = https://github.com/freenet/fred;
|
owner = "freenet";
|
||||||
rev = "refs/tags/${version}";
|
repo = "fred";
|
||||||
sha256 = "1b6e6fec2b9a729d4a25605fa142df9ea42e59b379ff665f580e32c6178c9746";
|
rev = version;
|
||||||
|
sha256 = "0k02fna9x219j7dhginbnf27i36bibb0rmm4qdwr5xm28hy1nd08";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
cp ${freenet_ext} lib/freenet/freenet-ext.jar
|
cp ${freenet_ext} lib/freenet/freenet-ext.jar
|
||||||
cp ${bcprov} lib/bcprov-jdk15on-152.jar
|
cp ${bcprov} lib/bcprov-${bcprov_version}.jar
|
||||||
|
|
||||||
sed '/antcall.*-ext/d' -i build.xml
|
sed '/antcall.*-ext/d' -i build.xml
|
||||||
sed 's/@unknown@/${version}/g' -i build-clean.xml
|
sed 's/@unknown@/${version}/g' -i build-clean.xml
|
||||||
|
@ -39,7 +41,7 @@ let
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/freenet
|
mkdir -p $out/share/freenet
|
||||||
cp lib/bcprov-jdk15on-152.jar $out/share/freenet
|
cp lib/bcprov-${bcprov_version}.jar $out/share/freenet
|
||||||
cp lib/freenet/freenet-ext.jar $out/share/freenet
|
cp lib/freenet/freenet-ext.jar $out/share/freenet
|
||||||
cp dist/freenet.jar $out/share/freenet
|
cp dist/freenet.jar $out/share/freenet
|
||||||
'';
|
'';
|
||||||
|
@ -51,7 +53,7 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
src = substituteAll {
|
src = substituteAll {
|
||||||
src = ./freenetWrapper;
|
src = ./freenetWrapper;
|
||||||
inherit bash coreutils seednodes;
|
inherit bash coreutils seednodes bcprov_version;
|
||||||
freenet = freenet-jars;
|
freenet = freenet-jars;
|
||||||
jre = jdk.jre;
|
jre = jdk.jre;
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,4 +15,4 @@ cp -u @seednodes@ $FREENET_HOME/seednodes.fref
|
||||||
chmod u+rw $FREENET_HOME/seednodes.fref
|
chmod u+rw $FREENET_HOME/seednodes.fref
|
||||||
|
|
||||||
cd $FREENET_HOME
|
cd $FREENET_HOME
|
||||||
@jre@/bin/java -cp @freenet@/share/freenet/bcprov-jdk15on-152.jar:@freenet@/share/freenet/freenet-ext.jar:@freenet@/share/freenet/freenet.jar -Xmx1024M freenet.node.NodeStarter
|
@jre@/bin/java -cp @freenet@/share/freenet/bcprov-@bcprov_version@.jar:@freenet@/share/freenet/freenet-ext.jar:@freenet@/share/freenet/freenet.jar -Xmx1024M freenet.node.NodeStarter
|
||||||
|
|
|
@ -135,7 +135,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper "$ICAInstDir/wfica -icaroot $ICAInstDir" "$out/bin/wfica" \
|
makeWrapper "$ICAInstDir/wfica -icaroot $ICAInstDir" "$out/bin/wfica" \
|
||||||
--set ICAROOT "$ICAInstDir" \
|
--set ICAROOT "$ICAInstDir" \
|
||||||
--set GTK_PATH "${gtk}/lib/gtk-2.0:${gnome3.gnome_themes_standard}/lib/gtk-2.0" \
|
--set GTK_PATH "${gtk.out}/lib/gtk-2.0:${gnome3.gnome_themes_standard}/lib/gtk-2.0" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||||
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
|
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
|
||||||
--set LD_LIBRARY_PATH "$libPath" \
|
--set LD_LIBRARY_PATH "$libPath" \
|
||||||
|
|
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec
|
||||||
make install
|
make install
|
||||||
|
|
||||||
wrapProgram $out/bin/seafile-applet \
|
wrapProgram $out/bin/seafile-applet \
|
||||||
--suffix PATH : ${ccnet}/bin:${seafile-shared}/bin
|
--suffix PATH : ${stdenv.lib.makeBinPath [ ccnet seafile-shared ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta =
|
meta =
|
||||||
|
|
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for i in $out/bin/*; do
|
for i in $out/bin/*; do
|
||||||
wrapProgram $i \
|
wrapProgram $i \
|
||||||
--prefix PATH ':' "${pstoedit}/bin" \
|
--prefix PATH ':' "${pstoedit.out}/bin" \
|
||||||
--prefix XDG_DATA_DIRS ':' "${oxygen_icons}/share"
|
--prefix XDG_DATA_DIRS ':' "${oxygen_icons}/share"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
|
||||||
--set GCONF_CONFIG_SOURCE 'xml::~/.gconf' \
|
--set GCONF_CONFIG_SOURCE 'xml::~/.gconf' \
|
||||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${name}" \
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${name}" \
|
||||||
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules" \
|
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules" \
|
||||||
--prefix PATH ":" "$out/bin:${perl}/bin:${gconf}/bin"
|
--prefix PATH ":" "$out/bin:${stdenv.lib.makeBinPath [ perl gconf ]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
rm $out/share/icons/hicolor/icon-theme.cache
|
rm $out/share/icons/hicolor/icon-theme.cache
|
||||||
|
|
|
@ -45,14 +45,14 @@ stdenv.mkDerivation rec {
|
||||||
--prefix LD_LIBRARY_PATH ":" "${libbonoboui}/lib/libglade/2.0" \
|
--prefix LD_LIBRARY_PATH ":" "${libbonoboui}/lib/libglade/2.0" \
|
||||||
--prefix PERL5LIB ":" "$PERL5LIB" \
|
--prefix PERL5LIB ":" "$PERL5LIB" \
|
||||||
--set GCONF_CONFIG_SOURCE 'xml::~/.gconf' \
|
--set GCONF_CONFIG_SOURCE 'xml::~/.gconf' \
|
||||||
--prefix PATH ":" "$out/bin:${perl}/bin:${gconf}/bin"
|
--prefix PATH ":" "$out/bin:${stdenv.lib.makeBinPath [ perl gconf ]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
rm $out/share/icons/hicolor/icon-theme.cache
|
rm $out/share/icons/hicolor/icon-theme.cache
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# The following settings fix failures in the test suite. It's not required otherwise.
|
# The following settings fix failures in the test suite. It's not required otherwise.
|
||||||
NIX_LDFLAGS = "-rpath=${guile}/lib -rpath=${glib}/lib";
|
NIX_LDFLAGS = "-rpath=${guile}/lib -rpath=${glib.out}/lib";
|
||||||
preCheck = "export GNC_DOT_DIR=$PWD/dot-gnucash";
|
preCheck = "export GNC_DOT_DIR=$PWD/dot-gnucash";
|
||||||
|
|
||||||
doCheck = false; # https://github.com/NixOS/nixpkgs/issues/11084
|
doCheck = false; # https://github.com/NixOS/nixpkgs/issues/11084
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pam, python3, tcsh, libxslt, perl, ArchiveZip
|
{ stdenv, fetchurl, pam, python3, libxslt, perl, ArchiveZip
|
||||||
, CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd
|
, CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd
|
||||||
, libxml2, db, sablotron, curl, fontconfig, libsndfile, neon
|
, libxml2, db, sablotron, curl, fontconfig, libsndfile, neon
|
||||||
, bison, flex, zip, unzip, gtk3, gtk, libmspack, getopt, file, cairo, which
|
, bison, flex, zip, unzip, gtk3, gtk, libmspack, getopt, file, cairo, which
|
||||||
|
@ -247,7 +247,7 @@ in stdenv.mkDerivation rec {
|
||||||
libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
|
libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
|
||||||
gst_all_1.gst-plugins-base gsettings_desktop_schemas glib
|
gst_all_1.gst-plugins-base gsettings_desktop_schemas glib
|
||||||
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
|
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
|
||||||
python3 sablotron sane-backends tcsh unzip vigra which zip zlib
|
python3 sablotron sane-backends unzip vigra which zip zlib
|
||||||
mdds bluez5 glibc libcmis libwps libabw
|
mdds bluez5 glibc libcmis libwps libabw
|
||||||
libxshmfence libatomic_ops graphite2 harfbuzz
|
libxshmfence libatomic_ops graphite2 harfbuzz
|
||||||
librevenge libe-book libmwaw glm glew ncurses
|
librevenge libe-book libmwaw glm glew ncurses
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pam, python3, tcsh, libxslt, perl, ArchiveZip
|
{ stdenv, fetchurl, pam, python3, libxslt, perl, ArchiveZip
|
||||||
, CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd
|
, CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd
|
||||||
, libxml2, db, sablotron, curl, fontconfig, libsndfile, neon
|
, libxml2, db, sablotron, curl, fontconfig, libsndfile, neon
|
||||||
, bison, flex, zip, unzip, gtk3, gtk, libmspack, getopt, file, cairo, which
|
, bison, flex, zip, unzip, gtk3, gtk, libmspack, getopt, file, cairo, which
|
||||||
|
@ -241,7 +241,7 @@ in stdenv.mkDerivation rec {
|
||||||
libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
|
libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
|
||||||
gst_all_1.gst-plugins-base gsettings_desktop_schemas glib
|
gst_all_1.gst-plugins-base gsettings_desktop_schemas glib
|
||||||
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
|
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
|
||||||
python3 sablotron sane-backends tcsh unzip vigra which zip zlib
|
python3 sablotron sane-backends unzip vigra which zip zlib
|
||||||
mdds bluez5 glibc libcmis libwps libabw
|
mdds bluez5 glibc libcmis libwps libabw
|
||||||
libxshmfence libatomic_ops graphite2 harfbuzz
|
libxshmfence libatomic_ops graphite2 harfbuzz
|
||||||
librevenge libe-book libmwaw glm glew ncurses
|
librevenge libe-book libmwaw glm glew ncurses
|
||||||
|
|
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||||
mkdir -p "$out/share/doc/satallax" "$out/bin" "$out/lib" "$out/lib/satallax"
|
mkdir -p "$out/share/doc/satallax" "$out/bin" "$out/lib" "$out/lib/satallax"
|
||||||
cp bin/satallax.opt "$out/bin/satallax"
|
cp bin/satallax.opt "$out/bin/satallax"
|
||||||
wrapProgram "$out/bin/satallax" \
|
wrapProgram "$out/bin/satallax" \
|
||||||
--suffix PATH : "${coq}/bin:${eprover}/bin:$out/libexec/satallax" \
|
--suffix PATH : "${stdenv.lib.makeBinPath [ coq eprover ]}:$out/libexec/satallax" \
|
||||||
--add-flags "-M" --add-flags "$out/lib/satallax/modes"
|
--add-flags "-M" --add-flags "$out/lib/satallax/modes"
|
||||||
|
|
||||||
cp LICENSE README "$out/share/doc/satallax"
|
cp LICENSE README "$out/share/doc/satallax"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre
|
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre
|
||||||
, SDL_image, glew, mesa, boost, glm
|
, SDL_image, freetype, glew, mesa, boost, glm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa
|
glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa
|
||||||
boost glm
|
boost glm freetype
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
||||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for f in $out/bin/*; do #*/
|
for f in $out/bin/*; do #*/
|
||||||
wrapProgram $f --prefix PATH : "${xdpyinfo}/bin:${wmctrl}/bin/:${byzanz}/bin/:${gnome3.gnome_terminal}/bin/:$out/bin"
|
wrapProgram $f --prefix PATH : "${stdenv.lib.makeBinPath [ xdpyinfo wmctrl byzanz gnome3.gnome_terminal ]}:$out/bin"
|
||||||
done
|
done
|
||||||
|
|
||||||
rm -r screenkey/.bzr
|
rm -r screenkey/.bzr
|
||||||
|
|
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/shotcut
|
mkdir -p $out/share/shotcut
|
||||||
cp -r src/qml $out/share/shotcut/
|
cp -r src/qml $out/share/shotcut/
|
||||||
wrapQtProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${jack1}/lib:${SDL.out}/lib
|
wrapQtProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
33
pkgs/applications/video/vlc/plugin.nix
Normal file
33
pkgs/applications/video/vlc/plugin.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, fetchgit, vlc, autoconf, automake, libtool, pkgconfig, npapi_sdk,
|
||||||
|
libxcb, xlibsWrapper, gtk}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "vlc-plugin-${version}";
|
||||||
|
version = "2.2.2"; # This 2.2.2 builds fine with vlc 2.2.4
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://code.videolan.org/videolan/npapi-vlc.git";
|
||||||
|
rev = "5fa6fbc11cf5bad983f57656c0085e47e18fbf20";
|
||||||
|
sha256 = "18fbiy4r8rlw4fsgcxgzhi6qi9r48d0rmnp8hs994w2p94fa8kwd";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = "sh autogen.sh";
|
||||||
|
|
||||||
|
buildInputs = [ vlc autoconf automake libtool pkgconfig npapi_sdk libxcb
|
||||||
|
xlibsWrapper gtk ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
mozillaPlugin = "/lib/mozilla/plugins";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Webplugins based on libVLC (for firefox, npapi)";
|
||||||
|
homepage = https://code.videolan.org/videolan/npapi-vlc;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
};
|
||||||
|
}
|
|
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||||
install -Dm755 ./bundles/${version}/dynbinary/docker-${version} $out/libexec/docker/docker
|
install -Dm755 ./bundles/${version}/dynbinary/docker-${version} $out/libexec/docker/docker
|
||||||
install -Dm755 ./bundles/${version}/dynbinary/dockerinit-${version} $out/libexec/docker/dockerinit
|
install -Dm755 ./bundles/${version}/dynbinary/dockerinit-${version} $out/libexec/docker/dockerinit
|
||||||
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
||||||
--prefix PATH : "${iproute}/sbin:sbin:${iptables}/sbin:${e2fsprogs}/sbin:${xz.bin}/bin:${utillinux}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ iproute iptables e2fsprogs xz utillinux ]}"
|
||||||
|
|
||||||
# systemd
|
# systemd
|
||||||
install -Dm644 ./contrib/init/systemd/docker.service $out/etc/systemd/system/docker.service
|
install -Dm644 ./contrib/init/systemd/docker.service $out/etc/systemd/system/docker.service
|
||||||
|
|
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
cp docker-gc $out/bin
|
cp docker-gc $out/bin
|
||||||
chmod +x $out/bin/docker-gc
|
chmod +x $out/bin/docker-gc
|
||||||
wrapProgram $out/bin/docker-gc \
|
wrapProgram $out/bin/docker-gc \
|
||||||
--prefix PATH : "${docker}/bin:${coreutils}/bin:${procps}/bin:${gnused}/bin:${findutils}/bin:${gnugrep}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ docker coreutils procps gnused findutils gnugrep ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -36,9 +36,7 @@ in stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i 's,which ,command -v ,' "$out/etc/vmware-tools/scripts/vmware/network"
|
sed -i 's,which ,command -v ,' "$out/etc/vmware-tools/scripts/vmware/network"
|
||||||
wrapProgram "$out/etc/vmware-tools/scripts/vmware/network" \
|
wrapProgram "$out/etc/vmware-tools/scripts/vmware/network" \
|
||||||
--prefix PATH ':' "${iproute}/bin" \
|
--prefix PATH ':' "${lib.makeBinPath [ iproute dbus systemd ]}"
|
||||||
--prefix PATH ':' "${dbus}/bin" \
|
|
||||||
--prefix PATH ':' "${systemd}/bin"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -77,7 +77,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
for i in lib/VBoxOGL*.so
|
for i in lib/VBoxOGL*.so
|
||||||
do
|
do
|
||||||
patchelf --set-rpath $out/lib:${dbus.lib}/lib:${libXcomposite.out}/lib:${libXdamage.out}/lib:${libXext.out}/lib:${libXfixes.out}/lib $i
|
patchelf --set-rpath ${lib.makeLibraryPath [ "$out" dbus libXcomposite libXdamage libXext libXfixes ]} $i
|
||||||
done
|
done
|
||||||
|
|
||||||
# FIXME: Virtualbox 4.3.22 moved VBoxClient-all (required by Guest Additions
|
# FIXME: Virtualbox 4.3.22 moved VBoxClient-all (required by Guest Additions
|
||||||
|
|
|
@ -143,6 +143,9 @@ stdenv.mkDerivation {
|
||||||
touch tools/include/gnu/stubs-32.h
|
touch tools/include/gnu/stubs-32.h
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Fix build on Glibc 2.24.
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||||
|
|
||||||
# TODO: Flask needs more testing before enabling it by default.
|
# TODO: Flask needs more testing before enabling it by default.
|
||||||
#makeFlags = "XSM_ENABLE=y FLASK_ENABLE=y PREFIX=$(out) CONFIG_DIR=/etc XEN_EXTFILES_URL=\\$(XEN_ROOT)/xen_ext_files ";
|
#makeFlags = "XSM_ENABLE=y FLASK_ENABLE=y PREFIX=$(out) CONFIG_DIR=/etc XEN_EXTFILES_URL=\\$(XEN_ROOT)/xen_ext_files ";
|
||||||
makeFlags = "PREFIX=$(out) CONFIG_DIR=/etc XEN_EXTFILES_URL=\\$(XEN_ROOT)/xen_ext_files ";
|
makeFlags = "PREFIX=$(out) CONFIG_DIR=/etc XEN_EXTFILES_URL=\\$(XEN_ROOT)/xen_ext_files ";
|
||||||
|
|
|
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
||||||
--prefix LUA_PATH ";" '"${lgi}/share/lua/${lua.luaversion}/?.lua;${lgi}/share/lua/${lua.luaversion}/lgi/?.lua"' \
|
--prefix LUA_PATH ";" '"${lgi}/share/lua/${lua.luaversion}/?.lua;${lgi}/share/lua/${lua.luaversion}/lgi/?.lua"' \
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||||
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
|
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
|
||||||
--prefix PATH : "${compton}/bin:${unclutter}/bin:${procps}/bin:${iproute}/sbin:${coreutils}/bin:${curl.bin}/bin:${alsaUtils}/bin:${findutils}/bin:${xterm}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ compton unclutter procps iproute coreutils curl alsaUtils findutils xterm ]}"
|
||||||
|
|
||||||
wrapProgram $out/bin/awesome-client \
|
wrapProgram $out/bin/awesome-client \
|
||||||
--prefix PATH : "${which}/bin"
|
--prefix PATH : "${which}/bin"
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
libXrandr, libXrender, xwininfo }:
|
libXrandr, libXrender, xwininfo }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "compton-git-2015-09-21";
|
name = "compton-git-2016-08-10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chjj";
|
owner = "chjj";
|
||||||
repo = "compton";
|
repo = "compton";
|
||||||
rev = "2343e4bbd298b35ea5c190c52abd2b0cb9f79a18";
|
rev = "f1cd308cde0f1e1f21ec2ac8f16a3c873fa22d3a";
|
||||||
sha256 = "1pb0ic47sfd796crwk47cya2ahbxsm6ygi6sh4fwd734kwz37h4z";
|
sha256 = "1ky438d1rsg4ylkcp60m82r0jck8rks3gfa869rc63k37p2nfn8p";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
||||||
cp $out/share/stumpwm/modules/util/stumpish/stumpish $out/bin/
|
cp $out/share/stumpwm/modules/util/stumpish/stumpish $out/bin/
|
||||||
chmod +x $out/bin/stumpish
|
chmod +x $out/bin/stumpish
|
||||||
wrapProgram $out/bin/stumpish \
|
wrapProgram $out/bin/stumpish \
|
||||||
--prefix PATH ":" "${rlwrap}/bin:${gnused}/bin:${gnugrep}/bin:${coreutils}/bin:${xprop}/bin"
|
--prefix PATH ":" "${stdenv.lib.makeBinPath [ rlwrap gnused gnugrep coreutils xprop ]}"
|
||||||
|
|
||||||
# Paths in the compressed image $out/bin/stumpwm are not
|
# Paths in the compressed image $out/bin/stumpwm are not
|
||||||
# recognized by Nix. Add explicit reference here.
|
# recognized by Nix. Add explicit reference here.
|
||||||
|
|
|
@ -587,7 +587,7 @@ rec {
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
${createRootFS}
|
${createRootFS}
|
||||||
|
|
||||||
PATH=$PATH:${dpkg}/bin:${dpkg}/bin:${glibc.bin}/bin:${lzma.bin}/bin
|
PATH=$PATH:${stdenv.lib.makeBinPath [ dpkg dpkg glibc lzma ]}
|
||||||
|
|
||||||
# Unpack the .debs. We do this to prevent pre-install scripts
|
# Unpack the .debs. We do this to prevent pre-install scripts
|
||||||
# (which have lots of circular dependencies) from barfing.
|
# (which have lots of circular dependencies) from barfing.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
major = "0.0";
|
major = "0.0";
|
||||||
minor = "24";
|
minor = "25";
|
||||||
name = "cantarell-fonts-${major}.${minor}";
|
name = "cantarell-fonts-${major}.${minor}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/cantarell-fonts/${major}/${name}.tar.xz";
|
url = "mirror://gnome/sources/cantarell-fonts/${major}/${name}.tar.xz";
|
||||||
sha256 = "0r4jnc2x9yncf40lixjb1pqgpq8rzbi2fz33pshlqzjgx2d69bcw";
|
sha256 = "0zvkd8cm1cg2919v1js9qmzwa02sjl7qajj3gcvgqvai1fm2i8hl";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
patches = [ ./efl-elua.patch ];
|
patches = [ ./efl-elua.patch ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export PKG_CONFIG_PATH="${gst_all_1.gst-plugins-base}/lib/pkgconfig/gstreamer-video-0.10.pc:$PKG_CONFIG_PATH"
|
export PKG_CONFIG_PATH="${gst_all_1.gst-plugins-base.dev}/lib/pkgconfig/gstreamer-video-0.10.pc:$PKG_CONFIG_PATH"
|
||||||
export LD_LIBRARY_PATH="$(pwd)/src/lib/eina/.libs:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$(pwd)/src/lib/eina/.libs:$LD_LIBRARY_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
|
||||||
configureFlags = [ "--disable-spamassassin" "--disable-pst-import" "--disable-autoar"
|
configureFlags = [ "--disable-spamassassin" "--disable-pst-import" "--disable-autoar"
|
||||||
"--disable-libcryptui" ];
|
"--disable-libcryptui" ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss -I${glib}/include/gio-unix-2.0";
|
NIX_CFLAGS_COMPILE = "-I${nspr.dev}/include/nspr -I${nss}/include/nss -I${glib.dev}/include/gio-unix-2.0";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${gnome3.libpeas}/lib:${gnome3.gtksourceview}/lib")
|
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ gnome3.libpeas gnome3.gtksourceview ]}")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
wrapProgram "$prog" \
|
wrapProgram "$prog" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
|
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
|
||||||
--prefix PATH : "${mtools}/bin:${cdrkit}/bin:${libcdio}/bin:${qemu}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ mtools cdrkit libcdio qemu ]}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -35,9 +35,9 @@ stdenv.mkDerivation rec {
|
||||||
gnome3.defaultIconTheme gnome3.gsettings_desktop_schemas
|
gnome3.defaultIconTheme gnome3.gsettings_desktop_schemas
|
||||||
file libtool librsvg ];
|
file libtool librsvg ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-I${dbus_glib}/include/dbus-1.0"
|
NIX_CFLAGS_COMPILE = [ "-I${dbus_glib.dev}/include/dbus-1.0"
|
||||||
"-I${dbus_libs}/include/dbus-1.0"
|
"-I${dbus_libs.dev}/include/dbus-1.0"
|
||||||
"-I${dbus_libs}/lib/dbus-1.0/include" ];
|
"-I${dbus_libs.dev}/lib/dbus-1.0/include" ];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
for f in $out/bin/* $out/libexec/*; do
|
for f in $out/bin/* $out/libexec/*; do
|
||||||
|
|
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
gdk_pixbuf gnome3.defaultIconTheme librsvg which gnome_common
|
gdk_pixbuf gnome3.defaultIconTheme librsvg which gnome_common
|
||||||
gcr avahi gnome3.gsettings_desktop_schemas gnome3.dconf ];
|
gcr avahi gnome3.gsettings_desktop_schemas gnome3.dconf ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss -I${glib}/include/gio-unix-2.0";
|
NIX_CFLAGS_COMPILE = "-I${nspr.dev}/include/nspr -I${nss}/include/nss -I${glib.dev}/include/gio-unix-2.0";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = "--disable-fatal-warnings";
|
configureFlags = "--disable-fatal-warnings";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = ["-I${nspr}/include/nspr" "-I${nss}/include/nss"
|
NIX_CFLAGS_COMPILE = ["-I${nspr.dev}/include/nspr" "-I${nss}/include/nss"
|
||||||
"-I${dbus_glib}/include/dbus-1.0" "-I${dbus_libs}/include/dbus-1.0"];
|
"-I${dbus_glib.dev}/include/dbus-1.0" "-I${dbus_libs.dev}/include/dbus-1.0"];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,26 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
||||||
|
|
||||||
|
# Fix for https://github.com/NixOS/nixpkgs/issues/17912
|
||||||
|
# See also https://bugzilla.gnome.org/show_bug.cgi?id=673101
|
||||||
|
# Should be removed when next release comes out
|
||||||
|
srcHistoryEntry = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/GNOME/gnome-calculator/9bb6936ba74602ec891c1ffecdf1665dba1a1be4/data/history-entry.ui";
|
||||||
|
sha256 = "0a6d6anwrg5l3kc7i8jyky4idnzi9bhjv9awi6615505pjhcxnaj";
|
||||||
|
};
|
||||||
|
|
||||||
|
srcHistoryView = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/GNOME/gnome-calculator/b87b4f5cd0cff0b9cf9e9cd2a056c56be653cab1/data/history-view.ui";
|
||||||
|
sha256 = "0zyq1mcxsh707jhh3vfqplk5s83lb26gvjz62l5l6rq5yrd43fyw";
|
||||||
|
};
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
[ -f data/history-entry.ui ] && echo Remove the fix && exit 1
|
||||||
|
[ -f data/history-view.ui ] && echo Remove the fix && exit 1
|
||||||
|
cp -v ${srcHistoryEntry} data/history-entry.ui
|
||||||
|
cp -v ${srcHistoryView} data/history-view.ui
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/gnome-dictionary" \
|
wrapProgram "$out/bin/gnome-dictionary" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||||
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/gnome-keyring" \
|
wrapProgram "$out/bin/gnome-keyring" \
|
||||||
--prefix XDG_DATA_DIRS : "${glib}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "${glib.out}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
||||||
wrapProgram "$out/bin/gnome-keyring-daemon" \
|
wrapProgram "$out/bin/gnome-keyring-daemon" \
|
||||||
--prefix XDG_DATA_DIRS : "${glib}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "${glib.out}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit (import ./src.nix fetchurl) name src;
|
inherit (import ./src.nix fetchurl) name src;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${dbus_glib}/include/dbus-1.0 -I${dbus_libs}/include/dbus-1.0";
|
NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/gnome-screenshot" \
|
wrapProgram "$out/bin/gnome-screenshot" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||||
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
|
||||||
gnome3.gnome_settings_daemon xorg.xtrans gnome3.defaultIconTheme
|
gnome3.gnome_settings_daemon xorg.xtrans gnome3.defaultIconTheme
|
||||||
gsettings_desktop_schemas upower intltool gconf makeWrapper systemd ];
|
gsettings_desktop_schemas upower intltool gconf makeWrapper systemd ];
|
||||||
|
|
||||||
|
# FIXME: glib binaries shouldn't be in .dev!
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/gnome-session" \
|
wrapProgram "$out/bin/gnome-session" \
|
||||||
--prefix PATH : "${glib}/bin" \
|
--prefix PATH : "${glib.dev}/bin" \
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||||
--suffix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH"
|
--suffix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -16,10 +16,11 @@ stdenv.mkDerivation rec {
|
||||||
polkit geocode_glib geoclue2 librsvg xf86_input_wacom udev libgudev libwacom libxslt
|
polkit geocode_glib geoclue2 librsvg xf86_input_wacom udev libgudev libwacom libxslt
|
||||||
libtool docbook_xsl docbook_xsl_ns makeWrapper gnome_themes_standard ];
|
libtool docbook_xsl docbook_xsl_ns makeWrapper gnome_themes_standard ];
|
||||||
|
|
||||||
|
# FIXME: glib binaries shouldn't be in .dev!
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/libexec/gnome-settings-daemon-localeexec" \
|
wrapProgram "$out/libexec/gnome-settings-daemon-localeexec" \
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||||
--prefix PATH : "${glib}/bin" \
|
--prefix PATH : "${glib.dev}/bin" \
|
||||||
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/gnome-system-log" \
|
wrapProgram "$out/bin/gnome-system-log" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||||
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
|
||||||
sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' -i data/dav_user_2.2.conf
|
sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' -i data/dav_user_2.2.conf
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--with-httpd=${apacheHttpd_2_2}/bin/httpd"
|
configureFlags = [ "--with-httpd=${apacheHttpd_2_2.out}/bin/httpd"
|
||||||
"--with-modules-path=${apacheHttpd_2_2}/modules"
|
"--with-modules-path=${apacheHttpd_2_2.dev}/modules"
|
||||||
"--disable-bluetooth"
|
"--disable-bluetooth"
|
||||||
"--with-nautilusdir=$(out)/lib/nautilus/extensions-3.0" ];
|
"--with-nautilusdir=$(out)/lib/nautilus/extensions-3.0" ];
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0 -I${poppler}/include/poppler";
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0 -I${poppler.dev}/include/poppler";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue