this post was submitted on 03 Sep 2025
6 points (100.0% liked)

Nix / NixOS

2448 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

I recently reinstalled my nixos (long story). but for some reason, tailscale refuses to install. when i reinstalled, i just copied over my configuration.nix to replace the default one from the install (not sure if that is part of the problem?). or maybe its just broken right now, and i need to wait it out?

...

ok tailscale.com/net/tstun 0.034s

ok tailscale.com/packages/deb 0.028s

--- FAIL: TestGetList (0.00s)

portlist_test.go:19: seek /proc/net/tcp: illegal seek

--- FAIL: TestIgnoreLocallyBoundPorts (0.00s)

portlist_test.go:40: seek /proc/net/tcp: illegal seek

--- FAIL: TestPoller (0.00s)

portlist_test.go:61: seek /proc/net/tcp: illegal seek

FAIL

FAIL tailscale.com/portlist 0.016s

FAIL

error: builder for '/nix/store/18r5bq5bx8n79mgpv69mnfjq8w7z05b0-tailscale-1.82.5.drv' failed with exit code 1

error: 1 dependencies of derivation '/nix/store/pd0225japsibj036hgfzj48q960wx8k4-system-generators.drv' failed to build

error: 1 dependencies of derivation '/nix/store/572pg1xc24wdd01v7cyvvrdijn7qb20y-system-path.drv' failed to build

error: 1 dependencies of derivation '/nix/store/hln81111gkd51fzm7napkb40wd3rx9ig-nixos-system-wwt-25.05.809261.7c815e513adb.drv' failed to build

top 4 comments
sorted by: hot top controversial new old
[–] ruffsl@programming.dev 3 points 2 weeks ago (1 children)

That is a bizarre looking error. What architecture is your host system? Is your config repo publicly viewable? Installing tail scale is your only build issue?

[–] dadarobot@lemmy.sdf.org 0 points 2 weeks ago

x86-64

# Edit this configuration file to define what should be installed on

# your system. Help is available in the configuration.nix(5) man page

# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{

imports =

\[ # Include the results of the hardware scan.

  ./hardware-configuration.nix

\];

# Bootloader.

boot.loader.systemd-boot.enable = true;

boot.loader.efi.canTouchEfiVariables = true;

networking.hostName = "wwt"; # Define your hostname.

services.openssh.enable = true;

# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

# Configure network proxy if necessary

# networking.proxy.default = "http://user:password@proxy:port/";

# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

# Enable networking

networking.networkmanager.enable = true;

# Set your time zone.

time.timeZone = "America/Chicago";

# Select internationalisation properties.

i18n.defaultLocale = "en_US.UTF-8";

i18n.extraLocaleSettings = {

LC_ADDRESS = "en_US.UTF-8";

LC_IDENTIFICATION = "en_US.UTF-8";

LC_MEASUREMENT = "en_US.UTF-8";

LC_MONETARY = "en_US.UTF-8";

LC_NAME = "en_US.UTF-8";

LC_NUMERIC = "en_US.UTF-8";

LC_PAPER = "en_US.UTF-8";

LC_TELEPHONE = "en_US.UTF-8";

LC_TIME = "en_US.UTF-8";

};

# Enable the X11 windowing system.

services.xserver.enable = true;

services.tailscale.enable = true;

# Enable the GNOME Desktop Environment.

services.xserver.displayManager.gdm.enable = true;

services.xserver.desktopManager.gnome.enable = true;

# Configure keymap in X11

services.xserver.xkb = {

layout = "us";

variant = "";

};

# Enable CUPS to print documents.

#services.printing.enable = true;

services.gvfs.enable = true;

# Enable sound with pipewire.

services.pulseaudio.enable = false;

security.rtkit.enable = true;

services.pipewire = {

enable = true;

alsa.enable = true;

alsa.support32Bit = true;

pulse.enable = true;

\# If you want to use JACK applications, uncomment this

#jack.enable = true;

\# use the example session manager (no others are packaged yet so this is enabled by default,

\# no need to redefine it in your config for now)

#media-session.enable = true;

};

# Enable touchpad support (enabled default in most desktopManager).

# services.xserver.libinput.enable = true;

services.flatpak.enable = true;

# Define a user account. Don't forget to set a password with ‘passwd’.

[redacted]

# Enable automatic login for the user.

services.displayManager.autoLogin.enable = true;

services.displayManager.autoLogin.user = [redacted];

# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229

systemd.services."getty@tty1".enable = false;

systemd.services."autovt@tty1".enable = false;

# Install firefox.

programs.firefox.enable = true;

# Allow unfree packages

nixpkgs.config.allowUnfree = true;

# List packages installed in system profile. To search, run:

# $ nix search wget

environment.systemPackages = with pkgs; [

vim

wget

screen

google-chrome

openssh

blackbox-terminal

gnome-tweaks

imagemagick

git

gimp

libreoffice-still

pipx

python312

sound-juicer

yt-dlp

brasero

cdparanoia

moonlight-qt

ghostscript

];

nix.settings.experimental-features = [ "nix-command" "flakes" ];

# Some programs need SUID wrappers, can be configured further or are

# started in user sessions.

# programs.mtr.enable = true;

# programs.gnupg.agent = {

# enable = true;

# enableSSHSupport = true;

# };

# List services that you want to enable:

# Enable the OpenSSH daemon.

# services.openssh.enable = true;

# Open ports in the firewall.

# networking.firewall.allowedTCPPorts = [ ... ];

# networking.firewall.allowedUDPPorts = [ ... ];

# Or disable the firewall altogether.

# networking.firewall.enable = false;

# This value determines the NixOS release from which the default

# settings for stateful data, like file locations and database versions

# on your system were taken. It‘s perfectly fine and recommended to leave

# this value at the release version of the first install of this system.

# Before changing this value read the documentation for this option

# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).

system.stateVersion = "24.05"; # Did you read the comment?

}

[–] Morphit@feddit.uk 3 points 2 weeks ago* (last edited 2 weeks ago)

I had this earlier. It's a kernel bug, not Tailscale itself. There's an issue on the NixPkgs GitHub.

I think we need to wait for a new kernel to get built (unless you want to patch it yourself...)

Edit: added link to issue

[–] clemmyzemmy@sopuli.xyz 2 points 2 weeks ago

Not sure of the exact problem, but I did see tailscale 1.82.5 (I think) was failing to build on Hydra yesterday with a build error mentioning 'portlist'. So I'd assume it's not just you?