Skip to content

Commit

Permalink
nix: Update flake
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <[email protected]>
  • Loading branch information
stv0g committed May 2, 2024
1 parent 7575b85 commit fd6da6f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@
frameworks.PCSC
];

shellHook = ''
export CGO_LDFLAGS="-F${frameworks.PCSC}/Library/Frameworks";
'';
shellHook =
if pkgs.stdenv.isDarwin
then ''
export CGO_LDFLAGS="-F${frameworks.PCSC}/Library/Frameworks";
''
else "";
};

formatter = nixpkgs.alejandra;
formatter = nixpkgs.nixnixfmt-rfc-style;
}
);
}

0 comments on commit fd6da6f

Please sign in to comment.