mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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}" ];
|
||||
|
||||
installFlags = stdenv.lib.mapAttrsToList
|
||||
(n: v: "${n}=${placeholder "out"}/${v}") {
|
||||
bindir = "bin";
|
||||
sbindir = "sbin";
|
||||
mandir = "share/man";
|
||||
includedir = "include";
|
||||
libdir = "lib";
|
||||
localedir = "share/locale";
|
||||
docdir = "share/doc/cpupower";
|
||||
confdir = "etc";
|
||||
bash_completion_dir = "share/bash-completion/completions";
|
||||
(n: v: "${n}dir=${placeholder "out"}/${v}") {
|
||||
bin = "bin";
|
||||
sbin = "sbin";
|
||||
man = "share/man";
|
||||
include = "include";
|
||||
lib = "lib";
|
||||
locale = "share/locale";
|
||||
doc = "share/doc/cpupower";
|
||||
conf = "etc";
|
||||
bash_completion_ = "share/bash-completion/completions";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user