This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation rec { | |
name = "lua-env"; | |
env = buildEnv { name = name; paths = buildInputs; }; | |
buildInputs = [ lua5_2 lua52Packages.luasocket lua52Packages.luasec lua52Packages.cjson ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
stdenv = pkgs.stdenv; | |
terraform = import nix-deps/terraform.nix {}; | |
in stdenv.mkDerivation { | |
name = "v2-devops"; | |
buildInputs = [ pkgs.ansible2 terraform ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Control.Monad.Eff.Class where | |
import Control.Category (id) | |
import Control.Monad (class Monad) | |
import Control.Monad.Eff (Eff) | |
-- | The `MonadEff` class captures those monads which support native effects. | |
-- | | |
-- | Instances are provided for `Eff` itself, and the standard monad | |
-- | transformers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {}, | |
stdenv ? pkgs.stdenv }: | |
let | |
packageName = "libsysconfcpus-0.5.tar.gz"; | |
packageUri = "http://www.kev.pulo.com.au/libsysconfcpus/files/libsysconfcpus-0.5.tar.gz"; | |
checksum = "f438d4068fdc4377dae210fa1f06c74ae248795cd053f974445e1d4025903036"; | |
in stdenv.mkDerivation rec { | |
name = "sysconfcpus-${version}"; | |
version = "0.5"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
installing ‘zoom-us’ | |
these derivations will be built: | |
/nix/store/qblgw2kxcazx7h4rsz19pn8ln83g3njs-icu4c-57.1.drv | |
/nix/store/mf8gv76g7jrwnnq2zm9kb255vxn3ys8r-zoom-us.drv | |
building path(s) ‘/nix/store/72mrvyndkzl77z27hqfld5bgxl9lq3iq-icu4c-57.1-dev’, ‘/nix/store/zhl2y48ymqj7mj3w2q3zqy378y9lcxrf-icu4c-57.1’ | |
unpacking sources | |
unpacking source archive /nix/store/w66p9wkr42ns1kizd698sh64sd6x4awy-icu4c-54_1-src.tgz | |
source root is icu | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ env, pkgs, ghc }: | |
let | |
pname = "purescript"; | |
pversion = "0.10.3"; | |
url = "https://github.com/purescript/purescript/archive/v${pversion}.tar.gz"; | |
sha256 = "46c3f695ccc6e7be3cb2afe1ea9586eafdf51a04f1d40fe7240def0d8693ca68"; | |
in env.mkDerivation rec { | |
name = pname; | |
version = pversion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prelude ...> t <- forkIO $ catch (catchError (threadDelay 10000000 >> putStrLn "thread finished") (\err -> putStrLn $ "error detected: " <> show err)) (\(err :: AsyncException) -> putStrLn $ "async exception" <> show err) | |
Prelude ...> killThread t | |
asynPrelude ...> c exceptionthread killed | |
Prelude ...> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
savanni@lapis:~/src/nixpkgs (master)* $ heroku apps | |
Usage: heroku COMMAND [--app APP] [command-specific-options] | |
Help topics, type "heroku help TOPIC" for more details: | |
heroku access # CLI to manage access in Heroku Applications | |
heroku addons # manage add-ons | |
heroku apps # manage apps | |
heroku auth # authentication (login/logout) | |
heroku buildpacks # manage the buildpacks for an app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixos> {} | |
, compiler ? "ghc7103" | |
, libstatgrab ? pkgs.libstatgrab | |
, zlib ? pkgs.zlib | |
}: | |
let | |
systemstats = pkgs.haskell.packages.${compiler}.callPackage ./systemstats.nix { libstatgrab = libstatgrab; }; | |
in pkgs.stdenv.mkDerivation rec { | |
name = "systemstats"; | |
version = "0.2.0"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix | |
index d3b4068319..4a227436d0 100644 | |
--- a/pkgs/development/haskell-modules/hackage-packages.nix | |
+++ b/pkgs/development/haskell-modules/hackage-packages.nix | |
@@ -178206,7 +178206,7 @@ self: { | |
}) {applicative = null;}; | |
"statgrab" = callPackage | |
- ({ mkDerivation, async, base, bytestring, statgrab, time | |
+ ({ mkDerivation, async, base, bytestring, libstatgrab, time |
OlderNewer