Skip to content

Instantly share code, notes, and snippets.

@chrissound
Created May 2, 2019 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrissound/cbfbc3210fbd4cd9ca8ebc28666584f2 to your computer and use it in GitHub Desktop.
Save chrissound/cbfbc3210fbd4cd9ca8ebc28666584f2 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "test-environment";
# Add the derivation to the PATH
buildInputs = [ stdenv coreutils ripgrep ];
builder = "${bash}/bin/bash";
args = [ ./builder.sh ];
system = builtins.currentSystem;
inherit coreutils;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment