Skip to content

Instantly share code, notes, and snippets.

View MikaelFangel's full-sized avatar
🐮

Mikael Fangel MikaelFangel

🐮
View GitHub Profile
@davidteren
davidteren / nerd_fonts.md
Last active July 24, 2024 20:04
Install Nerd Fonts via Homebrew [updated & fixed]
@CMCDragonkai
CMCDragonkai / makeWrapper_and_wrapProgram.md
Created August 24, 2018 07:50
makeWrapper and wrapProgram #nix

makeWrapper and wrapProgram

Nix generally assumes run-time dependencies is a subset of the build-time dependencies.

This means many Nix builder functions try to automatically scan the output for runtime dependencies and "rewrite" them for runtime usage.

However shell scripts which are often exported by packages do not get this automatic scanning treatment.

This means you have to use the makeWrapper package and use either the makeWrapper or wrapProgram utility functions.