!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

287 Members
58 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
1 Jul 2024
@ss:someonex.netSomeoneSerge (back on matrix) ENsure that hardware.opengl.enable is set//run/opengl-driver/lib/libcuda.so exists 13:41:49
2 Jul 2024
@brodriguesco:matrix.orgBruno Rodrigues

I'm trying to package positron here is my attempt: https://github.com/b-rodrigues/nixpkgs/blob/positron/pkgs/by-name/po/positron/package.nix
but I get this error message when trying to build

b-rodrigues@localhost:~/Documents/github_repos/nixpkgs(master)$ nix-shell -I nixpkgs=. -p R rPackages.dplyr positron
this derivation will be built:
  /nix/store/qh59xjk5cz4dq44y0jixma219sr9xb0f-Positron-2024.06.1-27.drv
building '/nix/store/qh59xjk5cz4dq44y0jixma219sr9xb0f-Positron-2024.06.1-27.drv'...
Running phase: unpackPhase
tar: ./usr/share/positron/chrome-sandbox: Cannot change mode to rwsr-xr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
dpkg-deb: error: tar subprocess returned error exit status 2
error: builder for '/nix/store/qh59xjk5cz4dq44y0jixma219sr9xb0f-Positron-2024.06.1-27.drv' failed with exit code 2;
       last 4 log lines:
       > Running phase: unpackPhase
       > tar: ./usr/share/positron/chrome-sandbox: Cannot change mode to rwsr-xr-x: Operation not permitted
       > tar: Exiting with failure status due to previous errors
       > dpkg-deb: error: tar subprocess returned error exit status 2
       For full logs, run 'nix log /nix/store/qh59xjk5cz4dq44y0jixma219sr9xb0f-Positron-2024.06.1-27.drv'.

08:58:35
@brodriguesco:matrix.orgBruno Rodriguesit's probably something simple that I'm missing08:58:52
@brodriguesco:matrix.orgBruno Rodrigues I removed the unpackPhase now and simply use dpkg -x in the installPhase, but I get the same issue 09:27:10

Show newer messages


Back to Room ListRoom Version: 6