SHARE
TWEET

Untitled

a guest Feb 27th, 2020 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. with import <nixpkgs> { };
  2.  
  3. let
  4.   myScript = pkgs.writeShellScriptBin "helloWorld" "echo Hello World";
  5. in stdenv.mkDerivation rec {
  6.   name = "test-environment";
  7.  
  8.   buildInputs = [ myScript ];
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top