···33, callPackage
44, swift
55, swiftpm
66+, swiftpm2nix
67, Foundation
78, XCTest
89, sqlite
···1213}:
1314let
1415 sources = callPackage ../sources.nix { };
1515- generated = callPackage ./generated { }; # Generated by swiftpm2nix.
1616+ generated = swiftpm2nix.helpers ./generated;
16171718 # On Darwin, we only want ncurses in the linker search path, because headers
1819 # are part of libsystem. Adding its headers to the search path causes strange
···44, fetchpatch
55, swift
66, swiftpm
77+, swiftpm2nix
78, Foundation
89, XCTest
910, sqlite
···1213}:
1314let
1415 sources = callPackage ../sources.nix { };
1515- generated = callPackage ./generated { }; # Generated by swiftpm2nix.
1616+ generated = swiftpm2nix.helpers ./generated;
16171718 # On Darwin, we only want ncurses in the linker search path, because headers
1819 # are part of libsystem. Adding its headers to the search path causes strange
···11{ lib
22-, callPackage
32, stdenv
33+, callPackage
44, cmake
55, ninja
66, git
77, swift
88+, swiftpm2nix
89, Foundation
910, XCTest
1011, sqlite
···2526 sharedLibraryExt = stdenv.hostPlatform.extensions.sharedLibrary;
26272728 sources = callPackage ../sources.nix { };
2929+ generated = swiftpm2nix.helpers ./generated;
28302931 # Common attributes for the bootstrap swiftpm and the final swiftpm.
3032 commonAttrs = {
···121123 "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
122124 ];
123125 });
124124-125125- # Generated by swiftpm2nix.
126126- generated = callPackage ./generated { };
127126128127 # On Darwin, we only want ncurses in the linker search path, because headers
129128 # are part of libsystem. Adding its headers to the search path causes strange