Skip to content

Commit b16a62c

Browse files
pinpoxjopejoe1
andauthored
kicadAddons.kikit, kicadAddons.kikit-library: add pname (NixOS#359681)
* kicadAddons.kikit, kicadAddons.kikit-library: add pname Co-authored-by: jopejoe1 <[email protected]>
1 parent db09530 commit b16a62c

File tree

1 file changed

+14
-9
lines changed
  • pkgs/applications/science/electronics/kicad/addons

1 file changed

+14
-9
lines changed

pkgs/applications/science/electronics/kicad/addons/kikit.nix

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# For building the multiple addons that are in the kikit repo.
2-
{ stdenv
3-
, bc
4-
, kikit
5-
, zip
6-
, python3
7-
, addonName
8-
, addonPath
2+
{
3+
stdenv,
4+
bc,
5+
kikit,
6+
zip,
7+
python3,
8+
addonName,
9+
addonPath,
910
}:
1011
let
1112
# This python is only used when building the package, it's not the python
@@ -30,10 +31,14 @@ let
3031
targetSpec = targetSpecs.${addonName};
3132
in
3233
stdenv.mkDerivation {
33-
name = "kicadaddon-${addonName}";
34+
pname = "kicadaddon-${addonName}";
3435
inherit (kikit-module) src version;
3536

36-
nativeBuildInputs = [ python bc zip ];
37+
nativeBuildInputs = [
38+
python
39+
bc
40+
zip
41+
];
3742
propagatedBuildInputs = [ kikit-module ];
3843

3944
buildPhase = ''

0 commit comments

Comments
 (0)