Skip to content

Commit

Permalink
step-ca: move to pkgs/by-name
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick committed Oct 25, 2024
1 parent 15bd652 commit d47ff72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
buildGoModule,
coreutils,
pcsclite,
PCSC,
pkg-config,
hsmSupport ? true,
nixosTests,
darwin,
}:

buildGoModule rec {
Expand All @@ -33,8 +33,7 @@ buildGoModule rec {

buildInputs =
lib.optionals (hsmSupport && stdenv.hostPlatform.isLinux) [ pcsclite ]
++ lib.optionals (hsmSupport && stdenv.hostPlatform.isDarwin) [ PCSC ];

++ lib.optionals (hsmSupport && stdenv.hostPlatform.isDarwin) [ darwin.apple_sdk.frameworks.PCSC ];
postPatch = ''
substituteInPlace authority/http_client_test.go --replace-fail 't.Run("SystemCertPool", func(t *testing.T) {' 't.Skip("SystemCertPool", func(t *testing.T) {'
substituteInPlace systemd/step-ca.service --replace "/bin/kill" "${coreutils}/bin/kill"
Expand Down
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5881,10 +5881,6 @@ with pkgs;
callPackage ../tools/misc/steampipe-packages { }
);

step-ca = callPackage ../tools/security/step-ca {
inherit (darwin.apple_sdk.frameworks) PCSC;
};

step-kms-plugin = callPackage ../tools/security/step-kms-plugin { };

string-machine = callPackage ../applications/audio/string-machine { };
Expand Down

0 comments on commit d47ff72

Please sign in to comment.