Commit graph

36 commits

Author SHA1 Message Date
Shelvacu
c5324bcad0 Grab proot from bootstrap zip rather than including its nix path directly.
This means that the cachix substituter (or already having the package in your nix store somehow) is no longer required to build.

This required reworking the deploy script. As a bonus you can now omit the second argument and it will tell you what it would have copied instead of copying anything.

This is fixes one source of impurity, but for now flake builds will still require the --impure flag
2024-09-09 13:41:46 -07:00
pinage404
c00333ee42 deduplicate nmd input 2024-07-14 15:47:11 +02:00
Sergey Volkov
4d20bfc846 update inputs and copyrights to 24.05
Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
2024-07-08 01:14:32 +02:00
Alexander Sosedkin
45fcd2da39 modules, ...: get rid of config.build.arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
54a535b91b flake.nix: make users pass pkgs explicitly 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
d72ab2a167 add x86_64 arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
6ef3f8ff07 remove fakedroid 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
4029051109 flake.nix, docs: band-aid docs generation using nixpkgs-23.05 2024-03-06 01:51:02 +01:00
Alexander Sosedkin
6daee58791 update nixpkgs; applyPatches to fix toolchain (nixpkgs!269077) 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
6a0167241b flake.lock, flake.nix: update nmd, use sourcehut:~rycee/nmd 2024-02-17 12:01:44 +01:00
Alexander Sosedkin
468bf944df update nixpkgs version 2023-06-30 18:57:34 +02:00
Tobias Happ
3dfb9d44b5 bootstrap: update nixpkgs version 2022-12-04 17:04:17 +01:00
Tobias Happ
ae0569fb92 treewide: use consitent casing of Nix-on-Droid/nix-on-droid
Whenever Nix-on-Droid references the project or application it should be
upper-cased.

When nix-on-droid is referencing the CLI-tool or is used as some ID, it
should be lower-cased.
2022-11-20 20:15:31 +01:00
Tobias Happ
f62cd709c8 docs: add html and man pages for options 2022-11-20 20:15:31 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Tobias Happ
28e2fde133 deploy: add build and deploy script as flake app 2022-11-06 21:43:51 +01:00
Tobias Happ
0a3b09df75 tests: add fakedroid as flake app 2022-11-06 21:43:51 +01:00
Tobias Happ
1c88e73c78 flake: simplify nix-on-droid app definition 2022-11-06 21:43:51 +01:00
Tobias Happ
0d984e4415 flake: setup nix-formatter-pack 2022-11-06 20:26:32 +01:00
Tobias Happ
bb8ac7fe1f flake: remove flake-utils
Adding a dependency for trivial tasks like these is unnecessary overhead
for a library project. Not using flake-utils also leads to easier
composability.
2022-10-28 17:52:27 +02:00
Tobias Happ
138145d3b1 flake: sort outputs alphabetically 2022-10-28 17:52:27 +02:00
Tobias Happ
2d73773ed7 flake: add nix-on-droid as flake package 2022-10-28 17:52:27 +02:00
Tobias Happ
f4edb7be86 templates: add templates for some use cases 2022-10-28 17:52:27 +02:00
Tobias Happ
5d9e3c3dd1 tests: refactor to support flake setup 2022-10-28 17:52:27 +02:00
Tobias Happ
274bb4babd bootstrap: flakify bootstrap zip ball generation 2022-10-28 17:52:27 +02:00
Tobias Happ
83ab467992 flake: add flake.lock 2022-10-04 00:43:13 +02:00
Tobias Happ
b5d055df01 flake: add formatter 2022-10-04 00:43:13 +02:00
Tobias Happ
08cfd65b67 flake: update to new naming convention for outputs 2022-10-04 00:43:13 +02:00
Alexander Sosedkin
cf5364dc55 flake.nix: throw on unsupported system type 2021-12-17 00:21:33 +01:00
Alexander Sosedkin
e81bd1ae37 flake.nix: simplify to single arch 2021-12-17 00:21:33 +01:00
Alexander Sosedkin
7aeb529aab drop i686 support without simplifying code 2021-12-17 00:21:33 +01:00
Tobias Happ
49eb3efe98 flake: update lib module for more flexibilty 2021-12-15 22:04:43 +01:00
Zhaofeng Li
74ff681bc9 Rename home-manager argument to home-manager-path 2021-12-12 02:16:59 +01:00
Zhaofeng Li
0b83ab6bf1 flake.nix: Clean up, allow overriding pkgs
`outputs.overlays` is supposed to be an attribute set of overlays,
and `outputs.overlay` should contain a single overlay.
2021-12-12 02:16:59 +01:00
Bruno Bigras
0ca6f89077 flake.nix: fix overlays
related to https://github.com/t184256/nix-on-droid/issues/94#issuecomment-850849580
2021-06-23 23:05:26 +02:00
Bruno Bigras
9c7c0a9672 add flake.nix
Co-authored-by: Tobias Happ <Gerschtli@users.noreply.github.com>
2021-01-17 18:06:46 +01:00