Created
April 19, 2022 00:03
-
-
Save steinybot/f193fd39bea64a198d967ad8e385f6ee to your computer and use it in GitHub Desktop.
Revisions
-
steinybot created this gist
Apr 19, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # Nix Tips Build a package from a different system (e.g. run Intel package under Rosetta 2): ``` nix-build -A pkgsCross.x86_64-darwin.hello ``` Run `nix-shell` with local packages: ``` nix-shell -I nixpkgs=/Users/jason/src/nixpkgs ```