This file contains hidden or 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
{ config, lib, pkgs, ... }: | |
with builtins; | |
with lib; | |
let | |
modname = "whatever"; | |
cfg = config.${modname}; |
This file contains hidden or 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
var tv = {}; (function () { | |
tv.txhashes = [ | |
'0xlol', | |
] | |
function bal(a) { | |
return web3.fromWei(eth.getBalance(a), "ether") | |
} |
This file contains hidden or 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
{ fetchgit, runCommand }: | |
let | |
srcs = { | |
"https://github.com/armon/go-metrics" = fetchgit { | |
url = https://github.com/armon/go-metrics; | |
rev = "6c5fa0d8f48f4661c9ba8709799c88d425ad20f0"; | |
sha256 = "7321b4078de3fe65a76acf9bf116c18e053854f439afcde33b9d052c2cab9b0d"; | |
}; | |
"https://github.com/armon/go-radix" = fetchgit { |
This file contains hidden or 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
{ | |
environment.etc."man.conf".source = pkgs.runCommand "man.conf" {} '' | |
${pkgs.gnused}/bin/sed <${pkgs.man}/lib/man.conf >$out ' | |
s:^NROFF\t.*:& -Wbreak: | |
' | |
''; | |
} |
This file contains hidden or 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
# installation: nix-env -i $(nix-build --no-out-link -E '(import <nixpkgs> {}).callPackage ./awslogs.nix {}') | |
{ buildPythonPackage, fetchFromGitHub, pythonPackages }: | |
buildPythonPackage rec { | |
name = "awslogs-${src.rev}"; | |
src = fetchFromGitHub { | |
owner = "jorgebastida"; | |
repo = "awslogs"; | |
rev = "0.7"; |
This file contains hidden or 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 }: | |
pkgs.symlinkJoin { | |
name = "elm-format-wrapper"; | |
paths = [ | |
(pkgs.writers.writeDashBin "elm-format" '' | |
# elm-format-wrapper 1.0.0 | |
# | |
# Usage: | |
# elm-format [--help] [--action=ACTION] PATH... |
OlderNewer