Eelco Dolstra
206bbb5dc9
Add basic "nix build" command
...
Currently only builds by attribute from <nixpkgs> or the specified
file, e.g. "nix build hello".
2016-02-09 21:34:24 +01:00
Eelco Dolstra
cd2196b089
Start of new Nix command-line interface
2016-02-09 21:28:29 +01:00
Eelco Dolstra
0db9e6cd1a
New command line parsing infrastructure
2016-02-09 21:07:48 +01:00
Vincent Ambo
49c24a12d0
Create .gitignore
2016-02-09 01:19:22 +01:00
Vincent Ambo
e3fdb8c8c7
Implement connecting and subscribing
2016-02-09 01:17:21 +01:00
Vincent Ambo
0d608be29c
[stomp_sup] Add stomp_worker spec
2016-02-09 00:36:54 +01:00
Vincent Ambo
fca24f14f7
Add README
2016-02-08 23:36:50 +01:00
Vincent Ambo
7d035bab9d
Initial check-in
2016-02-08 21:47:32 +01:00
Eelco Dolstra
c780c1124e
More of the same
2016-02-04 15:10:47 +01:00
Eelco Dolstra
fa7cd5369b
StoreAPI -> Store
...
Calling a class an API is a bit redundant...
2016-02-04 14:48:42 +01:00
Eelco Dolstra
c10c61449f
Eliminate the "store" global variable
...
Also, move a few free-standing functions into StoreAPI and Derivation.
Also, introduce a non-nullable smart pointer, ref<T>, which is just a
wrapper around std::shared_ptr ensuring that the pointer is never
null. (For reference-counted values, this is better than passing a
"T&", because the latter doesn't maintain the refcount. Usually, the
caller will have a shared_ptr keeping the value alive, but that's not
always the case, e.g., when passing a reference to a std::thread via
std::bind.)
2016-02-04 14:28:26 +01:00
Vincent Ambo
ff30233b24
Updated README with information about the meetup
2016-02-04 12:43:13 +01:00
Eelco Dolstra
4f7824c58e
Remove tests/lexer.sh
...
"tests/lang.sh" can handle this.
2016-02-01 18:27:37 +01:00
Vincent Ambo
009888e1ed
Add slides
2016-02-01 15:59:00 +01:00
Eelco Dolstra
d367b8e787
Add build mode to compute fixed-output derivation hashes
...
For example,
$ nix-build --hash -A nix-repl.src
will build the fixed-output derivation nix-repl.src (a fetchFromGitHub
call), but instead of *verifying* the hash given in the Nix
expression, it prints out the resulting hash, and then moves the
result to its content-addressed location in the Nix store. E.g
build produced path ‘/nix/store/504a4k6zi69dq0yjc0bm12pa65bccxam-nix-repl-8a2f5f0607540ffe56b56d52db544373e1efb980-src’ with sha256 hash ‘0cjablz01i0g9smnavhf86imwx1f9mnh5flax75i615ml71gsr88’
The goal of this is to make all nix-prefetch-* scripts unnecessary: we
can just let Nix run the real thing (i.e., the corresponding fetch*
derivation).
Another example:
$ nix-build --hash -E 'with import <nixpkgs> {}; fetchgit { url = "https://github.com/NixOS/nix.git "; sha256 = "ffffffffffffffffffffffffffffffffffffffffffffffffffff"; }'
...
git revision is 9e7c1a4bbd
...
build produced path ‘/nix/store/gmsnh9i7x4mb7pyd2ns7n3c9l90jfsi1-nix’ with sha256 hash ‘1188xb621diw89n25rifqg9lxnzpz7nj5bfh4i1y3dnis0dmc0zp’
(Having to specify a fake sha256 hash is a bit annoying...)
2016-01-31 12:18:09 +01:00
Eelco Dolstra
9e7c1a4bbd
Use the daemon when we don't have write access to the Nix database
2016-01-31 10:28:48 +01:00
Eelco Dolstra
4fa08f3edb
Untabify
2016-01-28 16:03:32 +01:00
Eelco Dolstra
26566cd28e
Untabify
2016-01-28 16:01:01 +01:00
Eelco Dolstra
9f14d7d33a
printMissing(): Propagate store argument
2016-01-28 15:16:06 +01:00
Eelco Dolstra
ca6d287b33
Add .dir-locals.el for Emacs
2016-01-28 11:12:04 +01:00
Eelco Dolstra
7899fc959d
Define HashType's size to allow it to be forward-declared
2016-01-27 17:46:01 +01:00
Eelco Dolstra
739bab0be7
Trivia
2016-01-27 17:18:31 +01:00
Eelco Dolstra
d45ad8fcf5
Make hashLength32() a method of Hash
2016-01-27 17:18:20 +01:00
Vincent Ambo
91d7f03000
Add compiled PDF for the plebs
2016-01-22 00:47:34 +01:00
Vincent Ambo
7bcbdfe81e
Smallcaps titles
2016-01-21 19:34:19 +01:00
Vincent Ambo
1eb2797d03
Update demo units, change font size
2016-01-21 19:32:37 +01:00
Vincent Ambo
d2e97f4042
Add some demo units
2016-01-21 16:21:39 +01:00
Vincent Ambo
f368f12a90
Minor corrections
2016-01-21 16:21:26 +01:00
Vincent Ambo
8e06fe4d92
Add notes for adoption slide
2016-01-21 15:04:02 +01:00
Vincent Ambo
487e936f3e
Add slides for criticism & adoption
2016-01-21 15:02:01 +01:00
Vincent Ambo
38f1823df2
Finish pre-demo slides
2016-01-21 14:40:11 +01:00
Vincent Ambo
ed1184b326
Add systemd basics & unit types
2016-01-21 12:46:26 +01:00
Vincent Ambo
f15a12bc4e
Add slides about classical init, systemd history
2016-01-20 17:52:42 +01:00
Vincent Ambo
0e0cb2ce25
Add presenter notes file
2016-01-20 17:27:06 +01:00
Eelco Dolstra
5b8c09c124
string2Int: Barf on negative numbers for unsigned types
2016-01-20 16:45:05 +01:00
Brian McKenna
3baf8be1d1
Fix broken call to shellwords
...
nix-shell shebangs were broken by 9018deab
2016-01-20 16:35:16 +01:00
Eelco Dolstra
5d8b7eb3e1
Revert "Revert "next try for "don't abort when given unmatched '}' with 'start-condition stack underflow'. This fixes #751 """
...
This reverts commit b669d3d2e8
.
2016-01-20 16:34:42 +01:00
Eelco Dolstra
84e01203a7
Bump
2016-01-20 16:34:37 +01:00
Vincent Ambo
e4feeda4a3
Add init system slide
2016-01-20 16:29:07 +01:00
Vincent Ambo
cb21e47784
Initial check-in
2016-01-20 12:13:25 +01:00
Eelco Dolstra
da4495eb17
Fix eval
2016-01-20 00:26:51 +01:00
Eelco Dolstra
b669d3d2e8
Revert "next try for "don't abort when given unmatched '}' with 'start-condition stack underflow'. This fixes #751 ""
...
This reverts commit ed23c8568e
. Let's
merge this *after* the 1.11.1 release.
2016-01-20 00:05:28 +01:00
Shea Levy
7db05781a6
Merge branch 'lexer-regression-fix' of git://github.com/fkz/nix
2016-01-19 16:24:16 -05:00
Fabian Schmitthenner
ed23c8568e
next try for "don't abort when given unmatched '}' with 'start-condition stack underflow'. This fixes #751 "
...
This reverts commit 8120b6fb8a
and fixes the regression introduced in
8d22b26448
.
2016-01-19 20:35:35 +00:00
Eelco Dolstra
9fff492561
Add tests for Nixpkgs/NixOS evaluation
2016-01-19 21:10:32 +01:00
Eelco Dolstra
ef53735f28
Do a 1.11.1 brown paper bag release
2016-01-19 20:35:51 +01:00
Eelco Dolstra
8120b6fb8a
Revert "don't abort when given unmatched '}' with 'start-condition stack underflow'. This fixes #751 "
...
This reverts commit 8d22b26448
. It
breaks Nixpkgs:
$ nix-env -qa
error: syntax error, unexpected IND_STR, expecting '}', at /home/eelco/Dev/nixpkgs-stable/pkgs/top-level/python-packages.nix:7605:8
2016-01-19 20:33:32 +01:00
Eelco Dolstra
4c8098f30c
Bump version
2016-01-19 14:15:48 +01:00
Eelco Dolstra
8b4577ac9d
Grmbl
2016-01-19 12:35:17 +01:00
Eelco Dolstra
d704abc0f3
Update release notes
2016-01-18 15:59:28 +01:00