-
I plan to push the derivations built by The author of https://gvolpe.github.io/blog/nixos-binary-cache-ci/ has worked this out nicely. Now my question would be: Given the default.nix would read: { pkgs ? import <nixpkgs> {
config = { allowUnfree = true; };
}
}:
{
home = pkgs.callPackage ./default-hm.nix {};
system = pkgs.callPackage ./default-nix-on-droid.nix {};
} What would the default-nix-on-droid.nix be like ? In other terms what came where the line reads { pkgs }:
{
system = pkgs.lib.recurseIntoAttrs (
pkgs.nixos [ ./nix-on-droid.nix ]
);
recurseForDerivations = true;
} Thank you so much for this awesome project ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to build So something like that: {
system = (import <nix-on-droid/modules> {}).activationPackage;
} See https://github.com/t184256/nix-on-droid/blob/master/modules/default.nix for arguments to |
Beta Was this translation helpful? Give feedback.
You need to build
activationPackage
in<nix-on-droid/modules>
. See https://github.com/t184256/nix-on-droid/blob/master/nix-on-droid/nix-on-droid.sh#L26.So something like that:
See https://github.com/t184256/nix-on-droid/blob/master/modules/default.nix for arguments to
<nix-on-droid/modules>
.