mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
6dafee8d67
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
9 lines
200 B
Nix
9 lines
200 B
Nix
{ system ? builtins.currentSystem }:
|
|
|
|
with import ../lib/testing.nix { inherit system; };
|
|
|
|
runInMachine {
|
|
drv = pkgs.patchelf;
|
|
machine = { config, pkgs, ... }: { services.sshd.enable = true; };
|
|
}
|