I hereby claim:
- I am cleverca22 on github.
- I am clever (https://keybase.io/clever) on keybase.
- I have a public key whose fingerprint is 96A5 5719 A1EB 956F 3EF9 CF22 C294 FC1A 485A 409A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
source $stdenv/setup | |
echo $out | |
ar x $src | |
ls | |
mkdir -pv unpacked | |
cd unpacked | |
tar -xf ../data.tar.xz | |
for x in opt/google/chrome/chrome; do | |
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath $libPath $x |
var net = require('net'); | |
var crypto = require('crypto'); | |
var MongoClient = require('mongodb').MongoClient; | |
var ObjectID = require('mongodb').ObjectID | |
var connid = 0; | |
var peers; | |
function Connection(ip,port,keep) { | |
this.nick = ip+'#'+connid++; |
{ lib, config, pkgs, ... }: | |
{ | |
imports = [ ./iscsi-boot.nix ]; | |
fileSystems = { | |
"/" = { device = "UUID=132e7c5b-b4a9-4154-8105-4479e17f4f5b"; fsType = "ext4"; }; | |
"/boot/" = { device = "UUID=fdac080d-d111-455c-a890-bc3e5e08c2d5"; fsType = "ext4"; }; | |
}; | |
boot = { | |
loader = { |
{ system ? builtins.currentSystem }: | |
let | |
configuration = { config, pkgs, ...}: { | |
imports = [ | |
<nixos/modules/virtualisation/qemu-vm.nix> | |
./configuration.nix | |
]; | |
config = { | |
virtualisation = { |
{ | |
packageOverrides = pkgs: rec { | |
qemu-user-arm = pkgs.callPackage ./qemu-user.nix { user_arch = "arm"; }; | |
nix = pkgs.stdenv.lib.overrideDerivation pkgs.nix (oldAttrs: { | |
patches = ./hax.patch; | |
}); | |
}; | |
} |
{ stdenv, lua, fetchFromGitHub }: | |
stdenv.mkDerivation rec { | |
name = "cwrap-7"; | |
src = fetchFromGitHub { | |
owner = "torch"; | |
repo = "cwrap"; | |
rev = "6e7d52f0a359dee47127386adb03c0dc4ddd4766"; | |
sha256 = "01yh9z0axz0b4f87mbhkzh64dyv6c4jdkazcpmy1bl1am8apbd8w"; |
{ nixpkgs ? <nixpkgs>, system ? builtins.currentSystem }: | |
with import nixpkgs { inherit system; }; | |
let nix = enableDebugging nixUnstable; in | |
runCommand "test" | |
{ buildInputs = [ nix boehmgc ]; dontStrip = true; } | |
'' | |
mkdir -p $out/bin/ |
fileSystems = { | |
"/" = { | |
device = "UUID=d230cc98-8f33-457f-9fee-b65558165188"; | |
fsType = "ext4"; | |
iscsi = { | |
enable = true; | |
host = "192.168.2.61"; | |
lun = "iqn.2001-04.com.c2d-nix3"; | |
}; | |
}; |
diff --git a/src/lib/Hydra/Plugin/NixPush.pm b/src/lib/Hydra/Plugin/NixPush.pm | |
new file mode 100644 | |
index 0000000..2b4e29f | |
--- /dev/null | |
+++ b/src/lib/Hydra/Plugin/NixPush.pm | |
@@ -0,0 +1,22 @@ | |
+package Hydra::Plugin::NixPush; | |
+ | |
+use strict; | |
+use parent 'Hydra::Plugin'; |