liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (206B)


      1 {
      2   writeScript
      3 , lib
      4 }
      5 : name : { runtimeInputs ? [] } : text : writeScript name ''
      6 #!/bin/sh
      7 set -o errexit
      8 set -o nounset
      9 set -o pipefail
     10 
     11 export PATH="${lib.makeBinPath runtimeInputs}:$PATH"
     12 ${text}
     13 ''