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 | |
if [ $# -lt 1 ] | |
then | |
echo "No command?" | |
exit | |
fi | |
if [ "$(pidof -s .spotify-wrapped)" = "" ] | |
then |
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
copying path '/nix/store/cq155md2522yhjyzyxvxpy8rds1wiva3-source' from 'https://cache.nixos.org'... | |
these derivations will be built: | |
/nix/store/alzxdc6ns0bxrglwbl0841x11pvm1i0v-docker-image-sitespeedio-sitespeed.io-latest.tar.drv | |
/nix/store/n24rwcn6x5sikddb0pvfhx2bfs8ximns-docker-layer-sitesped-runner.drv | |
/nix/store/zd8wp7xq0zqy0pnfblmv21zy5xj2p2bb-runtime-deps.drv | |
/nix/store/iy0d8v2cxw0q4v84kw25dzig6fwcfh5p-docker-image-sitesped-runner.tar.gz.drv | |
building '/nix/store/alzxdc6ns0bxrglwbl0841x11pvm1i0v-docker-image-sitespeedio-sitespeed.io-latest.tar.drv'... | |
building '/nix/store/n24rwcn6x5sikddb0pvfhx2bfs8ximns-docker-layer-sitesped-runner.drv'... | |
time="2018-12-10T12:07:58Z" level=fatal msg="Invalid source name docker://sitespeedio/sitespeed.io@sh256:8ad85e4556ab214e4a5a38dfc8f84e9b3da07114c2414700eb9b8a69092f7071: unsupported digest algorithm" | |
builder for '/nix/store/alzxdc6ns0bxrglwbl0841x11pvm1i0v-docker-image-sitespeedio-sitespeed.io-latest.tar.drv' failed with exit code 1 |
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
import Data.List (group, sort) | |
import Text.Trifecta | |
data FabricRect = FabricRect { fId :: Integer | |
, fWidth :: Integer | |
, fHeight :: Integer | |
, fX :: Integer | |
, fY :: Integer | |
} deriving (Show) |
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
# Path to your oh-my-zsh installation. | |
ZSH=$(nix-env -q --out-path oh-my-zsh | cut -f 3 -d' ')/share/oh-my-zsh | |
ZSH_THEME="obraun" | |
DISABLE_AUTO_UPDATE="true" | |
plugins=(git) | |
# User configuration |
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
self: super: | |
with self.haskell.lib; | |
let | |
haskellOverrides = { | |
overrides = self: super: { | |
codex = (super.callCabal2nix "codex" (super.fetchFromGitHub { | |
owner = "aloiscochard"; | |
repo = "codex"; | |
rev = "a21e3d9fe205b452158aef3b3e87df1bb04916c7"; |
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 -e | |
echo "This script will:" | |
echo "" | |
echo "- retrieve and start lnl7/nix-docker container" | |
echo "- modify ~/.ssh/config ~root/.ssh/config /etc/nix/machines /etc/nix/nix.conf" | |
echo "- restart nix daemon" | |
echo "- test the remote builder" |
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
src/Nix/Reduce.hs:79:1: warning: [-Wunused-top-binds] | |
Defined but not used: ‘gatherNames’ | |
| | |
79 | gatherNames = cata $ \case | |
| ^^^^^^^^^^^ | |
[33 of 36] Compiling Nix.XML ( src/Nix/XML.hs, dist/build/Nix/XML.o ) | |
[34 of 36] Compiling Nix.Builtins ( src/Nix/Builtins.hs, dist/build/Nix/Builtins.o ) | |
src/Nix/Builtins.hs:120:50: error: | |
• Exception when trying to run compile-time code: |
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.nix | |
, compiler ? "ghc802" | |
, imageName ? "foo:dev" | |
}: | |
let | |
inherit (pkgs.haskell.lib) buildStrictly justStaticExecutables overrideCabal; | |
inherit (pkgs.lib.strings) splitString; | |
inherit (builtins) elemAt; |
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 | |
inherit (pkgs.haskell.lib) buildStrictly justStaticExecutables overrideCabal; | |
in | |
rec { | |
foo = buildStrictly (justStaticExecutables (cabal2nix "foo" ./. {})); | |
shell = foo.env; | |
# shellWithAdditionalBuildInputs = ??? | |
} |
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
npm WARN node2nix-foo@1.0.0 No description | |
npm WARN node2nix-foo@1.0.0 No repository field. | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: whatwg-fetch@2.0.3 (node_modules/isomorphic-fetch/node_modules/whatwg-fetch): | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz failed: cache mode is 'only-if-cached' but no cached response available. | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: debug@2.6.9 (node_modules/jsonp/node_modules/debug): | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/debug/-/debug-2.6.9.tgz failed: cache mode is 'only-if-cached' but no cached response available. | |
npm ERR! code ENOTCACHED | |
npm ERR! request to https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz failed: cache mode is 'only-if-cached' but no cached response available. |