mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
xcodegen: remove obsolete Swift constructs
The new Swift packaging no longer requires using a custom stdenv.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
swiftPackages,
|
||||
swift,
|
||||
swiftpm,
|
||||
swiftpm2nix,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -14,7 +14,7 @@ let
|
||||
generated = swiftpm2nix.helpers ./nix;
|
||||
in
|
||||
|
||||
swiftPackages.stdenv.mkDerivation (finalAttrs: {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xcodegen";
|
||||
version = "2.44.1";
|
||||
|
||||
@@ -33,10 +33,6 @@ swiftPackages.stdenv.mkDerivation (finalAttrs: {
|
||||
swiftpm
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
swiftPackages.XCTest
|
||||
];
|
||||
|
||||
# The helper provides a configure snippet that will prepare all dependencies
|
||||
# in the correct place, where SwiftPM expects them.
|
||||
configurePhase = generated.configure + ''
|
||||
|
||||
Reference in New Issue
Block a user