File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 6262 darwinConfigurations . trfmbp = nix-darwin . lib . darwinSystem {
6363 specialArgs = { inherit agenix user ; } ;
6464 modules = [
65- { nixpkgs . hostPlatform = "aarch64-darwin" ; }
65+ {
66+ nixpkgs . hostPlatform = "aarch64-darwin" ;
67+ nixpkgs . overlays = [ ( import ./overlays/vesktop-darwin.nix ) ] ;
68+ }
6669 ./hosts/trfmbp
6770 home-manager . darwinModules . home-manager
6871 ( mkHM [
Original file line number Diff line number Diff line change 1+ # Fix vesktop build on macOS — codesign not available in Nix sandbox.
2+ # Upstream: https://github.com/NixOS/nixpkgs/pull/489725
3+ # Remove once that PR lands in nixpkgs-unstable.
4+ final : prev :
5+ prev . lib . optionalAttrs prev . stdenv . hostPlatform . isDarwin {
6+ vesktop = prev . vesktop . overrideAttrs ( old : {
7+ postConfigure = "" ;
8+ buildPhase =
9+ builtins . replaceStrings [ "-c.electronVersion=" ] [ "-c.mac.identity=null -c.electronVersion=" ]
10+ old . buildPhase ;
11+ } ) ;
12+ }
You can’t perform that action at this time.
0 commit comments