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.
View 0_README.md

Steps to reproduce

  1. docker run -ti -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<YourStrong!Passw0rd>' -p 1433:1433 microsoft/mssql-server-linux bash
  2. root@f5f756e8d68c:/# apt update && apt install strace
  3. strace -f -o /tmp/sqlservr.log /opt/mssql/bin/sqlservr
View fwup-build.log
these derivations will be built:
/nix/store/412c4g9k9s5380ghiirdrlqkhc4hsgpr-fwup-0.14.2.drv
building path(s) ‘/nix/store/lczys67l4zl5x9g9xgircrrz68pjxnjy-fwup-0.14.2’
unpacking sources
unpacking source archive /nix/store/vr98si560h3rd9bx1d9y1dz7mw92xwdq-fwup-v0.14.2-src
source root is fwup-v0.14.2-src
patching sources
autoreconfPhase
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
View default.nix
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "env";
SHELL="${bashInteractive}/bin/bash";
buildInputs = [
bashInteractive
idutils
libtool
automake
autoconf
View openshot-start.log
launch:INFO ------------------------------------------------
launch:INFO OpenShot (version 2.3.1)
launch:INFO ------------------------------------------------
QFactoryLoader::QFactoryLoader() checking directory path "/run/current-system/sw/lib/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/var/nix/profiles/default/lib/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/joerg/.nix-profile/lib/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/6jc5hqvbszzkdmb3q2qgxydlny6ivjrg-qtbase-5.6.2/lib/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/6jc5hqvbszzkdmb3q2qgxydlny6ivjrg-qtbase-5.6.2/lib/qt5/plugins/platforms/libqminimal.so"
Found metadata in lib /nix/store/6jc5hqvbszzkdmb3q2qgxydlny6ivjrg-qtbase-5.6.2/lib/qt5/plugins/platforms/libqminimal.so, metadata=
{
View myvim
vim = pkgs.vim_configurable.customize {
name = "vim";
vimrcConfig.customRC = "source ~/.vimrc";
vimrcConfig.packages.nixbundle = with pkgs.vimPlugins; {
# loaded on launch
start = [
youcompleteme
#deoplete-nvim
#deoplete-jedi
#clang_complete
View default.nix
{ stdenv, fetchurl, trousers, openssl }:
stdenv.mkDerivation rec {
name = "tpm-quote-tools-${version}";
version = "1.0.3";
src = fetchurl {
url = "mirror://sourceforge/project/tpmquotetools/${version}/${name}.tar.gz";
sha256 = "1d6ry2c78sgv0z4phfrwrbvgag83xnnfri2cdzrd86w4yfgnfwdf";
};