Tom Bereknyei
SOMETHING into /usr/{bin,lib}, but now interferes with stuff in /usr/local/{bin,lib}Eelco Dolstra. The Purely Functional Software Deployment Model. PhD thesis, Faculty of Science, Utrecht, The Netherlands. January 2006. ISBN 90-393-4130-3.
PREFIX= sha256(sha256(deps(package)) + sha256(src(package)) + sha256(options(package))
$PREFIX/bin , $PREFIX/lib $PREFIX/share
instead of:
/usr/bin, /usr/lib/, /usr/share
|
|
nix-env -i hello or nix-env -iA nixpkgs.hellonix-env -e hellodefault.nix or shell.nixHEAD)git checkout)homebrew or apt, except for rollbacksDockerfile or debinfo file"hello"
1 + 3
./a/path
[ "i" 3 5 ]
{ x = "Hello"; y=42;}a = 3
b = 4
thing = { x = a;, y = b;}
add_struct = {x, y}: x + y
add_struct thing # Results in 7gnuradio from five years ago, it will buildgnuradio from sourcecommit 993dadd2136ffca9a6f81d7e4d6acd5116da83a0 (HEAD)
Author: Franz Pletz <fpletz@fnordicwalking.de>
Date: Fri May 13 02:31:33 2016 +0200
gnuradio: 3.7.9.1 -> 3.7.9.2
$HOME. No access to anything on disk..builder argument is executed, and its output copied to the Nix storenix-repl> "${gnuradio}"
"/nix/store/sqxmwvn33x39sjfr47spib74gi3cqffv-gnuradio-3.7.11"
Can also be used privately, for internal packages
nix build --store https://cache.nixos.org (Default)nix build --store s3://my-company-bucketnix build --store ssh://collegue-machinenix build --store file:///nfs/company-fileshare/BuildCache As A Service : https://cachix.org/
Then you don't have to rebuild everything! You just download it from the cache!
Same as demo3, but
# .travis.yml
language: nix
script:
- nix build . --store s3://company-bucket
after_success:
- nix copy . --to s3://company-bucket
|
|
|
|

/usr/lib/python, or update /etc/hosts manuallysh.