1
0
Fork 0
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:
Philipp Jungkamp 2023-08-23 09:01:02 +02:00 committed by Steffen Vogel
parent 391bff5993
commit 53848f5345
2 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -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,