View default.nix
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "env";
buildInputs = [
bashInteractive
ninja
#jetbrains.clion
cmake
ninja
rlwrap
View nix-build-log
$ nix-shell -p python3Packages.linode-api
running install tests
running test
running egg_info
writing linode_api.egg-info/PKG-INFO
writing dependency_links to linode_api.egg-info/dependency_links.txt
writing requirements to linode_api.egg-info/requires.txt
writing top-level names to linode_api.egg-info/top_level.txt
reading manifest file 'linode_api.egg-info/SOURCES.txt'
writing manifest file 'linode_api.egg-info/SOURCES.txt'
View test-failures-nim
PASS: tredef.nim
FAIL: main.nim
Test "tests/manyloc/named_argument_bug/main.nim" in category "manyloc"
Failure: reNimcCrash
Expected:
Gotten:
cannot open 'opengl'
View gist:584870ffed1ee9e0cad57a49c66cac1e
programs.zsh.interactiveShellInit = ''
source ${pkgs.fzf.out}/share/shell/key-bindings.zsh
'';
View readme.go
package main
import (
"fmt"
"github.com/d4l3k/go-pry/pry"
)
func main() {
a := 1
View fast-review.py
#/usr/bin/env python
# this script requires at least python 3.6!
import tempfile
import subprocess
import os
import sys
import shutil
def sh(command, **kwargs):
print("$ " + ' '.join(command))
View borrow-mac
#!/usr/bin/env ruby
def assert_command_exists(cmd)
ENV['PATH'].split(File::PATH_SEPARATOR).each do |path|
exe = File.join(path, cmd)
return exe if File.executable?(exe) && File.file?(exe)
end
abort "#{cmd} not found"
end
View default.nix
with import <nixpkgs> {};
{
packageOverrides = pkgs: with pkgs; {
exa = exa.override {
rustRegistry = rustRegistry.overrideDerivation (old: {
src = fetchFromGithub {
owner = "rust-lang";
repo = "crates.io-index";
rev = "c73d61e84a623168a1a9bfff9c71defcc3416631";
View 0_USAGE.md
 $ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 .
 $ ruby gen-clang-complete.rb compile_commands.json
 $ cat compile_commands.json
-Iinclude
-I../include
-I/nix/store/5vcs34znmbsiwpc965jaab3ffvklxpf6-llvm-3.4.2/include
-I/nix/store/hw4i6ydaqxkdp6i94z6rfh90xklwslw7-z3-4.5.0/include
-I/nix/store/wfiz5lx24rr3r6c70523zw5rxv4pg38z-zlib-1.2.11-dev/include
-I/home/joerg/git/klee/include
View foo
$ nix-shell -p haskellPackages.shake haskellPackages.ghc --command 'shake --demo'
bash: /run/user/1000/env-vars: cannot overwrite existing file
% Welcome to the Shake v0.15.11 demo mode!
% Detecting machine configuration... done
% You don't have the 'shake' library installed with GHC, which is required to run the demo.