Skip to content

Instantly share code, notes, and snippets.

@getchoo
Created April 25, 2023 23:54
Show Gist options
  • Save getchoo/08ff19e9df58fdf9e188f935141c1664 to your computer and use it in GitHub Desktop.
Save getchoo/08ff19e9df58fdf9e188f935141c1664 to your computer and use it in GitHub Desktop.
building libtcmalloc against llvm16, to see if it fixues issues in tf2 on an llvm16 system
let
commit = "2c627d9c702202d75746fd45045d20008bf7ed86";
nixpkgs = import (builtins.fetchTarball {
url = "https://github.com/RaitoBezarius/nixpkgs/archive/${commit}.tar.gz";
sha256 = "sha256:002sz5nqsr7nvwp6bdapwmb691snhrcwdlp4flbhwgqgfzzpyksc";
}) {system = "x86_64-linux";};
inherit (nixpkgs.llvmPackages_16) stdenv;
inherit (nixpkgs.pkgsi686Linux) gperftools;
in
gperftools.override {inherit stdenv;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment