cpupower: push 'dir' suffix into generation func
bit silly for the odd-man-out "bash_completion_dir" but IMO easier to read.
This commit is contained in:
parent
f4a765d4b3
commit
24777fd502
@ -17,16 +17,16 @@ stdenv.mkDerivation {
|
|||||||
makeFlags = [ "CROSS=${stdenv.cc.targetPrefix}" ];
|
makeFlags = [ "CROSS=${stdenv.cc.targetPrefix}" ];
|
||||||
|
|
||||||
installFlags = stdenv.lib.mapAttrsToList
|
installFlags = stdenv.lib.mapAttrsToList
|
||||||
(n: v: "${n}=${placeholder "out"}/${v}") {
|
(n: v: "${n}dir=${placeholder "out"}/${v}") {
|
||||||
bindir = "bin";
|
bin = "bin";
|
||||||
sbindir = "sbin";
|
sbin = "sbin";
|
||||||
mandir = "share/man";
|
man = "share/man";
|
||||||
includedir = "include";
|
include = "include";
|
||||||
libdir = "lib";
|
lib = "lib";
|
||||||
localedir = "share/locale";
|
locale = "share/locale";
|
||||||
docdir = "share/doc/cpupower";
|
doc = "share/doc/cpupower";
|
||||||
confdir = "etc";
|
conf = "etc";
|
||||||
bash_completion_dir = "share/bash-completion/completions";
|
bash_completion_ = "share/bash-completion/completions";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user