mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
commit
88e7c77bb2
@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
|
||||
bin_path = "$out/bin";
|
||||
install_freedesktop_items = substituteAll {
|
||||
inherit (stdenv) shell;
|
||||
isExecutable = true;
|
||||
src = ./install_freedesktop_items.sh;
|
||||
};
|
||||
runtime_paths = lib.makeBinPath [
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! @shell@
|
||||
#!@shell@
|
||||
|
||||
set -eu
|
||||
|
||||
|
@ -123,6 +123,7 @@ stdenv.mkDerivation rec {
|
||||
let
|
||||
gcc-clang-wrapper = substituteAll {
|
||||
inherit (stdenv) shell;
|
||||
isExecutable = true;
|
||||
src = ./gcc-clang-wrapper.sh;
|
||||
};
|
||||
in
|
||||
|
@ -40,7 +40,11 @@ stdenv.mkDerivation {
|
||||
|
||||
installPhase =
|
||||
if stdenv.isDarwin then
|
||||
(substituteAll { inherit (stdenv) shell; src = ./darwin.sh; })
|
||||
(substituteAll {
|
||||
inherit (stdenv) shell;
|
||||
isExecutable = true;
|
||||
src = ./darwin.sh;
|
||||
})
|
||||
else jamenv + ''
|
||||
jam -j$NIX_BUILD_CORES install
|
||||
mkdir -p "$out/bin"
|
||||
|
@ -27,9 +27,10 @@
|
||||
let
|
||||
rfkillHook =
|
||||
substituteAll {
|
||||
inherit (stdenv) shell;
|
||||
src = ./rfkill-hook.sh;
|
||||
};
|
||||
inherit (stdenv) shell;
|
||||
isExecutable = true;
|
||||
src = ./rfkill-hook.sh;
|
||||
};
|
||||
in stdenv.mkDerivation {
|
||||
name = "rfkill-udev";
|
||||
|
||||
@ -44,7 +45,6 @@ in stdenv.mkDerivation {
|
||||
|
||||
mkdir -p "$out/bin/";
|
||||
cp ${rfkillHook} "$out/bin/rfkill-hook.sh"
|
||||
chmod +x "$out/bin/rfkill-hook.sh";
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -7,6 +7,7 @@ in
|
||||
runCommand "${name}" {
|
||||
script = substituteAll {
|
||||
src = ./service-wrapper.sh;
|
||||
isExecutable = true;
|
||||
inherit (stdenv) shell;
|
||||
inherit coreutils;
|
||||
};
|
||||
|
@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
script = substituteAll {
|
||||
src = ./rpmextract.sh;
|
||||
isExecutable = true;
|
||||
inherit rpm cpio;
|
||||
inherit (stdenv) shell;
|
||||
};
|
||||
|
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
|
||||
let
|
||||
eid-nssdb-in = substituteAll {
|
||||
inherit (stdenv) shell;
|
||||
isExecutable = true;
|
||||
src = ./eid-nssdb.in;
|
||||
};
|
||||
in
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!@shell@
|
||||
|
||||
rootdb="/etc/pki/nssdb"
|
||||
userdb="$HOME/.pki/nssdb"
|
||||
|
Loading…
Reference in New Issue
Block a user