<{^_^}>
[nixpkgs] @worldofpeace merged pull request #65528 → nethack: wrapQtApp only in qtMode → https://git.io/fjyFi
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjyAn
dftxbs3e has quit [Quit: Leaving.]
jluttine has quit [Ping timeout: 245 seconds]
dftxbs3e has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjyAB
psy3497 has joined #nixos
yuken has quit [Ping timeout: 244 seconds]
<Aleksejs>
I'm getting the error "error: The option `system.nssHosts' defined in `/etc/nixos/configuration.nix' does not exist." but that option is in documentation. How is that possible?
<clever>
Aleksejs: where do you see it in the docs?
marusich has quit [Remote host closed the connection]
<Aleksejs>
I cannot upgrade because I'm getting error: cannot download skypeforlinux_8.45.0.41_amd64.deb from any mirror
<clever>
Aleksejs: you may want to temporarily comment out skype in your configuration.nix
<Aleksejs>
well I'll need it tomorrow for work :)
<aleph->
Stupid question since it's been ages. For building packages off github, I need to get the sha256 to import them via running nix-prefetch-url --unpack, where do I get the url to unpack on? Do I just grab the latest commit has and slap a /archive.tar.gz on the end?
<clever>
aleph-: yeah, thats pretty much it
<gchristensen>
usually I just ,tofu it
<Aleksejs>
clever: I've upgraded it now. Is there a chance that skype will be available in near future?
<aleph->
Right, forgot I could tofu it.
<clever>
Aleksejs: the problem is that M$ deleted the old version, so the package must be updated to use the new version, or you need to find a copy of skypeforlinux_8.45.0.41_amd64.deb somewhere else
<aleph->
And I remember why I gave up on packaging this one for nixos
<{^_^}>
[nixpkgs] @teto pushed commit from @Gerschtli to master « vimPlugins.gitignore-vim: init at 2014-03-16 »: https://git.io/fjSfE
mkoenig has joined #nixos
<{^_^}>
[nixpkgs] @peterzky opened pull request #65543 → qt5ct: use Qt mkDerivation → https://git.io/fjSfg
mkoenig_ has quit [Ping timeout: 258 seconds]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
<___laika>
i think im getting a package build failure due to long filenames in the nix store
<___laika>
well, i *know* im getting errors in the build for the pyre type checker about "File name too long", and im suspicious its because of the nix store paths
palo1 has joined #nixos
MinceR_ is now known as MinceR
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
zupo has joined #nixos
rsoeldner has joined #nixos
rsoeldner has quit [Client Quit]
rsoeldner_ has joined #nixos
rsoeldner_ has quit [Client Quit]
rsoeldner has joined #nixos
mexisme has joined #nixos
cyphase has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
endformationage has quit [Quit: WeeChat 2.5]
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @arcnmx to staging « cargo: remove darwin hack »: https://git.io/fjSfj
<ottidmes>
I am getting the error: chown: invalid user: ‘www-user:www-user’, but my NixOS config has them configured correctly to exist and indeed both /etc/group and /etc/passwd have entries for it, any idea what could cause this error? The dash is just a ascii dash in all cases
<ivan>
ottidmes: can you paste your chown command
<ottidmes>
ivan: chown www-user:www-user foo
<ottidmes>
where foo is a empty file in my home directory
<ottidmes>
when I call it with just www-data: chown www-user:www-user foo, I get the following: chown: changing ownership of 'foo': Operation not permitted, while foo is owned by the user currently logged in, I just made it with `touch foo` in my home folder
<ottidmes>
definitely something amiss here with user permissions
<ivan>
did you mix up www-data or www-user when checking your groups file?
<ivan>
ottidmes: if you just added yourself to the group, you have to log out and log back in to be able to chown something to that group, I think
__monty__ has joined #nixos
<ottidmes>
ivan: I indeed did mix it up at some of my tests, still something goes wrong, let me recheck everywhere and reboot, thanks!
LysergicDreams has quit [Ping timeout: 248 seconds]
<ottidmes>
ivan: thanks for the help, somehow I was blind to this typo, thanks for spotting it! (had the default user and group of nginx set to www-user while the rest assumed www-data)
magnetophon has quit [Ping timeout: 244 seconds]
<ivan>
:-)
Yakulu has quit [Quit: Gateway shutdown]
<Taneb>
Is it possible to use sudo in an unsandboxed nix build?
<Taneb>
If I'm willing to be really insecure and let the nixbuild users run sudo passwordless
bkchr has quit [Remote host closed the connection]
NfixEstrada[m] has quit [Remote host closed the connection]
jonreeve[m] has quit [Remote host closed the connection]
amorosa1984[m] has quit [Remote host closed the connection]
eqyiel has quit [Remote host closed the connection]
apx[m] has quit [Remote host closed the connection]
freddie_freeload has quit [Remote host closed the connection]
AntonSchirg[m] has quit [Remote host closed the connection]
badmutex[m] has quit [Remote host closed the connection]
sinuxi[m] has quit [Remote host closed the connection]
tomberekn[m] has quit [Remote host closed the connection]
vxzero[m] has quit [Remote host closed the connection]
falsifian has quit [Remote host closed the connection]
pop[m]1 has quit [Remote host closed the connection]
kuznero[m] has quit [Remote host closed the connection]
momack2[m] has quit [Write error: Connection reset by peer]
Lisanna[m] has quit [Write error: Connection reset by peer]
byzoni[m] has quit [Write error: Connection reset by peer]
HappyEnt[m] has quit [Write error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
leons has quit [Remote host closed the connection]
spacekitteh[m] has quit [Read error: Connection reset by peer]
Florian[m] has quit [Write error: Connection reset by peer]
frederic_chopwn[ has quit [Remote host closed the connection]
macerbi[m] has quit [Write error: Connection reset by peer]
Ralith has quit [Write error: Connection reset by peer]
ejpcmac has quit [Write error: Connection reset by peer]
joepie91[m] has quit [Write error: Connection reset by peer]
nbardiuk has quit [Write error: Connection reset by peer]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
jsquared71[m] has quit [Write error: Connection reset by peer]
iceychris[m] has quit [Write error: Connection reset by peer]
KarelWDingeldey[ has quit [Write error: Connection reset by peer]
arc[m] has quit [Write error: Connection reset by peer]
vaibhavsagar has quit [Write error: Connection reset by peer]
Smith[m] has quit [Write error: Connection reset by peer]
yangm97 has quit [Write error: Connection reset by peer]
dwagenk has quit [Write error: Connection reset by peer]
makaveli[m] has quit [Remote host closed the connection]
kaychaks[m] has quit [Write error: Connection reset by peer]
gudea[m] has quit [Remote host closed the connection]
aterius has quit [Remote host closed the connection]
nh2[m] has quit [Write error: Connection reset by peer]
marius851000[m] has quit [Write error: Connection reset by peer]
blitzclone[m] has quit [Remote host closed the connection]
am3on[m] has quit [Write error: Connection reset by peer]
worldofpeace has quit [Write error: Connection reset by peer]
retrry[m] has quit [Remote host closed the connection]
fulgjon has quit [Remote host closed the connection]
submoo[m] has quit [Remote host closed the connection]
alexarice[m] has quit [Remote host closed the connection]
cgm[m] has quit [Remote host closed the connection]
grahamc[m] has quit [Remote host closed the connection]
balsoft[m] has quit [Remote host closed the connection]
fasd has quit [Remote host closed the connection]
anton-latukha[m] has quit [Remote host closed the connection]
jgosset[m] has quit [Remote host closed the connection]
jasonk000[m] has quit [Remote host closed the connection]
sputny[m] has quit [Remote host closed the connection]
Woland[m] has quit [Remote host closed the connection]
cab404[m] has quit [Remote host closed the connection]
icetan has quit [Remote host closed the connection]
frislie[m] has quit [Write error: Connection reset by peer]
clacke[m] has quit [Remote host closed the connection]
zurdo has quit [Remote host closed the connection]
ayyjayess[m] has quit [Remote host closed the connection]
hpfr[m] has quit [Read error: Connection reset by peer]
midi[m] has quit [Write error: Connection reset by peer]
roadt[m] has quit [Read error: Connection reset by peer]
kxlljoyy[m] has quit [Remote host closed the connection]
Notkea[m] has quit [Remote host closed the connection]
M0ddba11[m] has quit [Read error: Connection reset by peer]
alienpirate5 has quit [Read error: Connection reset by peer]
pinage404[m] has quit [Write error: Connection reset by peer]
Obscurity[m] has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Remote host closed the connection]
sauyon[m] has quit [Read error: Connection reset by peer]
YanMinari[c][m] has quit [Read error: Connection reset by peer]
manveru[m] has quit [Read error: Connection reset by peer]
timclassic has quit [Read error: Connection reset by peer]
Brio[m] has quit [Read error: Connection reset by peer]
colemickens has quit [Read error: Connection reset by peer]
nocent has quit [Read error: Connection reset by peer]
rihardsk[m] has quit [Write error: Connection reset by peer]
otini has quit [Write error: Connection reset by peer]
Tony[m] has quit [Write error: Connection reset by peer]
simbergm has quit [Write error: Connection reset by peer]
syntaxtree[m] has quit [Remote host closed the connection]
Yakulu[m] has quit [Remote host closed the connection]
GerdFlaig[m] has quit [Remote host closed the connection]
riottest000[m] has quit [Remote host closed the connection]
peterhoeg[m] has quit [Remote host closed the connection]
ptotter[m] has quit [Write error: Connection reset by peer]
nilsirl[m] has quit [Remote host closed the connection]
EB[m] has quit [Remote host closed the connection]
TravisRt2botio[m has quit [Read error: Connection reset by peer]
infinisil-m has quit [Remote host closed the connection]
MerlinGttlinger[ has quit [Remote host closed the connection]
nyanloutre[m] has quit [Remote host closed the connection]
jasongrossman[m] has quit [Remote host closed the connection]
is0x3F has quit [Remote host closed the connection]
fgaz has quit [Remote host closed the connection]
aquarial has quit [Write error: Connection reset by peer]
bbigras has quit [Write error: Connection reset by peer]
Dandellion[m] has quit [Write error: Connection reset by peer]
bendlas has quit [Write error: Connection reset by peer]
Ericson2314 has quit [Write error: Connection reset by peer]
derangednerd[m] has quit [Write error: Connection reset by peer]
contrun[m] has quit [Write error: Connection reset by peer]
copy` has quit [Read error: Connection reset by peer]
cornu has quit [Write error: Connection reset by peer]
smpl[m] has quit [Remote host closed the connection]
MiloIgnis[m] has quit [Remote host closed the connection]
rizary has quit [Remote host closed the connection]
pingveno[m] has quit [Remote host closed the connection]
sonercirit[m] has quit [Remote host closed the connection]
rycee has quit [Remote host closed the connection]
olejorgenb[m] has quit [Remote host closed the connection]
NickHu has quit [Remote host closed the connection]
Minijackson[m] has quit [Remote host closed the connection]
malteof[m] has quit [Remote host closed the connection]
goibhniu has quit [Remote host closed the connection]
DivanSantana[m]1 has quit [Remote host closed the connection]
regnat[m] has quit [Remote host closed the connection]
Josh[m]1 has quit [Remote host closed the connection]
bkl[m] has quit [Remote host closed the connection]
bnasty[m] has quit [Remote host closed the connection]
kjuvi[m] has quit [Remote host closed the connection]
lel[m] has quit [Remote host closed the connection]
bohan[m] has quit [Remote host closed the connection]
MichalLaskus[m] has quit [Remote host closed the connection]
Gopal[m] has quit [Remote host closed the connection]
escaP[m] has quit [Write error: Connection reset by peer]
MilkManzJourDadd has quit [Write error: Connection reset by peer]
MayeulC_backup has quit [Remote host closed the connection]
MarkOtaris has quit [Write error: Connection reset by peer]
slabity has quit [Write error: Connection reset by peer]
yoho[m]1 has quit [Read error: Connection reset by peer]
harkenedraven has quit [Read error: Connection reset by peer]
alan[m] has quit [Remote host closed the connection]
sphalerit has quit [Read error: Connection reset by peer]
ma27[m] has quit [Read error: Connection reset by peer]
SebastianHasler[ has quit [Read error: Connection reset by peer]
clefru has quit [Write error: Connection reset by peer]
flip[m] has quit [Remote host closed the connection]
das-g[m] has quit [Read error: Connection reset by peer]
abbafei[m] has quit [Read error: Connection reset by peer]
IslandUsurper has quit [Remote host closed the connection]
timokau[m] has quit [Write error: Connection reset by peer]
bb010g has quit [Write error: Connection reset by peer]
alj[m] has quit [Write error: Connection reset by peer]
rnhmjoj has quit [Write error: Connection reset by peer]
siraben has quit [Write error: Connection reset by peer]
craige[m] has quit [Read error: Connection reset by peer]
Dan[m]6 has quit [Write error: Connection reset by peer]
orospakr[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
smolboye[m] has quit [Remote host closed the connection]
isgy[m] has quit [Remote host closed the connection]
Catalyst[m] has quit [Remote host closed the connection]
fidgetspinoza[m] has quit [Remote host closed the connection]
li_matrix has quit [Read error: Connection reset by peer]
ndarwincorn has quit [Read error: Connection reset by peer]
thequux[m] has quit [Remote host closed the connection]
bennofs[m] has quit [Read error: Connection reset by peer]
JaakkoLuttinen[m has quit [Read error: Connection reset by peer]
ArtemVorotnikov[ has quit [Read error: Connection reset by peer]
bricewge has quit [Read error: Connection reset by peer]
craigevil[m] has quit [Write error: Connection reset by peer]
hiroshi[m] has quit [Read error: Connection reset by peer]
wrunt[m] has quit [Read error: Connection reset by peer]
DanP[m] has quit [Read error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
jschievink[m] has quit [Read error: Connection reset by peer]
abbec has quit [Read error: Connection reset by peer]
EuAndreh[m] has quit [Read error: Connection reset by peer]
Noughtmare[m] has quit [Read error: Connection reset by peer]
arthur[m]2 has quit [Read error: Connection reset by peer]
bee[m]1 has quit [Remote host closed the connection]
roitme[m] has quit [Read error: Connection reset by peer]
neonfuz2 has quit [Write error: Connection reset by peer]
weebull[m] has quit [Read error: Connection reset by peer]
Thinkofname[m] has quit [Write error: Connection reset by peer]
jak[m] has quit [Write error: Connection reset by peer]
Seb[m] has quit [Remote host closed the connection]
mariusz-kowalski has quit [Write error: Connection reset by peer]
tet[m] has quit [Write error: Connection reset by peer]
codyopel has quit [Remote host closed the connection]
Deathmist[m] has quit [Write error: Connection reset by peer]
thefloweringash has quit [Remote host closed the connection]
musicmatze has quit [Write error: Connection reset by peer]
luftmensch[m] has quit [Write error: Connection reset by peer]
bachp has quit [Write error: Connection reset by peer]
jonge[m] has quit [Read error: Connection reset by peer]
zaphar_ps[m] has quit [Write error: Connection reset by peer]
domenkozar[m] has quit [Read error: Connection reset by peer]
hackeryarn[m] has quit [Write error: Connection reset by peer]
atopuzov[m] has quit [Write error: Connection reset by peer]
matthewbauer has quit [Write error: Broken pipe]
sylvie[m] has quit [Write error: Connection reset by peer]
wangoe[m] has quit [Write error: Connection reset by peer]
kimboking[m] has quit [Write error: Connection reset by peer]
wuji[m] has quit [Write error: Connection reset by peer]
attente[m] has quit [Read error: Connection reset by peer]
wak-work has quit [Write error: Connection reset by peer]
abaiste^ has quit [Max SendQ exceeded]
Vskilet has quit [Write error: Connection reset by peer]
<clever>
Taneb: if you use the right path to sudo (check `which sudo` outside), yes
cfricke has quit [Ping timeout: 246 seconds]
abaiste^ has joined #nixos
abaiste^ has quit [Excess Flood]
fendor has joined #nixos
abaiste^ has joined #nixos
Yakulu has joined #nixos
irdr has quit [Remote host closed the connection]
virus_dave has quit [Ping timeout: 248 seconds]
<Taneb>
clever: thanks
<fendor>
are there resources on how to make a ps3 controller work on nixos?
irdr has joined #nixos
virus_dave has joined #nixos
pietranera has joined #nixos
<clever>
fendor: ive used the sixaxis android app before, and i think the linux variant works somewhat similar
<clever>
fendor: you need to first use a special libusb based app to pair the controller with your bluetooth addr
<fendor>
I dont need bluetooth, I am totally fine with the cable
<clever>
fendor: then it should function as a normal usb HID input
<fendor>
lemme google that :D
<clever>
fendor: just run evtest, and select the input device
<clever>
,locate bin evtest
<{^_^}>
Found in packages: evtest
<clever>
that should confirm that its working
orivej has joined #nixos
<fendor>
it is shown in evtest
<fendor>
and events are shown
<clever>
fendor: in my case, i'm using an xbox 360 controller, with a usb dongle to deal with its non-standard wireless link
<fendor>
but sometimes the controller disconnects
<clever>
it only appears in evtest when i turn on the controller
<clever>
so the dongle is dynamically creating/destroying usb devices, based on how many things are wirelessly connected
<clever>
and it only works in a game, if i turn the controller on before starting the game
<clever>
fendor: https://html5gamepad.com/ also "just works!" (no need to restart anything, or even refresh)
<fendor>
clever, yeah that works for me as well
<fendor>
i think it is working, but there are some problems with disconnects
<aveltras>
i can't enter a nix-shell because there's a socket file in my project, what's the usual way to deal with this ? something like filtering source ? (never used this)
<clever>
aveltras: src = lib.cleanSource ./.;
thequux[m] has joined #nixos
<fendor>
but seems to work good enough when playing, thanks clever!
<aveltras>
clever: i'm using the haskell developPackage function and this doesn't seem to work as easily
<aveltras>
clever: seems to solve the issue, had it changed while running on nixos but now on solus, the socket can be created without overriding its location
<{^_^}>
atlas-engineer/next#146 (by GrafBlutwurst, 34 weeks ago, open): Getting next to run under NixOS
mexisme has quit [Ping timeout: 252 seconds]
qqlq has joined #nixos
Xal has quit [Ping timeout: 272 seconds]
Xal has joined #nixos
Zer0xp has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<Zer0xp>
Does anyone here know how to install the Nvidia cuda drivers for nixos ? Do we simply enable this service ? services.xmr-stak.cudaSupport = true; ?
linarcx has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
calbrecht[mb] has quit [Remote host closed the connection]
magnetophon has quit [Ping timeout: 276 seconds]
cyberwolf[m] is now known as byzoni[m]
calbrecht[mb] has joined #nixos
magnetophon has joined #nixos
<Zer0xp>
Does anyone here know how to install the Nvidia cuda drivers for nixos ? Do we simply enable this service ? services.xmr-stak.cudaSupport = true; ?
fendor has quit [Remote host closed the connection]
<etu>
Zer0xp: Enabling that enables something called xmr-stak, It probably doesn't enable cuda drivers for you
<ivan>
Zer0xp: CUDA should work with the NVIDIA driver because the nixos stuff loads nvidia-uvm
<etu>
Zer0xp: It doesn't even enable xmr-stak, it enables cudaSupport in xmr-stak regardless if you have xmr-stak enabled or not
<Zer0xp>
I had found it on the options page
thc202 has joined #nixos
<Zer0xp>
So you're saying that it is enabled by default ?
Ariakenom has joined #nixos
<ivan>
yes. are you seeing some CUDA thing not work?
<oleks>
How can I delete new versions from the bootloader? I upgraded, and something broke, and the fix is not available yet, but until it becomes available, I want to remove the newer versions from the bootloader..
enuiarte has joined #nixos
<Zer0xp>
oleks: sudo nix-collect-garbage -d
<Zer0xp>
ActuLLYthat deletes all the versions from the bootloader
<oleks>
nix-collect-garbage -d deletes nothing when I'm booted in this not most-recent generation
zupo has quit [Ping timeout: 245 seconds]
psyanticy has joined #nixos
<oleks>
So I have generation 77, 78, 79; 77 is the one I want to stick with until a fix becomes available, and delete genreations 78 and 79 so that I don't have to remember to switch to generation 77
<immae>
oleks: you need to delete the generation, garbage collect only deletes unreachable elements of the store
<immae>
(with nix-env --delete-generations)
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<oleks>
immae: that doesn't modify the bootloader?
<etu>
oleks: no, rule of thumb: commands that starts with the word nix (not nixos) won't touch the bootloader. Only commands that starts with the word nixos will touch the bootloader.
<immae>
It only modifies links to objects in the store, making them reachable or unreachable
<etu>
But doing as immae says and removing the generations will remove them from the bootloader next time the bootloader is regenerated, which happens when you run nixos-rebuld for example
<immae>
you always have a /run/bootedSystem and /run/currentSystem (not sure of the exact term) that will prevent your current and booted system from getting garbage collected
<clever>
`nix-collect-garbage -d` will delete all non-current generations from all profiles it has access to
<oleks>
etu: I see, but I can't run rebuild either until a fix becomes available; do I have no choice but to add the fix myself? :-P
zupo has joined #nixos
<clever>
if you run it without root, then it cant delete system (nixos) profiles
Ariakenom has quit [Read error: Connection reset by peer]
<Miyu-chan>
You almost always want to use the `delete older than` flag.
<clever>
i prefer nix-du to find the fat things, nix-store --query --roots to find out why its rooted, and then manually removing select generations, rather then all older then X
<clever>
but i agree that my method is slower and needs a better understanding of everything
<Miyu-chan>
Yeah, true. nix-collect-garbage, as, well, the name implies, also deletes non-rooted stuff, which, chances are, msot people actually use a lot.
<Miyu-chan>
Nixops comes into mind, along with *WithPackages.
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
niksnut has joined #nixos
Zer0xp has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Miyu-chan>
Stupid suggestion, but maybe remove withPackages?
veske has quit [Ping timeout: 258 seconds]
veske2 has joined #nixos
bakakuna has quit [Ping timeout: 272 seconds]
<Miyu-chan>
Not until we have a normal `nix-shell` Nix 2 alternative of course.
<Miyu-chan>
Hm.
mexisme has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
<Miyu-chan>
This is... interesting.
<Miyu-chan>
if (std::regex_search(interpreter, std::regex("ruby"))) {
<Miyu-chan>
// Hack for Ruby. Ruby also examines the shebang. It tries to
<Miyu-chan>
Apparently, Nix, the binary, the tool, has special casing for Ruby.
<Miyu-chan>
And Perl too, by the way.
<Miyu-chan>
(This is for the -i flag)
<Miyu-chan>
And I checked the source code for -p, and I don't get why we need `*WithPackages` now that I think about it. It just adds the packages to a buildInputs, so when you add, for example, ghc, and haskellPackages.foo, then ghc should be able to see haskellPackages.foo.
<Miyu-chan>
Is it because it uses `runCommand` instead of mkDerivaton?
<angerman>
e.g. `lib.systems.... = { ... };`? If I just do that, I'll throw away everything that exists in that structure. E.g. `lib` will contain only `system`.
srid6390803 has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
<angerman>
I see nesting :(
<__monty__>
Does that throw away things in lib or just things in system?
<__monty__>
How about lib // { systems = { ... }; }?
<angerman>
Taneb: so essentially recursiveUpdate super { ... }
<Taneb>
Yes
srid6390803 has joined #nixos
magnetophon has joined #nixos
<Taneb>
Or lib = recursieUpdate super.lib { ... }
Shoubit has quit [Ping timeout: 244 seconds]
tmaekawa has quit [Quit: tmaekawa]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
dansho has joined #nixos
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
magnetophon has quit [Ping timeout: 268 seconds]
Makaveli has joined #nixos
mkoenig has quit [Ping timeout: 268 seconds]
Makaveli is now known as Guest70906
bakakuna has quit [Client Quit]
bakakuna has joined #nixos
Guest70906 has quit [Client Quit]
Makaveli has joined #nixos
Makaveli is now known as Guest85942
bakakuna1 has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
bakakuna has quit [Ping timeout: 252 seconds]
bakakuna1 is now known as bakakuna
bakakuna1 has joined #nixos
ddellacosta has joined #nixos
magnetophon has joined #nixos
bakakuna has quit [Ping timeout: 246 seconds]
Shoubit has joined #nixos
amfl has quit [Ping timeout: 268 seconds]
veske2 has joined #nixos
<angerman>
thanks!
veske2 has quit [Read error: Connection reset by peer]
bakakuna1 has quit [Ping timeout: 268 seconds]
veske2 has joined #nixos
fusion809_ has joined #nixos
fusion809 has quit [Ping timeout: 264 seconds]
fusion809__ has joined #nixos
amfl has joined #nixos
fusion809_ has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
<samueldr>
teto: that would happen when running a Qt 5.12.3 app that tries to load libraries for Qt 5.12.0; e.g. a running 19.03 system with Qt 5.12.3, maybe an input method or impurity from PATH
<samueldr>
teto: you said you were trying with a PR, if it's #65526, it still needs to be wrapped to work
<angerman>
it falls apart as soon as you try to pass in the `crossSystem`
endformationage has joined #nixos
o1lo01ol1o has joined #nixos
magnetophon has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
linarcx has quit [Ping timeout: 272 seconds]
linarcx has joined #nixos
<aveltras>
did anyone encounter abnormally long login times with gnome3 + gdm on a stock nixos install ?
linarcx has quit [Ping timeout: 268 seconds]
linarcx has joined #nixos
<teto>
samueldr: your pr fixed it. I wonder if all the Qt trouble is an inherent flow in Qt or sthg else. I mean aborting because some plugins are out of date seems extreme
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
avn has joined #nixos
zupo has joined #nixos
johnny101 has joined #nixos
johnny101m has joined #nixos
<slabity>
Anyone have a method of managing virtual machines with Nix? Like libvirt machines?
<Taneb>
slabity: can you use nixops for that?
<slabity>
Taneb: NixOps is more for managing NixOS machines. I'm thinking of something that manages generic VMs
<Taneb>
Ah, I see
<slabity>
Unless NixOps can do that?
<Taneb>
No, not really
<Taneb>
Well, it can manage NixOS VMs
<Taneb>
I don't know a way to manage not-NixOS VMs, but that doesn't mean there aren't any
<maralorn>
aveltras: I am pretty sure that problem came up in the last days here.
shibboleth has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<niso>
manveru: on 2019.05.28 you asked if there is something like environment.systemPackages for arion, by chance you figured out an answer to that question?
veske2 has quit [Ping timeout: 268 seconds]
<manveru>
damn logs :P
zupo has joined #nixos
<manveru>
and no, haven't really looked into it since
<niso>
well, thanks to the logs i realized that i'm not the only one facing this problem :P
<niso>
manveru: alright, thanks!
o1lo01ol1o has joined #nixos
leons has quit [Quit: issued !quit command]
lambda-11235 has joined #nixos
linarcx has quit [Ping timeout: 248 seconds]
lambda-11235 has quit [Client Quit]
chris| has quit [Ping timeout: 264 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
linarcx has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
enteee has joined #nixos
Ariakenom has joined #nixos
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « google-compute-engine-oslogin: 1.4.3 -> 1.5.3 »: https://git.io/fjSGF
<enteee>
does somebody have experience running binaries built with pyinstaller?
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
ericsagnes has quit [Ping timeout: 250 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
chris| has joined #nixos
<slabity>
I don't suppose there's a way to generate a UUID in Nix from a seed, is there?
<Aleksejs>
Hello, I still have a problem with mdns domains. I googled alot but nothing helps. Local domains don't work at all now
<manveru>
slabity: what do you need it for?
<Aleksejs>
at the moment I have avahi enabled, avahi.publish.enabled = true. I disabled cups, just in case, but nothing helps
<slabity>
Though it looks like I may have found our how to do so on the wiki
xkapastel has joined #nixos
<manveru>
hm ok
<Aleksejs>
when I check the status of avahi service I see this: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
fendor has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shibboleth has quit [Quit: shibboleth]
<etu>
,locate bin pactl
<{^_^}>
Found in packages: pulseaudioFull, pulseaudioLight
linarcx has quit [Quit: WeeChat 2.5]
<etu>
,locate bin xprintidle
<{^_^}>
Found in packages: xprintidle-ng
chris| has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
o1lo01ol1o has joined #nixos
orivej has joined #nixos
linarcx has quit [Client Quit]
fendor has quit [Remote host closed the connection]
mexisme has joined #nixos
fendor has joined #nixos
__monty__ has joined #nixos
lovesegfault has joined #nixos
linarcx has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
Soo_Slow has joined #nixos
roconnor has joined #nixos
<roconnor>
Anyone else having trouble running 'zoom-us' lately?
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjSnZ
kiwi_68 has quit [Remote host closed the connection]
Guest28351 has quit [Client Quit]
roconnor has quit [Read error: Connection reset by peer]
<niso>
mbrgm: what does the following command return: cat /sys/class/backlight/*/brightness
o1lo01ol1o has quit [Remote host closed the connection]
roconnor has joined #nixos
bitmapper has joined #nixos
<dminuoso>
mbrgm: Which graphics card are you using and what driver?
o1lo01ol1o has joined #nixos
<{^_^}>
[nixpkgs] @veprbl merged pull request #65555 → lib3mf: add missing uuid dependency on Darwin → https://git.io/fjSmT
<{^_^}>
[nixpkgs] @veprbl pushed commit from @thefloweringash to master « lib3mf: add missing uuid dependency on Darwin (#65555) »: https://git.io/fjSnl
<pie_>
how do I get the drv of an attribute over CLI?
Drakonis has joined #nixos
<pie_>
I dont want to build it just inspect it with nix show-derivation
<pie_>
I tried `nix eval -f ../default.nix thing` but...wait a minute
o1lo01ol1o has quit [Remote host closed the connection]
lovesegfault has quit [Quit: WeeChat 2.5]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zupo has joined #nixos
o1lo01ol1o has joined #nixos
bitmapper has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 272 seconds]
ris has joined #nixos
<tilpner>
arianvp: You can root store paths before they exist
Jackneill has quit [Remote host closed the connection]
<arianvp>
Ah smart
<arianvp>
How do I know the store path before building?
<arianvp>
Nix-instantiate?
ambro718 has quit [Quit: Konversation terminated!]
<tilpner>
If you use nix copy, presumably you already know what you want to copy
<tilpner>
But I didn't really consider why you're asking this question
<tilpner>
What race are you worried about?
<arianvp>
Oh yeh wait that's true
<risson>
How can I get the list of the attributes names after an mkMerge ?
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
<kalbasit>
extending on what risson said: `cfg = mkMerge [ { foo = 1; } { bar = 2; } ]` in a let statement, how can we get the `cfg = { foo = 1; bar = 2; }` within the same let statement?
<infinisil>
kalbasit: risson: What's your goal with that?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bakakuna has quit [Read error: Connection reset by peer]
bitmapper has joined #nixos
bakakuna has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.4]
bitmapper has quit [Read error: Connection reset by peer]
<mbrgm>
it's the intel hd graphics 620 that comes with the Tx80 series (8th gen i7)
<exarkun>
if a library in nixpkgs doesn't offer a static version then I just have to go write my own expression to do whatever is necessary to get a static version of that library built, I guess?
<{^_^}>
[nixpkgs] @globin pushed to openssl-1.1 « libtorrent: remove released patch »: https://git.io/fjSlZ
<damesca>
Apologies if this isn't a good place to ask for help. Trying to install NixOS 19.03 on my home server, HP Proliant gen8. After install, it seems to ignore the disk when booting. Does anyone happen to know why? Have tried adding the `hpsa` kernel module as touched on in the docs. (Slightly more detail: https://www.reddit.com/r/NixOS/comments/cjgcih/
<damesca>
installing_on_hp_proliant_gen8/)
<slabity>
damesca: Is it not detecting the disk at all? Can you see it in /dev/disk?
<damesca>
Yes - I can see it there, see the config/etc, reinstall onto it. But it never seems to get detected for booting from
<infinisil>
damesca: (Your link is split into 2 messages)
ayerhart has quit [Remote host closed the connection]
<gchristensen>
not having clicked through, I wonder about EFI vs. MBR style boots
<damesca>
I followed the instructions for MBR; proliant gen8 apparently doesn't support UEFI
<gchristensen>
damesca: sometimes when having trouble with NixOS on new hardware, I'll install ubuntu or centos and look at the loaded kernelmodules to see what I might be missing
<samueldr>
damesca: the usb installer works, right?
<slabity>
damesca: Does the bootloader work? Or does it literally just go to bios?
<samueldr>
`dmesg | grep -i efi` on the installer should confirm whether it booted in EFI or MBR mode
<samueldr>
I would be surprised if Gen8 doesn't support EFI booting, considering it's relatively recent
<Miyu-chan>
Okay, I never gave this much thought before. But does `default =` get overridden or merged by definitions?
<infinisil>
damesca: You could try enabling `hardware.enableAllFirmware`
<infinisil>
Miyu-chan: `default = <value>` in an options definition is the same as adding a definition of `mkOptionDefault <value>`
o1lo01ol1o has joined #nixos
<samueldr>
oh, looks like it's right, UEFI support apparently started on Gen9
<Miyu-chan>
Ah. And mkOptionDefault is just a low priority, right?
<infinisil>
Miyu-chan: Which means if you add any other normal definition, all defaults get cleared
<infinisil>
Yea
<damesca>
samueldr: yep, the usb installer works fine (seems to!)
xkapastel has quit [Quit: Connection closed for inactivity]
<damesca>
slabity: uh I think it works. It tries to boot from hard drive, usb, cd etc. It boots the USB installer fine. But after using nixos-install to put it on the hdd, and removing the USB, it just fails to boot whatsoever.
Hail_Spacecake has quit [Remote host closed the connection]
<damesca>
It's pretty basic config - only just added the allFirmware/unfreePackages bits per suggestion above. Haven't added anything complicated
Hail_Spacecake has joined #nixos
<samueldr>
at a glance the options for grub seem right
<samueldr>
so I guess it depends what "fails to boot" means
bakakuna has quit [Ping timeout: 244 seconds]
MmeQuignon has joined #nixos
<damesca>
I'm sorry for vague language. Unfortunately I don't know what exactly isn't working and/or enough to pin it down more. When I set boot order to hard drive, USB, with the nixos usb installer and the installed-upon disk in situ, it boots straight from the USB. If I swap the disk out with another one running ubuntu, it does boot ubuntu correctly rathe
<damesca>
r than the usb.
<damesca>
So I would guess it either doesn't think the disk is bootable, or can't find grub? But again - I'm a little beyond my comfort zone here
<slabity>
What happens if you boot without the USB?
o1lo01ol1o has joined #nixos
<damesca>
It tries to boot from hard drive, then usb, then network. Then cycles back and repeats that process seemingly ad infinitum
<slabity>
Okay, that definitely sounds like it can't find the bootloader
<ottidmes>
I am getting ImportError: No module named talloc, while running samba. I do see talloc in de buildInputs, not sure if that includes access to the python module for it, any idea how to fix this?
___laika has joined #nixos
is_null has joined #nixos
<arianvp>
oh n
<arianvp>
steam is broken on stable. all the packages disappeared from steam's servers
<arianvp>
:(
chloekek has quit [Quit: WeeChat 2.4]
<slabity>
arianvp: I highly recommend using steam from master, as you'd want to stay as upstream as possible.
<arianvp>
stuff disappearing underneath our feet is bad though
Guest53019 has quit [Quit: WeeChat 2.4]
<slabity>
There's a script on nixpkgs that updates the servers I think
<samueldr>
kraem: if you have enabled the unfree bits, yes definitely
<samueldr>
if you haven't, I'm not sure
<kalbasit>
I'm getting an error trying to build a Docker image with `runAsRoot` which requires a VM to build: `qemu-system-x86_64: Could not reopen file: No such file or directory`
<clever>
kalbasit: if you create a file at $out/etc/passwd, and install it into the docker image, you can get nearly identical effects
<kraem>
samueldr: i have. that makes sense now when you're saying it, because the cache doesn't provide unfree packages?
<NemesisD>
is there any way to configure nix caches within a project rather than a global project file. in the spirit of nix, i'd like my projects to be turn-key to build and not have to ask the user to make modifications to system files
<samueldr>
kraem: exactly that
<clever>
NemesisD: the problem is that the user has to trust the cache to not provide trojan'd copies of the storepaths...
<clever>
NemesisD: requiring root is what ensures that the admin of the box trusts things, and its not some random user doing whatever they want
<kalbasit>
clever: effectively skipping the entire impure stuff? I like that, thank you!
Drakonis has quit [Read error: Connection reset by peer]
<clever>
kalbasit: main problem i ran into, is that /etc/shadow must not be world readable, so i have to chown it when the container boots (if i want sudo to work)
<NemesisD>
clever: so none of the package hashing stuff handles that? i sort of thought that nix had to know the hash it was asking for before talking to the cache. i guess you're saying though if the project both can ask for a certain derivation and provide it, it can do bad things. is there no workaround though? this is for a work project so i can put forth a bit more trust in what i'm doing
<clever>
kalbasit: line 73 deals with that, in the default startup path
<clever>
NemesisD: $out's hash is computed from the directions on how to build $out
<clever>
NemesisD: but nothing enforces a builder actually obeying those directions
<clever>
NemesisD: so a malicious build slave (or cache) can serve up a variant of that path, with changes done to it
<NemesisD>
itd be cool if nix could prompt for trust of a cache or something then. i guess that's still not okay with multi-user setups though
<clever>
yeah
<clever>
if you set yourself as a trusted user, then you can bypass those entirely
<clever>
NemesisD: nix.trustedUsers
<clever>
NemesisD: if your in that list, then you can use `--option substituters "a b c"` and `--option trusted-public-keys "a b c"` to change things
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjS4j
<clever>
NemesisD: if your not trusted, then you can modify only substituters, and your restricted by the systems trusted-substituters + trusted-public-keys
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjSBv
<clever>
NemesisD: trusted-substituters is a whitelist of what the system will allow non-trusted users to use, and substituters is what is actually in effect
<NemesisD>
clever: how does it work on single-user mode? and is there a way to push that option into the actual expression file for the sake of source control? i could technically work with the `--option` part by putting it in my nix-shell script but its a little easier to accidentally stray from the cache that way
<clever>
NemesisD: if the user running nix has +w to /nix/store, then they are a trusted user, and can directly mess with substituters and trusted-public-keys
dansho has quit [Ping timeout: 268 seconds]
owickstrom has quit [Quit: Connection closed for inactivity]
<NemesisD>
i think i should probably give up on this. seems like the only consistent way to tell me coworkers to use the cache regardless of how they use nix is to tell them to edit the file
alex`` has quit [Ping timeout: 245 seconds]
Soo_Slow has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<kalbasit>
clever: I'm trying to build an Nginx image as per the example. AFAIK I don't need sudo access it's just for making nginx work. I'm giving it a shot
o1lo01ol1o has quit [Ping timeout: 258 seconds]
Church- has joined #nixos
<clever>
kalbasit: in my case, i wanted to run postgres, and it used sudo to drop root, which fails hard if shadow is readable
domogled has quit [Quit: domogled]
<clever>
kalbasit: and postgres refused to run as root, for "security reasons"
<{^_^}>
[nixpkgs] @WilliButz opened pull request #65582 → prometheus-mail-exporter: init at 2019-07-14, add module and test → https://git.io/fjSBI
<clever>
kalbasit: this runs nginx, oauth2_proxy, grafana, prometheus, and postgresql, all in a single docker image
<clever>
kalbasit: and its reusing all of the nixos service definitions
<kalbasit>
Nice!
<kalbasit>
In my case, I'm building a Docker image intended to run on k8s
<Church->
Secondary question, after fixing up my install yesterday steam errored out and I tried reinstall. Now getting this error https://paste.rs/AUe after install this override steam "(steam.override { extraPkgs = pkgs: [ mono gtk3 gtk3-x11 libgdiplus zlib ]; nativeOnly = true; }) " in system packages.
<Church->
Ugh, forgetting words again. Always fun.
<clever>
Church-: i always get permission errors like that when i start steam, it still works
<Church->
Huh, not working for me.
ntropix has joined #nixos
<Church->
Guess maybe uninstall, garbage collect and reinstall maybe
<clever>
Church-: that wont help any
<Church->
Sigh, didn't think so
<clever>
Church-: nix will recreate the same paths
<Church->
Is there a debug option I can hit on the command?
<Church->
STEAM_DEBUG=1 or something?
<Church->
Wait, no
<Church->
That's stupid
<clever>
Church-: is it not opening a window? is it exiting with an error code?
<Church->
Not opening a window, exit code 0
<clever>
Church-: does it do that every time? steam ; echo $?
<Church->
Checking, but I believe so
<Church->
Yep
<samueldr>
namei -l /home/noah/.local/share/Steam/bootstrap.tar.xz # shared over a pastebin maybe
<samueldr>
in case there's a symlink in there that is dangling
<Church->
namei? I
<Church->
I'm assuming "ls -lh"
<samueldr>
namei
drk_lrd_877_ has quit [Ping timeout: 250 seconds]
<Church->
Huh, kk
<clever>
[root@system76:~]# type namei
<clever>
namei is /run/current-system/sw/bin/namei
<clever>
ive never heard of that before...
<clever>
but it has a man page
<samueldr>
>> namei interprets its arguments as pathnames to any type of Unix file (symlinks, files and so forth). namei then follows each pathname until an endpoint is found (a file, a directory, a device node, etc). If it finds a symbolic link, it shows the link, and starts following it, indenting the output to show the context.
<samueldr>
it's neat in showing all the modes to a file
<{^_^}>
[nixpkgs] @globin pushed commit from @JohnAZoidberg to master « tgt: Install systemd tgtd.service (#65565) »: https://git.io/fjSBR
drk_lrd_877_ has joined #nixos
lambda-11235 has joined #nixos
dansho has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « google-compute-engine-oslogin: update /bin/bash substitution »: https://git.io/fjSB2
o1lo01ol1o has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
srid6390803 is now known as srid
srid has joined #nixos
srid has quit [Changing host]
<Church->
Hmm question what does no common commits mean?
<___laika>
i _think_ i only have one more package that might be negatively impacted by my nixpkgs patch, but i cant tell because i ALSO can't successfully build it on my macbook from nixpkgs upstream
<Church->
Getting that running nixos-rebuild, have gotten it with either just a nixos channel set to 19.03 or with a nixos channel and a nixpkgs channel
<___laika>
anyone familiar with the pyre package? both its ocaml test suite and its python test suite fail to run for me, the former with "filename too long" errors and the latter just by hanging indefinitely in the middle of tests
<___laika>
it looks like the build wasn't expected to run on darwin maybe?