mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #58222 from bobvanderlinden/var-run-pkgs
tree-wide: pkgs: /var/run -> /run
This commit is contained in:
commit
2b52da5f99
@ -69,7 +69,7 @@ in stdenv.mkDerivation rec {
|
||||
configureFlags = [
|
||||
"--without-webkit" # old version is required
|
||||
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
|
||||
"--with-icc-directory=/var/run/current-system/sw/share/color/icc"
|
||||
"--with-icc-directory=/run/current-system/sw/share/color/icc"
|
||||
];
|
||||
|
||||
# on Darwin,
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
substituteInPlace src/main.c --replace \
|
||||
"/sbin:/bin:/usr/sbin:/usr/bin" \
|
||||
"${utillinux}/bin:${mdadm}/sbin:/var/run/current-system/sw/bin:/var/run/current-system/sw/bin"
|
||||
"${utillinux}/bin:${mdadm}/sbin:/run/current-system/sw/bin:/run/current-system/sw/bin"
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
|
@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
|
||||
"--enable-last"
|
||||
"--enable-mesg"
|
||||
"--disable-use-tty-group"
|
||||
"--enable-fs-paths-default=/run/wrappers/bin:/var/run/current-system/sw/bin:/sbin"
|
||||
"--enable-fs-paths-default=/run/wrappers/bin:/run/current-system/sw/bin:/sbin"
|
||||
"--disable-makeinstall-setuid" "--disable-makeinstall-chown"
|
||||
(lib.withFeature (ncurses != null) "ncursesw")
|
||||
(lib.withFeature (systemd != null) "systemd")
|
||||
|
@ -5,7 +5,7 @@ diff -rupN asterisk-14.1.2/build_tools/make_defaults_h asterisk-14.1.2-patched/b
|
||||
#!/bin/sh
|
||||
+
|
||||
+ASTLOGDIR=/var/log/asterisk
|
||||
+ASTVARRUNDIR=/var/run/asterisk
|
||||
+ASTVARRUNDIR=/run/asterisk
|
||||
+ASTVARLIBDIR=/var/lib/asterisk
|
||||
+ASTDBDIR=${ASTVARLIBDIR}
|
||||
+ASTDATADIR=${ASTVARLIBDIR}
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ libtool ];
|
||||
# configureFlags = [ "--datadir=/var/run/current-system/share/dictd" ];
|
||||
# configureFlags = [ "--datadir=/run/current-system/share/dictd" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Dict protocol server and client";
|
||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDEBIAN_BUILD=ON"
|
||||
"-DRUNDIR=/var/run/rspamd"
|
||||
"-DRUNDIR=/run/rspamd"
|
||||
"-DDBDIR=/var/lib/rspamd"
|
||||
"-DLOGDIR=/var/log/rspamd"
|
||||
"-DLOCAL_CONFDIR=/etc/rspamd"
|
||||
|
@ -42,8 +42,8 @@ stdenv.mkDerivation rec {
|
||||
"--with-working-dir=/var/lib/bareos"
|
||||
"--with-bsrdir=/var/lib/bareos"
|
||||
"--with-logdir=/var/log/bareos"
|
||||
"--with-pid-dir=/var/run/bareos"
|
||||
"--with-subsys-dir=/var/run/bareos"
|
||||
"--with-pid-dir=/run/bareos"
|
||||
"--with-subsys-dir=/run/bareos"
|
||||
"--enable-ndmp"
|
||||
"--enable-lmdb"
|
||||
"--enable-batch-insert"
|
||||
|
@ -41,8 +41,8 @@
|
||||
# point to the library directory:
|
||||
#
|
||||
|
||||
dir /var/run/current-system/sw/share/timidity/instruments
|
||||
dir /var/run/current-system/sw/share/timidity/patch
|
||||
dir /run/current-system/sw/share/timidity/instruments
|
||||
dir /run/current-system/sw/share/timidity/patch
|
||||
|
||||
##############################################################################
|
||||
# This sets up the default patches in the TiMidity support package
|
||||
|
@ -79,7 +79,7 @@ in stdenv.mkDerivation rec {
|
||||
installFlags = [
|
||||
"sysconfdir=${placeholder "out"}/etc"
|
||||
"localstatedir=${placeholder "out"}/var"
|
||||
"runstatedir=${placeholder "out"}/var/run"
|
||||
"runstatedir=${placeholder "out"}/run"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -4,7 +4,7 @@ version = 1
|
||||
require identity *Identity anonymous_identity *Anonymous_identity password *Password ca_cert *Path_to_CA_Cert
|
||||
protected password *Password
|
||||
-----
|
||||
ctrl_interface=/var/run/wpa_supplicant
|
||||
ctrl_interface=/run/wpa_supplicant
|
||||
network={
|
||||
ssid="$_ESSID"
|
||||
scan_ssid=$_SCAN
|
||||
|
Loading…
Reference in New Issue
Block a user