Enforce Clang stdenv for swiftformat

This commit is contained in:
Spotlight 2023-09-24 15:48:35 -05:00
parent 150221e4be
commit 231d591c6c
Signed by: spotlight
GPG key ID: 874AA355B3209BDC
2 changed files with 9 additions and 7 deletions

12
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1695224363, "lastModified": 1695550077,
"narHash": "sha256-+hfjJLUMck5G92RVFDZA7LWkR3kOxs5zQ7RPW9t3eM8=", "narHash": "sha256-xoxR/iY69/3lTnnZDP6gf3J46DUKPcf+Y1jH03tfZXE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "408ba13188ff9ce309fa2bdd2f81287d79773b00", "rev": "a88df2fb101778bfd98a17556b3a2618c6c66091",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1695145219, "lastModified": 1695360818,
"narHash": "sha256-Eoe9IHbvmo5wEDeJXKFOpKUwxYJIOxKUesounVccNYk=", "narHash": "sha256-JlkN3R/SSoMTa+CasbxS1gq+GpGxXQlNZRUh9+LIy/0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5ba549eafcf3e33405e5f66decd1a72356632b96", "rev": "e35dcc04a3853da485a396bdd332217d0ac9054f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,5 +1,7 @@
self: super: self: super:
{ {
monaco-powerline = super.callPackage ./monaco-powerline/default.nix { }; monaco-powerline = super.callPackage ./monaco-powerline/default.nix { };
swiftformat = super.callPackage ./swiftformat.nix { }; # Building with Swift requires using the Clang stdenv.
# For more information: https://github.com/NixOS/nixpkgs/issues/242779#issuecomment-1732558769
swiftformat = super.callPackage ./swiftformat.nix { stdenv = self.pkgs.clangStdenv; };
} }