Testing Nix Shebang file
This commit is contained in:
parent
c9c62883cb
commit
83f1f42013
1 changed files with 11 additions and 0 deletions
11
NixShebang.sh
Executable file
11
NixShebang.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
||||||
|
#! /usr/bin/env nix-shell
|
||||||
|
#! nix-shell -p "haskellPackages.ghcWithPackages (ps: with ps; [turtle])"
|
||||||
|
#! nix-shell -i runghc
|
||||||
|
|
||||||
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
|
|
||||||
|
import Turtle
|
||||||
|
|
||||||
|
main :: IO ()
|
||||||
|
main = do
|
||||||
|
echo "Hello, World!"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue