1 2 3 4 5 6 7 8 9 10
# usage: nix-build | nix-shell # https://sandervanderburg.blogspot.com/2014/07/managing-private-nix-packages-outside.html { system ? builtins.currentSystem }: let pkgs = import <nixpkgs> { inherit system; }; callPackage = pkgs.lib.callPackageWith (pkgs // self); self = { bore = callPackage ./bore.nix {}; }; in self
You can clone a snippet to your computer for local editing. Learn more.