Skip to content

Instantly share code, notes, and snippets.

@kiloreux
Created March 21, 2018 12:25
Show Gist options
  • Save kiloreux/4b357641192551807dd9ace9eda3e3e5 to your computer and use it in GitHub Desktop.
Save kiloreux/4b357641192551807dd9ace9eda3e3e5 to your computer and use it in GitHub Desktop.
with import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/195620b77085a4e746db33894526116f9062086b.tar.gz) {};
rec {
chromium = pkgs.chromium.overrideAttrs (oldAttrs: rec {
postInstall = ''
for x in $out/bin/*; do wrapProgram $x --unset LD_LIBRARY_PATH ;done \
for x in $sandbox/bin/*; do wrapProgram $x --unset LD_LIBRARY_PATH ;done
'';
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment