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
with import <nixpkgs> { }; | |
with pkgs.goPackages; | |
buildGoPackage rec { | |
name = "nixcloud-${version}"; | |
version = "0.0.1"; | |
goPackagePath = "github.com/nixcloud/nixcloud"; | |
buildInputs = [ goPackages.pushover postgresql ]; |
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
`.bss' referenced in section `.text' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os: defined in discarded section `.bss' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os | |
`_GLOBAL_OFFSET_TABLE_' referenced in section `.text' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os: defined in discarded section `.got.plt' of /nix/tmp/nix-build-glibc-2.21.drv- | |
0/build/csu/abi-note.o | |
`.bss' referenced in section `.text' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os: defined in discarded section `.bss' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os | |
`.bss' referenced in section `.text' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os: defined in discarded section `.bss' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os | |
`.bss' referenced in section `.text' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os: defined in discarded section `.bss' of /nix/tmp/nix-build-glibc-2.21.drv-0/build/libc_pic.os | |
`__libc_freeres_ptrs' referenced in section `.text' of /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
these derivations will be built: | |
/nix/store/vr3a7r2jjinll0gjzkn4zvcb7zyfhifg-glibc-2.21.drv | |
/nix/store/aphazayva1s7b8kgg5pnzg1m5rvqyxac-bootstrap-gcc-wrapper.drv | |
/nix/store/0mak55shs7vz78qg2p085m9qrb4c3bab-stdenv-linux-boot.drv | |
/nix/store/2dln2iraxrki9ipyfnx2bgb3xm70mfan-zlib-1.2.8.drv | |
/nix/store/140qj78syc58d3cbfc4klama6w2j2ga5-which-2.20.drv | |
/nix/store/w3k9y4c3myiym3plr0m3vrac42nadmw8-xz-5.2.0.drv | |
/nix/store/1dda6s19m9kak4qimpryqvs958gnbfbx-gettext-0.18.2.drv | |
/nix/store/xckh3svfcd165q91z59bqga2fxpi8j1w-gnum4-1.4.17.drv | |
/nix/store/6v5hg567n56zv6da5lfbd019mh6zq8bf-gmp-5.1.3.drv |
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
root@odroid-server ~/nixpkgs (git)-[staging] # nix-build -A system nixos --keep-going --cores 1 | |
these derivations will be built: | |
/nix/store/zk094dlc60xwiy9f4yaimyz6c28wsmji-extra-utils.drv | |
/nix/store/8wdx1lf8781zhbr5qayjm9dwy1xybvfn-udev-rules.drv | |
/nix/store/cv136wi8bbdyzqlmgfmxm3d87f4fifh0-stage-1-init.sh.drv | |
/nix/store/xgh5xahsbzimkz65702mhk1lh5p2sb8y-initrd.drv | |
/nix/store/mak5af0q5q9l34ayl2dyh0n8vczdqrqv-nixos-15.05pre-git.drv | |
building path(s) ‘/nix/store/6ypp9sb8m7mp7yph33vy8r0c9rw1y592-extra-utils’ | |
'/nix/store/gnyg9539dsd726jzz0i7d2lq65mfg5zd-busybox-1.22.1/sbin/[' -> '/nix/store/6ypp9sb8m7mp7yph33vy8r0c9rw1y592-extra-utils/bin/[' | |
'/nix/store/gnyg9539dsd726jzz0i7d2lq65mfg5zd-busybox-1.22.1/sbin/[[' -> '/nix/store/6ypp9sb8m7mp7yph33vy8r0c9rw1y592-extra-utils/bin/[[' |
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
# configuration.nix | |
{pkgs, config, lib,...}: | |
{ | |
networking.firewall.enable = false; | |
services.openssh.enable = false; | |
services.nixosManual.enable = false; # slows down nixos-rebuilds, also requires nixpkgs.config.allowUnfree here..? | |
services.nscd.enable = false; | |
services.cron.enable = false; | |
services.ntp.enable = false; |
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
=================================================================================================== | |
originally i was passing languages as a list of | |
=================================================================================================== | |
de_DE_language = pkgs.stdenv.mkDerivation rec { | |
version = "4.2"; | |
name = "wp_de_DE-${version}"; | |
src = pkgs.fetchurl { | |
url = "https://downloads.wordpress.org/translation/core/${version}/${language}.zip"; | |
sha256 = "...2342342340fs9d02390fsfsf..."; |
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 perl | |
use strict; | |
use warnings; | |
use AnyEvent; | |
use AnyEvent::Redis::RipeRedis; | |
my $cv = AE::cv(); |
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
src = fetchgit { | |
url = git://github.com/kripken/emscripten; | |
rev = "refs/tags/${tag}"; | |
sha256 = "466500356c8c0fbcee495b2dbd2ccf0bf9d7eaf303d274ebaf491122759dd233"; | |
}; |
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
➜ pandoc-online-editor git:(master) ✗ cat default.nix ~/Desktop/projects/nixcloud/pandoc-online-editor | |
with import <nixpkgs> { }; | |
buildGoPackage rec { | |
name = "nixcloud-${version}"; | |
version = "0.0.1"; | |
goPackagePath = "github.com/nixcloud/websocket"; | |
subPackages = [ "." ]; |
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
# preparation | |
nixos-version --hash | |
16.03.941.af412f2 (Emu) | |
nixos-version --hash | |
af412f29c817f0789998b495e369c8abaebcda38 | |
# creating a git branch | |
git checkout -b 16.03.941.af412f2 af412f29c817f0789998b495e369c8abaebcda38 |