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
# github.com/cockroachdb/cockroach/pkg/build | |
/home/judson/.nix-profile/bin/ld: cannot find crt1.o: No such file or directory | |
/home/judson/.nix-profile/bin/ld: cannot find crti.o: No such file or directory | |
/home/judson/.nix-profile/bin/ld: cannot find -lgcc_s | |
/home/judson/.nix-profile/bin/ld: cannot find -lpthread | |
/home/judson/.nix-profile/bin/ld: cannot find -lc | |
/home/judson/.nix-profile/bin/ld: cannot find -lgcc_s | |
/home/judson/.nix-profile/bin/ld: cannot find crtn.o: No such file or directory | |
collect2: error: ld returned 1 exit status | |
# github.com/cockroachdb/cockroach/pkg/settings |
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> {}); | |
let | |
nodeApps = import ./default.nix; | |
in | |
stdenv.mkDerivation { | |
name = "sous-spa"; | |
buildInputs = [ nodeApps."create-cycle-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 /home/judson/dev/nixpkgs {} }: | |
let | |
inherit (pkgs) lib stdenv ruby rake bundler bundlerEnv; | |
rubyEnv = bundlerEnv { | |
pname = "shex"; | |
ruby = ruby; | |
groups = ["default" "test" "development" "debug"]; |
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
#!/bin/sh | |
#set -x | |
platform_version="x86x64" | |
device_type="Linux-x86" | |
device_uniqueid="jlester-nixos" | |
# delete the csdXXXXXX temp files so they don't start piling up | |
rm -f $1 | |
exec curl \ | |
--globoff \ | |
--insecure \ |
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> {} }: | |
let | |
inherit (pkgs) lib stdenv ruby bundler bundlerEnv; | |
rubyEnv = bundlerEnv { | |
name = "jekyll-blog"; | |
ruby = ruby; #ruby_1_9; | |
gemfile = ./Gemfile; |
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
{ stdenv, runCommand, writeText, writeScript, writeScriptBin, ruby, lib | |
, callPackage, defaultGemConfig, fetchurl, fetchgit, buildRubyGem, buildEnv | |
, git | |
, makeWrapper | |
, bundler | |
, tree | |
}@defs: | |
{ name ? null | |
, pname ? null |
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
function buildStandardMatch(field, hasValue, value, otherField) { | |
return function(person) { | |
if (person[field] == value) == hasValue) { | |
return person[otherField] | |
} else { | |
return 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
#!/bin/bash | |
# Cisco Anyconnect CSD wrapper for OpenConnect | |
# Enter your vpn host here | |
CSD_HOSTNAME= | |
if [[ -z ${CSD_HOSTNAME} ]] | |
then | |
echo "Define CSD_HOSTNAME with vpn-host in script text. Exiting." | |
exit 1 | |
fi |
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
{ system ? builtins.currentSystem, ... }: | |
let | |
nixpkgs = import ./channels/nixpkgs { inherit system; }; | |
nixos_cfg = nixpkgs.callPackage /etc/nixos/configuration.nix {}; | |
nixos_overrides = nixos_cfg.nixpkgs.config.packageOverrides; | |
kernelConfigs = pkgs: pkgs // nixos_overrides pkgs // rec { | |
linuxPackages = pkgs.linuxPackages // { | |
kernel = pkgs.linuxPackages.kernel // nixos_overrides pkgs.linuxPackages.kernel; | |
}; |
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
LegendEnable | |
exec "au BufEnter,BufWinEnter ". expand('%:p') ." LegendEnable" |