<{^_^}>
[nixpkgs] @jonringer pushed commit from @mkenigs to master « alibuild: use python3 »: https://git.io/JTy37
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<cole-h>
matthewcroughan_: You could use home-manager
<matthewcroughan_>
Does home-manager let you enable services at boot?
<matthewcroughan_>
"at boot" means something, and I'm not sure what it'd mean in the context of nix-on-droid
<cole-h>
I don't think it lets you *disable* services :P
<matthewcroughan_>
well, I just want to be able to start processes at boot
<cole-h>
(They are enabled by default, is what I meant)
<matthewcroughan_>
hmm
<matthewcroughan_>
home-manager is totally supported by this nix-on-droid stuff.
<cole-h>
But
<cole-h>
The services rely on systemd
<matthewcroughan_>
Ah, then no.
<matthewcroughan_>
This is why I said without nixos.
<cole-h>
NixOS != systemd
<matthewcroughan_>
It does, today.
<cole-h>
No?
<cole-h>
NixOS uses systemd as its init and service manager (amongst other things)
<matthewcroughan_>
you can use other init systems in nixos?
<cole-h>
But systemd is not NixOS
<cole-h>
And NixOS is not systemd
<matthewcroughan_>
I'm not talking about technically, I'm talking about practically
<supersandro2000>
Whats the difference between outputs and meta.outputsToInstall ?
<cole-h>
Well, not everybody would be able to extrapolate that information, so it's helpful to be specific :)
<DigitalKiWicked>
if you had systemd on a non nixos system you might be able to make services work (i'm not sure) but on a system without systemd then it's a lot more work
<cole-h>
If whatever service manager nix-on-droid uses allows loading units or whatever from $HOME, you can still use h-m for it
<DigitalKiWicked>
and nix-on-droid i don't think supports services
<cole-h>
e.g. `home.file."somepath/that/the/unitmanager/wants.unit".text = ''insert unit stuff here'';
<matthewcroughan_>
Podman runs OCI container images. Which you can make in many ways.
<matthewcroughan_>
Dockerfiles output OCI compliant container images. There are other tools that output this format and can run this format. Such as Podman and Buildah, rather than Docker and Dockerd.
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JTynA
jbox has joined #nixos
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #102122 → Init libdatrie, libthai, ibus-engines.libthai; build pango with libthai → https://git.io/JTycV
<unclechu>
hi. i’m having this error when i try to do nixos-rebuild: Package ‘libguestfs-1.40.2’ in /nix/store/f7cxyzp06mcwv6k9dclwv9mx2b92wk41-nixos/nixos/pkgs/development/libraries/libguestfs/default.nix:88 is marked as broken, refusing to evaluate.
<unclechu>
is this a known issue?
<unclechu>
it appeared recently
<unclechu>
i was on 20.09 already for a while but this error appeared approximately when 20.09 became stable
<unclechu>
setting `allowBroken` to `true` makes system build successfully, and everything seems to work
<slabity>
Can anyone explain to me why I can't change the priority of a package installed with home-manager?
<slabity>
Nevermind. Apparently I can kind of get what I want by setting the priority of home-manager-path
<slabity>
Can one change the priority of a package at the time you install it? The only result I can find is adding the package to an overlay, which seems like complete overkill if I just want to `nix-env` something
numkem7 has joined #nixos
numkem has quit [Read error: Connection reset by peer]
numkem7 is now known as numkem
maljub017 has joined #nixos
maljub01 has quit [Ping timeout: 260 seconds]
maljub017 is now known as maljub01
<jonringer>
honestly, I would recommend against `nix-env`
<jonringer>
it's meant to be "familiar" to other package managers. But there's a lot of not nice edge cases with it
<zecnate>
I am packaging a shell script I wrote that needs to run a command `foo`. How do I specify that `foo` is a run-time dependency and I need `foo` on the $PATH? -or else should I put `${foo}/bin/foo` in my shell script?
<energizer>
cole-h: i'm talking about the things that don't work, not the things that do
<cole-h>
From the last successful nixos-unstable bump, there are still 695 failing packages. It's kinda hard to guarantee every package builds...
<zecnate>
I currently have `nativeBuildInputs = [ foo ]` but it is not found on the path at runtime.
<energizer>
cole-h: surely some version of each package built at some point
<energizer>
that's the version i want
<cole-h>
zecnate: That's a build time dependency. For runtime dependencies, you want to replace the source that calls it or wrap the path
<Ericson2314>
weird that ./installation-cd-graphical-base.nix doesn't mention drivers
<cole-h>
energizer: You can do that, but it requires searching through Hydra.
<zecnate>
cole-h: How do I best replace the source? Right now I have `src = ./my-script.sh;` and my builder just copies that. Is there a standard tool to insert links to dependencies?
<cole-h>
energizer: e.g. for ffmpeg-full (https://hydra.nixos.org/build/129095145#tabs-summary) you can click the "last successful build" and then go to the details tab and `nix-store -r $(output store paths)`
<energizer>
cole-h: i pretty much never want "i want the latest build, even if it failed"; i pretty much always want "the latest build that succeeded".
<energizer>
nix-channel --add nixos-reasonable
<cole-h>
energizer: I understand, but how would that work? The channel wouldn't bump until every single package builds successfully?
<energizer>
cole-h: it would bump each time a package builds
<energizer>
successfully
<cole-h>
zecnate: Usually `sed 's@/usr/bin/foo@${foo}/bin/foo@' -i somefile`
<zecnate>
Hrm. Ok.
<cole-h>
energizer: What happens when package A builds successfully, then package B builds successfully but breaks package A? Does it still bump?
<samueldr>
Ericson2314: it just uses the defaults as if you left it unconfigured
<cole-h>
Then my question becomes: what about the user who cares about package A? If you use the version that built successfully in the past, you have old dependencies. Is this desirable? I'm thinking like mixing libc versions -- isn't this bad?
<Ericson2314>
samueldr: no nouveau in the default
<energizer>
cole-h: what i'm describing is a pointer that gives me the latest individually successful build, so nixpkgs.A always works, and nixpkgs.B always works but they might be incompatible with each other.
<samueldr>
it's the modesetting driver, which for nvidia would end up loading nouveau by default IIRC
<energizer>
maybe the "channel" concept can't support that
<cole-h>
One not-ideal workaround would be to have a channel pointing to a known-good nixpkgs/nixos, and get that specific package from there...
tsrt^ has joined #nixos
<Ericson2314>
well, nvidia ended up working
<clever>
Ericson2314: i was helping siraben with adding a z80 cross-compile to nixpkgs yesterday, but we are a bit stuck, because its not gcc based
<Ericson2314>
clever: i heard a bit this morning. need to sleep now but hopefully I'll have time sometime later to help
<clever>
sounds good
dbmikus has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
<energizer>
i am trying to set up a raspi. https://bpa.st/JTSQ4 shows two configurations: the first is my proposed raspi config which doesnt work; the second is my desktop config which does work. they are very similar and i'm not sure what the problem is. the error message from the raspi one is shown.
zecnate has quit [Remote host closed the connection]
<clever>
energizer: did you use // in a weird place?
<samueldr>
clever: there are at fileSystems
<clever>
energizer: doesnotwork.nix is missing the tail end of the file
<samueldr>
I know that // is frowned upon in configuration, but I don't know when
<clever>
samueldr: so there could be a } // { fileSystems."/notroot" = ...; } breaking it
<samueldr>
I'm thinking it *could* be that you're editing the "wrong" file too
<clever>
after what is in the pastebin
<clever>
samueldr: i recently dd'd the .img to a usb stick, and booted it up, i never ran nixos-install, i just did nixos-generate-config, fixed configuration.nix, and nixos-rebuild
<energizer>
clever: the only //s are visible in the paste
<clever>
energizer: what path is the file at? what cmd did you run?
<samueldr>
clever: in energizer's instance I believe energizer's trying to install to USB for different FS configuration
<energizer>
right, i am trying to install to the sd-in-usbdrive. lemme redo it so i can give the exact procedure
<energizer>
when i turn on the pi, the hdmi display doesnt show anything, so idk if it's working. that also happens on my desktop at boot unless i plug it into a monitor over DVI. but i can't plug the pi into a DVI because it doesnt have a DVI port. so i'm not sure how to figure out if it's working.
<energizer>
it's got encrypted root so i tried typing in my crypt password but that didnt seem to help
<clever>
energizer: you may need to include the vc4 driver in the initrd
demfloro has joined #nixos
dbmikus has joined #nixos
<clever>
although, i can see stage-1 without having set that
<energizer>
no display is also what happens if i dont even have an sd card inserted
<energizer>
so i'm guessing it's just not doing anything
<clever>
which hdmi port are you on?
<energizer>
tried both
<clever>
what else is plugged into the pi4?
dbmikus has quit [Ping timeout: 264 seconds]
Fare has quit [Ping timeout: 264 seconds]
stoile has joined #nixos
<energizer>
clever: just power
<clever>
does the green led blink at all when you do that?
<energizer>
the red one is on and the green one is blinking (god help the red-green colorblind)
<clever>
red should never blink, so they are fine
<clever>
if both are blinking, your power supply needs to be replaced
<clever>
how many blinks does the green one give?
<energizer>
4
<clever>
thats the normal start4.elf not found error, which makes sense
<clever>
but if your not getting any video out, then your eeprom is out of date
<clever>
the new version gives debug on hdmi also
<clever>
one min
<energizer>
what does <clever> thats the normal start4.elf not found error, which makes sense<> mean?
<bqv>
,locate libglib-2.0
<{^_^}>
Found in packages: glib, glib.debug, signal-desktop
<clever>
energizer: if you have no sd card and no usb-stick plugged in, then its obvious it wont find start4.elf
<clever>
energizer: or was it doing that, even with an SD card?
<energizer>
clever: it's doing that with an sd card
<clever>
then your firmware is missing
<clever>
boot the installer stick again, and check `fdisk -l` on the SD card, what partitions does it have?
<bqv>
,locate libdbus-1.so.3
<{^_^}>
Found in packages: dbus_libs.lib
<bqv>
,locate libGL.so.1
<{^_^}>
Found in packages: libglvnd, primusLib, xorg_sys_opengl
<energizer>
sec, i needa find a miniusb cable for this keyboard
<kini>
so I switched my nixos channel to 20.09 and ran `nixos-rebuild switch --upgrade`, and surprisingly I'm getting a few large things getting built locally, like thunderbird, libreoffice, openjdk... shouldn't those already be cached on nixos.org if they've made it into the 20.09 channel?
Morfio has joined #nixos
ATuin has joined #nixos
<{^_^}>
[nixpkgs] @xfix opened pull request #102138 → thunderbird: set build timeout at eight hours → https://git.io/JTyHt
<{^_^}>
[nixpkgs] @alex-eyre opened pull request #102139 → Remove mildlyincompetent from the maintainers list → https://git.io/JTyHZ
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<eyJhb>
Something knows of something that parses Dockerfiles, and creates something that can be used in pkgs.dockerTools,buildImage? I don't wnat to reinvent the wheel, if there is something out there as is
<Siilwyn>
👋
<srhb>
eyJhb: I doubt it, that doesn't sound trivially possible. What would you have it do, recognize package managers and their install commands and translate the package names to nix?
<Siilwyn>
Just tried out NixOS Gnome on a USB and wondering about two things:
<Siilwyn>
1. is there a way to add the 'Appearance' setting found in Ubuntu or another way to add a light and dark theme? Surprised the default gnome theme looks like this.
<Siilwyn>
2. Even with the manual I'm can't figure out how I would install nixos (on an empty ssd), I expected it to be an option when booting up from the usb but that's not the case?
<srhb>
Siilwyn: The install process should be well-documented, but maybe step 1 isn't: Open a terminal :)
<srhb>
Siilwyn: The rest is "just" the commands/instructions in the guide.
<eyJhb>
srhb: For a moment I was happy, and forgot about `RUN apt-get install -f`....
<eyJhb>
Whic does not do that :p There is Arion as well, but that does not do it either
<eyJhb>
srhb: coming here with your logic and things! But thanks :D Seems like I am in a niche area
<srhb>
eyJhb: Going the other way would be much simpler :)
<srhb>
And futile, of course.
<srhb>
Siilwyn: (If I wasn't clear, I'm trying to say that the "graphical installer" isn't really a "graphical installer" but more like a gnome desktop from which you can open a terminal and do a command line install.) :)
Sanchayan has joined #nixos
zakame has quit [Ping timeout: 268 seconds]
<eyJhb>
srhb: Going from buildImage -> Dockerfile? - I am quite sure I will not get away with that :p
<Siilwyn>
actually for me it's not just about the system theme but changing the 'prefer-color-scheme' setting, having apps use their dark variant in the evening and light during the day
<Siilwyn>
including the firefox ofc. and websites supporting this
<{^_^}>
[nixpkgs] @timokau merged pull request #95011 → undervolt: expose power limits as Nixopts → https://git.io/JJMUp
<srhb>
Afraid I don't know anything about that either, sorry. I imagine setting up theming might be very different from what you're used to, since most settings in NixOS are declarative (though, I don't know to what extent this is true for Gnome) -- but mostly anything is possible in my experience :)
<Siilwyn>
ah no problem, appreciate your replies
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Siilwyn>
digging into this myself atm. it seems that gnome doesn't even have this yet:
<{^_^}>
[nixpkgs] @timokau pushed 2 commits to staging-next: https://git.io/JTydt
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #102140 → deeptools: Remove pytest cause there are no tests → https://git.io/JTydG
zupo has joined #nixos
<eyJhb>
`nix-shell --builders nixosbuilder --max-jobs 0 -I nixpkgs=. -p libreoffice-fresh` -> `error: unable to start any build; either increase '--max-jobs' or enable remote builds`, shouldn't that be correct?
euandreh has quit [Remote host closed the connection]
euandreh has joined #nixos
zakame has quit [Ping timeout: 268 seconds]
pinkieval has quit [Excess Flood]
risson has joined #nixos
pinkieval has joined #nixos
vdemeester has quit [Ping timeout: 272 seconds]
vdemeester has joined #nixos
sdier has joined #nixos
m0rphism has quit [Quit: WeeChat 2.7.1]
teto has joined #nixos
andreas303 has quit [Remote host closed the connection]
teto1 has joined #nixos
joehh1 has quit [Ping timeout: 246 seconds]
<teto1>
adisbladis: any idea how to fix https://github.com/nix-community/poetry2nix/issues/200 ? I've trtied adding git / setuptools-scm-git-archive to the override to no effect (seemed to have worked on one but not the other)
<{^_^}>
nix-community/poetry2nix#200 (by teto, 1 day ago, open): Cannot find command 'git' - do you have 'git' installed and in your PATH
<supersandro2000>
Unode: VM but I hope that makes no difference
<supersandro2000>
Unode: if you want to work together on darwin fixes we could work something out. I don't want to post to much on the PRs especially when I am just guessing whats broken.
<Unode>
supersandro2000: no, I'm asking cause I was thinking about doing the same and was wondering if you built one from scratch or used something ready-to-go
ManiacOfMadness has joined #nixos
<supersandro2000>
Unode: I had a helpful friend so I can't really help you to much
<supersandro2000>
I can send you a link if you like
<Unode>
supersandro2000: I don't do any darwin myself but I'm happy to give it a try. I've never used/owned a darwin system so I'm not even sure about the main differences. In it for the learning...
whatisRT has joined #nixos
nixuser_ has joined #nixos
zupo has joined #nixos
sangoma has quit [Quit: WeeChat 2.9]
cfricke has quit [Quit: WeeChat 2.9]
zupo has quit [Ping timeout: 246 seconds]
cfricke has joined #nixos
__monty__ has joined #nixos
<siraben>
What's the difference between nix-build and nix build?
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JTSkZ
fendse has joined #nixos
mallox has quit [Ping timeout: 264 seconds]
krauserii has joined #nixos
<krauserii>
Trying to apply the same gtk theme on my system to every qt application via qt5ct, i get the warning that i need to set the 'QT_QPA_PLATFORMTHEME' environment variable, on other distros it's usually on ~/.profile but I don't know where to set it on NixOS
<dminuoso>
siraben: I wonder whether `nix build` is just a wrapper for nix-build
<dminuoso>
strace to find out?
rprije has quit [Ping timeout: 256 seconds]
civodul has joined #nixos
alp_ has quit [Ping timeout: 264 seconds]
<siraben>
dminuoso: haven't used strace before
<siraben>
I mean building with `nix build` vs. `nix-build` seems different at least in output style
<siraben>
colemickens: I see. In what ways does it improve over nix-build?
<colemickens>
Mostly that it supports Flakes which is an experimental feature in the next version of Nix.
rprije has joined #nixos
<colemickens>
Otherwise, I think it's meant to be a "one-stop shop" compared to the various nix-* tools
<dminuoso>
Well, whether I add a hyphen or not seems not relevant
<aasg>
Is there a command to pretty-print drv files?
<colemickens>
`nix-build file.nix -A attribute_to_build` vs `nix build -f file.nix attribute_to_build`
<siraben>
I see
<siraben>
So I should use nix build over `nix-build` from now on?
<siraben>
`nix build` seems much less verbose than `nix-build`, however
<colemickens>
I would argue that's up to you. The next version of nix also marks `nix` commands as experimental and requires opting into them., so, there's that.
<gchristensen>
they are already experimental, just less obviously
<colemickens>
yeah, that's what I was trying to hint at. It's up to you, I don't want to say which to use.
<colemickens>
(*I* use flakes, so *I* try to use `nix build` style commands)
duairc has joined #nixos
<siraben>
I see. I guess for CI I prefer verbose output in case it fails
jabster28 has joined #nixos
<siraben>
By the way, is there an automated way to test cross-compiling a random selection of packages?
<yurb>
I'm curious, if I keep my "configuration.nix" under version control, is it possible to somehow store the information about the git commit in the realized configuration? So that I could revert to a configuration that corresponds to a specific configuration.nix commit?
<colemickens>
siraben: there are benefits to using `nix build` for CI builds potentially. if there are multiple derivations built, `nix log` will prefix log line with the name of the derivation built
<colemickens>
siraben: this conversation probably warrants being turned into a wiki article.
<__monty__>
yurb: That's part of what flakes is meant to do.
zimbatm has joined #nixos
<siraben>
I haven't used cachix (on the dev side) before, but it looks like it build binaries for me and host them, correct?
<siraben>
* I haven't used cachix (on the dev side) before, but it looks like it builds binaries for me and host them, correct?
<colemickens>
siraben: you can pipe store paths into cachix and it uploads them to a conventially-hosted binary mirror service
<siraben>
colemickens: ah, great. So I can still see the logs.
<colemickens>
siraben: the builds are still done locally, presumably.
jabster28 has quit [Ping timeout: 264 seconds]
<colemickens>
siraben: For example, my CI calls "readlink -f result | cachix push nixpkgs-wayland` to upload the build results to the nixpkgs-wayland.cachix.org binary mirror.
<__monty__>
Or on CI but if you want CI to push to cachix it does need to know your secret.
<dutchie>
siraben: you can always find the logs under /nix/var/log/nix/drvs
<siraben>
it's *super* dependent on the contents of `add-flags.sh`
<siraben>
otherwise this toolchain works well with the pinned nixpkgs from a few months ago
<supersandro2000>
did you try diffing add-flags.sh and see what changed?
<supersandro2000>
maybe it is easy to spot the problem
<siraben>
Oh I know what changed, it takes the last line of `add-flags.sh` and changes it
<siraben>
since `add-flags.sh` has changed on upstream the substitution fails
<colemickens>
oh I forgot I have a remarkable 2 coming
<siraben>
colemickens: yay!
<siraben>
the hacking community is busy building tools for it, and the toolchain for rM2 has yet to be released
<siraben>
I think it's the same sort of system though
alp_ has joined #nixos
<siraben>
`[2/8/20 built] building python3.7-Cython-0.29.14 (buildPhase): gcc -Wno-unused-result ...` what do those three numbers represent? DL'd/built/total ?
<{^_^}>
[nixpkgs] @mmahut opened pull request #102147 → versus: init at 1.0 → https://git.io/JTSYg
orivej has quit [Ping timeout: 240 seconds]
<Unode>
supersandro2000: I think I misunderstood what darwin meant here. I assumed this was an open implementation of the software stack. Do I understand that this is a full MacOSx system? If so, then thanks but no need for the link.
sangoma has joined #nixos
bgamari has quit [Ping timeout: 260 seconds]
sangoma has quit [Read error: Connection reset by peer]
FRidh has joined #nixos
FRidh has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed 1000 commits to haskell-updates: https://git.io/JTSlo
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}>
[nixpkgs] @SCOTT-HAMILTON opened pull request #102155 → ptouch-print: init at 1.4.3 → https://git.io/JTSlx
mmohammadi9812 has quit [Quit: Quit]
<hexagoxel>
slightly noob question: I used "nix-env --rollback" followed by "nix-env --install -f foo.nix" and it ends up creating a new generation on top of the one that I thought I rolled back. How do I actually install on top of the rolled-back-to/switched-to generation?
mlatus_ has quit [Remote host closed the connection]
ajshell1 has quit [Quit: Connection closed]
ajshell118 has joined #nixos
ajshell118 has quit [Client Quit]
bahamas has quit [Quit: leaving]
ajshell1 has joined #nixos
bryanhonof has joined #nixos
<pheoxy>
I successfully got it running using nix-shell and used node2nix to build *.nix files but it's a bit confusing trying to convert that to a nixpkg from that
<bryanhonof>
Hello, I am having some problems updating my nixos system. Some packages
<bryanhonof>
@simpson I belive it is Discord, MS Teams, pyright and maybe one or 2 other
<bryanhonof>
packages causing me trouble. I could live without them for a while, but I'd like
<bryanhonof>
to add them again in the future :).
<simpson>
Discord breaks often due to a proprietary upstream maintainer; you might want to avoid requiring that just for your core OS, and instead set it up just for your login user. Ditto with MS Teams, although I know less about their situation.
<simpson>
Huh, pyright's not written in Python? That's...curious. But `nodePackages.pyright` builds for me, and further it builds from cache, so it's probably not the problem.
<bryanhonof>
With "instead set it up just for your login user" you mean something like this right? "users.users.bryan.packages = with pkgs; [...]"
<simpson>
I mean not putting it in configuration.nix at all, and using something like nix-shell or home-manager instead.
<NixUser02>
Hi everyone, I have a somewhat technical question. I have packaged the SUMO traffic simulator, which work fine. However, a lot of utilities coming with this package (including a Python library) expect the environment variable SUMO_HOME to be set when called. What I have been doing so far was to simply manually set it in my configuration.nix using
<NixUser02>
`environment.variables.SUMO_HOME = "${pkgs.sumo}/share/sumo";` Is there a cleaner way to set this environment variable in my derivation and to make it available to all users? Thanks!
<bryanhonof>
Aah, okay. I'll have to try those options out than. And no pyright, ironically, is written ontop of nodejs because it is "faster" :P.
mmohammadi9812 has joined #nixos
<simpson>
A shame; meanwhile, pypyPackages continues to wither. Hopefully we'll have fast Python 3 interpreters in-tree soon.
<ocharles>
That is, if I `nix-build` that, I get the expected output, but it's 0 bytes
<turlando>
Thanks simpson
<turlando>
(not sure why could not find it in /list)
<simpson>
ocharles: Curious; I tried nix-prefetch-url and got the same hash, 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73, so I'm not sure what's wrong.
<NixUser02>
simpson: Thank you for your reply. My only worry is that I will have to check whether it is possible to wrap the python library as well.
<ocharles>
Yea, and it takes a while to `nix-store -r` it so I think it's definitely downloading, but then it just doesn't correctly write the file to the store
random_usesr_01 has quit [Remote host closed the connection]
<pheoxy>
bryanhonof: lol just got the same "failed: cache mode is 'only-if-cached' but no cached response available." running nix-build after node2nix
<pheoxy>
electron-builder errors with it
<pheoxy>
but if I just run npm start within nix-shell it starts fine
<simpson>
NixUser02: Yeah, you can wrap the call to the Python interpreter. I don't know of a good example offhand though.
<NixUser02>
simpson: Awesome, I'll look into it. Thanks.
<ocharles>
simpson: can you try this for me? nix-build -E 'derivation { builder = "builtin:fetchurl"; url = "ftp://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz"; outputHash = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73"; name = "m4.tar.xz"; system = "x86_64-linux"; outputHashMode = "flat"; outputHashAlgo = "sha256"; }'
<ocharles>
That gives me an empty file
arahael has left #nixos ["WeeChat 2.7.1"]
<simpson>
ocharles: Well, this is spooky; I think I'm in a Halloween story now. https://bpa.st/HIQBY
<Jezhehim[m]>
hexagoxel: `nix-env --rollback` doesn't destroy the generation you're currently on, so the next generation you created with `nix-env --install` wouldn't reuse that number
<ocharles>
simpson: well, at least Nix lives up to its promise of being reproducible!
<Jezhehim[m]>
so if you were on (say) generation 10, then rolled back to 9, `nix-env --install thing` would create generation 11, but that would still be "<everything in generation 9> + thing"
bennofs1 has joined #nixos
<Jezhehim[m]>
Generation 11 doesn't automatically start from the state of generation 10
<simpson>
ocharles: Does changing "ftp" to "https" fix it~? It makes my nix-prefetch-url work! Perhaps this is a bug in Nix's builtin FTP fetchurl support?
<ocharles>
Yea, I was wondering that. I'm trying a HTTP URL now
<simpson>
(Lucky for us, ftp.gnu.org runs both daemons.)
brandonhamilton has joined #nixos
<{^_^}>
[nix] @Ericson2314 closed pull request #3185 → WIP: Windows support -- depends on Meson build system (#3160) → https://git.io/JezPL
<ocharles>
(Amusingly if you change the name to bootstrap-tools.tar.xz it just downloads from cache.nixos.org as a substitute :))
sangoma has quit [Quit: WeeChat 2.9]
<ocharles>
I'll report an issue. thanks for hepling!
<simpson>
No worries. ocharles++ for followthrough.
<{^_^}>
ocharles's karma got increased to 2
<hexagoxel>
Jezhehim[m]: oh, thanks, that clears it up somewhat. Is it possible to inspect which generation is built on top of which other one? But maybe I am still stuck in a git/tree-of-diffs mindset.
<hexagoxel>
but then nix-env --install _is_ applying a diff, isn't it? Only it does not seem to be recorded as a diff.
<alexarice[m]>
nicolas: is that acceptable for things going into nixpkgs
<gchristensen>
siraben: they were aborted because there was no builder available for a long time
<gchristensen>
not that they were attempted and failed
<siraben>
Is there a builder now?
<gchristensen>
sometimes
<gchristensen>
but currently ,no
<siraben>
Hm
<gchristensen>
the armv7l builder is a VM in on aarch64 machine, and so it reduces our ability to build aarch64 packages in a timely fashion
<gchristensen>
and it is a bit tricky to run. I don't remember, I haven't looked at it in a while -- but I'm possibly going to need to soon
pablo1107[m] has joined #nixos
<bbigras>
I'm trying to figure out with Gnome if one of the theme I'm using fixes the broken Steam icon bug. I removed all my theme and rebooted and I still have the right icon. Do I need to run something to update some cache or whatever? I want to help with https://github.com/NixOS/nixpkgs/issues/87774
<{^_^}>
#87774 (by bbigras, 24 weeks ago, open): Steam icon is broken and huge with gnome-shell
justanotheruser has joined #nixos
<nicolas[m]>
alexarice: yes, there is no problem with using the new hash format
<alexarice[m]>
nicolas: great, thanks
alp_ has quit [Ping timeout: 264 seconds]
mmohammadi9812 has joined #nixos
banan has joined #nixos
<{^_^}>
[nixpkgs] @alexarice opened pull request #102161 → agda-categories: fix version → https://git.io/JTS2a
banan has quit [Remote host closed the connection]
turlando has quit [Read error: Connection reset by peer]
jabster28 has joined #nixos
bananchick_pasha has joined #nixos
NixUser02 has quit [Remote host closed the connection]
alp_ has joined #nixos
philr has quit [Ping timeout: 264 seconds]
tlater[m] has joined #nixos
saschagrunert has quit [Quit: Leaving]
jabster28 has quit [Ping timeout: 268 seconds]
JonReed has joined #nixos
<{^_^}>
[nixpkgs] @mkenigs opened pull request #102162 → broadlink-cli: 0.9.0 -> 0.15.0 and use python3 → https://git.io/JTSVu
jabster28 has joined #nixos
turlando has joined #nixos
zupo has joined #nixos
ATuin has quit [Ping timeout: 268 seconds]
bananchick_pasha has quit [Remote host closed the connection]
<berber>
hey, i have a problem. i am installing a nixos, and i commented out the boot.loader.systemd-boot.enable, and instead set boot.loader.grub.enable and .efisupport to true, and .version to 2, and i set .device to /dev/sdc1, my boot partition. when i do nixos-install though, it says no such file or directory. i also tried by id and by label. no
<selfsymmetric-mu>
Reviewed and tested. Asked five times here over the last five days and also asked on the "PRs in distress" thread.
<berber>
it doesn't matter right now, but out of curiousity, what does it mean "The special value nodev means that a GRUB boot menu will be generated, but GRUB itself will not actually be installed", GRUB won't be installed? don't i want it installed?
<nicolas[m]>
To install the bootloader I would pass `--install-bootloader` to nixos-rebuild
ManiacOfMadness has quit [Ping timeout: 240 seconds]
<selfsymmetric-mu>
What am I doing wrong? What should my next step be to get a PR merged?
zupo has joined #nixos
ddellacosta has joined #nixos
<JonReed>
berber: If I recall correctly, .device is for legacy boot (MBR) not EFI, It tries to go to that derive and install grub into MBR there. With EFI installation leaves a record in EFI variables on the system, not the storage device, and then it boots from there. In legacy boot, installation installs a bootloader within the MBR partition space on the
<JonReed>
storage device. This is why if you don't want to leave any traces that a system is installed, you typically use legacy boot. You the bootloader is installed on the storage device within the MBR and none of EFI variables are touched on no EFI records are created. But if you're already using EFI, then it is not necessary to store any boot information
<JonReed>
within MBR, because it is already stored on EFI.
sss2 has joined #nixos
<nicolas[m]>
selfsymmetric-mu: You could try marvin: add `/marvin opt-in` and `/status needs_merger` in a comment in the issue
<selfsymmetric-mu>
nicolas[m]: I don't believe I've had the pleasure of being introduced to marvin, so I will try! Thank you so much for the suggestion!
<selfsymmetric-mu>
"The PR author cannot set the status to needs_merger. Please wait for an external review."
erasmas has joined #nixos
<selfsymmetric-mu>
hmmm
<selfsymmetric-mu>
But I HAVE an external review already. :(
cole-h has joined #nixos
<JonReed>
berber: So, the system boots and at one stage it can either give control to something within EFI or give control to MBR. Typically, in BIOS you can press F8 or F12 and choose specifiaclly which storage device's MBR it will give control to, trying to boot it.
<selfsymmetric-mu>
I guess I don't have permissions.
<selfsymmetric-mu>
nicolas[m]: This doesn't help me. I'm already reviewed, and I don't have permissions to move anything forward.
<Mic92>
selfsymmetric-mu: what is the PR?
justanotheruser has quit [Ping timeout: 268 seconds]
<Mic92>
got it
Chiliparrot has joined #nixos
<siraben>
What's an efficient way to do git bisect on nixpkgs? Basically I have a derivation that worked some time ago but does not now, but every time I change the hash it redownloads nixpkgs
<selfsymmetric-mu>
siraben: Glad you figured it out!
<tobiasBora>
Hello, I'm trying to upgrade my system from 20.03 to 20.09, but I get an error "Package ‘breeze-qt5-5.18.5’ in /nix/store/h3qd1vw6cfppz75jf49fa3d73c0sgw06-source/pkgs/desktops/plasma-5/default.nix:96 is marked as broken, refusing to evaluate."
<tobiasBora>
Any idea what's wrong?
<selfsymmetric-mu>
And yeah, I agree, magit is great.
Yumasi has quit [Ping timeout: 264 seconds]
<__monty__>
tobiasBora: Packages are marked broken when they don't build or they fail their testsuite for example. You system configuration directly or indirectly depends on a broken package. So it can't be built.
<{^_^}>
#100136 (by xaverdh, 2 weeks ago, open): nixos-install: pass through impure flag
<tobiasBora>
__monty__: yes I understand, but I don't understand 1) why it's broken 2) what package requires it. Since I use breeze + KDE plasma, I get that the whole system requires that lib... so I'm quite surprised that a stable release 20.09 cannot compile KDE
jabster28 has quit [Ping timeout: 246 seconds]
jabster28 has joined #nixos
hnOsmium0001 has joined #nixos
<bbigras>
pkgs/desktops/plasma-5/breeze-qt5.nix doesn't seem to be marken as broken on the release-20.09 branch. I wonder if I'm on the right branch
<bbigras>
I wonder if it could be `broken = lib.versionAtLeast qtbase.version "5.15";` in pkgs/desktops/plasma-5/default.nix
<bbigras>
some tests are pretty simple and could help you make one
<cole-h>
Heh
<cole-h>
I was just about to pull up the NixOS manual
<cole-h>
I stand corrected :)
<tobiasBora>
bbigras: thanks. Guess I'll need for this issue to be merged + backported.
<bbigras>
tobiasBora: yeah. I'm surprised the problem ending up in the release.
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<tobiasBora>
bbigras: yeah, strange, especially when most programs require this lib
<bbigras>
cole-h: hehe. I was pretty sure there was something in the manual since I remember there's a way to run the tests in an interactive way. Which is pretty useful when you don't have a clue what you are doing, like me.
<eyJhb>
Cool, thanks bbigras ! :D
<bbigras>
eyJhb: you're welcome 🙂. nixos tests are awesome.
<eyJhb>
Never done them before, but I really hope that they are!
<eyJhb>
Want to get going with them, but I have some work to do before I can have playtime ;)
<{^_^}>
[nixpkgs] @jonringer merged pull request #102162 → broadlink-cli: 0.9.0 -> 0.15.0 and use python3 → https://git.io/JTSVu
<{^_^}>
[nixpkgs] @jonringer pushed commit from @mkenigs to master « broadlink-cli: 0.9.0 -> 0.15.0 and use python3 »: https://git.io/JTSMK
<sphalerite>
Is there a "middle path" between mutableUsers = true; (not allowing users to change their passwords) and mutableUsers = false; (users can be created independently of the nixos config), where passwords can be set and will persist but imperatively added users will not?
alexherbo27 has joined #nixos
<{^_^}>
[nixpkgs] @grahamc opened pull request #102171 → stage-1: modprobe ext{2,3,4} before resizing (so resizing takes less than 45 minutes) → https://git.io/JTSDK
<{^_^}>
[nixpkgs] @grahamc opened pull request #102172 → stage-1: add datestamps to logs → https://git.io/JTSD6
<{^_^}>
[nixpkgs] @grahamc opened pull request #102173 → create-amis.sh: fixup shellcheck issues, improve error logging, and add configurable service names → https://git.io/JTSDi
<{^_^}>
[nixpkgs] @grahamc opened pull request #102174 → AMI root partition table: use GPT to support >2T partitions → https://git.io/JTSDP
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hyper_ch5 has joined #nixos
MmeQuignon has joined #nixos
davidv7 has joined #nixos
jabster28 has joined #nixos
hyper_ch2 has joined #nixos
hyper_ch4 has quit [Ping timeout: 268 seconds]
fendse has quit [Ping timeout: 258 seconds]
hyper_ch5 has quit [Ping timeout: 268 seconds]
tobeportable has quit [Quit: Leaving]
cosimone has joined #nixos
ajshell1 has quit [Quit: Connection closed]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
alexherbo21 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo21 is now known as alexherbo2
<dsx>
luc65r: hi
<ajs124>
I have a drv that builds on one machine but not another, what do I blame? SSD? RAM? Cosmic rays?
davidv7 has quit [Ping timeout: 240 seconds]
genevino has quit [Quit: Great minds discuss ideas. Average minds discuss events. Small minds discuss people.]
genevino has joined #nixos
noogie has joined #nixos
<cole-h>
IFD, maybe.
zakame has quit [Ping timeout: 240 seconds]
zakame has joined #nixos
<evalexpr>
I have a shell.nix that is using cachix/pre-commit-hooks.nix, which is working fine - but I get an error when trying it via `nix develop`: attribute 'currentSystem' missing - which goes away if I remove the fetchTarball for the pre-commit-hooks - is it not possible to use fetchTarball or something with nix develop?
<sphalerite>
ajs124: is it the same drv hash?
moet has joined #nixos
<sphalerite>
ajs124: do you have sandboxing enabled?
<sphalerite>
ajs124: how is it failing on the one host?
<moet>
i'd like to try out 20.09 but i want to make sure i'll be able to rollback to 20.03 .. does anybody know if 20.09 changes the nix db schema?
<ajs124>
I have sandboxing on both hosts and sha1sum /nix/store/...my.drv returns the same hash.
<sphalerite>
moet: it doesn't, you can go right ahead. As with all releases, checking the backwards incompatibilities list in the release notes is recommended though.
<ajs124>
I'm checking both nix stores right now, but they're both >100G, so it'll take some time.
<moet>
sphalerite: ok, i'll read the release notes; thanks for the reminder
<sphalerite>
ajs124: huh, that's a fun one.
butcher has joined #nixos
<luc65r>
hi dsx
magnetophon has quit [Ping timeout: 246 seconds]
<dsx>
luc65r: regarding pull request
<sphalerite>
ajs124: my next suggestion would be using cntr to enter the sandbox and do some tracing.
<sphalerite>
ajs124: oh, actually try building with --cores 1 on both ends first.
<dsx>
luc65r: I just copied meta section from old default.nix without changes
<ajs124>
yeah, I disabled enableParallelBuilding, lets see if that helps
jabster28 has quit [Ping timeout: 268 seconds]
<ajs124>
one of the machines is has 2 CPUs (and 24 threads), the other only has one and 12 threads.
<dsx>
luc65r: do you want me to fix both files? What's the optimal length for description anyway?
<ajs124>
that would be amazing, though. I just checked earlier, and that enableParallelBuilding has been there since 2011.
moet has quit [Quit: leaving]
<benley>
is fetchTarball supposed to rely on the tar command just being present in the environment somehow? I've never run into this before but when I try to use it in a Dockerfile build I get `error: executing 'tar': No such file or directory`
<luc65r>
dsx: the description is a bit long, but there isn't a standard length
<ajs124>
well, I get why it was enabled, it takes forever to build without it, but it looks promising
<luc65r>
dsx: if you can't make a new one, it's fine, it's not a big deal
<luc65r>
dsx: you can change it for both is you find a good description
<dsx>
luc65r: ok
<dsx>
I'll update both then
magnetophon has joined #nixos
<supersandro2000>
TIL: nix edit -f . package
alp_ has quit [Ping timeout: 264 seconds]
gnidorah has quit [Quit: Connection closed for inactivity]
<benley>
whoa, that is nice
Morfio has quit [Quit: This computer has gone to sleep]
werner291 has joined #nixos
jbox has joined #nixos
malook has joined #nixos
ilmu has quit [Ping timeout: 260 seconds]
Morfio has joined #nixos
malook has quit [Client Quit]
<ajs124>
sphalerite: yeah, so it builds without enableParallelBuilding
alp_ has joined #nixos
asheshambasta has quit [Remote host closed the connection]
aswanson has joined #nixos
codygman has quit [Ping timeout: 260 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
<siraben>
How do I pass an argument to foo in `nix build -f . pkgs.foo`? Something like `nix build -f . 'pkgs.foo { bar = true; }'`?
<jkt>
how do I run the D-Bus daemon within nix-shell? Do I start it manually? (unit tests of a software I'm developing require a D-Bus bus. Any will do, and there are no isolation concerns.)
<jkt>
rnhmjoj: I already have /run/user/$(id -u)/bus visible from within that shell, though, so it sounds like that won't really work
<nicolas[m]>
`dbus-launch`
<nicolas[m]>
It will wrap your program with a new dbus daemon
<rnhmjoj>
jkt: ah, so you already have a dbus running but want a clean one for testing?
<rnhmjoj>
nicolas: dbus-launch works too but it's deprecated. it's better to just run the daemon and set the env variable, if encessary
<nicolas[m]>
`dbus-launch` is the wrong binary, `dbus-run-session -- binary args` is probably what you want
cosimone has quit [Quit: cosimone]
<jkt>
rnhmjoj: let me see if I can pinpoint the real cause of this error, perhaps it's a missing env var or something (I don't see any relevant open/socket/connect/... in a strace)
<jkt>
yeah, it was just that, a missing DBUS_SESSION_BUS_ADDRESS
<worldofpeace>
cole-h: hmm, I wonder if the installer tests could do this
<worldofpeace>
and are there tests for flags and such
<cole-h>
worldofpeace: They could, but they'd have to be written. I was plannig to test it manually, if you called for it. I have a spare laptop I can use.
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JT9fX
<cole-h>
(e.g. I don't think there are any flake install tests. Maybe there should be.)
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JT9f9
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable broken builds to fix evaluation »: https://git.io/JT9Jr
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JT9J1
<worldofpeace>
cole-h: oh right, the install tests don't do any flake stuff
<worldofpeace>
cole-h: hmm, I'm wondering if there's a good way to test nixos-install virtually
<worldofpeace>
cole-h: I mean, if it's convenient, u could test on actual hardware
alp_ has joined #nixos
<mica[m]>
Is it possible for rebuild to get stuck in a loop? This is my second time compiling plasma and thunderbird
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JT9IX
maridonkers[m] is now known as Photonsphere[m]
<{^_^}>
[nix] @roberth opened pull request #4207 → Fix RemoteStore pool deadlock in filterSource etc → https://git.io/JT9Ip
<{^_^}>
[nixpkgs] @worldofpeace pushed to master « maintainers: my name should be stylized »: https://git.io/JT9Le
<gchristensen>
WORLDofPEACE <3
astronavt has joined #nixos
<worldofpeace>
gchristensen: Noticed it wasn't up-to-date as per eyJhb 😸
oida has joined #nixos
<eyJhb>
I don't even know how my name is styled in maintainers, and when I say styled, I mean if I was lazy.
<fendor>
not sure, whether this is nixos related, but since the last update, vscodium seems to use a non-monospace font. I did not switch settings, so my hunch would be that vscode can't find system fonts. What could have caused this font change?
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JT9qq
<supersandro2000>
Ke: the normal CI is usually quite fast if it isn't that busy
<supersandro2000>
but you can also test locally by just building the package or using nixpkgs-review
<Ke>
now that I see 2000+ pending pull requests I am maybe less optimistic
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #101132 → iosevka-bin: add support for variants → https://git.io/JTRcH
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JT9q0
astronavt has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #102188 → xmlsec: fix build in darwin sandbox, make tests (more) reproducible → https://git.io/JT9qu
<Ke>
I guess abandoned ones are never purged though
<Yaniel>
yeah
<LnL>
is there an issue with the evaluations?
<supersandro2000>
Ke: most of them are already through the CI. It isn't building packages so it does not take forver with 5000+ changes
<supersandro2000>
LnL: don't think so
<Ke>
well mine completed already anyway
<supersandro2000>
if you share the link I'll take a look at it
<supersandro2000>
I can tell you why I didn't add logs for that one: I queued like 5 PRs a while ago and I didn't fully look through them yet
yagoham has joined #nixos
<supersandro2000>
so `nixpkgs-review pr --post-result X X X X X` and then I waited. Going to search for that one now
<supersandro2000>
hexa-: Should I add auto log upload for nixpkgs-review? If it fails and the log is not empty I could upload it to eg termbin and add that link
<supersandro2000>
Would this help you?
<supersandro2000>
hexa-: added logs to your PR, sandbox failed
<hexa->
brrr
<hexa->
i hate that sandbox
yagoham has quit [Quit: leaving]
Rusty1 has quit [Quit: Konversation terminated!]
<supersandro2000>
😃 turn it on locally and I don't remind you every other PR about it
<supersandro2000>
do we have a isSandboxed flag?
<hexa->
I would be surprised if we didn't use the sandbox on nixos
<hexa->
Mic92: ^?
yagoham has joined #nixos
MichaelRaskin has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
selfsymmetric-mu has joined #nixos
shibboleth has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
ehmry has quit [Read error: Connection reset by peer]
ManiacOfMadness has joined #nixos
jabster28 has quit [Ping timeout: 272 seconds]
<selfsymmetric-mu>
Hey infinisil, I found your journalctl dump, and I'm getting "usb 7-3.1: 3:1: cannot get freq at ep 0x84" myself after my system fully froze. Did you ever resolve that error?
<selfsymmetric-mu>
I'm wondering if I should enable `uvcvideo` (although I don't know how yet…)
<supersandro2000>
🎉 darwin is less broken
ehmry has joined #nixos
<infinisil>
Phew, 3 years ago!
noudle has quit []
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil>
selfsymmetric-mu: No idea sorry, but it might have been my USB hub at that time acting up, memory is fuzzy
alp_ has joined #nixos
<hexa->
supersandro2000: fwiw: sandboxing is enabled by default on nixos
Rusty1 has joined #nixos
<V>
supersandro2000: nixos-option nix.useSandboxing, and what hexa- says is true
<{^_^}>
[nixpkgs] @grahamc merged pull request #102182 → [20.09] Backport AMI Boot Time and Disk Improvements → https://git.io/JT9ke
<{^_^}>
[nixpkgs] @grahamc pushed 15 commits to release-20.09: https://git.io/JT93c
<hexa->
supersandro2000: so I'm kinda left with disabling some tests on darwin
<hexa->
or disabling the tests altogether on darwin
<supersandro2000>
maybe darwin sandboxing is different. Not sure.
jabster28 has joined #nixos
<V>
it is
<supersandro2000>
if it is like 5 tests I would disabled them but if like 20 fail I would just disabled tests on Darwin
<V>
the linux and darwin sandboxing implementations both depend on OS-specific stuff
<supersandro2000>
I think it is better this way than disabling the package completely on darwin if the issue is the sandboxing and not real functionality or build mistakes
<hexa->
I never said we would need to disable the whole package on darwin
<hexa->
it's just that some socket operations don't work in the darwin sandbox
<hexa->
but they will work when not sandboxed, like in any python script
<neothefox>
Hey everyone, why 20.09 tries to build thunderbird from source?
<demostanis[m]>
Long time Arch user here, I've been looking at NixOS since today and I'm thinking at getting it on one of my computers. I'm wondering where most of the documentation is. It seems like the wiki is lacking many pages?
<supersandro2000>
neothefox: the simpel answer is that the cache is missing but I can't tell you why
<neothefox>
<supersandro2000 "neothefox: the simpel answer is "> yeah, this is strange, my friends tries it for the first time and his system tries to build thunderbird on a fresh install
<Ashy>
oh wow, that learn page is new and looks really nice
ilmu has joined #nixos
<demostanis[m]>
Thanks a lot people, I am also wondering if there is, as on the Arch wiki (which I am very used to), documentation on how to use some package installed from nixpkgs (e.g. some troubleshooting people might have and fixes) or do I have to search elsewhere myself?
<selfsymmetric-mu>
I run `steam steam://rungameid/<paste_game_id_here>` to get error messages in the terminal.
<selfsymmetric-mu>
That might help you diagnose what's going wrong.
<Akira[m]>
oh useful. thanks
<Akira[m]>
and with proton?
<Akira[m]>
--proton?
<selfsymmetric-mu>
Oh, I believe it uses whatever you last used in the Steam client.
<Yaniel>
risk of rain 2 works perfecctly here in proton
<selfsymmetric-mu>
I start games from Emacs, but I usually play a game after buying it, which I do from Steam, so my first run is from the Steam client.
<Yaniel>
but I don't have prime nor an nvidia gpu
<Yaniel>
steam uses proton for games that don't have a native linux build
<Yaniel>
and for games where you explicitly ask it to
<selfsymmetric-mu>
I have an NVIDIA GPU, but I am not familiar with NVIDIA prime.
luc65r has quit [Quit: WeeChat 2.9]
emmanuel_erc has joined #nixos
<Yaniel>
from what I hear bumblebee/prime has always been a pain in the back though