mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
packaging-nix: Fix code-style and capitalization
Co-authored-by: Steffen Vogel <steffen.vogel@opal-rt.com> Signed-off-by: Philipp Jungkamp <56401138+PJungkamp@users.noreply.github.com>
This commit is contained in:
parent
391bff5993
commit
53848f5345
2 changed files with 8 additions and 8 deletions
|
@ -47,7 +47,7 @@
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
|
|
||||||
# add separateDebugInfo to a derivation
|
# Add separateDebugInfo to a derivation
|
||||||
addSeparateDebugInfo = d:
|
addSeparateDebugInfo = d:
|
||||||
d.overrideAttrs {
|
d.overrideAttrs {
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
overlays = with self.overlays; [default];
|
overlays = with self.overlays; [default];
|
||||||
};
|
};
|
||||||
|
|
||||||
# initialize nixpkgs for cross-compiling from `system` to `crossSystem`
|
# Initialize nixpkgs for cross-compiling from `system` to `crossSystem`
|
||||||
crossPkgsFor = system: crossSystem:
|
crossPkgsFor = system: crossSystem:
|
||||||
(import nixpkgs {
|
(import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
@ -84,14 +84,14 @@
|
||||||
.pkgsCross
|
.pkgsCross
|
||||||
.${crossSystem};
|
.${crossSystem};
|
||||||
|
|
||||||
# initialize development nixpkgs for the specified `system`
|
# Initialize development nixpkgs for the specified `system`
|
||||||
devPkgsFor = system:
|
devPkgsFor = system:
|
||||||
import nixpkgs {
|
import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = with self.overlays; [default debug];
|
overlays = with self.overlays; [default debug];
|
||||||
};
|
};
|
||||||
|
|
||||||
# build villas and its dependencies for the specified `pkgs`
|
# Build villas and its dependencies for the specified `pkgs`
|
||||||
packagesWith = pkgs: rec {
|
packagesWith = pkgs: rec {
|
||||||
default = villas;
|
default = villas;
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,14 @@
|
||||||
withAllFormats ? false,
|
withAllFormats ? false,
|
||||||
withAllHooks ? false,
|
withAllHooks ? false,
|
||||||
withAllNodes ? false,
|
withAllNodes ? false,
|
||||||
# extras
|
# Extra features
|
||||||
withExtraConfig ? withAllExtras,
|
withExtraConfig ? withAllExtras,
|
||||||
withExtraGraphviz ? withAllExtras,
|
withExtraGraphviz ? withAllExtras,
|
||||||
# formats
|
# Format-types
|
||||||
withFormatProtobuf ? withAllFormats,
|
withFormatProtobuf ? withAllFormats,
|
||||||
# hooks
|
# Hook-types
|
||||||
withHookLua ? withAllHooks,
|
withHookLua ? withAllHooks,
|
||||||
# nodes
|
# Node-types
|
||||||
withNodeAmqp ? withAllNodes,
|
withNodeAmqp ? withAllNodes,
|
||||||
withNodeComedi ? withAllNodes,
|
withNodeComedi ? withAllNodes,
|
||||||
withNodeFpga ? withAllNodes,
|
withNodeFpga ? withAllNodes,
|
||||||
|
|
Loading…
Add table
Reference in a new issue