This file contains hidden or 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
{ | |
"type": "dict", | |
"meta": {}, | |
"value": { | |
"build_script": { | |
"type": "file", | |
"meta": {}, | |
"value": "builders/overrider.nix" | |
}, | |
"override": { |
This file contains hidden or 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
mySed = pkgs.gnused.overrideDerivation (oldAttrs: { | |
name = "mysed"; | |
patchPhase = oldAttrs.patchPhase + '' | |
# do something | |
''; | |
}); | |
# or | |
mySed = pkgs.gnused.overrideDerivation (oldAttrs: { |
This file contains hidden or 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
#!/usr/bin/env python3 | |
from subprocess import Popen, PIPE, TimeoutExpired | |
from threading import Thread | |
import random | |
import json | |
def uniqueid(): |
This file contains hidden or 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
nix.set('runme', 'nixpkgs', "https://github.com/matejc/nixpkgs#mylocal57") | |
.then(function(){ | |
// return nix.set('runme', 'scripts', 'https://github.com/matejc/hydra_scripts#master'); | |
return nix.set('runme', 'scripts', '/home/matejc/workarea/nix-lib/test/data'); | |
}) | |
.then(function(){ | |
return nix.set('runme', 'buildScript', 'runme.nix'); | |
}) | |
.then(function(){ |
This file contains hidden or 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
web: | |
image: fossology/fossology | |
environment: | |
- FOSSOLOGY_DB_HOST=db | |
- FOSSOLOGY_DB_NAME=fossology | |
- FOSSOLOGY_DB_USER=fossy | |
- FOSSOLOGY_DB_PASSWORD=fossy | |
ports: | |
- 8081:80 | |
links: |
This file contains hidden or 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
{ cert ? "", key ? "" }: { | |
server = { config, pkgs, ... }: { | |
services.openssh.enable = true; | |
services.panamax.enable = false; | |
}; | |
hidden = { config, lib, pkgs, ... }: with lib; { | |
options = { | |
owncloudHost = lib.mkOption { | |
default = ""; |
This file contains hidden or 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, config, lib, ... }: | |
let | |
extusbup = pkgs.writeScriptBin "extusb.up" '' | |
#!${pkgs.stdenv.shell} | |
#cryptsetup luksOpen /dev/extusb1 vmware | |
cat /root/keyfile | cryptsetup -v --key-file=- luksOpen /dev/sdc1 vmware | |
vgscan | |
vgchange -ay vgvmware | |
mount /dev/vgvmware/vmware /home/test/Desktop/Virtual | |
''; |
This file contains hidden or 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 | |
env = pkgs.buildEnv { | |
name = "runscape-env"; | |
paths = with pkgs; [ | |
/* required by launcher executable */ | |
xorg.libSM xorg.libXxf86vm libpng12 xorg.libX11 | |
webkitgtk2 glib.out pango.out cairo.out gdk_pixbuf gtk.out | |
stdenv.cc.cc.lib glib_networking.out curl.out |
This file contains hidden or 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
{ callPackage, pkgs }: | |
rec { | |
#### CORE EFL | |
efl = callPackage ./efl.nix { openjpeg = pkgs.openjpeg_1; }; | |
evas_generic_loaders = callPackage ./evas_generic_loaders.nix { }; | |
emotion = callPackage ./emotion.nix { }; | |
elementary = callPackage ./elementary.nix { }; | |
#### WINDOW MANAGER | |
enlightenment = callPackage ./enlightenment.nix { }; |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import re | |
import json | |
import weechat | |
from urllib2 import Request | |
from urllib2 import urlopen | |