| 24 Oct 2021 |
baloo | does not mean you can't put stuff in the postCheck hook in the $out or get an extraneous $test output or something | 15:59:56 |
Artturin | can diffoscope follow symlinks? | 16:00:22 |
baloo | just that, by default, run generate the output | 16:00:29 |
baloo | * just that, by default, generate the output before the tests | 16:01:52 |
| 25 Oct 2021 |
| ReplayCoding joined the room. | 00:06:43 |
| 26 Oct 2021 |
| @grahamc:nixos.orgchanged room power levels. | 01:18:50 |
| NixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot. | 02:00:15 |
| NixOS Moderation Bot set a profile picture. | 02:00:32 |
| NixOS Moderation Bot changed their profile picture. | 02:23:47 |
| NixOS Moderation Bot changed their profile picture. | 02:33:16 |
| Fabián Heredia joined the room. | 14:39:26 |
Artturin | In reply to @artturin:matrix.org can diffoscope follow symlinks? {
inputs = {
nixpkgs.url = "/home/artturin/nixgits/my-nixpkgs";
nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, flake-utils, nixpkgsUnstable }:
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; };
in rec {
packages = {
diffscript = pkgs.diffscript;
difffarm = pkgs.difffarm;
};
}) // {
overlay = self: super: {
difffarm = let
in with self; linkFarmFromDrvs "difffarm" [
bash
coreutils
];
crossdifffarm = let
crosspkgs = import nixpkgs { inherit (self) system; crossSystem = nixpkgs.lib.systems.examples.aarch64-multiplatform; };
in with crosspkgs; linkFarmFromDrvs "difffarm" [
bash
coreutils
];
diffscript = let
in with self; stdenvNoCC.mkDerivation rec {
name = "diffscript";
nativeBuildInputs = [ nixpkgsUnstable.legacyPackages.x86_64-linux.diffoscope ];
installPhase = ''
mkdir $out
readlinkOrig=($(readlink ${difffarm}/*))
readlinkCross=($(readlink ${crossdifffarm}/*))
names=($(ls ${difffarm}))
for ((i=0;i<=''${#readlinkOrig[@]};i++)); do
diffoscope "''${readlinkOrig[i]}" "''${readlinkCross[i]}" > $out/''${names[i]} || true
done
'';
dontUnpack = true;
dontPatch = true;
dontConfigure = true;
dontBuild = true;
dontFixup = true;
};
};
};
}
| 16:19:59 |
Artturin | In reply to @artturin:matrix.org can diffoscope follow symlinks? * {
inputs = {
nixpkgs.url = "/home/artturin/nixgits/my-nixpkgs";
nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, flake-utils, nixpkgsUnstable }:
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; };
in rec {
packages = {
diffscript = pkgs.diffscript;
difffarm = pkgs.difffarm;
};
}) // {
overlay = self: super: {
difffarm = let
in with self; linkFarmFromDrvs "difffarm" [
bash
coreutils
];
crossdifffarm = let
crosspkgs = import nixpkgs { inherit (self) system; crossSystem = nixpkgs.lib.systems.examples.aarch64-multiplatform; };
in with crosspkgs; linkFarmFromDrvs "difffarm" [
bash
coreutils
];
diffscript = let
in with self; stdenvNoCC.mkDerivation rec {
name = "diffscript";
nativeBuildInputs = [ nixpkgsUnstable.legacyPackages.x86_64-linux.diffoscope ];
installPhase = ''
mkdir $out
readlinkOrig=($(readlink ${difffarm}/*))
readlinkCross=($(readlink ${crossdifffarm}/*))
names=($(ls ${difffarm}))
for ((i=0;i<=''${#readlinkOrig[@]};i++)); do
diffoscope "''${readlinkOrig[i]}" "''${readlinkCross[i]}" > $out/''${names[i]} || true
done
'';
dontUnpack = true;
dontPatch = true;
dontConfigure = true;
dontBuild = true;
dontFixup = true;
};
};
};
}
| 16:20:04 |
| 27 Oct 2021 |
j-k | * Symlinks and devices can now be properly compared. (Closes: #789003) https://salsa.debian.org/search?utf8=%E2%9C%93&search=symlink&group_id=2392&project_id=26273&scope=&search_code=true&snippets=false&repository_ref=master&nav_source=navbar
I guess it can
| 08:24:17 |
Artturin | it doesn't follow symlinks | 10:47:41 |
| 29 Oct 2021 |
| nrdxp left the room. | 03:48:19 |
| @stigo:matrix.org joined the room. | 15:18:35 |
| Sandro 🐧 joined the room. | 16:53:53 |
| lvkm joined the room. | 17:19:44 |
| 31 Oct 2021 |
| Xe changed their display name from Xe (xe/they) to Xe. | 12:48:33 |
| Xe changed their display name from Xe to lol. | 17:33:59 |
| Xe changed their display name from lol to ace. | 17:34:11 |
| Xe changed their display name from ace to Xe. | 17:34:22 |
| toonn changed their profile picture. | 20:19:16 |
| 2 Nov 2021 |
| zarel left the room. | 13:51:45 |
| 3 Nov 2021 |
| Bikal Lem joined the room. | 11:27:50 |
| srid (on hiatus) changed their display name from srid to Moved to @srid:one.ems.host. | 21:26:55 |
| srid (on hiatus) removed their profile picture. | 21:27:15 |
| 4 Nov 2021 |
| Brian joined the room. | 09:31:56 |
| 6 Nov 2021 |
| @test:boba.best joined the room. | 09:17:03 |