Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/nixos/tests/run-in-machine.nix

9 lines
203 B
Nix
Raw Normal View History

Fix runInMachine It requires a writable /nix/store to store the build result. Also, wait until we've reached multi-user.target before doing the build, and do a sync at the end to ensure all data to $out is properly written. http://hydra.nixos.org/build/6496716
2013-10-16 11:36:09 +02:00
{ system ? builtins.currentSystem }:
* runInMachine: use buildVM rather than buildVirtualNetwork since there is only one machine. * Add a simple test case for runInMachine. svn path=/nixos/trunk/; revision=25535
2011-01-13 10:54:07 +00:00
The testing interface does not take nixpkgs as a parameter anymore => fix this
2013-10-02 11:47:28 +02:00
with import ../lib/testing.nix { inherit system; };
* runInMachine: use buildVM rather than buildVirtualNetwork since there is only one machine. * Add a simple test case for runInMachine. svn path=/nixos/trunk/; revision=25535
2011-01-13 10:54:07 +00:00
Fix tests.runInMachine evaluation
2014-11-04 14:00:58 +01:00
runInMachine {
drv = pkgs.hello;
machine = { config, pkgs, ... }: { /* services.sshd.enable = true; */ };
* runInMachine: properly evaluate the machine configuration. svn path=/nixos/trunk/; revision=25536
2011-01-13 11:39:03 +00:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 511ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API