Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with import <nixpkgs> { };
- let
- myScript = pkgs.writeShellScriptBin "helloWorld" "echo Hello World";
- in stdenv.mkDerivation rec {
- name = "test-environment";
- buildInputs = [ myScript ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement