<kyren>
I don't know what happened, but finally the wayland gnome session started working instead of creating a core file in my home directory, and it's glorious
<kyren>
thank you to everyone who works on packaging gnome in nixos
doyougnu has quit [Ping timeout: 244 seconds]
eadwu has joined #nixos
<kyren>
it's amazingly better than the fallback Xorg session
<{^_^}>
[nixpkgs] @dtzWill opened pull request #54968 → sudo-font: init at 0.37 → https://git.io/fhDmj
schjetne has joined #nixos
<tolt>
samueldr: yeah, Firefox says it's not a secure connection
maximiliantagher has joined #nixos
<tolt>
Huh. Seems to load fine on mobile firefox
<tolt>
woah, the time on my computer is wrong... Didn't even notice that
<{^_^}>
#53055 (by tazjin, 4 weeks ago, merged): Add automatic generation of library function documentation
eadwu has quit [Quit: WeeChat 2.3]
Rusty1 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
eadwu has joined #nixos
tritoncompute has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
Acou_Bass has joined #nixos
o1lo01ol1o has joined #nixos
nD5Xjz_ has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixos-channel-scripts] @samueldr opened pull request #23 → file-cache: use the right exception type for parse error → https://git.io/fhDGC
ng0_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
pareidolia has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @danbst merged pull request #54529 → nixos/httpd: rename apache log files to have a .log file extension → https://git.io/fhwYM
<{^_^}>
[nixpkgs] @danbst pushed commit from @aanderse to master « nixos/httpd: rename apache log files to have a .log file extension (#54529) »: https://git.io/fhDGw
Synthetica has quit [Quit: Connection closed for inactivity]
Supersonic has joined #nixos
<kyren>
hey, I'd like to try installing virtualbox from PR #53120, is it possible to import the virtualbox and virtualbox-modules packages and the virtualbox nixos module from another nixpkgs version like that? is the config at the end of this issue: https://github.com/NixOS/nixpkgs/issues/35440 the right way to do that? I feel like it's not because it doesn't mention virtualbox-modules but I'm not sure
<yl[m]>
I got my XPS 13 today. Ubuntu install disk works fine in EFI but I have to enable BIOS to boot NixOS install disk. so I used BIOS to get the system installed but I'm stuck trying to figure out how to install Grub since it does not see EFI. Any suggestions?
<yl[m]>
s/disk/memstick/
maximiliantagher has quit [Remote host closed the connection]
leothrix has joined #nixos
maximiliantagher has joined #nixos
<musicmatze>
Has anyone experience with nixos on a Tuxedo Infinitybook v4 Pro?
<thoughtpolice>
Okay, let's say I have a release.nix file that has an attrset with a bunch of expressions that are built. How can I get all of the result attrset paths, their dependencies, *and* their nativeBuildInputs?
maximiliantagher has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
<thoughtpolice>
Reason: I don't just want people to download artifacts; I need a custom cross compiler toolchain, so I want them to also get the cross compiler from the cache, but of course the cross compiler gets stripped as a runtime dependency from the result expression
<{^_^}>
[nixpkgs] @ttuegel merged pull request #54886 → openblas: make the optimization target overridable → https://git.io/fhXgr
<{^_^}>
[nixpkgs] @peterromfeldhk opened pull request #54972 → pythonPackages.minio: init at 4.0.11 → https://git.io/fhDnF
maximiliantagher has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<yl[m]>
I tried the unstable ISO as well, still no go. I only get stuck cursor on the top left instead of grub and it gets stuck. Has anyone had issues booting NixOS but not Ubuntu?
iqubic has joined #nixos
<iqubic>
What is it with steam games and not recognizing my Playstation 3 controller properly.
<iqubic>
Like I just downloaded 3 different games onto my computer, and all three have a wrong keymap.
<iqubic>
It shows the right keymap. It's just that steam isn't doing that.
<{^_^}>
[nixpkgs] @peterromfeldhk opened pull request #54973 → pythonPackages.yubico-client: init at 1.10.0 → https://git.io/fhDcB
<iqubic>
Like I hit the circle button and nothing happens.
<iqubic>
I hit the down arrow button and the game thinks I've hit the circle button.
<iqubic>
Left is hit and game registers square.
<iqubic>
Up is hit and game registers triangle.
<iqubic>
right is hit and game registers nothing.
nDuff has quit [Quit: zzz]
<iqubic>
Using the control remapping screen, I can see that when I press on button, a different one is registered by the game. Except for a couple of buttons that just don't do anything at all.
<iqubic>
Anyone know how to fix this?
<yl[m]>
Arch and Ubuntu both boot fine in EFI but NixOS, interesting
<yl[m]>
secure boot is disabled and sata mode is set to ACHI
<yl[m]>
still getting black screen
<kyren>
iqubic: I know steam allows you to remap controller buttons for controllers read through their controller API, but I've forgotten all the details, could it be steam which is remapping it? I think there's a controller configuration somewhere inside it
maximiliantagher has joined #nixos
<iqubic>
How would I find that?
<kyren>
iqubic: settings -> controller? I don't know that that's definitely it, but there's a section for playstation controllers there
<aanderse_>
anyone know how i can get the llvm version of an expression? working with llvmPackages passed into a derivation and need to get the actual version number
maximiliantagher has quit [Ping timeout: 245 seconds]
<aanderse_>
need to get something like this... ${llvmPackages.clang-unwrapped}/lib/clang/7.0.1/include
<yl[m]>
gchristensen: have you had any luck with your XPS?
<aanderse_>
so like... llvmPackages.clang-unwrapped.out.version ? erroring on that exactly though, saying version doesn't exist
tritoncompute has joined #nixos
<iqubic>
kyren: Something weird is going on. Opening the steam settings page and polling for controller info tells me that no controller is connected.
<iqubic>
But yet my steam games recognize the controller.
<kyren>
iqubic: steamworks has an input API, but you don't have to use it, I'm just guessing but that probably? means they're not using steam's input API... but I'm really just guessing
<appleclusters>
Has anyone had luck with stack's docker integration on nixos? When I try to build the image container stack fails because it doesn't have permissions for .stack-work
<appleclusters>
It works with sudo
<appleclusters>
And yes I'm in the docker user group
<appleclusters>
I can try to spin up a minimal reproducible example tomorrow if that would help
maximiliantagher has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.3]
<{^_^}>
[nixpkgs] @peterromfeldhk opened pull request #54976 → pythonPackages.azure-keyvault: init at 1.1.0 → https://git.io/fhDll
q6AA4FD has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @teto opened pull request #54977 → linux: (re)take into account extraConfig → https://git.io/fhDlE
Havvy has quit [Read error: Connection reset by peer]
andersk has quit [Remote host closed the connection]
andersk has joined #nixos
griff_ has quit [Quit: griff_]
<{^_^}>
[nixos-org-configurations] @grahamc pushed to master « hydra-mirror: set GC_INITIAL_HEAP_SIZE to 4g to allow completion »: https://git.io/fhDly
<Edes>
I'm trying to create a user in a module
<Edes>
I have the module.nix which has a definition for users.extraUsers.myUser and then I import it to my configuration.nix with the imports
Havvy has joined #nixos
<Edes>
but it's giving me an error which says "Module module.nix has an unsupported attribute `users'"
<teto>
for those on the brand new nixos-unstable and with custom kernels, extraConfig might get ignored so please be careful. Fix here https://github.com/NixOS/nixpkgs/pull/54977
<fresheyeball>
so I just did a redeploy of a machine running our gitlab
<fresheyeball>
annnd it failed to start
<fresheyeball>
first it failed on creating a symlink in /var/lib/gitlab/...
<fresheyeball>
and I noticed the /var/lib/gitlab/conf folder was empty
<fresheyeball>
and it was linking deeper
<fresheyeball>
so I mkdir'ed a new folder so that the symlink had a place to go
<fresheyeball>
and it moved onto a new error
<fresheyeball>
is there something weird with the gitlab service and the conf folder?
<fresheyeball>
is there a reason it would be empty?
<fresheyeball>
should it be empty?
palo1 has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
Edes has quit [Ping timeout: 250 seconds]
EffSquared has joined #nixos
vk3wtf has joined #nixos
<{^_^}>
[nixpkgs] @teto opened pull request #54978 → [wip] Lua generate nix packages from luarocks → https://git.io/fhD0X
<fresheyeball>
fixed
<fresheyeball>
was my bad
rwe has quit [Ping timeout: 245 seconds]
<dtz>
teto: np glad it was that easy ^_^. Thanks for pushing lua infra goodness!! :D
<teto>
dtz: I just wanted to run neovim tests basically then instead of packaging 6 packages over 2 days, here I am one year later with a full infra :'(
<dtz>
lmao yep that sounds about right xD
Ariakenom has joined #nixos
<dtz>
honestly that's one of the biggest problems with NixOS/etc, for me anyway: because it's so easy to just.. FIX (add/modify/etc.) things it can be difficult to not do so almost compulsively.
schjetne has joined #nixos
<dtz>
if something was broken or missing and I knew even trying to investigate would be a big trashfire of insanity, I'd just move on. But nope, you can easily inspect and find the bit responsible haha
griff_ has joined #nixos
<infinisil>
Hehe yeah
dermetfan has joined #nixos
EffSquared has quit [Ping timeout: 268 seconds]
Ariakenom has quit [Quit: Leaving]
dermetfan has quit [Ping timeout: 240 seconds]
<kyren>
I'd like to make a r/w nixos install on a USB to try something before I make a permanent install (I need virtualbox on the bootable USB), what's the best way of doing that?
manjaroi3_ has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
fusion809 has quit [Remote host closed the connection]
<kyren>
I suppose I can go through the installation procedure like normal but on the USB itself, but I kind of have to guess at the hardware, is there a simple way to just include whatever the installer includes?
knupfer has joined #nixos
goibhniu has joined #nixos
brejoc has joined #nixos
Makaveli7 has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ckauhaus[afk] is now known as ckauhaus
Ariakenom has joined #nixos
rwe has joined #nixos
<eyjhb>
gchristensen: everything should be good to go
jackdk has quit [Ping timeout: 272 seconds]
EffSquared has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}>
[nixpkgs] @danbst opened pull request #54980 → nixos: make symlinks in `/etc` relative (except `/etc/static`) → https://git.io/fhDz6
revtintin has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<kyren>
got it, you can just run the installation procedure as normal using nixos-generate-config and nixos-install on a USB, and as long as it boots at all with networking, you can just re-run nixos-generate-config on the target machine, neat
reinhardt has joined #nixos
<sphalerite>
kyren: yep :)
revtintin has joined #nixos
lokado has joined #nixos
<lokado>
have you tried to build dyninst on nixos?
hyper_ch2 has joined #nixos
rauno has joined #nixos
knupfer has quit [Quit: knupfer]
phry has quit [Quit: WeeChat 2.1]
knupfer has joined #nixos
phry has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @andir merged pull request #54944 → [18.09] dockerTools: unpin go version → https://git.io/fhMsd
<{^_^}>
[nixpkgs] @andir pushed 2 commits to release-18.09: https://git.io/fhDaI
Thra11 has quit [Ping timeout: 246 seconds]
nimblepoultry has joined #nixos
<nimblepoultry>
Hi, how can I install androidndk, I can see it in git and my channels are using unstable, but for some reason why I try to query or install for *android* it doesn't appear (but android studio does and how I'm managing the sdk) is there a better way to do this
<nimblepoultry>
also install jdk doesn't seem to set JAVA_HOME
ThatDocsLady has joined #nixos
o1lo01ol1o has joined #nixos
Mateon3 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
freeman42x has quit [Ping timeout: 240 seconds]
revtintin has quit [Ping timeout: 240 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
<{^_^}>
[nixpkgs] @timokau merged pull request #54949 → sage: python-openid: move django and twill to checkInputs → https://git.io/fhM0t
<{^_^}>
[nixpkgs] @timokau pushed commit from @dotlambda to master « sage: python-openid: move django and twill to checkInputs (#54949) »: https://git.io/fhDwR
<immae>
Hi everyone! I’m trying to make use of https://nixos.org/nix/manual/#sec-sharing-packages on an amazon instance to have a local binary cache (because bandwidth is not unlimited), so I put `substituters = s3://some.local.cache https://cache.nixos.org` in the config, but it still uses the nixos cache in priority. For packets absent from cache.nixos.org it takes them from s3, but not the other ones. If I
<EffSquared>
Taneb: The page also has example code and an example to how to do the same thing with cmake
<Guanin>
Hi, my XServer crashes regulary and I do not know why - there is nothing in dmesg or the journal, except that everything that tries to access the display is exiting
<Guanin>
Does anyone know how I can approach debugging this? Or is it possible that this is caused by using the kernel from nixos-unstable?
<Taneb>
EffSquared: thanks
<otini>
Hi, a broken package prevents `nixos-rebuild switch` from succeeding, I was wondering what's the quickest way to ignore this package for now
<Guanin>
GPU is an i915, but I originally wanted to switch to an AMD WX3100 (but I did not get it working)
alex`` has joined #nixos
timor has joined #nixos
sigmundv_ has joined #nixos
<Twey>
otini: Comment it out in your config?
revtintin has joined #nixos
<etu>
otini: And then, which package is it? So you or someone can attempt to fix it :-)
dermetfan has joined #nixos
revtintin has quit [Client Quit]
rauno has quit [Remote host closed the connection]
rwe has quit [Ping timeout: 246 seconds]
mtesseract has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
<otini>
Twey: ah, yes, I hadn't realized it was directly in my configuration.nix…
<Twey>
otini: If that happens your only real option is to remove it from your config — if a dependency of something in your config doesn't build then you can't build that config, there's not much you can do about that :þ
<Twey>
otini: You can use nix why-depends to trace the dependency chain from the broken package to your system profile if it's not clear
<wedens>
clever: I feel a bit torn between pinning everything (including nixos modules) and using channels. the only (but pretty big) disadvatage of pinning is apperently binary cache coverage. can I have a cake and eat it too? :D
simukis has joined #nixos
<symphorien>
You can pin a to the revision of a channel
<wedens>
symphorien: you predicted my next question :)
q6AA4FD has joined #nixos
<wedens>
ofborg builds most of PRs, does it end up in the cache? if it does, master should have a pretty good coverage, shouldn't it?
<clever>
wedens: i typically just do something like `nix eval nixpkgs.lib.version` to get the current rev my channel is at, and then use that to pin whatever project i'm starting
<jomik>
clever, wedens. Thanks :) I'll attempt this. Would prefer not loading a easy PS tho. clever How do I see what ghc versions are available there?
<noonien>
hmm, the article is pretty old. is dedup really that expensive still?
ingenieroariel has joined #nixos
<tilpner>
Everyone says it is, I haven't tried it myself
justanotheruser has quit [Ping timeout: 272 seconds]
<ingenieroariel>
Hello everyone - I keep having fun with nixos and wanted to ask if anyone has a sample configuration for turning my computer into a wireless router (my final goal is to have ipv6 internally and a static ipv4 externally), I have the external part with default gateway set up but now need to get into the local wifi configuration
<noonien>
Ah, i see, thanks!
rwe has quit [Ping timeout: 245 seconds]
lokado has quit [Quit: Connection closed for inactivity]
<tilpner>
(They would know more, but all of them are probably here too)
<tilpner>
But now you know their names and can look at their GitHub repos :)
orivej has quit [Ping timeout: 250 seconds]
<ingenieroariel>
I am already looking at cleverca22's configs - but they are too advanced for what I can understand so far - and I see no wireless apart from the eepc
<{^_^}>
{ available = <CODE>; description = "A c/c++ language server powered by clang"; homepage = "https://github.com/MaskRay/ccls"; license = <CODE>; maintainers = <CODE>; name = <CODE>; outputsToInstall = ...
<hodapp>
waaaaait...
<hodapp>
did I spell ccls wrong, or look in the wrong place?
<tilpner>
The bot checks some recent-ish master
<tilpner>
Maybe you didn't do that
<hodapp>
perhaps
rauno has joined #nixos
mekeor has joined #nixos
simukis has joined #nixos
o1lo01ol1o has joined #nixos
<immae>
Hi everyone, in my nix initiation in the last weeks I wrote some derivations (mostly web services) that I think could be useful to more people. Saddly, they contain terms that are specific to my install, which makes them not packageable as is (they need a bit of adjustment), but someone might be interested to take them and make the last adjustments, so here is the list of packages I can share: nextcloud,
<immae>
davical, infcloud, adminer, diaspora, etherpad (this one is not sandboxed yet), mantisbt, mastodon, mediagoblin, rompr, roundcubemail, wallabag, ympd, yourls. Please poke if you’re interested in packaging them correctly (I’ll do it at some point but right now I’m busy with more urgent things)
<symphorien>
I think roundcube is already in nixpkgs, and there is a PR for wallabag
<immae>
I don’t see roundcube, is it another name?
<ingenieroariel>
the question now is how to initialize that configFile variable with pkgs.writeText on /etc/nixos/configuration so that I can pass a totally custom wpa_supplicant.conf without having to put it in /etc/wpa_supplicant.conf ( which I also don't know how to do)
<infinisil>
ingenieroariel: Can't do that unfortunately (without rewriting the full `script` in there)
<infinisil>
That's why I usually expose a `configFile` option when writing my modules, which would allow you to do this
jtojnar has quit [Read error: Connection reset by peer]
<ingenieroariel>
thanks infinisil
<immae>
ingenieroariel: As it is written you need at least one network, but it could be a dummy one, would that work for you?
sveitser has joined #nixos
<ingenieroariel>
immae: I am not sure I follow - my goal is to set up a wifi hotspot by reusing wpa_supplicant conf files found elsewhere - so I do want to have at least one network
rauno has quit [Remote host closed the connection]
<immae>
then you can have { userControlled.enable = false; networks = { <at least one network definition> }; extraConfig = ''The rest of your config''; }
<ingenieroariel>
oh - I get it
<ingenieroariel>
thanks a lot - I can try that
erictapen has joined #nixos
<immae>
note that extraConfig will come before the <at least one network definition>
endformationage has joined #nixos
EffSquared has quit [Quit: Leaving]
<laas>
how long does it take for commits to the nixpkgs repo to be available for users of the nixos-latest channel?
<{^_^}>
[nixpkgs] @7c6f434c pushed commit from @marsam to master « racket: 7.1 -> 7.2 (#54971) »: https://git.io/fhykN
<{^_^}>
[nixpkgs] @sbourdeauducq opened pull request #54995 → llvm: support overriding experimental targets → https://git.io/fhykA
<ingenieroariel>
getting SIOCSIFFLAGS: Operation not possible due to RF-kill
<ingenieroariel>
nixos was very aggressive compiling the kernel :)
<makefu>
laas: for your change to hit the stable channel (normally just bugfixes should be applied there) you will need to open a PR for backporting (PR against 18.09 branch).
<laas>
tilpner: I meant unstable!
<laas>
thanks for the link
jabranham has joined #nixos
<ingenieroariel>
had to do rfkill unblock wifi
<jD91mZM2>
Is it just me or does the Mozilla Rust Overlay very often break?
<clever>
ingenieroariel: is the rf kill switch on the laptop set?
<jabranham>
Why does "nix-shell -p julia" and "nix-env -i julia" result in different versions of julia?
<ingenieroariel>
clever: I changed through root (my intel nuc does not have a physical kill switch)
<clever>
ingenieroariel: `rfkill --help` shows an unblock command
o1lo01ol1o has joined #nixos
<ingenieroariel>
yep - that worked
ingenieroariel has quit [Quit: Page closed]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Twey>
jabranham: -i searches by name and gives the first thing it finds, which for me is nixos.julia_06
<Twey>
jabranham: Which is different to nixos.julia, which is version 1.0.3
<Twey>
jabranham: You can use nix-env -iA julia
<Twey>
Or, er, nix-env -iA nixos.julia
<jabranham>
Twey: great, thanks. For some reason "nix-shell -p julia" installed 0.6something and "nix-env -i julia" wanted to compile 1.0.3. "nix-env -iA unstable.julia" grabs the substitute like I want.
dermetfan has joined #nixos
<clever>
jabranham: what does `nix-instantiate --find-file nixpkgs` say?
dermetfan has quit [Client Quit]
<clever>
jabranham: ah, yeah, you have 2 channels, likely nixos and unstable
<clever>
nix-shell uses <nixpkgs>, which wont be unstable
dermetfan has joined #nixos
<clever>
nix-env -i julia, picks a somewhat random channel
<clever>
nix-env -iA nixos.julia, forces the channel julia, or in your case, unstable.julia forces the unstable channel
erictapen has quit [Ping timeout: 246 seconds]
<jabranham>
clever: oh, OK that makes sense I guess. So I guess I'll just always specify the channel I want.
<clever>
for nix-shell -p, you want -I nixpkgs=/path/to/nixpkgs
<clever>
if you want to change the channel its using
<clever>
you can find your channels in ~/.nix-defexpr/
<jabranham>
clever: Thanks, all that makes sense. I'm still not sure why "nix-env -i julia" wanted to compile julia though. Shouldn't it have either grabbed julia from unstable or from nixos-18.09? I don't have any overlays that affect julia or any of its inputs.
<clever>
jabranham: it might have failed in hydra, for one of your channels
<clever>
so no cached copy is available
<clever>
and the cache cant record failures
<clever>
so your machine tries to just build it again
<jabranham>
clever: but it was trying to compile 1.0.3, which is from unstable. Which has a substitute available; I just installed it with "nix-env -iA unstable.julia"
<clever>
if you do, nix-build '<nixos/nixpkgs>' -A julia, what does it do?
<jabranham>
Or I guess it could have been nixos.julia that could have failed on hydra
<lux1>
Hey, has anyone a working hibernate/resume on ZFS swap?
knupfer has joined #nixos
<ghostyy>
i couldnt get zfs swap to work at all
<clever>
lux1: zfs has no support for hibernation
<gchristensen>
it doesn't? :o
<jabranham>
"nix-env -qas julia" results in two julia-1.0.3 entries, one of which is --- and the other is (now) IPS. So I guess the --- one is from nixos-19.08
<clever>
gchristensen: correct, you must export the pool before you hibernate
<clever>
gchristensen: which is rather difficult with rootfs on zfs
<lux1>
wait; that are 2 situations. one is hibarnation with zfs as rootfs but a dedicated swap partition. and the other is even swap as zvol
<lux1>
also not really a official statement on that issue. So both does not work at all?
<clever>
lux1: i think swap on zfs, with suspend to disk, will be even worse
sveitser has quit [Quit: WeeChat 2.2]
ingenieroariel has joined #nixos
sveitser has joined #nixos
<lux1>
thats what I'm trying :(
<clever>
lux1: the first problem, is that importing the pool, will trigger improper-shutdown type recovery
<clever>
lux1: but, when you resume a suspend-to-disk, you restore the kernel state
<ingenieroariel>
thanks for your suggestion immae - it worked
<clever>
and now the disk has been messed with, and the "new" kernel state isnt aware of that
<clever>
similarly to when you import the same blockdev on 2 systems at once (shared blockdev)
<immae>
ingenieroariel: great :)
<clever>
lux1: so, that first problem is definitely going to lead to some corruption
<ingenieroariel>
I was able to look at the generated config by doing systemctl cat wpa_supplicant (pointed me to the conf in the nix store)
<clever>
lux1: and then the 2nd one, is that to read the swap device, you must import the pool
<lux1>
hm. is reading from the pool always modifying it?
<ingenieroariel>
now dhcp does not work, port forwarding either but at least I have incremental success - back when I tried similar things in ubuntu it was all frustration chasing multiple config files without an easy way to revert to good known configs
erictapen has quit [Ping timeout: 245 seconds]
<clever>
lux1: more that importing the pool, to then do anything, requires making some changes
<clever>
lux1: you could maybe import it read-only, but i dont think linux would allow restoring from a read-only swap?
<clever>
since it may want to change a header to say it has resumed
erictapen has joined #nixos
maximiliantagher has joined #nixos
<lux1>
hm. but you're telling me even if I use a dedicated swap partition hibernat will not work when zfs is my rootfs?
<clever>
lux1: from what ive heard, yeah, you could try asking #zfsonlinux to confirm things
elgoosy has joined #nixos
orivej has joined #nixos
fusion809 has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #54801 → make-derivation: fix position in trace → https://git.io/fhiQp
<{^_^}>
[nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/fhyq0
<gchristensen>
nice work, matthewbauer[m]
<matthewbauer[m]>
yeah that issue has been around for way too long
<cyris212>
How do i upgrade leiningen to 2.8.3?
palo has quit [Quit: WeeChat 2.2]
<cyris212>
Does someone have a working override for this?
thc202 has quit [Ping timeout: 268 seconds]
petrkr has joined #nixos
palo has joined #nixos
petrkr has quit [Remote host closed the connection]
<lux1>
clever: well, it seems to work at least
<wedens>
what does "error: illegal name: '.drv" mean? I'm trying to override in `callPackage ./x { a = b; }`
<clever>
wedens: what is the contents of x/default.nix ?
<matthewbauer[m]>
that happens when name isn't set
<wedens>
clever: typical call to mkDerivation
<wedens>
clever: with typical { a, b, c}: at the top :)
<dmj`>
I have a python package built with nix. When I build it, it generates a wrapper script but does not set the PYTHONPATH (like nix shell does). How can I get nix build to generate a wrapper script that sets the PYTHON PATH
ng0 has quit [Ping timeout: 256 seconds]
<dmj`>
Attempting to run it gives ModuleNotFoundError
<nDuff>
dmj`, does the derivation already have a python.withPackages definition that creates an appropriate path, and you just need a wrapper generated?
ng0 has joined #nixos
<dmj`>
nDuff: the derivation is using python36Packages.buildPythonPackage, and it generates the wrapper
<nDuff>
dmj`, ...so, to give you an example, one of my builds has code that looks something like the following: wrapProgram "$out/bin/$f" --prefix PATH : "${stdenv.lib.makeBinPath [ "$out" jq ]}:${python27.withPackages(p: [p.pycurl])}"
<nDuff>
dmj`, ...so we get the original out/bin/$f moved tho a hidden file, and a wrapper that puts Python 2.7 with pycurl on the PATH put down in its place.
<dmj`>
hmmm
mekeor has quit [Remote host closed the connection]
<dmj`>
so the script that is produced is exports the PATH and PYTHONNOUSERSITE, then calls the wrapper
<dmj`>
nDuff: I think the issue might be that this package has a library, and that library is not on the PATH (would explain the module not found error)
<nDuff>
dmj`, ...err. The whole point of wrapProgram is to take one executable and replace it with another executable that does setup (like adjusting the PATH) first.
<nDuff>
dmj`, ...if what you have isn't an executable at all, it's not the right tool for the job.
<dmj`>
nDuff: what I have is an executable bash script that calls a python script
<dmj`>
nDuff: the problem is that the library doesn't seem to be on the path, which the executable depends on
<dmj`>
nDuff: does that sound plausible?
<WilliamHamilton[>
timor: it works quite well, surprisingly; I use it to generate drums and bass while studying jazz, and for that it is quite useful. Ping me if you want to try and you have questions on how to set it up
knupfer has quit [Ping timeout: 240 seconds]
<nDuff>
dmj`, very plausible. Is the shell script generated in nix code, or is it part of the package's source?
<WilliamHamilton[>
timor: the generated piano accompainment sounds a bit worse, but I never use that :D
<dmj`>
nDuff: the shell script is the result of calling `nix-build` on the above derivation I pasted.
<dmj`>
one issue is that the bash script does not set the python path
<dmj`>
despite the docs saying it should
<dmj`>
"makeWrapperArgs ? []: A list of strings. Arguments to be passed to makeWrapper, which wraps generated binaries. By default, the arguments to makeWrapper set PATH and PYTHONPATH environment variables before calling the binary. "
<WilliamHamilton[>
timor: by "how to set it up" I mean a quickstart guide on the JACK audio system, and realtime kernels, which took me some learning
hoijui has quit [Remote host closed the connection]
<nDuff>
dmj`, so, I actually package the my wrapping executables in a completely separate derivation from my libraries.
<nDuff>
dmj`, however, if you wanted to do them together, tell the wrapper generator to update the PYTHONPATH and not just the PATH and there you are.
<{^_^}>
[nixpkgs] @clacke opened pull request #55002 → racket: add libGL and libGLU to libPath → https://git.io/fhyCY
<dmj`>
nDuff: shouldn't that be done automatically? I've tried generating scripts that export PYTHONPATH to the library, and run the executable as well, but it still fails
<nDuff>
dmj`, don't know offhand and I have real work to be doing so I can't dig right now.
<ldlework>
clever: the package's nix file shows the files are in /var/log/samba, on my machine all those log files are empty
<nDuff>
dmj`, ...if you were to ask a nix-tagged question on Stack Overflow with enough detail to reproduce the issue I might look further when opportunity permits.
Serus has quit [Ping timeout: 250 seconds]
jtojnar has joined #nixos
<dmj`>
nDuff: ok, thanks
<sphalerite>
dmj`: are you aware of buildPythonApplication? It does the same as buildPythonPackage but additionally wraps any executables iirc
<dmj`>
sphalerite: I tried that as well, it still failed
apeyroux has quit [Remote host closed the connection]
Thra11 has joined #nixos
<xok>
clever: is there a chance to have "sendmail" without ssmtp package?..
<clever>
xok: depends on what else you have installed
dsiypl4 has quit [Ping timeout: 268 seconds]
tritoncompute has joined #nixos
<ldlework>
clever: so.. samba seems to be running, but windows says my machine isn't responding to any samba stuff - though I can ping it from windows...
<ldlework>
any idea what i might be doing wrong? I opened 445 139 tcp and 137 138 udp
Serus has joined #nixos
<{^_^}>
[nixpkgs] @clacke opened pull request #55005 → racket: remove x86_64-darwin from platforms → https://git.io/fhylQ
<{^_^}>
[nixpkgs] @joachifm pushed commit from @forficate to master « nixos/transmission: Bug fix Appamor Transmission startup errors (#54873) »: https://git.io/fhylA
<talyz>
hodapp etu: Sorry for the late reply.. Yes, I have a working rtags setup, although rather hacky - I have this shell.nix in the project root which gets eval:ed automatically by direnv: https://ptpb.pw/dwEj/nix
<xok>
clever: If I add ssmtp to systemPackages and try to use it's sendmail I get this error: sh: /run/wrappers/bin/sendmail: No such file or directory
<simpson>
Is there a single document that describes how to upgrade NixOS systems that have a mix of pre-2.0 and post-2.0 environments?
<gchristensen>
what concerns do you have?
dsiypl4 has joined #nixos
<clever>
xok: ah, sendmail wants to be setuid root, one sec
<judson>
There's got to be a better UX for IRC+Freenode identities that what I've got in pidgin.
gspia has joined #nixos
<fresheyeball>
clever: I could run 4 displays on the one card
<clever>
fresheyeball: ignoring the DP, i can run up to 3 monitors digitally
<fresheyeball>
but since I have an abudance, why not?
<fresheyeball>
I can have a high end game on one display and have it not effect performance on the other
<Unode>
judson: UX do you mean IRC client?
dermetfan has quit [Quit: WeeChat 2.3]
<judson>
NixOS: modularized wrong. I basically split it into "packages", "services", etc. But as I've learned NixOS modules better, I think I really want to have module-per-concern, and install packages and configure other modules as needed.
dermetfan has joined #nixos
ubert has quit [Remote host closed the connection]
dermetfan has quit [Client Quit]
<judson>
Weirdly, that would make the modules easier to share; they could even be part of the stable channel because e.g. judsonsBluetoothResetHack.enable or something.
dermetfan has joined #nixos
<judson>
Like, every section on the Arch wiki could (notionally) have a NixOS module for "I want this behavior"
sigmundv_ has quit [Ping timeout: 245 seconds]
<judson>
Unode, client might be part of it.
<clever>
judson: i have several modules on my nixos configs repo that i share with others
<clever>
judson: just clone my repo, add imports = [ /path/to/nixos-configs/qemu.nix ];
<clever>
judson: and then you can set qemu-user.arm = true;
<clever>
and now your machine can magically run armv6l and armv7l binaries
<clever>
it will even configure nix to believe that, and allow "native" arm builds locally
<Unode>
judson: pidgin isn't the nicest IRC client. It's a great multi-protocol client though. Try xchat or if you don't mind using the terminal, weechat
<judson>
I regularly lose connection to freenode overnight (or something) and then I'm Guest here by accident. Regaining my id is fine, but a pain.
<judson>
There's supposed to be a way to get pidgin to do that automatically, but it's never worked for me.
ixxie has joined #nixos
<drakonis>
issue a series of commands on reconnection
<Unode>
judson: that might be solvable. You just neet to setup automatic authentication. Not sure how that works on pidgin but most IRC clients implement that.
<judson>
Yeah. I use pidgin because I did need multi-protocol for a while. And it's the best XMPP client I know of. But these days I only use it for IRC.
<judson>
I should switch to something better; I just don't know what that would be.
* judson
looks sadly at 5 dedicated Chrome tabs for "next generation" chat services.
<clever>
judson: i have 5 slacks and 1 discord tab...
* Unode
smiles at judson, try their standalone apps. You'll soon learn they are nothing but chrome in disguise.
<Unode>
<- weechat
<Unode>
used irssi in the past
<Unode>
many years ago actually :X
<ldlework>
Hmm, Windows nmap shows that 445 and 139 have samba services running
<ldlework>
so wtfff
<Unode>
ldlework: running or open?
<Unode>
there's a small difference.
<ddellacosta>
sooo this is a bit of a stretch I'm guessing but, has anyone ever tried to mount an Ironkey USB key on NixOS? I'm getting "No such file or directory" when I try to execute the login binary (or any of the included linux binaries)
<ldlework>
Unode: it has a green dot so I think running
dermetfan has quit [Ping timeout: 250 seconds]
<Unode>
ldlework: if I understand your issue, make sure both windows and your linux samba are in the same workgroup and that they are not both trying to be a master
<Unode>
if both try to be master they basically scream at each other and ignore what the other one says
<ldlework>
Unode: does this mean that 137 and 138 need to be open in addition to 139?
tmaekawa has joined #nixos
<Unode>
ldlework: it's been a while since I set this up. Try removing firewall from the equation and open everything. Once you get it working, then try to close things down
ingenieroariel has joined #nixos
<Unode>
ldlework: it's hard enough to get samba right without firewall
tmaekawa has quit [Client Quit]
maximiliantagher has quit [Remote host closed the connection]
<ottidmes>
ldlework: but we set it up as a Active Directory Domain Controller
<ldlework>
lol i just wanna share code between my gaming machine and my dev laptop
<ldlework>
argh!
ixxie has joined #nixos
ingenieroariel has quit [Ping timeout: 256 seconds]
alex`` has joined #nixos
maximiliantagher has joined #nixos
ingenieroariel has joined #nixos
<hyper_ch>
noonien: ask in #zfsonlinux about dedup :)
<hyper_ch>
noonien: usually they recommend that you should know what you're doing
polman has quit [Read error: Connection reset by peer]
iddt has joined #nixos
<ottidmes>
Samba sucks in that regards, it took me a lot of effort to configure it properly myself, it feels like it tries to do a hundred things why you only want it to do 3 :P but then are still forced to configure quite a few of the others to make it all work
polman has joined #nixos
<ldlework>
ottidmes: Unode so using nbtstat and such, it's clear the Window's machine can see my Linux machine as participating in the workgroup and stuff.
<hyper_ch>
ottidmes: having issues with samba?
<ingenieroariel>
hello again - my computer now gives out addresses via dhcp on the hotspot but once clients get an ip address no packets seem to get through
<clever>
ingenieroariel: is NAT enabled?
<ldlework>
But when I try to do `net use X: \\LOGOS\private` I get "System error 53, The network path was not found."
<ingenieroariel>
I am reading about iptables configuration and see some rules libvirt created for its network
<ingenieroariel>
clever: I added boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; to the kernel
<clever>
ldlework: ive found its a lot more reliable to use IP, \\192.168.0.61\
<ingenieroariel>
but not sure what else to do to 'enable nat'
<ldlework>
I've tried that too
<clever>
ingenieroariel: you need to setup networking.nat in the nixos config
<ldlework>
Woah \\LOGOS shows up in the Network section of explorer but it says it cannot access it
<noonien>
is there a reason to keep the generated hardware-configuration.nix?
ixxie has joined #nixos
<noonien>
or, can i just integrate it into my configuration.nix?
<bsima>
methinks its a good idea to keep them separate, just to be sure you dont accidentally change anything
<symphorien>
if your hardware changes, you can regenerate the file
<iddt>
robstr: my bad. i see what you're saying now. i thought you meant how to develop portably between linux/windows, didn't catch the cross compile.
endformationage has quit [Ping timeout: 268 seconds]
<symphorien>
exactly how you did it in the first place, iirc nixos-generate-config
<noonien>
hmm, can i do that on a running system?
<iddt>
robstr: i have not tried cross-compiling from linux to windows since dos was a thing, and back then, i used djgpp. i doubt that's still the process.
<symphorien>
yes I think so
<robstr>
iddt, i see - thank you
<iddt>
robstr: it does look like mingw32 is the way to cross-compile, but then you lose all the normal posixy support of cygwin, so your source needs to be targeted for windows. is that what you're going for?
<robstr>
iddt yes exactly what I"m looking for - but right now struggle installing mingw
ixxie has quit [Ping timeout: 244 seconds]
<iddt>
robstr: it looks like mingw32 isn't a part of the standard nixos package list yet
<Synthetica>
Does anyone have experience with using a Magic Trackpad (2) under Linux?
<iddt>
robstr: and i'm guessing that's how you got to the link you listed above.
ixxie has joined #nixos
<robstr>
iddt, right. What would be the way to install it ? unstable channel ?
ddellaco_ has joined #nixos
<clever>
ingenieroariel_: nixos disables ping by default, you have to allow that with an option
ThatDocsLady has quit [Ping timeout: 252 seconds]
<iddt>
robstr: not sure. still a bit of a nixos newb. this will sound like an awful hack (and it is), but you might consider installing wine, then installing cygwin under wine, then installing mingw under cygwin (you can do it from the command line from w/in wine to better automate) and then using mingw from there.
<robstr>
iddt maybe I will look for a windows machine, sounds faster :)
<iddt>
robstr: ya, i sadly have gotten used to having one around because you can't do vr dev w/o really.
ddellacosta has quit [Ping timeout: 264 seconds]
<clever>
iddt: my main nixos desktop is still dual-boot, because a few steam games are windows-only
ddellaco_ has quit [Ping timeout: 264 seconds]
ddellacosta has joined #nixos
<sphalerite>
clever: does it really?
<sphalerite>
clever: nope, allowPing defaults to true
<iddt>
clever: more than a few. most. ;)
<clever>
sphalerite: it may have changed since i last looked
<clever>
iddt: steam now has proton support (a fork of wine) and a number of "windows only" games just work on nixos now
<clever>
iddt: but some still fail
<iddt>
clever: ah ok
<sphalerite>
clever: a0ab4587b7760c073ec9501775b9116fb0b1c70c 17th March 2016 :)
<clever>
sphalerite: have i really been using nixos that long? lol
<iddt>
clever: so installing steam on nixos automatically installs proton, and it just does the right thing when playing a windows game? (in general, i mean)
<clever>
iddt: when you try to install a windows game, steam will also download the pre-built ELF files for proton
<iddt>
clever: neato
<clever>
iddt: and the FHS sandbox nix provides, allows that to just work
ixxie has quit [Ping timeout: 272 seconds]
Makaveli7 has joined #nixos
<dmj`>
shouldn't nix-build on a python package set the PYTHONPATH in the wrapper script
ixxie has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
alex`` has quit [Ping timeout: 250 seconds]
nDuff has quit [Ping timeout: 250 seconds]
alex`` has joined #nixos
<{^_^}>
[nixpkgs] @dtzWill merged pull request #54998 → llvm7: replace patch with official upstream commit → https://git.io/fhysT
<iddt>
can anyone recommend an affordable nixos-friendly hosting service?
fragamus has joined #nixos
robstr has quit [Ping timeout: 256 seconds]
<aanderse>
iddt: define nixos-friendly? and where are you located?
<aminechikhaoui>
iddt Linode is not bad
ixxie has joined #nixos
barrucadu is now known as dr_barrucadu
<dmj`>
iddt: aws
<iddt>
aanderse: i'm in los angeles. i mean like a first class citizen.
<clever>
iddt: aws has AMI images with nixos pre-installed, and nixops can fully automate creating machines and deploying changes
<aanderse>
does anyone in here use kdevelop at all?
<clever>
iddt: packet.net also has nixos as an install option, and it will auto-generate a configuration.nix file at install time, then just ssh in, edit as needed, and nixos-rebuild
<aminechikhaoui>
AWS isn't really affordable right :p
<iddt>
animechikhaoui: kinda my thought. it is if you're on a super sad little machine, but otherwise..
<samueldr>
vultr has nixos installation images already available, you could also update a custom iso if desired, but needs an installation to be made first, though can be turned into an image afterwards
<noonien>
how do you guys store secrets in your nix repos?
<samueldr>
not first class, but maybe 1.1 class
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #35884 → default to including "man" in outputsToInstall → https://git.io/vAiu0
<{^_^}>
[nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fhyaR
<jevonearth>
I have nixpkgs-unstable enabled on my system, but when I try to install the package `postman` it is getting version 6.2.5, but `master` has been updated to 6.3.0 which has been confused.
<clever>
infinisil: that contains the nixos config for my router and nas, along with random modules i share to others
<infinisil>
clever: So yeah, you don't have them in the git repo then
<infinisil>
I want my history and reproducibility
<clever>
infinisil: yeah, the secrets are in .gitignore
<jevonearth>
infinisil: I don't think that answers my question. Does `nixpkgs-unstable` to `master` branch in the nixpkgs git repo? There is not a branch with the `unstable` name.
<infinisil>
jevonearth: Channels have a different level of testedness and stableness, but they all stem from master ultimately
maximiliantagher has quit [Remote host closed the connection]
<infinisil>
Oh no
<clever>
jevonearth: the channels are on the nixpkgs-channels repo
<infinisil>
Only nixpkgs- and nixos-unstable come from master
<infinisil>
Sorry
ingenieroariel_ has quit [Ping timeout: 256 seconds]
<infinisil>
The release channels come from the release branches
<clever>
jevonearth: branch names in nixpkgs-channels, match channel names, and always match what the channel currently is
alex`` has quit [Read error: Connection reset by peer]
<jevonearth>
infinisil: yes, I understand that. There are branches for stable branches, such as `release-18.09` for example... where does `nixpkgs-unstable` come from?
<jevonearth>
Got ya, thanks, `master` then. :)
maximiliantagher has joined #nixos
<clever>
jevonearth: release-18.09 is the source for nixos-18.09, before testing occurs
<clever>
jevonearth: when a rev of release-18.09 passes testing, the nixos-18.09 branch in nixpkgs-channels is updated
<jevonearth>
Ok, then my next question is, I have `nixpkgs-unstable` on my system, but I don't appear to be getting the latest packages that I see in the `master` branch. I'm wondering how to investigate this myself.
<clever>
jevonearth: nixpkgs-unstable doesnt test boot related tasks, and that has corrupted grub config in the past
<jevonearth>
Ah, well then. :)
alex`` has joined #nixos
<clever>
jevonearth: ah, thats safer, nixos itself is using the nixos-18.09 channel
<growpotkin>
Conventionally it's /usr/include, not sure what our nixy location is though
<clever>
jevonearth: only nix-env can use nixpkgs-unstable, in your setup
<infinisil>
,locate libass.so
<{^_^}>
Found in packages: libass
<infinisil>
growpotkin: ^^
<infinisil>
growpotkin: Feel free to use in #bottest
ddellacosta has joined #nixos
<infinisil>
Or install nix-index locally for this functionality
<jevonearth>
Hmm, okay. I need to take the time to read up on that then. I switch to nixos, and I really like it, but I'm overloaded with real work, so don't have time to properly learn it all. I don't want to go back to arch either tho. :)
<growpotkin>
thank you <3
<infinisil>
(Of course, works with header files too)
<clever>
jevonearth: for most channels, you can use <channelname> to refer to it in nix, like <nixos> and <nixos-hardware>
sondr3 has joined #nixos
<growpotkin>
yeah I had been trying 'nix-locate libc' but I hadn't tried 'libass'
<clever>
jevonearth: and nix-env follows different rules, nix-env -iA channel.hello will use the channel with the given name
<clever>
jevonearth: so you can just install nixpkgs.hello to get unstable, or nixos.hello to get stable
<infinisil>
growpotkin: You didn't say what header files you needed
<growpotkin>
im looking for unistd
<infinisil>
Well then ,locate for unistd.h or so
<growpotkin>
eyyy there it is
<jevonearth>
clever: would you, or anyone here be willing to do a 30 minute screen share, which I will pay for, to get me passed a few of these impediments and set me on a better path?
<growpotkin>
for whatever reason I thought nix-locate only worked on executables
<clever>
jevonearth: what was the actual problem? ive only seen half the convo
<infinisil>
growpotkin: Ah :)
<jevonearth>
clever: specific problem is getting the postman package installed, but the larger problem is that I'm still orienting myself in the nixos way of doing things.
<clever>
jevonearth: since nixpkgs-unstable is being held behind by darwin, you may want to add nixos-unstable as another channel, giving it a unique name
<clever>
jevonearth: then you can nix-env -iA uniquename.postman
maximiliantagher has joined #nixos
<sondr3>
question, I'
<sondr3>
damn enter key
<sondr3>
question, I'm looking to install NixOS on my desktop that I'm building this weekend, however there's a couple of things I'm curious about before comitting
<sondr3>
1. how is the AMDGPU-support in NixOS? I'm already planning on using kernel 4.20 due to drivers. 2. how well does Steam work on NixOS? I only tried Minecraft on my laptop running NixOS
<clever>
sondr3: with that card, and that nixos config, i have 3 monitors running, 3d accel, no 2d issues anymore, and a number of "windows only" games work in steam
<sondr3>
awesome, that's reassuring, are you running the latest kernel or following stable?
<jevonearth>
clever: clever ;) I don't acutally care about it being held back, as my package of interest was updated back in september.
<jevonearth>
but thanks for that tip
<clever>
Linux amd-nixos 4.19.15 #1-NixOS SMP Sun Jan 13 08:51:11 UTC 2019 x86_64 GNU/Linux
<clever>
sondr3: on the nixos-unstable channel, default kernel for that channel
eadwu has joined #nixos
<sondr3>
clever: okay, thanks! You do not happen to have your configuration on Github/somewhere else I can peek before I start setting my machine up?
<clever>
sondr3: the desktop config isnt on github, but the only special line is the one i gave above
<clever>
sondr3: the rest is standard nixos stuff for any gpu, like 32bit dri, 32bit pulse libs
<sondr3>
clever: alright, cool, sounds like what I have already then, besides using unstable for the kernel, gotta figure that out
<clever>
sondr3: i also have my entire filesystem on zfs, which is on an NVME device
<sondr3>
I was thinking of maybe trying out btrfs for once... but zfs has been on my radar too
q6AA4FD has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 merged pull request #54535 → Go 1.10.8 and 1.11.5 → https://git.io/fhwrZ
<clever>
praetorg: the auto-upgrade creates a systemd unit, so you can `systemctl list-timers` and `journalctl -f -u nixos-upgrade.service`
alex`` has joined #nixos
ddellacosta has quit [Remote host closed the connection]
jabranham has joined #nixos
<argent0>
hi, i'm getting `error: cloning builder process: Operation not permitted` when trying to install. I saw this is an issue on github how can I apply the workaround?
<symphorien>
argent0: enable user namespaces
maximiliantagher has joined #nixos
<{^_^}>
[nixpkgs] @aanderse opened pull request #55015 → WIP: kdevelop: 5.2.4 -> 5.3.1, bump llvm version used from 3.8 to 7 → https://git.io/fhyKH
<{^_^}>
[nixpkgs] @veprbl pushed 0 commits to grahamc-patch-1: https://git.io/fhyKN
<joepie91>
updated the NixOS-friendly hosting providers wiki page
Dagger has quit [Excess Flood]
<joepie91>
should I be worried that I immediately went to the "Other" category in the ISO list, expecting NixOS to be there?
<joepie91>
lol
<praetorg>
clever: ok I had found that i just wondered if there was a more detailed log
<joepie91>
(and indeed finding it there...)
<vaibhavsagar>
joepie91: which provider?
<joepie91>
vaibhavsagar: BuyVM
<vaibhavsagar>
cool, thanks :)
<joepie91>
vaibhavsagar: I also still need to add Afterburst, after verifying that the ISO works
<joepie91>
added Inception Hosting a week or so ago
* joepie91
is in the process of migrating all his OpenVZ stuff to KVM stuf
<joepie91>
stuff*
Dagger has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
growpotkin has quit [Quit: WeeChat 2.3]
<vaibhavsagar>
do you recommend KVM over OpenVZ?
<joepie91>
vaibhavsagar: indisputable yes
<joepie91>
:P
<joepie91>
OpenVZ is a pile of container hacks
<joepie91>
KVM is proper virtualization
<vaibhavsagar>
good to know
aanderse has quit [Ping timeout: 250 seconds]
<gchristensen>
and kvm is just a just qemu
aanderse has joined #nixos
<joepie91>
OpenVZ was formerly a good choice because you could get more resources due to the provider being able to overcommit, but nowadays resources are so cheap that it basically doesn't matter anymore, and KVM is better in every other way
<clever>
"Most introduction of KVM I found are actually introducing either libvirt or qemu, lack of how to utilize KVM by hand, that's why I have this post."
<gchristensen>
nice
<clever>
that post explains how to actually use kvm itself
<joepie91>
++
<joepie91>
thaaat goes in the bookmarks
dbmikus has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
<eyjhb>
Wondering when we will see "hosted with Docker" instead of OpenVZ etc. if that is a possibility
<clever>
gchristensen: is the terminal supposed to work?
<gchristensen>
not sure :)
<gchristensen>
probably yes
Judson1 has joined #nixos
<clever>
nothing happens when i type in it
<samueldr>
I think the websocket thing might be broken?
<Judson1>
Okay, trying out weechat. I'm struck by "don't hand edit the config!" in their FAQ which seems like a bad match for home-manager
<samueldr>
after a good while I had a 101 in the network tab
<clever>
it doesn open a websocket
<gchristensen>
oh, interesting, google chrome is just broken on my computer entirely. not just slack.
<clever>
samueldr: thats the websocket upgrading from http to packet based streams
<samueldr>
gchristensen: segfaulting?
<gchristensen>
no, it doesn't redraw the screen until the window is resized
<samueldr>
hm
maximiliantagher has quit [Ping timeout: 268 seconds]
<clever>
oh, maybe my chrome addons...
<samueldr>
I used a clean firefox thingy :/
<clever>
nope, still nada
<samueldr>
(haven't migrated yet on that computer)
EoF has quit [Quit: eof]
linkrage has joined #nixos
Denommus has joined #nixos
<linkrage>
I've git cloned nixpkds. How do I build any of the packages to test if it builds fine etc.? nix-build command always gives me this for my custom packages & for the official working ones: error: cannot auto-call a function that has an argument without a default value ('stdenv')
<Denommus>
hey
<Denommus>
how can I find the private key of my nixops deployment?
<matthewbauer[m]>
linkrage: you need to use callPackage to get the dependencies
<matthewbauer[m]>
you can use ```./scripts/nix-call-package path-to-your-file.nix``` for that
_kwstas has joined #nixos
maximiliantagher has joined #nixos
<linkrage>
matthewbauer[m], thanks, sounds promising so far :)
<linkrage>
matthewbauer[m], during the build one step does git clone: Could not resolve host: github.com . However if I run the whole command manually in the terminal - resolves and clones successfully. What could be the reason?
xok has quit [Quit: Leaving.]
<symphorien>
linkrage: the sandbox blocks network access
<linkrage>
symphorien, I see. Any workaround ?
<clever>
linkrage: network can only happen in fixed-output derivations
<symphorien>
you need to separate cleanly fetching sources and building them
<symphorien>
build systems which mix the two will cause you a lot of trouble
<linkrage>
symphorien, so "go get -u github.com/vbatts/git-validation" should have its own .nix file and then that one is like a dependency of the main custom default.nix ?
Denommus has quit [Read error: Connection reset by peer]
<clever>
linkrage: there is a go framework in nixpkgs already, that handles that for you
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<linkrage>
while building go package -> go build runtime/cgo: open /nix/store/0596k27..../runtime/cgo.a: permission denied ; BTW stat cgo.a -> 0444
<linkrage>
?
fragamus has joined #nixos
rfold has quit [Quit: leaving]
i1nfusion has quit [Remote host closed the connection]
<tdeo>
anything part of nixpkgs lib or builtins that can convert a string to lowercase?
ajs124 has quit [Quit: Gateway shutdown]
<gchristensen>
what for?
i1nfusion has joined #nixos
ajs124 has joined #nixos
jackdk has joined #nixos
<tdeo>
i'm building a .NET package which has dependencies that need to be placed in .nuget/packages, but fetchNuget{whatever}.baseName has uppercase characters while dotnet expects lowercas
<schmittlauch[m]>
I'm still struggling a bit with the newish Nix 2.x syntax: For testing a packaging derivation, I need to call a package using "python2Packages.callPackage <nixExpr>.nix;" How do I do that with `nix build` (not `nix-build`!)