swiftformat: Leverage Swift stdenv

Previously, a generic clang stdenv was required. We erroneously continued to use such instead of switching to the new Swift-specific one.
This commit is contained in:
Spotlight 2025-01-22 17:58:06 -06:00
parent 4e2487b1ab
commit b5921d52ea
Signed by: spotlight
GPG key ID: 874AA355B3209BDC
2 changed files with 10 additions and 10 deletions

18
flake.lock generated
View file

@ -92,11 +92,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737480538, "lastModified": 1737575492,
"narHash": "sha256-rk/cmrvq3In0TegW9qaAxw+5YpJhRWt2p74/6JStrw0=", "narHash": "sha256-qa/D3NC1JoApnUuLrq1gseBmIxeg6icm/ojPgggMDVQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4481a16d1ac5bff4a77c608cefe08c9b9efe840d", "rev": "cefb1889b96ddd1dac3dd4734e894f4cadab7802",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -127,11 +127,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737423230, "lastModified": 1737504076,
"narHash": "sha256-WEOiNmkcmlaeXy2HGW1PYxYmCPiHdsI7a7SpjhBYxRg=", "narHash": "sha256-/B4XJnzYU/6K1ZZOBIgsa3K4pqDJrnC2579c44c+4rI=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "46d0fa4ded0a7532f19870f9bbedaf62269fe3f7", "rev": "65cc1fa8e36ceff067daf6cfb142331f02f524d3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -142,11 +142,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1737062831, "lastModified": 1737469691,
"narHash": "sha256-Tbk1MZbtV2s5aG+iM99U8FqwxU/YNArMcWAv6clcsBc=", "narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5df43628fdf08d642be8ba5b3625a6c70731c19c", "rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,6 +1,6 @@
{ clangStdenv, lib, fetchFromGitHub, swift, swiftpm, swiftPackages }: { clangStdenv, lib, fetchFromGitHub, swift, swiftpm, swiftPackages }:
clangStdenv.mkDerivation rec { swiftPackages.stdenv.mkDerivation rec {
pname = "swiftformat"; pname = "swiftformat";
version = "0.55.5"; version = "0.55.5";