Compare commits

...

2 commits

Author SHA1 Message Date
1f608e854c
Upgrade nixpkgs 2023-09-26 09:02:01 -05:00
57d1daa766
Include Dispatch in swiftformat build inputs 2023-09-26 09:01:19 -05:00
2 changed files with 4 additions and 7 deletions

6
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1695550077, "lastModified": 1695708052,
"narHash": "sha256-xoxR/iY69/3lTnnZDP6gf3J46DUKPcf+Y1jH03tfZXE=", "narHash": "sha256-QiWOrZcCmY+zH2NVM6/opZaMRMgam9u+qVYycKLqL10=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a88df2fb101778bfd98a17556b3a2618c6c66091", "rev": "dd88dbc69438384bd94f8282584a86798750028c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -12,10 +12,7 @@ clangStdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ swift swiftpm ]; nativeBuildInputs = [ swift swiftpm ];
buildInputs = [ swiftPackages.Foundation ]; buildInputs = [ swiftPackages.Dispatch swiftPackages.Foundation ];
# We only install the swiftformat binary, so don't need the other products.
swiftpmFlags = [ "--product swiftformat" ];
installPhase = '' installPhase = ''
binPath="$(swiftpmBinPath)" binPath="$(swiftpmBinPath)"