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

11 lines
251 B
Nix
Raw Normal View History

The testing interface does not take nixpkgs as a parameter anymore => fix this
2013-10-02 11:47:28 +02:00
{ nixpkgs ? <nixpkgs>
* 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
, system ? builtins.currentSystem
}:
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
runInMachine {
Fix run-in-machine testcase + add it to the tests
2013-10-02 12:06:02 +02:00
drv = (import nixpkgs { inherit system; }).aterm;
* runInMachine: properly evaluate the machine configuration. svn path=/nixos/trunk/; revision=25536
2011-01-13 11:39:03 +00:00
machine = { config, pkgs, ... }: { services.sshd.enable = true; };
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 765ms Template: 3ms
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