!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

886 Members
182 Servers

Load older messages


SenderMessageTime
12 Mar 2025
@adam_neverwas:matrix.orgAdam NeverwasHow do i accept the Android SDK licence from a flake?14:26:55
@adam_neverwas:matrix.orgAdam Neverwas set their display name to Adam Neverwas.14:27:35
@adam_neverwas:matrix.orgAdam NeverwasI was trying with everything. I haven't always done this, but I've been standing on it for two days14:29:44
@elikoga:matrix.orgelikoga

From nixpkgs: by setting nixpkgs config option 'android_sdk.accept_license = true;'.

So pkgs = import nixpkgs { system = mySystem; config = {android_sdk.accept_license = true;};};

Or if you're configuring a nixos system, see the nixpkgs.config option.

I am wondering: How is this related to flakes?

14:30:25
@adam_neverwas:matrix.orgAdam NeverwasNo? I dont even know where I am. If is this a nix/os development cooperation platform, or some kind of support channel. Maybe i thougth, because its in a flake.nix file, and the room's name contains flakes.14:33:29
@elikoga:matrix.orgelikoga

See https://github.com/search?q=android_sdk.accept_license+path%3A*.nix&type=code

For examples of usage. Note: It doesn't have to be in the flake.nix

But if you are using flake tooling, then that file is your entry point to evaluation

Others advised that #users:nixos.org could be more closer related to queries like this

14:34:49
@adam_neverwas:matrix.orgAdam Neverwasooo thanks. its good14:45:27
@adam_neverwas:matrix.orgAdam Neverwasi still have problems, but i could give in the allowunfree too.14:45:53
@adam_neverwas:matrix.orgAdam Neverwasthis git search trick is also nice to have14:46:07
@adam_neverwas:matrix.orgAdam Neverwasat least im on track14:46:24
@vidariondr:matrix.orgvidariondr joined the room.21:07:12
13 Mar 2025
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from Li-ion to EVA.00:33:23
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from EVA to EVA-01.00:35:08
@adam_neverwas:matrix.orgAdam Neverwasnix flake update error: path '/nix/store/0ccnxa25whszw7mgbgyzdm4nqc0zwnm8-source/flake.nix' does not exist What do i do in this case?19:18:09
@adam_neverwas:matrix.orgAdam NeverwasI repaired somehow, but i forgot how...19:18:31
@adam_neverwas:matrix.orgAdam Neverwasi have the nix file in the root of the project19:19:14
@elikoga:matrix.orgelikoga git add . and try again? 19:20:00
@adam_neverwas:matrix.orgAdam Neverwas:O19:20:29
@adam_neverwas:matrix.orgAdam NeverwasThnakz19:20:35
@rob.sliwi:matrix.orgrobsliwiLPT: If it's not in version control it's not accessible in the context of the Nix Flake, as the inputs are pure :)19:21:57
@emilazy:matrix.orgemily(unless you have no repository. also, it still uses the working directory copy of files, not what's actually committed or staged, even though it uses the staging area for what files to include.)19:25:01
@elikoga:matrix.orgelikogaWhich the cli tries to indicate to you by describing the repo as "dirty"19:25:57
@adam_neverwas:matrix.orgAdam Neverwasthanks, went into the knowedge19:42:44
14 Mar 2025
@ehuelsmann:matrix.orgehuelsmann joined the room.09:31:59
@losh:matrix.cert.ccc.de@losh:matrix.cert.ccc.de left the room.11:32:39
15 Mar 2025
@aidetechbot:matrix.orgaidetechbot joined the room.02:51:48
@aidetechbot:matrix.orgaidetechbot set a profile picture.02:52:57
@aidetechbot:matrix.orgaidetechbot left the room.02:55:11
@aidetechbot:matrix.orgaidetechbot joined the room.02:55:29
@phaer:matrix.orgphaer left the room.06:29:25

Show newer messages


Back to Room ListRoom Version: 6