!oeFELgatfbdiAEkJAY:nixos.org

Nix Zรผrich

114 Members
https://zurich.nix.ug/ - Next ZHF event 23-24 November 202427 Servers

Load older messages


SenderMessageTime
23 Nov 2024
@koen:fediversity.euKoen (SynQ) de Jonge * I am setting up 'test vm' there is one available at: nix1: 95.215.187.101 nix2: 95.215.187.102 you can login as alice password is the same as the wifi password13:46:26
@koen:fediversity.euKoen (SynQ) de Jongethere is tons of cpu and ram in there, and it is a 24.11 install13:46:50
@koen:fediversity.euKoen (SynQ) de Jongehave a go13:46:53
@koen:fediversity.euKoen (SynQ) de JongeOh and please claim the use by saying here 'I am using this one'.13:47:16
@mrcjk:matrix.orgMarc Jakobi another fix to my remote builders in case it was someone here was able to merge my previous one ๐Ÿ™ 13:48:13
@linschlager:beeper.comlinschlagerCan someone add the labels to https://github.com/NixOS/nixpkgs/pull/358427 and https://github.com/NixOS/nixpkgs/pull/358417 please? Thanks ๐Ÿ˜‡14:13:45
@lpzimmermann:beeper.comlpzimmermannCan someone also add labels to mine? https://github.com/NixOS/nixpkgs/pull/35844514:14:28
@aurecchia:matrix.orgAlessio AurecchiaCould somebody add the relevant labels here? :) https://github.com/NixOS/nixpkgs/pull/35844614:18:22
@infinisil:matrix.orginfinisil

Ivan Mincik (imincik):

{
  outputs = { nixpkgs, self }:
    let
      lib = nixpkgs.lib;
      forAllSystems = lib.genAttrs lib.systems.flakeExposed;
    in
    {
      legacyPackages = forAllSystems (system:
        nixpkgs.legacyPackages.${system}.extend (self: super: {
          myHello = self.hello.overrideAttrs (old: {
            name = "my-hello";
          });
        })
      );
    };
}
14:46:16
@linschlager:beeper.comlinschlagerCould someone add labels to https://github.com/NixOS/nixpkgs/pull/358455 as well? Thanks :)14:49:24
@infinisil:matrix.orginfinisil
# Run with `nix-instantiate --eval --strict --json`
let
  pkgs = import <nixpkgs> {};
  inherit (pkgs) lib;

  ifSuccess = value: f:
    let
      result = builtins.tryEval value;
    in
    if result.success then
      f result.value
    else
      "<eval failure>";

  recurse = path: attrs:
    ifSuccess (lib.isDerivation attrs) (isDrv:
      if isDrv then
        ifSuccess (lib.getVersion attrs) (version:
          {
            inherit path version;
          }
        )
      else if lib.isAttrs attrs && (attrs.recurseForDerivations or false) then
        lib.mapAttrs (n: recurse (path ++ [n])) attrs
      else
        null
    );

  mapped = lib.mapAttrs (n: recurse [n]) pkgs;

# WHY does this fail if filterAttrsRecursive is uncommented!?!?
in /*lib.filterAttrsRecursive (path: value: value != null) */mapped
14:51:19
@tfc:matrix.orgtfc

please look at:

  • https://github.com/NixOS/nixpkgs/pull/358461
15:02:16
@koen:fediversity.euKoen (SynQ) de Jongeis anyone using those vm's with 40 cpu cores and 128GB of ram an 100GB of nvme disk yet?15:20:51
@koen:fediversity.euKoen (SynQ) de JongeI can create more if needed15:21:39
@tfc:matrix.orgtfchttps://github.com/NixOS/nixpkgs/pull/35846815:23:31
@tfc:matrix.orgtfchttps://github.com/NixOS/nixpkgs/pull/35846915:28:28
@tfc:matrix.orgtfchttps://github.com/NixOS/nixpkgs/pull/35847215:51:35
@infinisil:matrix.orginfinisil

Ivan Mincik (imincik):

{
  outputs = { nixpkgs, self }:
    let
      lib = nixpkgs.lib;
      forAllSystems = lib.genAttrs lib.systems.flakeExposed;

      recurseByDefault = attrs:
        lib.mapAttrs (
          if lib.isDerivation attrs then
            attrs
          else if lib.isAttrs attrs then
            lib.recurseIntoAttrs (recurseByDefault attrs)
          else
            attrs
        ) attrs;

      overlay = self: super: recurseByDefault {
        my.florp = self.hello.overrideAttrs (old: {
          name = "my-florp";
        });
      };
    in
    {
      legacyPackages = forAllSystems (system:
        nixpkgs.legacyPackages.${system}.extend overlay
      );
    };
}
18:32:17
@lennart:wheeze.nlWheeze_NLTime for a drink!19:53:56
@lennart:wheeze.nlWheeze_NL Robert Hensing (roberth): are you also joining? 19:54:23
@infinisil:matrix.orginfinisil20241123T200103Z.jpg
Download 20241123T200103Z.jpg
20:01:11
@infinisil:matrix.orginfinisilWho's Linus Vettiger? Your laptop is still here!20:01:28
@infinisil:matrix.orginfinisilOh I see, there's still people downstairs20:04:35
@das-g:matrix.orgdas-gThose who went for a drink: Did you go to Nelson or Paragraph 11 or somewhere else?20:29:56
@tfc:matrix.orgtfcParagraph 11 yes20:31:46
@tfc:matrix.orgtfcima_5f30975.jpeg
Download ima_5f30975.jpeg
20:31:59
@apeioo:matrix.orgapeiooThanks to the organizers for the great event. It has been a long time since I had so much fun and met so many interesting people :)20:50:16
24 Nov 2024
@infinisil:matrix.orginfinisilHaha I'm the only one here at 9am ๐Ÿ˜‚08:13:46
@gefla:matrix.orgGerd FlaigHa! That means nobody can keep you from fixing all the things. ๐Ÿ˜‰08:16:33
@steveej0:matrix.orgsteveej

i'm participating virtually from the train ๐Ÿ˜† currently trying to figure out how to force logseq to evaluate on aarch64-linux, with this override that has worked on 24.05:

      (pkgs.logseq.overrideAttrs (_: {
          src = lib.mkForce repoFlake.inputs.logseq_0_10_9_aarch64_appimage;
          meta.platforms = lib.mkForce [ "aarch64-linux" ];
      }))
08:18:01

Show newer messages


Back to Room ListRoom Version: 10