We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5660a09 commit ebacdc2Copy full SHA for ebacdc2
flake.nix
@@ -71,6 +71,13 @@
71
url = "https://github.com/libtom/libtomcrypt/releases/download/v${version}/crypt-${version}.tar.xz";
72
sha256 = "113vfrgapyv72lalhd3nkw7jnks8az0gcb5wqn9hj19nhcxlrbcn";
73
};
74
+ preBuild = ''
75
+ makeFlagsArray+=(PREFIX=$out \
76
+ CFLAGS="-DUSE_LTM -DLTM_DESC" \
77
+ EXTRALIBS=\"-ltommath\" \
78
+ INSTALL_GROUP=$(id -g) \
79
+ INSTALL_USER=$(id -u))
80
+ '';
81
patches = ( prev.patches or [] ) ++ [
82
( pkgs.writeText "pkgconfig-for-static.patch" ''
83
diff --git a/makefile b/makefile
0 commit comments