Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-03-25 | Add fetchTarball builtin | Eelco Dolstra | 1 | -1/+1 | |
This function downloads and unpacks the given URL at evaluation time. This is primarily intended to make it easier to deal with Nix expressions that have external dependencies. For instance, to fetch Nixpkgs 14.12: with import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-14.12.tar.gz) {}; Or to fetch a specific revision: with import (fetchTarball https://github.com/NixOS/nixpkgs/archive/2766a4b44ee6eafae03a042801270c7f6b8ed32a.tar.gz) {}; This patch also adds a ‘fetchurl’ builtin that downloads but doesn't unpack its argument. Not sure if it's useful though. | |||||
2014-09-18 | Update spec file | Eelco Dolstra | 1 | -1/+1 | |
http://hydra.nixos.org/build/14344391 | |||||
2014-09-18 | Install some pkgconfig files | Eelco Dolstra | 1 | -0/+2 | |
2014-09-04 | Fix dependency ordering | Eelco Dolstra | 1 | -4/+2 | |
2014-06-17 | Add importNative primop | Shea Levy | 1 | -0/+2 | |
This can be used to import a dynamic shared object and return an arbitrary value, including new primops. This can be used both to test new primops without having to recompile nix every time, and to build specialized primops that probably don't belong upstream (e.g. a function that calls out to gpg to decrypt a nixops secret as-needed). The imported function should initialize the Value & as needed. A single import can define multiple values by creating an attrset or list, of course. An example initialization function might look like: extern "C" void initialize(nix::EvalState & state, nix::Value & v) { v.type = nix::tPrimOp; v.primOp = NEW nix::PrimOp(myFun, 1, state.symbols.create("myFun")); } Then `builtins.importNative ./example.so "initialize"` will evaluate to the primop defined in the myFun function. | |||||
2014-02-18 | lexer-tab.o and parser-tab.o require each other's headers | Shea Levy | 1 | -0/+4 | |
2014-02-01 | More "make dist" fixes | Eelco Dolstra | 1 | -0/+2 | |
2014-02-01 | Fix "make dist" | Eelco Dolstra | 1 | -2/+4 | |
2014-02-01 | Update Makefile variable names | Eelco Dolstra | 1 | -1/+1 | |
2014-01-30 | Rename Makefile -> local.mk | Eelco Dolstra | 1 | -0/+20 | |