!UUYziobKGGxpovWyAN:nixos.org

Robotnix

244 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix75 Servers

Load older messages


SenderMessageTime
16 Jul 2024
@mfed3:matrix.org@mfed3:matrix.org left the room.00:07:12
@marius851000:mariusdavid.frMarius changed their display name from Burrito (Marius) to Marius.12:19:58
@izzie:transgirl.cafe@izzie:transgirl.cafe joined the room.14:58:09
19 Jul 2024
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from tauphi to Ms.Connection.23:59:21
20 Jul 2024
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from Ms.Connection to Ms. Connection.00:00:28
23 Jul 2024
@ezzobirbezziou:matrix.orgEzzobir Bezziou joined the room.08:19:48
24 Jul 2024
@digitalbayinc:matrix.orgFOSSadmin changed their display name from dBay to FOSSadmin.03:37:17
@redstone-menace:matrix.orgR̴̨͕͇͍̞̮̐̅͆̌̀̉̐͋̈́̃̀͒́̎̅̚̚̚͠͝Ĕ̵̡̛͖͖̟̙̫̱͈̘̞̭͍͍͑̌̄͑̓̋̓̀̈̏̈́͊̇͊͆̉͂̏̀̃̚͘͝͝ͅͅD̶̡̢͔̱̖̮͙͉̘̺͓͍̩̮͈͍͗̃̀̏͌͘͜ͅŚ̸̬̭̯̬͙͇͓̬̩̳̤͚͓̤̩̺͉͖̉͛̓̿̎͊̿̆́̐͂̇͌̄̇̓͘ͅͅT̴̞̫̘̝͇͔̟̪̪̦͂̔̎̀̎ͅŎ̷̡̬̹̪͈̭̣͈̭̭͉̦̖̝̘̪͖͔̥̦̘̻̳Ṋ̶̛̫͈̳̘͚̜̔̋͆̅̈́͊̑͊̉̌̈́̾͑̈́̚ͅË̸̡̨̨̛͇̜̖͔͖̻̟̗̠̙͓̘̗̥͉͇̜͑͆͊͑͑̀̓͒͜͝͝ changed their display name from redstone-menace to Redstone.10:15:41
28 Jul 2024
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone Is anyone aware that you cannot add new devices to robotnix that aren't supported in upstream due to the logic in flavors/lineageos/default.nix only allowing usage of official lineage devices, without the ability to override this behavior? 00:24:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
nix build .#robotnixConfigurations.brownstone.img -L
warning: Git tree '/home/matthew/git/nixconfig' is dirty
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:9:12:
            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'hlte-img-2023100409.zip'
         whose name attribute is located at /nix/store/9fpv0kjq9a80isa1wkkvrdqsh9dpcn05-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'buildCommand' of derivation 'hlte-img-2023100409.zip'
         at /nix/store/9fpv0kjq9a80isa1wkkvrdqsh9dpcn05-source/pkgs/build-support/trivial-builders/default.nix:87:15:
           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |               ^
           88|       passAsFile = [ "buildCommand" ]

       … while evaluating the option `source.unpackScript':

       … while evaluating definitions from `/nix/store/0iavq4h1d2mk95fbdrdzashahbqiri9f-source/modules/source.nix':

       … while evaluating the option `source.dirs':

       … while evaluating definitions from `/nix/store/0iavq4h1d2mk95fbdrdzashahbqiri9f-source/flavors/lineageos':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute '"device/samsung/hlte"' missing
       at /nix/store/0iavq4h1d2mk95fbdrdzashahbqiri9f-source/flavors/lineageos/default.nix:132:43:
          131|     relpathWithDeps = relpath: [ relpath ] ++ (
          132|       flatten (map (p: relpathWithDeps p) deviceDirs.${relpath}.deps)
             |                                           ^
          133|     );
00:25:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneFor example, you'll just get this evaluation error if you try00:25:28
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone error: attribute '"device/samsung/hlte"' missing 00:25:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone This happens even if I define source.dirs."device/samsung/hlte".src = pkgs.fetchgit { ... } 00:25:57
@atemu12:matrix.orgatemu12There is no such logic00:26:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneBecause robotnix now will read some json file from the lineageos it fetched00:26:17
@atemu12:matrix.orgatemu12The attribute simply isn't there00:26:34
@atemu12:matrix.orgatemu12Use a repl and check eval00:26:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneNot sure what you mean.00:26:59
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneDo you not see what is happening? 00:27:07
@atemu12:matrix.orgatemu12 Use nix repl and then check the value of config.source.dirs 00:27:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIt is reading a JSON file from the LineageOS upstream00:27:24
@atemu12:matrix.orgatemu12That's the default00:27:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehttps://github.com/nix-community/robotnix/blob/master/flavors/lineageos/default.nix#L24-L2600:27:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneah okay00:27:53
@atemu12:matrix.orgatemu12This is a module system, you can add any source dir you like00:27:54
@atemu12:matrix.orgatemu12You either have a typo here or something else is going on00:28:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
nix-repl> robotnixConfigurations.brownstone.config.source.dirs
error:
       … while evaluating the attribute 'value'
         at /nix/store/9fpv0kjq9a80isa1wkkvrdqsh9dpcn05-source/lib/modules.nix:807:9:
          806|     in warnDeprecation opt //
          807|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          808|         inherit (res.defsFinal') highestPrio;

       … while evaluating the option `source.dirs':

       … while evaluating the attribute 'mergedValue'
         at /nix/store/9fpv0kjq9a80isa1wkkvrdqsh9dpcn05-source/lib/modules.nix:842:5:
          841|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
          842|     mergedValue =
             |     ^
          843|       if isDefined then

       … while evaluating definitions from `/nix/store/0iavq4h1d2mk95fbdrdzashahbqiri9f-source/flavors/lineageos':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute '"device/samsung/hlte"' missing
       at /nix/store/0iavq4h1d2mk95fbdrdzashahbqiri9f-source/flavors/lineageos/default.nix:132:43:
          131|     relpathWithDeps = relpath: [ relpath ] ++ (
          132|       flatten (map (p: relpathWithDeps p) deviceDirs.${relpath}.deps)
             |                                           ^
          133|     );
00:28:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone I cannot evaluate source.dirs due to it failing earlier 00:28:57
@atemu12:matrix.orgatemu12Then I'm not sure00:29:32
@atemu12:matrix.orgatemu12You'd have to dig into it00:29:37

Show newer messages


Back to Room ListRoom Version: 6