| 23 Nov 2024 |
matthewcroughan | In reply to @apeioo:matrix.org Anyone looking at Rippled? Cannot figure out why fatal: detected dubious ownership in repository at '/nix/store/hds6r54l7n6mp65gbpys50568dz52s22-NuDB/.git' Why is there a .git in the nix store? | 12:25:01 |
matthewcroughan | That is the root of the issue. Does the derivation create a .git with git init during its build? Does it have git in the nativeBuildInputs? | 12:25:21 |
Lorenz | The package specifies leaveDotGit = true; I do not know why. But the error does not change if I remove that line. | 12:26:02 |
Lorenz | * The package specifies leaveDotGit = true; in fetchgit. I do not know why. But the error does not change if I remove that line. | 12:26:30 |
Lorenz | For some reason I think the package requires a Git repository during build: git config --global url."file://${nudb}".insteadOf "${nudb.url}" | 12:29:52 |
Lorenz | * I think for some reason the package requires a Git repository during build: git config --global url."file://${nudb}".insteadOf "${nudb.url}" | 12:30:09 |
Lorenz | * It seems the build step clones some Git repositories and these are "prefetched" and configured to point to the store: git config --global url."file://${nudb}".insteadOf "${nudb.url}" | 12:33:27 |
| anothertobi joined the room. | 13:17:25 |
| anothertobi set a profile picture. | 13:21:54 |
infinisil | diff --git a/nix/store/w21dd3v32i13bg3c4nahbdd444587gdb-source/thirdparty/JUCE/modules/juce_graphics/native/juce_freetype_Fonts.cpp b/./thirdparty/JUCE/modules/juce_graphics/native/juce_freetype_Fonts.cpp
index a813ec6..7e29f3a 100644
--- a/nix/store/w21dd3v32i13bg3c4nahbdd444587gdb-source/thirdparty/JUCE/modules/juce_graphics/native/juce_freetype_Fonts.cpp
+++ b/./thirdparty/JUCE/modules/juce_graphics/native/juce_freetype_Fonts.cpp
@@ -353,8 +353,8 @@ private:
bool getGlyphShape (Path& destShape, const FT_Outline& outline, const float scaleX)
{
const float scaleY = -scaleX;
- const short* const contours = outline.contours;
- const char* const tags = outline.tags;
+ const short* const contours = (short*) outline.contours;^M
+ const char* const tags = (char*) outline.tags;^M
const FT_Vector* const points = outline.points;
for (int c = 0; c < outline.n_contours; ++c)
| 13:27:26 |
matthewcroughan | In reply to @apeioo:matrix.org The package specifies leaveDotGit = true; in fetchgit. I do not know why. But the error does not change if I remove that line. leaveDotGit is generally an issue anyway, as it can cause fetching to be non-deterministic | 13:28:34 |
matthewcroughan | if it still works without it, might be a good idea to remove it | 13:28:41 |
Lorenz | No it does not work without. It seems Git got stricter or something changed how permissions are handled in the Nix sandbox. It of course works with --add safe.directory, but I do not know why it broke. | 13:31:13 |
Corsin Pfister | Can someone add the labes to https://github.com/NixOS/nixpkgs/pull/358431 ? Thanks! | 13:38:13 |
Koen (SynQ) de Jonge | I am setting up 'test vm' there is one available at: 95.215.187.101
you can login as alice password is the same as the wifi password | 13:45:14 |
Koen (SynQ) de Jonge | * I am setting up 'test vm' there is one available at: 95.215.187.102
you can login as alice password is the same as the wifi password | 13:45:46 |
Koen (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 password | 13:46:26 |
Koen (SynQ) de Jonge | there is tons of cpu and ram in there, and it is a 24.11 install | 13:46:50 |
Koen (SynQ) de Jonge | have a go | 13:46:53 |
Koen (SynQ) de Jonge | Oh and please claim the use by saying here 'I am using this one'. | 13:47:16 |
Marc Jakobi | another fix to my remote builders in case it was someone here was able to merge my previous one 🙏 | 13:48:13 |
linschlager | Can 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 | Can someone also add labels to mine? https://github.com/NixOS/nixpkgs/pull/358445 | 14:14:28 |
Alessio Aurecchia | Could somebody add the relevant labels here? :)
https://github.com/NixOS/nixpkgs/pull/358446 | 14:18:22 |
infinisil | 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 | Could someone add labels to https://github.com/NixOS/nixpkgs/pull/358455 as well? Thanks :) | 14:49:24 |
infinisil | # 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 | please look at:
- https://github.com/NixOS/nixpkgs/pull/358461
| 15:02:16 |
Koen (SynQ) de Jonge | is anyone using those vm's with 40 cpu cores and 128GB of ram an 100GB of nvme disk yet? | 15:20:51 |
Koen (SynQ) de Jonge | I can create more if needed | 15:21:39 |