Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
<dhess`>
Dezgeg: oh interesting, it actually got to the root prompt eventually.
Nobabs27 has quit [(Quit: Leaving)]
Supersonic112_ is now known as Supersonic112
<dhess`>
but it keeps hanging. Seems like things eventually work, though.
<dhess`>
for a liberal definition of "work" :)
<dhess`>
But I'm able to run fdisk, top, etc.
takle has joined #nixos
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edwtjo pushed 2 new commits to master: https://git.io/vH2PV
<NixOS_GitHub>
nixpkgs/master 1845a2d Edward Tjörnhammar: retroarch: 1.3.4 -> 1.6.0
<NixOS_GitHub>
nixpkgs/master f270376 Edward Tjörnhammar: libretro.*: 2015-11-20 -> 2017-06-04
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
_ris has quit [(Ping timeout: 240 seconds)]
darlan has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 245 seconds)]
s33se_ has joined #nixos
mellowmaroon has joined #nixos
<mellowmaroon>
For some reason, my libinput natural scrolling configuration isn't getting picked up...
<dash>
scrolling is inherently unnatural
taeradan has joined #nixos
s33se has quit [(Ping timeout: 255 seconds)]
<mellowmaroon>
I guess so haha
<mellowmaroon>
wait, do you mean the setting or the act of scrolling?
mbrgm has quit [(Ping timeout: 260 seconds)]
<dash>
the latter
<dash>
look how much work it took to make terminals support it in the 70s
<mellowmaroon>
that's what I thought you meant lol
mbrgm has joined #nixos
<alphor>
is there a thread for laptop recommends for nixos? All I can find is the old reddit thread recommending x201's and the nixos-hardware repo
<mellowmaroon>
alphor: I guess it kinda depends what you want done differently
<mellowmaroon>
alphor: I didn't have to do anything special with my laptop config
<alphor>
mellowmaroon: just good battery life, working webcam and fan controls.
<mellowmaroon>
alphor: I think hardware-configuration.nix comes with an option for CPU governor by default
<mellowmaroon>
alphor: Apart from that, I think you webcam should probably work, assuming there is a kernel driver for it
<mellowmaroon>
alphor: Fan controls, I've never dealt with, so I wouldn't really be able to help. But if you remember doing something with it on another Linux system, that might help you narrow down what to look for
<calvertvl>
alphor, mellowmaroon: that would be powerManagement.cpuFreqGovernor ; for fan, my guess is it probably needs to be supported by mbpfan or thinkfan
<alphor>
calvertv: yep that's why I'm leaning toward thinkpads, pretty much just for the tiny thinkfan script lol
<dhess`>
Anyone here know how to install NixOS on one of these nice shiny ARMv8 VPSes?
<dhess`>
Scaleway or whatever the other one is, the one that hydra is running on
<calvertvl>
I'd probably buy a thinkpad just because their keyboards are so much better than just about any other laptop
<mellowmaroon>
oh I see, you're looking for recommended hardware for NixOS
spinus has quit [(Ping timeout: 245 seconds)]
<mellowmaroon>
Yeah, I'd probably recommend a Thinkpad as well, they seem to support Linux well
k0001 has quit [(Ping timeout: 245 seconds)]
pseudo-sue has joined #nixos
deba5e12 has quit [(Ping timeout: 240 seconds)]
deba5e12 has joined #nixos
pseudo-sue has quit [(Ping timeout: 255 seconds)]
mellowmaroon has quit [(Quit: Leaving)]
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
bennofs has quit [(Ping timeout: 255 seconds)]
iyzsong has joined #nixos
Avery[m] has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
afldcr_ has quit [(Ping timeout: 245 seconds)]
takle has joined #nixos
hexagoxel has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<Avery[m]>
Any tips on recovering from a missing bootloader? I'm able to boot into a recovery CD, but chrooting into my nixos root doesn't provide a usable shell because it doesn't add executables from the store to $PATH
drakonis has joined #nixos
<clever>
Avery[m]: nixos-install --chroot
<clever>
then nixos-rebuild boot, after fixing the config
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 260 seconds)]
Piece_Maker is now known as Acou_Bass
nliadm has quit [(Ping timeout: 268 seconds)]
ericsagnes has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
Mateon3 has joined #nixos
sellout-1 has quit [(Ping timeout: 240 seconds)]
Mateon1 has quit [(Ping timeout: 255 seconds)]
Mateon3 is now known as Mateon1
takle has quit [(Ping timeout: 260 seconds)]
<Avery[m]>
The config isn't broken. The problem is that the external media with the bootloader is unrecoverable.
sellout- has joined #nixos
<dash>
Avery[m]: nixos-rebuild will install a bootloader
<clever>
Avery[m]: as long as the right device is mounted to /boot and boot.loader.grub.device is still correct
ericsagnes has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
indi_ has joined #nixos
<Avery[m]>
clever: Thank you! I think I've got it now. The missing steps were to first boot off of the nixos install media, mount filesystems under /mnt, and create /mnt/run/usr/0 - nixos-rebuild boot seems to be running now.
justan0theruser has joined #nixos
justanotheruser has quit [(Ping timeout: 268 seconds)]
nliadm has joined #nixos
schoppenhauer has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
indi_ has quit [(Ping timeout: 255 seconds)]
justan0theruser is now known as justanotheruser
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Piece_Maker is now known as Acou_Bass
simukis has quit [(Quit: simukis)]
takle has joined #nixos
jgertm has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
iyzsong has quit [(Ping timeout: 255 seconds)]
pseudo-sue has joined #nixos
johnsonav has joined #nixos
pseudo-sue has quit [(Ping timeout: 260 seconds)]
UFODivebomb has joined #nixos
orivej has quit [(Ping timeout: 255 seconds)]
deba5e12 has quit [(Ping timeout: 255 seconds)]
marsel has joined #nixos
nix_n00b has quit [(Quit: Page closed)]
marsel has quit [(Ping timeout: 260 seconds)]
nix_n00b has joined #nixos
<nix_n00b>
Any successful GCC/clang users here?
<simpson>
nix_n00b: Um. Yes?
<nix_n00b>
I'm having such a hard time just compiling a "hello, world" program using either GCC or Clang. I just crossed my fingers and hoped nix-env -i GCC or nix-env -i clang would work, but I can't seem to get anything to compile.
<clever>
nix_n00b: your not supposed to install compilers on nixos, your supposed to use nix-shell
endformationage has quit [(Quit: WeeChat 1.7)]
<nix_n00b>
when i run nix-shell i get told there's no default.nix in /home/user/default.nix, and that's where I'm at so far
<nix_n00b>
clever:^
athan has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] vidbina opened pull request #26368: apvlv: copy main_menubar.glade to out dir (master...fix/apvlv/copy-req-glade-files) https://git.io/vH2Sn
NixOS_GitHub has left #nixos []
drakonis has quit [(Read error: Connection reset by peer)]
<nix_n00b>
one of you geniuses should make a youtube tutorial on setting up a comfy NixOS enviroment for development
<nix_n00b>
I'll give you at least 100+ views <3
<simpson>
nix_n00b: I've actually considered doing videos on the technology being developed here at Matador Cloud.
MP2E has quit [(Quit: sleep)]
<nix_n00b>
for noobies like me, videos are completely essential
<simpson>
I agree that videos are extremely helpful, but I must confess that only certain kinds of videos are helpful.
<nix_n00b>
I'm unfamiliar with matador cloud though, and google didn't help much
<nix_n00b>
but all I want in life is a development setup I never have to touch again, and I'm interest in NixOS because of that, but so much of it is over my head
<simpson>
Matador Cloud LLC is my side business. It's 100% NixOS and we have some cool stuff.
<simpson>
I mean, are you looking more for screencasts, or for lectures?
<nix_n00b>
simpson: yeah some videos simply suck. I tend to think the more specific and concise the better, esepcially if there's links in the comments
<nix_n00b>
simpson: my selfishly ideal video would be one that details how to work NixOS in general, explained in an ELI5 fashion (especially the difference between nix-env and actually putting into the config), general good habits in NixOS, and of course setting up a nice development enviroment with a couple lagnuages
<simpson>
nix_n00b: Why don't you make the videos you want to see?
<nix_n00b>
also, something explaining how to reproduce your system via virtualbox would be nice. I'd tried running it earlier but ran into difficulty. In general, I think NixOS could benefit from some mass appeal easy stuff
<simpson>
Ah. I'm not interested in that, sorry.
<nix_n00b>
simpson: because I have enough trouble just getting hello, world! in C to work! lol. But I guess now that I can, not much is stopping me. I just fail to understand the differences in operation between how I would develope and maintain in Debian vs NixOS
<simpson>
nix_n00b: You must unlearn *ambient authority*.
<simpson>
Nix is about removing the ambient authority granted by "installing a package".
<nix_n00b>
my issue is that I love the ideas and completely in NixOS, but my real life is having such difficulty sticking with it until it pays off. As a rookie programmer, I need to be practicing every day and my nix noob status makes that difficult (not necassarily more difficult than debian would be initially, but my experience there gives me a false sense of.. well, experience :))
<NixOS_GitHub>
nixpkgs/master ec418ba Gabriel Ebner: Merge pull request #26364 from winniequinn/vscode-1.12.2...
NixOS_GitHub has left #nixos []
<fnljk>
mdash: only n00bs neeeda know every corner in and out before they dare venture out and play around.. i think main/only issue is maintain motivation long enough to get across something s/he'd also be learning that.. will get there eventually,surely.. ^_- (ts what i like tellin myself anyway, as a bit of a nab myself ,heh heh )
<fnljk>
id been onto hundreds of nixes thru putty and accidentally rm -rf'd more than i should mention,n other stupid things, b4 i ever got near one physically (putty, over windows.. Lol).. vague memories of being pissd each time getting root and being a bsd as everything seemd so different... well, except vi (text-editor) at least, i think was what saved me lotta times there ha
jgertm has quit [(Ping timeout: 260 seconds)]
<fnljk>
btw,while im here,just remembered smnthg.... unusually, a VPS-hostnig (XEN) provider has , among the long lists of debian,ubuntu,fedora,centos ... two unsuual OS possible to install on ones VPS, seemingly custom-uploaded
<fnljk>
they're these: routeros5.24_clone_plugin_all_packages.iso & pfSense-CE-2.3.4-RELEASE-amd64.iso --- I've tried "install" those, and "boot" after.... nothing happens. They provide remote VNC as well, I've tried with client and HTML5 browser version of that, but get some error message ... :/
<fnljk>
as if it simply won't boot at all.. hm. Not sure if I'm missing something. Was mostly just to play around with something new possibly,maybe test some router/fw I wouldn't easily have gotten to test otherwise,and may have more reasonn to look more into l8rs too then, but..
<fnljk>
as said, a "routeros5.24_clone_plugin_all_packages.iso" -- is available to load on a low-end VPS server (KVM), seemingly.. however after install it doesn not appear up (well, I can't ping nor reach tcp:22 at least..)... anything else im missing smoe1 could tell me quick plz?
<fnljk>
May possibly have available installing other OS' and/or having this .iso appear as a cd-rom on the VPS, if that'd make whatever any easier.... ..unless this is something..defunct, that won't work anyway and wasn't meant for me..:/ ... but wanna try!
nixnewb has joined #nixos
<fnljk>
may soon get some new boxes in homelan anyawy, and..seemingly Mikrotik proprietary (?)... one I had heard of, but wasn't really considering.. would be cool to mess around more with.. So far used minor ones, besides OPNSense,which I dno too much about yet..Don't miss much more than some PCI broadcom multi- network port cards n them boxes should be ready to go crazy with their routin bussines
filterfish has quit [(Remote host closed the connection)]
<fnljk>
(reason I was not was, I'd wanna open-source stuff,not any requiring specific hardware - less tempted even when such is designed/produced in west (bkdoors?:S) - , and also was some vuln. out at the time i was checkin it i think which prly spooked me
filterfish has joined #nixos
<fnljk>
buuuuut.. . , as an additional one amidst a few others, if seem worthwhile...sure I guess! Forced with lack of control on some ISP-modem here anyway too, so that can't be any worse surely..Hopefully not a massive price then..or too much anyway,n that it'll last..
vaibhavsagar has joined #nixos
calvertvl has quit [(Quit: leaving)]
<fnljk>
...... i hope to eventually compartmentalize my network, kinda.. various networks for various uses, some behind more or less routers and software to take care of it.. (i live in a fascist regime with outdated harmful laws, unresaonable surveillance etc.-imo anyway) and got a scare earlier .. want virtual barriers up a bit atleast..^^ pfft
<fnljk>
numerous LANs and security solutiosn with nested virtualization solutions, ... in whatever spider-web alernating between blining lights frmo one day to the other as scheduling\WOL and other boxs ensures their planned tasks find place,each again depending on eachother and a set of encrypted file containers in layers...
<fnljk>
(+ ... well,my opinion anyway .. some extra creative , whatever... if nothing else some unusual unexpected truoblesome setup, or mix of, various other less-known/user tools, or custom stuffz.....to avoid any able to mostly expect their way thru penetrating it all, or by auto even..). +with ransoware these days... can't hurt anyway..
filterfish has quit [(Ping timeout: 245 seconds)]
dalaing_ has joined #nixos
Svarog has joined #nixos
<Svarog>
hi all
<Svarog>
is there any way to clone an existing nixos install to a new computer without having to redownload much? ideally an offline install that doesn't need internet access?
<Svarog>
short of cloning the partition and editing configuration after
<Svarog>
i had a look at making a custom iso, though right now that seems like it'll take a while to properly set up and i need to get something going today even if it means having to do a complete install and have the installer download stuff, but i'm really trying to avoid that
dalaing_ has quit [(Ping timeout: 260 seconds)]
<amosbird>
hi
<amosbird>
how can I pip install a addtional python module inside nix-shell?
<dhess`>
LnL, clever: either of you know a way to force a certain platform in a NixOS configuration? I'm building a kernel for a BeagleBone and want to use (or slightly override) the beaglebone platform defined in lib/system/platforms.nix
<dhess`>
rather than the generic armv7l platform
<LnL>
same with nix-shell -p stdenv.cc -p zlib
<clever>
dhess`: i believe you need to set nixpkgs.platform in configuration.nix, if your doing nixos stuff
<dhess`>
clever: Hmm, I think I tried that. Let me try again.
<dhess`>
error: The option `nixpkgs.platform' defined in `/home/dhess/git/dhess-nixos/machines/home.dhess.net-production.nix' does not exist.
takle has joined #nixos
<clever>
dhess`: nixpkgs.config.platform maybe?
<dhess`>
clever: That causes an infinite recursion. I'm passing 'platform' to the machine definition or else 'platform' isn't defined
<clever>
dhess`: the infinite recursion is a new problem, you need to import a nixpkgs with no config, and use its platform
<dhess`>
clever: It might be enough just to compile this BeagleBone kernel from GitHub. The main reason I want to define the platform is to make sure the kernel uses a particular kernel defconfig
<dhess`>
but it looks like the modules I need from the BeagleBone kernel get compiled as modules anyway when I use that kernel
<akamaus>
clever, maybe should add a note about it in nixos manual? Looks like pretty important moment for newcomers like me.
filterfish has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
<Filystyn>
where does nixos store the /media it doe snot exist
<Filystyn>
wth
<Filystyn>
wthright it's in run
hotfuzz has joined #nixos
pseudo-sue has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #26217: csound: add jack and other dependencies, update version (master...csound-deps) https://git.io/vHWso
NixOS_GitHub has left #nixos []
<Filystyn>
Is tehre some way to have automated mounting when i put in USB?
<Filystyn>
because it seems i need to change the fstab file now vide set via configuration,.nix
<nixnewb>
Hi there, Is there an easy way to create a nixos install stick? The internet has lots of contradicting and overly complicated answers.
vaibhavsagar has quit [(Ping timeout: 245 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
hotfuzz__ has quit [(Ping timeout: 255 seconds)]
<Filystyn>
nixnweb yeah it's very easy
mpcsh has joined #nixos
<Filystyn>
just don't remember the link for download but it's not a big deal
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #26368: apvlv: copy main_menubar.glade to out dir (master...fix/apvlv/copy-req-glade-files) https://git.io/vH2Sn
takle has quit [(Remote host closed the connection)]
ixxie has quit [(Ping timeout: 240 seconds)]
<Moredread>
is there a way to specify a default --run for nix-shell / use zsh instead of bash?
<LnL>
don't think so, and only -p works with other shells
_ris has joined #nixos
ixxie has joined #nixos
takle has joined #nixos
magnetophon has joined #nixos
ixxie has quit [(Ping timeout: 255 seconds)]
Filystyn2 has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
<pie_>
would nixos be good for a compute clusteR?
k0001 has joined #nixos
m0rphism has joined #nixos
kmicu has quit [(Ping timeout: 260 seconds)]
kmicu has joined #nixos
marsel has joined #nixos
proteus-guy has quit [(Remote host closed the connection)]
kmicu has quit [(Ping timeout: 258 seconds)]
kmicu has joined #nixos
kmicu has quit [(Excess Flood)]
kmicu has joined #nixos
ixxie has joined #nixos
<pie_>
clever, o/
<LnL>
you could probably leverage distributed builds to distribute load
<pie_>
well i doubt id actually use nix mechanisms for job distribution and such, though it might not be a bad idea
<gchristensen>
I think nix is good at packaging your jobs so you know they work correctly across the cluster and don't interfere (I've done this)
<gchristensen>
I'd use a proper distributor if you have a sizable cluster :)
spinus has joined #nixos
phinxy has joined #nixos
mudri has quit [(Ping timeout: 245 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
<pie_>
gchristensen, i guess its worth a shot
pbogdan` has joined #nixos
pbogdan` has quit [(Client Quit)]
<gchristensen>
yeah
<gchristensen>
I know one massive NixOS user uses it for exactly this reason
<LnL>
oh like that
pbogdan has quit [(Ping timeout: 255 seconds)]
<LnL>
yeah, I think nixos makes it easier to keep everything in sync
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] uwap closed pull request #20218: postfix: Make config an attribute set (master...postfixattrs) https://git.io/vX4Vj
NixOS_GitHub has left #nixos []
<gchristensen>
oh, duh, also one of the TOPS500 runs NixOS
<gchristensen>
you'd be in good company, pie_
<pie_>
oh?
jophish has quit [(Ping timeout: 260 seconds)]
jophish has joined #nixos
<pie_>
gchristensen, which one
<gchristensen>
like blue brain or something
<gchristensen>
"The Human Brain Project (https://www.humanbrainproject.eu/) and The Blue Brain Project (http://bluebrain.epfl.ch/) uses NIX in its HPC to deploy our softwares on all our Supercomputers and our HPC computing clusters. This includes 3 of the most powerful machines in the TOP 500."
<pie_>
"Nix based fully automated workflows and ecosystem to guarantee scientific result reproducibility across software environments and systems"
pbogdan has joined #nixos
joehh has joined #nixos
jophish has quit [(Remote host closed the connection)]
joehh has quit [(Client Quit)]
<pie_>
hail nixos
<gchristensen>
hey now
mudri has joined #nixos
jophish has joined #nixos
magnetophon has joined #nixos
k0001_ has joined #nixos
k0001 has quit [(Ping timeout: 240 seconds)]
harlock[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jlesquembre opened pull request #26371: eslint_d: init at 4.2.5 (master...eslint_d) https://git.io/vH2xX
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
_ris is now known as ris
<LnL>
:)
goibhniu has quit [(Ping timeout: 258 seconds)]
leat has joined #nixos
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
Rajsun has joined #nixos
FRidh has joined #nixos
<FRidh>
pie_: In my opinion Nix works far better than the module system that is typically used. Unfortunately they wouldn't install Nix on the cluster I was using so I tried using it with a user bind mount. That worked, but the filesystem (lustre) too slow so eventually dropped it again.
jophish has quit [(Remote host closed the connection)]
<pie_>
FRidh, hm, you mean because of all the symlink thrashing or what?
<FRidh>
pie_: lustre wasn't an option because I ran out of inodes pretty quickly
<FRidh>
those symlinks definitely add up
<pie_>
slightly related quesiton, how is zfs on linux these days?
<pie_>
what do you mean by typically used module system?
jophish has joined #nixos
<gchristensen>
pie_: several of my personal servers run ZFS now, Salesforce runs their entire mysql deployment on top of zfs
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] risicle opened pull request #26372: fetchsvn: set LC_ALL in builder to allow svn to handle unicode filenames (master...fetchsvn-unicode) https://git.io/vH2pH
NixOS_GitHub has left #nixos []
<jophish>
Hmm, I'm getting a bunch of errors in hydra-server: Caught exception in engine "Wide character in syswrite at
<pie_>
wait so is nixops or disnix the correct tool to use for a local cluster
<gchristensen>
I don't know of anyone (?) using disnix, I'd use nixops
<dash>
pie_: nixops is for infrastructure management, disnix for service management
<dash>
iirc
<dash>
you can conceivably use both
<pie_>
oh
mizu_no_oto has joined #nixos
ixxie has quit [(Ping timeout: 240 seconds)]
agjacome has joined #nixos
<pie_>
so, hydra package distribution via torrent is an old question usually getting hung up on trust
<pie_>
err wait hold on...
<gchristensen>
not trust, bad behavior
* pie_
scratches head
<gchristensen>
nix makes for a very bad torrent peer
<pie_>
yeah the trust thing was for initializing packages into the network yourself
<jophish>
gchristensen: there's no reason why the daemon couldn't stay alive and seeding
<pie_>
but what if you want to do it on a network you control? say a cluster
<jophish>
Sonarpulse: ^
magnetophon has quit [(Ping timeout: 260 seconds)]
<jophish>
pie_: you're not the only one who wants this
<pie_>
i think facebook used torrent internally at one point (if not still)
<pie_>
jophish, probably but ii just realized that this could be a legit good working use case
<pie_>
(possibly)
pSub has quit [(Read error: Connection reset by peer)]
<gchristensen>
some companies use torrent to distribute to TOR nodes and then nodes in the rack fetch from their TOR node
<jophish>
ugh, why is the wiki gone
<pie_>
jophish, "wiki is bad mkay?" or something :P
<bennofs[m]>
jophish: I wonder if there is any way to debug this ... :(
<gchristensen>
I think it is possible to experiment with caches & torrents without official upstream support
<jophish>
yeah, one could implement a nix-store api implementation
<gchristensen>
or maybe simpler, use a local proxy which uses torrents to fetch sources, and point nix at it as a binary cache
<jophish>
bennofs[m]: I have no idea what's going on
<jophish>
I previously had this happen on a VDI with nix under virtualbox
<jophish>
and I cloned that disk to qcow2
<jophish>
and got it again
<jophish>
that makes me think it's at the filesystem level
<bennofs[m]>
jophish: I wonder if this is only happens with a specific filesystem?
<jophish>
bennofs[m]: that would be an excellent test
<jophish>
given this rarity of this phenomenon it's hard to check though
<bennofs[m]>
jophish: can you write on the issue what FS you are using? perhaps ocharles was using something else
civodul has joined #nixos
<jophish>
good idea, done
k0001_ has quit [(Ping timeout: 240 seconds)]
<subl3>
Sublime Text 3 no longer is able to delete files on my NixOS installation and if I open its console, I see an error about no module Default.send2trash, is this related to how it is packaged in nixpkgs or is this unrelated to NixOS and should I be asking about this elsewhere?
<jophish>
This has happened to about 5 paths out of 93000
<bennofs[m]>
jophish: so you've fixed it now. does it perhaps re-appear when you run `nix-store --optimize`?
<bennofs[m]>
oh hmm, you didn't copy the files manually but used --repair-path
<jophish>
yeah, that's an easier fix
<jophish>
write to the file then --repair-path
<bennofs[m]>
jophish: do you still have broken paths? could you check if the affected files have more than one hardlink reference?
magnetophon has joined #nixos
<jophish>
bennofs[m]: I think I've got rid of them all, sorry!
<jophish>
brb
<jophish>
bennofs[m]: interesting: two outputs from the same derivation are broken
<jophish>
one of the files is ./nix-support/propagated-native-build-inputs
<jophish>
I fixed one of the paths earlier
<jophish>
so the number of links is 0
<jophish>
1*
agjacome has quit [(Ping timeout: 240 seconds)]
agjacome has joined #nixos
phinxy has quit [(Ping timeout: 260 seconds)]
goibhniu has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
phinxy has joined #nixos
mizu_no_oto has joined #nixos
pseudo-sue has joined #nixos
pseudo-sue has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
magnetophon has quit [(Ping timeout: 260 seconds)]
<davidak>
does -I of nixos-rebuild and nixos-install behave different?
magnetophon has joined #nixos
deba5e12 has joined #nixos
boegel has quit [(Remote host closed the connection)]
boegel has joined #nixos
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
RayNbow`TU has quit [(Ping timeout: 240 seconds)]
boegel has quit [(Remote host closed the connection)]
spinus has quit [(Read error: Connection reset by peer)]
RayNbow`TU has joined #nixos
magnetophon has left #nixos []
boegel has joined #nixos
spinus has joined #nixos
boegel has quit [(Remote host closed the connection)]
boegel has joined #nixos
<pierron>
qknight_: ping?
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
<pierron>
qknight_: the code snippet is the complete content of the overlay, and the only thing that you need apart from the expression of each package.
<deba5e12>
hey, I'm having issues with SDL again, but this time thanks to qemu instead of the lispbuilder-sdl library, so i suppose it's a more general issue than i thought earlier.
<deba5e12>
qemu is throwing this error when i try to boot up an image:
<deba5e12>
Could not initialize SDL(No available video device) - exiting
<deba5e12>
I have SDL version 1.2 and version 2 installed.
Itkovian has joined #nixos
<deba5e12>
any thoughts?
<nix_n00b>
test'
boegel has quit [(Remote host closed the connection)]
<deba5e12>
we read you loud and clear, nix_n00b
<pierron>
qknight_: I honestly do not understand your answer about "i'm not good at looking at commented split snippets of PR code", you can view the complete code with comments by looking at the diff view on github.
<nix_n00b>
deba5e12: :)
boegel has joined #nixos
<pierron>
qknight_: also, the code example I gave should be the answer you are looking for. No more nixcloud-pkgs.nix file, only the content of the overlay.
boegel has quit [(Remote host closed the connection)]
<nix_n00b>
does Virtualbox need to be installed / accessed using nix-shell and config.nix or will nix-env -i work? I can't seem to get it to run
<deba5e12>
did you include the virtualbox module in your /etc/nixos/configuration.nix, nix_n00b? that worked for me
<nix_n00b>
deba5e12: I don't think so! Thanks I'll check that now
<deba5e12>
nix_n00b: ^ that's the expression I added to my configuration.nix's include section
<deba5e12>
did the trick.
<deba5e12>
now if anyone could point out what the cause of my SDL/qemu issue might be, I'd be grateful!
<nix_n00b>
deba5e12: the "services you want to enable" section?
<nix_n00b>
or "list of packages installed in system profile"?
<deba5e12>
nope, the imports list
agjacome has joined #nixos
<deba5e12>
if you're working from the default that the livecd sets up
<nix_n00b>
ahh ok! Thank you
<deba5e12>
np!
<deba5e12>
you can browse the modules tree on the nixos github
<nix_n00b>
oh ok cool, I never would've figured what to write or where to place it :p
<deba5e12>
anything in nixpkgs/nixos/modules/* can be pushed into that list, surrounded by angle brackets. there's no need to download the modules first.
<deba5e12>
i'm noobing it up here myself, and it was a bit of lucky trial and error.
<nix_n00b>
Ha, yeah definately a lot of that going on for me too
nix_n00b has quit [(Quit: Page closed)]
nix_n00b has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<nix_n00b>
deba5e12: so after you installed virtualbox via nix-env -i virtualbox and put that line in /etc/nixos/configuration.nix, and ran "virtualbox", it worked for you?
<nix_n00b>
I'm getting told command not found after running nixos-rebuild switch after all the above and logging out and back in
<deba5e12>
try VirtualBox
<subl3>
Sublime Text uses python, but I do not see any reference to python in its inputs, is that because python is assumed to be present on the system?
<deba5e12>
oh, and stick "virtualisation.virtualbox.host.enable = true;" somewhere in your config as well, in the main body of the file
<FRidh>
subl3: that assumption is never made
<FRidh>
at least not when its required to run
<nix_n00b>
deba5e12: ha! it was that simple, how funny... Thanks :)
<subl3>
FRidh: good to know, then it probably supplies its own python binary
<deba5e12>
subl3: this isn't quite the issue i'm worried about. I'm working locally, and *should* be able to open a display. Other applications seem to have no trouble doing so.
<deba5e12>
but thanks
<pie_>
"Finally, practical experience shows that a strategy rely-
<pie_>
ing only on the setting of environment variables (which are
<pie_>
limited to 8k characters on HPC systems like the IBM Blue
<pie_>
Gene/Q) can lead to undesired catastrophic side effects."
phinxy has quit [(Ping timeout: 255 seconds)]
<pie_>
this sounds like it could be a problem for nix is it ever ends up on such a system
<subl3>
deba5e12: yeah I saw that, but I hoped that some of those options were relevant for your problem
Filystyn has quit [(Quit: Konversation terminated!)]
<deba5e12>
it would help if i wanted to open up the qemu instance headlessly, which i still might do, but i've been having sdl problems all over the place, including for some graphical applications i'm writing
phinxy has joined #nixos
stanibanani has joined #nixos
<stanibanani>
hello! what exactly does pkgs.fetchurl do? Does it just download the image into the nix store and returns it's path?
primeos has quit [(Ping timeout: 260 seconds)]
primeos has joined #nixos
<pie_>
hashdist vs nix?
Svarog has joined #nixos
<Svarog>
is there a way to clone a nixos partition to another computer with different hardware without having to reinstall?
Itkovian has joined #nixos
<Svarog>
perhaps chroot into the existing environment from the installation usb drive? would that work?
<Svarog>
or even force nixos-install to use existing installed packages instead of downloading older versions
<subl3>
Svarog: could you not make your other partition a binary cache, e.g. using nix.sshServe?
<Svarog>
hmm i can't get sshserve to work, i've been using nix-copy-closure instead as that seems more reliable
<Svarog>
but as far as i can tell i need a running system to use that
<Svarog>
can't do it to a live cd
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Svarog>
and i can't boot into the cloned partition so have to use the live cd
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to master: https://git.io/vHaTj
<mellowmaroon>
For booting GNOME, is there a way to specify X11 instead? It looks like Android Studio doesn't work with Wayland
stanibanani has left #nixos []
<yurrriq>
Hi, Ankhers
riclima has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<mellowmaroon>
I can't tell if Gnome is using X11 or Wayland...
<DIzFer[m]>
the option should be in your session manager's selector
<mellowmaroon>
Didn't see it there...
<mellowmaroon>
Ok, was able to find out using loginctl, it's using Wayland (that's what I thought)
<mellowmaroon>
I guess a better solution here would be to install XWayland, has anyone here done that in NixOS?
<jophish>
mm
<jophish>
readPathsFromFile stack overflows with about 100 files
<mellowmaroon>
also, if anyone knows about debugging with libinput, I'm still having problems w/ natural scrolling. But for some reason, it's only my desktop that has issues
<phI||Ip>
Does anyone know how I might achieve the following: I want a file system watcher service/daemon monitoring configuration.nix. When it gets updated I want nixos-rebuild to be performed
<mellowmaroon>
phI||Ip: You could set a cron job to run that every boot, or every day
<mellowmaroon>
phI||Ip: That'd probably be the easiest. For package installations, what I do is: Install with `nix-env -iA nixos.PACKAGE-NAME`, and update config.nix with those every so often
<mellowmaroon>
phI||Ip: If you're constantly saving and want to recompile, you could also look at setting up something with the program `inotify`
<gleber_>
yurrriq: I am redoing it, while looking at that PR, so that I learn and understand the code there. My goal is to do purely a refactoring at the moment.
<gleber_>
It is not my priority to add better LFE or Elixir support, but I might take a stab on it
aminechikhaoui has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
<yurrriq>
gleber_: sounds great!
aminechikhaoui has quit [(Remote host closed the connection)]
<yurrriq>
/cc LnL, ericbmerritt_
<LnL>
yeah, I think the changes are a bit to outdated to just rebase :)
mellowmaroon has quit [(Quit: Leaving)]
<Ankhers>
I can take a stab at adding better Elixir support, since I am the one that needs it.
jgertm has joined #nixos
<yurrriq>
LnL: heh, yeah.
<yurrriq>
Ankhers: sounds great. I'm happy to do LFE once gleber_ pushes the refactoring
ixxie has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
deba5e12 has quit [(Quit: Lost terminal)]
ted_ has joined #nixos
phinxy has quit [(Read error: No route to host)]
riclima has joined #nixos
ted_ has quit [(Client Quit)]
mudri has quit [(Ping timeout: 240 seconds)]
marsel has joined #nixos
keb has joined #nixos
pbogdan has joined #nixos
FRidh has quit [(Read error: Connection reset by peer)]
<keb>
I'm trying to create a binary cache of a derivation that uses credentials in fetchurl. Is this even possible without creating 2 different sets of derivations that have different src attrs?
<keb>
it's a cache of many derivations, i mean
<keb>
the problem is the src.drv's hash changes as soon as i remove the creds, so the descendant packages have hash changes as well, meaning my cached packages won't be found by clients
pbogdan` has joined #nixos
pbogdan has quit [(Ping timeout: 255 seconds)]
<keb>
so, in other words, is there any way to create a binary cache of packages whose src is not publicly accessible?
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
riclima has joined #nixos
FrozenCow has joined #nixos
FrozenCow has quit [(Remote host closed the connection)]
ixxie has joined #nixos
deba5e12 has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Svarog has quit [(Quit: Ex-Chat)]
mudri has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
Itkovian has joined #nixos
ris has joined #nixos
sellout- has joined #nixos
<deba5e12>
hey, is there a nixos package for a static build of qemu?
<deba5e12>
nix-env -qa seems to only show dynamically linked builds.
<dash>
deba5e12: in general nix doesn't build static binaries; what's your goal?
<dash>
(or rather; what's insufficient about a dynamically linked build?)
<deba5e12>
i'm just looking for something that I can use for chrooting into the filesystem of, say, a mips router
endformationage has joined #nixos
<deba5e12>
typically this is done by copying a static qemu build into the chrootable directory, and then running "chroot . qemu-mips-static bin/busybox" or something like that
<deba5e12>
i could compile one myself, or something, but wanted to see if there was an easy way of doing this first (maybe something analogous to a USE flag, for nix-env? I dunno. bit new here.)
sellout- has quit [(Read error: Connection reset by peer)]
<deba5e12>
and for the record, it works like a charm, in case anyone's dealing with the same issue.
nil has joined #nixos
ris has quit [(Read error: Connection reset by peer)]
ris has joined #nixos
Sonarpulse has quit [(Read error: Connection reset by peer)]
ris has quit [(Client Quit)]
ris has joined #nixos
riclima has joined #nixos
riclima has quit [(Client Quit)]
riclima has joined #nixos
<pikajude>
so
<pikajude>
does anyone know what 'error: setting synchronous mode: disk I/O error' comes from on WSL
<pikajude>
that's when i try to nix-shell
riclima has quit [(Client Quit)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ixxie has quit [(Ping timeout: 245 seconds)]
<dhess`>
Sorry, this is a dumb question, but I have a little embedded device running NixOS. I'm using NixOps to deploy it. After several deployments, the /boot partition is nearly full and I need to clean up all kernels except the current generation's. How do I remove the /boot/extlinux/extlinux.conf entries for unused kernels and clean up the unused zImages, dtbs, and initrds in /boot/nixos?
<dhess`>
nix-collect-garbage -d didn't do that
Sonarpulse has joined #nixos
sellout-1 has joined #nixos
<sziszi>
dhess`: nix-collect-garbage --delete-old
sellout- has quit [(Ping timeout: 255 seconds)]
Guillaum_ has quit [(Ping timeout: 260 seconds)]
<dhess`>
sziszi: isn't that the same as 'nix-collect-garbage -d' ?
lambdamu has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edwtjo pushed 1 new commit to master: https://git.io/vHa38
<NixOS_GitHub>
nixpkgs/master beb04aa Edward Tjörnhammar: libretro.dolphin: init at 2017-06-04
NixOS_GitHub has left #nixos []
<dhess`>
yes, it's the same thing. Anyway, see above, that didn't actually remove anything from /boot
ris has quit [()]
ris has joined #nixos
<drakonis>
is there a staging repository for the pull requests?
<drakonis>
a extra layer that mirrors all pull requests and accepts them?
<sziszi>
drakonis: your best bet is the unstable channel
<drakonis>
it doesn't automatically accept the pull requests so
<sziszi>
dhess`: sorry I only knew about the longer version
<dhess`>
here's something odd: I built a custom kernel for this and deployed it with NixOps. The deployment finished fine with no errors, but I noticed that some DTB files were missing from /boot. That's when I noticed that /boot was full
<dhess`>
so after setting that configurationLimit parameter and re-deploying, nixops cleaned up /boot and now the missing DTB files are in /boot
<dhess`>
meaning: the original deployment should have failed when /boot filled up, but it didn't
riclima has quit [(Client Quit)]
<pbogdan`>
anyone seeing very long linking times when building haskell libraries / executables with current nixos-unstable?
<sziszi>
open an issue dhess`
riclima has joined #nixos
<dhess`>
sziszi: I'm scanning the log here to see if anything was reported during that deployment
afics has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Client Quit)]
pseudo-sue has joined #nixos
riclima has joined #nixos
<pbogdan`>
when trying to build my executable I see this guy "nix/store/wb34dgkpmnssjkq7yj4qbjqxpnapq0lw-bash-4.4-p12/bin/bash -e /nix/store/3k978nnp7ppjim34di40vwz5f95rsxhw-gcc-wrapper-5.4.0/bin/cc @/tmp/nix-build-xmonadrc-0.1.0.0.drv-0/ghc15528_0/ghc_7.rsp" getting stuck for over minute banging at few memory addresses with brk()..
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] danielfullmer opened pull request #26380: programs.zsh.syntaxHighlighting: Fix default value for patterns (master...zsh-syntax-highlighting-module) https://git.io/vHasj
NixOS_GitHub has left #nixos []
pseudo-sue has quit [(Ping timeout: 240 seconds)]
martinklepsch has quit [(Ping timeout: 255 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<yurrriq>
It's a script to test PRs against affected packages, right!
<yurrriq>
?
arianvp2 has joined #nixos
Itkovian has joined #nixos
kampfschlaefer has quit [(Remote host closed the connection)]
takle has joined #nixos
derjohn_mob has joined #nixos
<gleber_>
that's my understanding
<sziszi>
pie_: nice to see you here
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vHanq
<NixOS_GitHub>
nixpkgs/master 96faeb1 Michael Weiss: gollum: Add Git as runtime dependency...
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
pbogdan`` has joined #nixos
<pie_>
sziszi, o/
<sziszi>
didn't see you on the "regular" channels
derjohn_mob has quit [(Ping timeout: 255 seconds)]
pbogdan` has quit [(Ping timeout: 255 seconds)]
riclima has joined #nixos
<pie_>
sziszi, yeah idk my junk is all over the place :P
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Filystyn>
why nix does not see it ? ;-( #include <SDL2_mixer.h>
<sziszi>
pie_: gross :D
<Filystyn>
i nix-enve dit;p
riclima has quit [(Client Quit)]
<gleber_>
Getting this error so far: /nix/store/...-bash-4.4-p12/bin/bash: /tmp/nix-build-erlang-16B03-1.drv-0/otp_src_R16B03-1/make/emd2exml: /usr/bin/env: bad interpreter: No such file or directory
<Filystyn>
tomorrow we shall discuss since this seems like strange problem
<Filystyn>
I am sure i have the dev libs but]
<Filystyn>
*no file*
ixxie has quit [(Ping timeout: 245 seconds)]
<Filystyn>
gtg sleep
Filystyn has quit [(Quit: Konversation terminated!)]
Sonarpulse has quit [(Ping timeout: 268 seconds)]
avn_ has joined #nixos
musicmatze_ has joined #nixos
jensens has joined #nixos
Biappi_ has joined #nixos
ij- has joined #nixos
bohan_ has joined #nixos
<keb>
Is there any way to create a binary cache of packages whose src is not publicly accessible? The drv hashes changing makes it infeasible AFAICT.
johnw_ has joined #nixos
luto has joined #nixos
eddyb has joined #nixos
vdemeester has joined #nixos
k0001_ has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
ericnoan has quit [(Ping timeout: 260 seconds)]
marcinkuzminski has quit [(Ping timeout: 240 seconds)]
Avery[m] has quit [(Ping timeout: 255 seconds)]
Forkk has joined #nixos
WinterFox[m] has quit [(Ping timeout: 240 seconds)]
qrilka[m] has quit [(Ping timeout: 240 seconds)]
jack[m]1 has quit [(Ping timeout: 240 seconds)]
mythmon- has quit [(Ping timeout: 240 seconds)]
Kallegro[m] has quit [(Ping timeout: 240 seconds)]
philipp[m] has quit [(Ping timeout: 240 seconds)]
hl has quit [(Ping timeout: 240 seconds)]
Exee7uvo[m] has quit [(Ping timeout: 240 seconds)]
Drakonis[m] has quit [(Ping timeout: 240 seconds)]
icetan has quit [(Ping timeout: 240 seconds)]
corngood has quit [(Ping timeout: 240 seconds)]
regnat[m] has quit [(Ping timeout: 240 seconds)]
DIzFer[m] has quit [(Ping timeout: 240 seconds)]
musicmatze[m] has quit [(Ping timeout: 240 seconds)]
spacekitteh[m] has quit [(Ping timeout: 240 seconds)]
bendlas has quit [(Ping timeout: 240 seconds)]
xj9[m] has quit [(Ping timeout: 240 seconds)]
tommyangelo[m] has quit [(Ping timeout: 246 seconds)]
M1000teslas[m] has quit [(Ping timeout: 246 seconds)]
alain[m] has quit [(Ping timeout: 246 seconds)]
sargon[m] has quit [(Ping timeout: 246 seconds)]
hendrik[m] has quit [(Ping timeout: 246 seconds)]
M-liberdiko has quit [(Ping timeout: 246 seconds)]
spawnthink[m] has quit [(Ping timeout: 246 seconds)]
Khorne[m] has quit [(Ping timeout: 246 seconds)]
sziszi[m] has quit [(Ping timeout: 246 seconds)]
primeos[m] has quit [(Ping timeout: 246 seconds)]
Magnap has quit [(Ping timeout: 246 seconds)]
teh[m] has quit [(Ping timeout: 258 seconds)]
edef[m] has quit [(Ping timeout: 258 seconds)]
Criena[m] has quit [(Ping timeout: 258 seconds)]
Sonarpulse has joined #nixos
scott2 has quit [(Ping timeout: 258 seconds)]
taktoa[m] has quit [(Ping timeout: 255 seconds)]
Oo[m] has quit [(Ping timeout: 255 seconds)]
jascot[m] has quit [(Ping timeout: 255 seconds)]
reactormonk[m] has quit [(Ping timeout: 255 seconds)]
mdash has quit [(Ping timeout: 255 seconds)]
cornu[m] has quit [(Ping timeout: 255 seconds)]
BurNiinTRee[m] has quit [(Ping timeout: 272 seconds)]
bennofs[m] has quit [(Ping timeout: 272 seconds)]
Dezgeg[m] has quit [(Ping timeout: 272 seconds)]
jlle[m] has quit [(Ping timeout: 272 seconds)]
danielrf has quit [(Ping timeout: 272 seconds)]
peterhoeg has quit [(Ping timeout: 272 seconds)]
indefini has quit [(Ping timeout: 272 seconds)]
copumpkin has quit [(Ping timeout: 272 seconds)]
TimePath has quit [(Ping timeout: 272 seconds)]
ArdaXi[m] has quit [(Ping timeout: 255 seconds)]
herzmeister[m] has quit [(Ping timeout: 255 seconds)]
dvim has joined #nixos
lfont[m] has quit [(Ping timeout: 264 seconds)]
eqyiel[m] has quit [(Ping timeout: 264 seconds)]
jesper has quit [(Ping timeout: 264 seconds)]
saintaquinas[m] has quit [(Ping timeout: 264 seconds)]
sirius[m] has quit [(Ping timeout: 264 seconds)]
dtz has quit [(Ping timeout: 240 seconds)]
sudoreboot[m] has quit [(Ping timeout: 240 seconds)]
zimbatm has quit [(Ping timeout: 246 seconds)]
wak-work[m] has quit [(Ping timeout: 255 seconds)]
grahamc has quit [(Ping timeout: 245 seconds)]
Bane^ has quit [(Ping timeout: 260 seconds)]
harlock[m] has quit [(Ping timeout: 258 seconds)]
timclassic has quit [(Ping timeout: 276 seconds)]
bachp has quit [(Ping timeout: 255 seconds)]
NickHu has quit [(Ping timeout: 276 seconds)]
aspiwack[m] has quit [(Ping timeout: 276 seconds)]
raignarok has quit [(Ping timeout: 276 seconds)]
jyp[m] has quit [(Ping timeout: 276 seconds)]
davidar has quit [(Ping timeout: 276 seconds)]
offlinehacker[m] has quit [(Ping timeout: 258 seconds)]
Afterlith[m] has quit [(Ping timeout: 264 seconds)]
ericnoan has joined #nixos
Ralith has quit [(Ping timeout: 276 seconds)]
Bane^ has joined #nixos
sellout-1 has quit [(Ping timeout: 272 seconds)]
astsmtl has quit [(Ping timeout: 260 seconds)]
marcinkuzminski has joined #nixos
ij- is now known as ij
ij has quit [(Changing host)]
ij has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
sellout- has joined #nixos
Sonarpulse has quit [(Quit: Leaving)]
Sonarpulse has joined #nixos
Sonarpulse has quit [(Changing host)]
Sonarpulse has joined #nixos
nil has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ryantm opened pull request #26383: install desktop file and icon for xterm (master...xterm-desktop) https://git.io/vHaWm
NixOS_GitHub has left #nixos []
ertes has quit [(Ping timeout: 258 seconds)]
kojiro has joined #nixos
kojiro has quit [(Client Quit)]
kojiro has joined #nixos
<Ankhers>
gleber_: Is there anything I can do to test it?
<gleber_>
I think you can try doing: nix-shell -p nox --run "nix-review pr 26381"
<gleber_>
This will fail when building docs for erlangR16 (maybe for other too)
<gleber_>
Ankhers: you could try to figure out what's going on
<gleber_>
I am done for today
helpusobi has quit [(Remote host closed the connection)]
unlmtd has joined #nixos
<Ankhers>
Ok. I am running nox on my OSX machine. I can see if I can try to figure out why the docs won't build if it happens. Thanks for the work!
<kojiro>
Hi, I'm trying to figure out why nix-shell opens bash with completion disabled. I'm confused because it seems to just run "bash" from PATH, but many features are disabled.
nil has joined #nixos
<kojiro>
my default.nix is very simple for this test case: just `with import <nixpkgs> {}; stdenv.mkDerivation { name = "test"; }`
Itkovian_ has joined #nixos
<kojiro>
but when I run `nix-shell` and it sources my .bashrc, it immediately prints `bash: set: vi: invalid option name` and then `complete: command not found` several times
Itkovian_ has quit [(Client Quit)]
Itkovian has quit [(Ping timeout: 255 seconds)]
ertes has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
Magnap has joined #nixos
jyp[m] has joined #nixos
cornu[m] has joined #nixos
jesper has joined #nixos
xj9[m] has joined #nixos
primeos[m] has joined #nixos
scott2 has joined #nixos
sirius[m] has joined #nixos
indefini has joined #nixos
Guest27577 has joined #nixos
hendrik[m] has joined #nixos
aspiwack[m] has joined #nixos
bachp has joined #nixos
davidar has joined #nixos
jascot[m] has joined #nixos
NickHu has joined #nixos
TimePath has joined #nixos
Kallegro[m] has joined #nixos
timclassic has joined #nixos
ArdaXi[m] has joined #nixos
M-liberdiko has joined #nixos
wak-work[m] has joined #nixos
regnat[m] has joined #nixos
Exee7uvo[m] has joined #nixos
mythmon- has joined #nixos
hl has joined #nixos
sudoreboot[m] has joined #nixos
Drakonis[m] has joined #nixos
copumpkin has joined #nixos
teh[m] has joined #nixos
harlock[m] has joined #nixos
spawnthink[m] has joined #nixos
spacekitteh[m] has joined #nixos
alain[m] has joined #nixos
herzmeister[m] has joined #nixos
sargon[m] has joined #nixos
offlinehacker[m] has joined #nixos
edef[m] has joined #nixos
raignarok has joined #nixos
bennofs[m] has joined #nixos
Afterlith[m] has joined #nixos
icetan has joined #nixos
sziszi[m] has joined #nixos
Khorne[m] has joined #nixos
philipp[m] has joined #nixos
dtz has joined #nixos
WinterFox[m] has joined #nixos
DIzFer[m] has joined #nixos
Ralith has joined #nixos
saintaquinas[m] has joined #nixos
musicmatze[m] has joined #nixos
reactormonk[m] has joined #nixos
jack[m]1 has joined #nixos
bendlas has joined #nixos
zimbatm has joined #nixos
mdash has joined #nixos
M1000teslas[m] has joined #nixos
peterhoeg has joined #nixos
danielrf has joined #nixos
Avery[m] has joined #nixos
qrilka[m] has joined #nixos
Oo[m] has joined #nixos
Dezgeg[m] has joined #nixos
tommyangelo[m] has joined #nixos
Criena[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
eqyiel[m] has joined #nixos
corngood has joined #nixos
lfont[m] has joined #nixos
taktoa[m] has joined #nixos
jlle[m] has joined #nixos
jnovak has joined #nixos
<kojiro>
ohainetsplit
<kojiro>
so, I found out why nix-shell was behaving badly
<kojiro>
but it is another mystery
Avery[m] has quit [(Read error: Connection timed out)]
Avery[m] has joined #nixos
<kojiro>
This being nix, I of course have multiple bashes - the one on my PATH is not the one that konsole invokes when it launches
mizu_no_oto has joined #nixos
<kojiro>
the one konsole uses works fine. The other one seems configured without a bunch of useful features
marsel has quit [(Ping timeout: 255 seconds)]
pseudo-sue has joined #nixos
Dezgeg[m] has quit [(Read error: Connection timed out)]
Dezgeg[m] has joined #nixos
k2s has joined #nixos
<BlessJah>
is there pep-8 for nix?
k2s has quit [(Client Quit)]
saltsa has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 255 seconds)]
derjohn_mob has joined #nixos
<kojiro>
How can I examine the difference between the configuration between two installations of bash?
pseudo-sue has quit [(Ping timeout: 272 seconds)]
<sphalerite>
kojiro: Where is the bash getting invoked from?
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<sphalerite>
kojiro: e.g. if it's in /run/current-system/sw/bin you can look at the system configuration to find it, if it's ~/.nix-profile/bin it might be harder
<kojiro>
sphalerite: so the bash in current-system works correctly, but the one in ~/.nix-profile is broken. By "broken" I mean it does not support what I consider to be very basic settings. I assume they were disabled at configure time
<kojiro>
I just don't know why, since I didn't even explicitly install bash at all
saltsa has joined #nixos
<kojiro>
I guess it's a default system package, but I don't know why it's installed in my environment, differently
<sphalerite>
Just remove it from your environment then
<kojiro>
I didn't notice at first because konsole uses the one in /run/current-system by default
<sphalerite>
And are you sure it's bash and not sh/dash/busybox's ash?
<kojiro>
well, the file name is bash
<kojiro>
it has the same $BASH_VERSION
<kojiro>
it seems to be bash. Regarding removing it, I already tried `nix-env --uninstall bash`
<kojiro>
it said "uninstalling 'bash-4.4-p5'", but did not remove either bash from my profile
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHa8E
<NixOS_GitHub>
nixpkgs/master b8ebc60 Daniel Fullmer: programs.zsh.syntaxHighlighting: Fix default value for patterns
<NixOS_GitHub>
nixpkgs/master 32f066d Joachim F: Merge pull request #26380 from danielfullmer/zsh-syntax-highlighting-module...
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 260 seconds)]
<sphalerite>
huh, weird
<sphalerite>
what does nix-env -q say?
<kojiro>
it lists 10 packages, none of which are bash
<ij>
I built a haskell lib with cabal2nix --shell and nix-build. Another package I'm building's not seeing it. How could I make it see?
spinus has quit [(Remote host closed the connection)]
hiratara has joined #nixos
<kojiro>
sphalerite: this "broken" bash is listed in /etc/nix/nix.conf in build-sandbox-paths
<kojiro>
I don't know why it's on my user's PATH to take precedence, but I'd guess it's a minimalist bash for a build sandbox
<sphalerite>
huh
<sphalerite>
I have no idea
<kojiro>
crazy, right?
<kojiro>
I bet if I create a new user they won't have this problem
<sphalerite>
ij: add it to the other package's deps
* kojiro
goes to test
<ij>
sphalerite, It's in executableHaskellDepends.
proteus-guy has joined #nixos
<ij>
Don't I have to register it as one of the available packages? Like… this specific one, because there could be many with PKGNAME lying around in nix store.
<kojiro>
yeah, my PATH is weird. "bob"s path is very short - 12 lines. Mine has 58 lines
lambdamu has joined #nixos
<kojiro>
I am not setting PATH in .bash_profile or .bashrc
Sonarpulse has quit [(Ping timeout: 260 seconds)]
<ertes>
ij: the way i mentioned earlier is to add it to 'haskellPackageOverrides' in your ~/.nixpkgs/config.nix
<ertes>
ij: does that file exist for you?
<ij>
Not even a ~/.nixpkgs.
<ertes>
ij: then create it and write the following into it, replacing "blah" by your package name: { haskellPackageOverrides = self: super: { blah = self.callPackage /path/to/blah {}; }; }
<ertes>
ij: if you have some directory where all your projects live (let's say ~/src), you can add that directory to the NIX_PATH environment variable: …:ij-src=/home/ij/src
proteus-guy has quit [(Remote host closed the connection)]
<ertes>
now instead of /path/to/blah you can write <ij-src/blah>
<ertes>
oh, and in order for this to work you need to run this in your project dir: cabal2nix . > default.nix
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 260 seconds)]
Piece_Maker is now known as Acou_Bass
thc202 has quit [(Ping timeout: 260 seconds)]
ertes has quit [(Ping timeout: 255 seconds)]
<ij>
Isn't it sort of weird that upon introducing a syntax error "wef#{" in the ~/.nixpkgs/config.nix, the nix-build shell.nix doesn't mention it?
<pop>
So looking around it doesn't seem like there's any revisions of packages stored in nixpkgs (there's only default for most packages and it's hard-bumped from X to Y). Is this on purpose / is it a feature?
<drakonis>
what do you mean revisions
ertes has joined #nixos
<drakonis>
updating a package's expression without bumping a release?
<ij>
By haskell executable uses templatehaskell to call git while compiling. I added git to deps, but it still can't find git. Should I add anything else? http://sprunge.us/URih
<pop>
drakonis: There's only one release of most packages at a time. With things like pip you can specify "Release this exact [not latest] version of the application".
<pop>
Or Cargo also has this. "Install X version of this package" instead of "Install [the latest version of] this package"
<pop>
I'm really just curious.
<drakonis>
oh i see
<drakonis>
its because of reproductibility
<drakonis>
if you want an older release, you'd have to write a derivation for that
<pop>
Ah, gotcha. Thanks drakonis++
takle has quit [(Remote host closed the connection)]
markus1189 has joined #nixos
markus1209 has joined #nixos
MP2E has joined #nixos
markus1219 has quit [(Ping timeout: 255 seconds)]
markus1199 has quit [(Ping timeout: 260 seconds)]
Sonarpulse has joined #nixos
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
pseudo-sue has joined #nixos
ertes has quit [(Ping timeout: 255 seconds)]
arianvp2 has left #nixos []
arianvp2 has joined #nixos
pseudo-sue has quit [(Ping timeout: 255 seconds)]
mellowmaroon has joined #nixos
<mellowmaroon>
Has anyone gotten the Android Studio package to work?
ertes has joined #nixos
arianvp2 has quit [(Client Quit)]
<mellowmaroon>
The IDEA IntelliJ one works fine for me, but Android Studio doesn't for some reason
<tilpner>
What doesn't work about it?
takle has joined #nixos
<mellowmaroon>
Let me reinstall and give specifics. But it wouldn't even start for me
arianvp2 has joined #nixos
<tilpner>
Oh. It worked quite well for me, including installing the SDK and using x86 virtual devices
<mellowmaroon>
Oh now I remember why. I'm using Gnome+Wayland, which I think may be unsupported
<mellowmaroon>
Unsupported by Oracle Java, that is
<tilpner>
I'm still on X+i3, but isn't Xwayland supposed to prevent exactly that?
takle has quit [(Ping timeout: 272 seconds)]
Sonarpulse has quit [(Changing host)]
Sonarpulse has joined #nixos
takle has joined #nixos
Supersonic112 has quit [(Ping timeout: 245 seconds)]
Supersonic112_ has joined #nixos
joehh has joined #nixos
Supersonic112_ is now known as Supersonic112
pie__ has joined #nixos
takle has quit [(Ping timeout: 273 seconds)]
mellowmaroon_ has joined #nixos
<mellowmaroon_>
That was weird, not sure how I got disconnected. But I tried XWayland, without success
<mellowmaroon_>
Also, I find it odd that Gnome's NixOS settings use the attr "xserver", despite using Wayland. Just found it a bit confusing