1
0
Fork 0
dotfiles/system/darwin/attic.nix

15 lines
272 B
Nix
Raw Normal View History

2023-11-20 20:59:18 +00:00
{ pkgs, lib, ... }:
2023-04-05 08:10:31 +00:00
2023-11-20 20:59:18 +00:00
let
inherit (pkgs) stdenv;
attic = pkgs.attic-client.overrideAttrs (_: _: {
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
};
});
in
2023-04-05 08:10:31 +00:00
{
2023-11-20 20:59:18 +00:00
environment.systemPackages = [ attic ];
2023-04-05 08:10:31 +00:00
}