SHARE
TWEET

Untitled

a guest Aug 26th, 2019 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         # trelby
  2.     (with pkgs; stdenv.mkDerivation rec {
  3.       name = "trelby";
  4.  
  5.             nativeBuildInputs = [ unzip ];
  6.             buildInputs = [ unzip pkgs.makeWrapper ];
  7.  
  8.             src = fetchurl {
  9.                 url = "https://github.com/trelby/trelby/releases/download/import/trelby-2.2.tar.gz";
  10.                 sha256 = "1rkjdzmwfhg41hxcpdmnnwyqb60148vxcbr0lf0bm9s4fi862rm4";
  11.             };
  12.  
  13.             phases = [ "unpackPhase" "installPhase" ];
  14.  
  15.             installPhase = ''
  16.                 mkdir -p $out/bin
  17.                 ls -lha ${src} > $out/ls.txt
  18.                 ls -lha > $out/ls-cwd.txt
  19.                 echo ${pkgs.stdenv.shell} > $out/sh.txt
  20.  
  21.                 cp -r ./trelby/* $out/bin
  22.             '';
  23.     })
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