<Infinisil>
disasm: Also --option use-binary-caches false
<Infinisil>
which would still use ssh caches if you have them
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jerith666 opened pull request #29450: Add modules for tinydns and dnscache from djbdns (master...djb-1709) https://git.io/v55wz
NixOS_GitHub has left #nixos []
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jerith666 opened pull request #29451: client-ip-echo: init at 0.1.0.1 (master...client-ip-echo-1709) https://git.io/v55wa
jtojnar has quit [(Read error: Connection reset by peer)]
<pikajude>
python-cffi won't build for me on master
mudri has joined #nixos
pxc has joined #nixos
<pikajude>
python3.6-cffi to be specific
<pikajude>
i'm getting a lot of test failures
<pikajude>
can anyone reproduce?
sigmundv has joined #nixos
sigmundv has quit [(Remote host closed the connection)]
justan0theruser has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v55rx
<NixOS_GitHub>
nixpkgs/master 569867b Peter Hoeg: dropbox: 34.4.20 -> 34.4.22
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to release-17.09: https://git.io/v55rj
<NixOS_GitHub>
nixpkgs/release-17.09 bf75da2 Peter Hoeg: dropbox: 34.4.20 -> 34.4.22...
NixOS_GitHub has left #nixos []
eacamero_ is now known as eacameron
mudri has quit [(Ping timeout: 248 seconds)]
iyzsong has joined #nixos
jtojnar has joined #nixos
<ndash>
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
koserge has quit [(Ping timeout: 255 seconds)]
koserge has joined #nixos
slabity has joined #nixos
<slabity>
How do I install a package with an override using nix-env?
<slabity>
I want to install "(dwarf-fortress.override { theme = dwarf-fortress-packages.cla-theme; })", but I can't figure out how to do that with nix-env
<samueldr>
I believe the last example in the 6.1.1 section of the manual might help
stepcut_ has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
jb55 has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
ShalokShalom has joined #nixos
jtojnar has joined #nixos
<Mic92>
disasm: never they never, nix for instance is also packaged for other distro's using nix.
<isHavvy>
Would nixpkgs add packages that add overlays? Even if the overlays add impure packages?
Ivanych has joined #nixos
fiddlerwoaroof has joined #nixos
spear2 has joined #nixos
rotaerk has joined #nixos
jb55 has quit [(Ping timeout: 246 seconds)]
rotaerk has quit [(Ping timeout: 240 seconds)]
<spear2>
is there a way to get the configured and built source tree of the system kernel, for writing modules against it?
<spear2>
i've successfully built the kernel with defconfig in my home directory in nix-shell, but i am having trouble trying to `rmmod` a "hello world" kernel module: "rmmod: ERROR: could not remove module hello: Device or resource busy"
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
<clever>
spear2: can you gist the source for the entire module?
<clever>
spear2: where you able to unload it, then load that second version?
<clever>
hmmm, neither of those should be stuck in ram
rotaerk has joined #nixos
<spear2>
clever: i was able to load both versions with `insmod`, but both give the "Device or resource busy" error trying to remove with `rmmod`, only with `rmmod -f` does it succeed
<clever>
out of ideas then, something that simple should just work
<spear2>
clever: could it be because the .config differs between the system kernel and the kernel i built?
<clever>
possibly
<clever>
there is a trick to running nix-shell against the live kernel, to get the right config
<spear2>
i can find in pkgs/os-specific/linux/kernel/generic.nix that the .config used there is copied to $out, but i can't find such a file in the store directory for the kernel
<clever>
let me ee
k2s has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] MP2E pushed 1 new commit to master: https://git.io/v55MJ
<sphalerite>
Mic92: thanks for pointing me to dn42, sounds cool :)
<sphalerite>
slabity: besides what samueldr said, you should also be able to do something like nix-env -iE 'with import <nixpkgs> {}; dwarf-fortress.override { theme = dwarf-fortress-packages.cla-theme; }'
<joepie91>
(Git is also really well-designed and nice internally, and the mechanics behind it are pretty easy to understand... but the CLI commands and flags are a mess of inconsistency, weird defaults, and unclear behaviours)
<sphalerite>
joepie91: idk… I think git's UX is fair enough, just low-level, while nix's is just horribly inconsistent
<sphalerite>
Example of the inconsistency in git?
<joepie91>
I've run into plenty of behavioural inconsistency issues with Git, too :P
<joepie91>
don't have any examples to hand
<TimePath>
`git rm` vs `git branch -D`
<hyper_ch>
time for LInux to create a new version tracking software?
<sphalerite>
the one thing that bothers me the most with nix is .nix-defexpr
<hyper_ch>
Linus I mean
<sphalerite>
who, me?
<sphalerite>
:p
<joepie91>
hyper_ch: hardly - if anything, a new set of CLI commands
<joepie91>
internally, Git's design is great
<hyper_ch>
.nix-defexpr - pretty sure you just made that up now
<sphalerite>
nope, it's the thing that nix-env uses
<joepie91>
hyper_ch: and non-ironically, the easiest way to learn how Git works, is by learning how it stores stuff internally...
<joepie91>
which is never a good sign :)
<hyper_ch>
I just memorized a bunch of commands
<hyper_ch>
and if they don't work, delete the repo and clone it again ;)
<joepie91>
doesn't always work :P
<hyper_ch>
yeah, xkcd-level :)
<joepie91>
but yeah, I get what you mean
<sphalerite>
new UI for git, call it got
<joepie91>
very few developers *actually* know how to work with Git, in my experience
<joepie91>
let alone the more advanced features
<joepie91>
(eg. multiple working trees)
<hyper_ch>
git just works - mostyly (tm)
<joepie91>
"memorize and re-clone if it breaks" is what a lot of devs do
<Myrl-saki>
IIRC, there are people here who use NixOS with 8 GB storage?
<joepie91>
clever maybe?
<joepie91>
sounds like a clever thing :P
<Myrl-saki>
:P
spear2 has quit [(Quit: ChatZilla 0.9.93 [Firefox 54.0/20170616104331])]
<sphalerite>
clever has his not-os thing which is <100MB but it's not nixos
<sphalerite>
Myrl-saki: I have a chroot with nix-on-debian on a 16GB SD card
<Myrl-saki>
hyper_ch: I have lots and lots of USB sticks with some random OS. :P
<hyper_ch>
well, default nixos can't be installed on 4gb stick anymore
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm opened pull request #29462: nixos/tests: move kernel-params & sysctl test to misc (master...trivial-misc-tests) https://git.io/v557a
NixOS_GitHub has left #nixos []
<Myrl-saki>
Well, used to have.
<Myrl-saki>
Also, why's the bot leaving after noticing?
* joepie91
has a pile of 16GB sticks laying around by now
<sphalerite>
I don't know about NixOS, I have yet to actually boot a non-chromeos kernel on it :(
<joepie91>
crappy ones, but eh
justan0theruser has quit [(Ping timeout: 246 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<joepie91>
good enough to install NixOS from
<joepie91>
:P
<Myrl-saki>
joepie91: The only answer is to make a RAID. :P
<joepie91>
Myrl-saki: trust me, you do not want that with these sticks
<sphalerite>
Myrl-saki: I have 8.9GB consumed on that SD card, but it's an arm machine so it's building *everything* from source which obviously takes a lot more space
<Myrl-saki>
sphalerite: Right, thanks.
<Myrl-saki>
sphalerite: I should try booting up my RasPi again.
<joepie91>
Myrl-saki: Sandisk Ultra USB 3.0 -- notorious for being reaaaally slow, and for having 3 different variants, of which two have all their circuitry *embedded in the USB plug* as opposed to the drive casing, meaning they very frequently overheat and destroy themselves
<sphalerite>
Myrl-saki: but is it really worth the effort? :p
<Myrl-saki>
joepie91: Why's the controller there?
<Myrl-saki>
sphalerite: Re:RasPi or Re:Chromebook?
<joepie91>
Myrl-saki: good question, no idea, possibly cost reasons? these are pretty much the cheapest 16GBs you can easily get anywhere
<sphalerite>
raspi
<Myrl-saki>
sphalerite: Man, I remember running my RasPi for like, 3 days.
<joepie91>
Myrl-saki: also, the "USB3" is a joke - the speeds of the flash are so low that there's literally no difference between if it were USB2 or USB3...
<joepie91>
so it is /technically/ USB3, but... yeah
<Myrl-saki>
joepie91: I have one drive that can burst, but the bulk was pretty much USB 2 speeds.
<sphalerite>
I have a raspi running kodi connected to my TV, it's running debian because fiddling around with SD cards sucks so much
<joepie91>
oh yeah, no bursting here :P
<joepie91>
these are properly crap
<Myrl-saki>
joepie91: rip. :(
<Myrl-saki>
joepie91: "As advertised" :P
<Myrl-saki>
joepie91: "up to" doesn't mean "it will reach" amirite?
<Myrl-saki>
joepie91: I wonder if it a USB 3.0 controller costs more.
<joepie91>
Myrl-saki: if the blue bit is solid plastic, it's a good model with the circuitry inside the case; if you see little indentations at the bottom of it or a bit of metal 'folded over' the blue bit, it's one of the crap ones
<rycee>
ixxie: I haven't been in contact with ts468 for some time. I think we've both been busy with other things lately :-) He's giving a presentation at nixcon, though, which will be about #9250.
<sphalerite>
yeah it means "no more than" >_>
<joepie91>
Myrl-saki: unsure :P
<Myrl-saki>
joepie91: And I wonder if the buyers who buy it "for being USB 3.0" way outweighs the extra cost of the controller.
<joepie91>
quite possibly
<adisbladis>
Myrl-saki: "up to" means if you have extremely large blocks, its on a monday and you sacrifice a goat
<joepie91>
while it's full moon
<joepie91>
the full moon is important
<joepie91>
;P
<joepie91>
:P*
<adisbladis>
joepie91: Well of course :)
<sphalerite>
That's if you're lucky
<Myrl-saki>
Do we have to sacrifice the goat on the moon or nah?
<sphalerite>
To be surer of it, a solar eclipse is what you want
<adisbladis>
Myrl-saki: It cant hurt
<Myrl-saki>
This is giving me xkcd feels. :P
<joepie91>
I bet there's an xkcd about it
<sphalerite>
sounds BOFHy to me
<Myrl-saki>
There's an xkcd for everyhting.
<joepie91>
there isn't!
<sphalerite>
vendors overselling their products
<joepie91>
xkcd, you disappoint me
eacameron has joined #nixos
<joepie91>
sphalerite: that's just standard practice isn't it
tmaekawa has joined #nixos
<sphalerite>
true, but at least BOFH does something about it
jellowj has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 4 new commits to master: https://git.io/v555m
<NixOS_GitHub>
nixpkgs/master 9785fc7 Servilio Afre Puentes: gmime: init at 3.0.1, leave 2.6.23 as is...
<NixOS_GitHub>
nixpkgs/master 04e97f9 Jan Malakhovski: gmime: expose versions
<NixOS_GitHub>
nixpkgs/master ae86fdd Jan Malakhovski: notmuch: switch to gmime3, make all tests pass with gmime3
NixOS_GitHub has left #nixos []
* joepie91
is pretty unforgiving towards dishonest vendors, insofar he gets to deal with them
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v55At
<NixOS_GitHub>
nixpkgs/master 9a6aa33 Tuomas Tynkkynen: kernel: Disable DEBUG_INFO...
NixOS_GitHub has left #nixos []
koserge has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
vandenoever has joined #nixos
<schoppenhauer>
hi. is it possible to have a local copy of the binary cache of nixos and use it? like with debian mirrors?
<taaperotassu>
If I am going to make a dualboot .. windows and nixos.. are there any special things that I need to worry about? Also I have never done it before.. but I think it should be fun.. unless I mess it up totally
<taaperotassu>
also if I encrypt my dualboot is it like only for the linux side or both?
<tilpner>
Make sure you install Windows first
<tilpner>
Disk encryption with LUKS would only be for the NixOS side. Windows may have their own solution for that
<hyper_ch>
do you have one hdd/ssd or two?
<taaperotassu>
okay thanks!! Being wondering this ..as didn't wanna rush it.. feels bad if have to do windows updates again
<taaperotassu>
I have on ssd
<hyper_ch>
encryption for Windows... the only thing that comes to mind is VeraCrypt
<hyper_ch>
but now idea how it would handle multiboot
<taaperotassu>
I was planning on dividing it .. veracrypt to windows and luks for nixos
<hyper_ch>
taaperotassu: you have a running windows installation?
<taaperotassu>
okay :D .. but will see then.. also the bootloader of linux side with veracrypt is a question mark
<taaperotassu>
I have a running windows installation.. I was planning on making a partition for nixos
<taaperotassu>
wondering how the bootloader might react.. or how it goes.. but I know after testing.
leat has joined #nixos
<hyper_ch>
taaperotassu: so (1) get an external usb drive (2) boot into a linux live distro (3) make a disk image backup (4) go ahead with dual boot installation
<hyper_ch>
if (4) fails, then boot again into linux live and restore the disk image ;)
<taaperotassu>
Restoring the image with windows in it by using linux distro?
<hyper_ch>
I'd use linux live distro to make and restore the disk image
<taaperotassu>
I usually go with clonezilla, but could imagine using it
<hyper_ch>
well, you don't have to make a disk image backup first but dualboot with both encrypted isn't a thing that lots of people do... so if you encounter problems, it'll be less painful to just continue where you stopped
<hyper_ch>
taaperotassu: dd reads a block device sector by sector... it doesn't care about the data contained on it
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v55A9
<NixOS_GitHub>
nixpkgs/release-17.09 2001001 Samuel Leathers: hglib: 1.7 -> 2.4...
NixOS_GitHub has left #nixos []
<hyper_ch>
and the reason for live linux is so that c isn't mount or in use in some way
<hyper_ch>
but clonezilla is also fine
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v55xT
<NixOS_GitHub>
nixpkgs/master 9a55f74 Vladimír Čunát: vivaldi-ffmpeg-codecs: fix evaluation...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ThomasMader opened pull request #29469: dmd: Fix bootstrap dmd to build with sandboxing of nixUnstable and fix dmd to build on Darwin (master...fix-dmd) https://git.io/v55xk
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/v55xm
<NixOS_GitHub>
nixpkgs/release-17.09 902a863 Vladimír Čunát: vivaldi-ffmpeg-codecs: fix evaluation...
NixOS_GitHub has left #nixos []
<taaperotassu>
I could imagine if I delete most of the things out the windows dd image will be huge af. :D
<taaperotassu>
but thanks hyper_ch
<hyper_ch>
it's a 1:1 clone of the ssd
<hyper_ch>
so deleting won't matter
<hyper_ch>
of course you could pass it thouth any compression tool
<gchristensen>
the profiles you see are probably all system profiles, not user profiles
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v55jY
<NixOS_GitHub>
nixpkgs/master d5724ef Vladimír Čunát: vivaldi-ffmpeg-codecs: fix evaluation (forgotten file)
NixOS_GitHub has left #nixos []
Isorkin has joined #nixos
michiel_l_ has quit [(Ping timeout: 264 seconds)]
michiel_l has joined #nixos
eacameron has joined #nixos
k2s has joined #nixos
<Alling>
gchristensen: That command lists all 16 generations that are available when booting! What is the standard procedure to delete old generations?
tmaekawa has quit [(Quit: tmaekawa)]
mudri has quit [(Ping timeout: 260 seconds)]
<tokudan[m]>
Alling: just use --delete-generations with the generations numbers
<Alling>
tokudan[m]: Hmm, it works but is kind of cumbersome. I would prefer being able to use e.g. 30d and not having to type in all the numbers manually.
<Infinisil>
timjrd: You could have a look at nixpkgs/pkgs/development/libraries/qt-*. I wasn't able to find any reference to 'elgfs' in nixpkgs, but you might be able to change some flags
jellowj has quit [(Ping timeout: 264 seconds)]
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #29471: python-cffi: fix test failures when using clang (master...cffi-clang) https://git.io/v5dfZ
NixOS_GitHub has left #nixos []
elurin has joined #nixos
<timjrd>
Infinisil: in the file /pkgs/development/libraries/qt-5/5.9/qtbase/default.nix there is the flag "-no-eglfs" ; I tried to remove it and to recompile Qt but the plugin is still missing
jellowj has joined #nixos
ryanartecona has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v5dfD
<NixOS_GitHub>
nixpkgs/master 3564975 Daiderd Jordan: python-cffi: fix test failures when using clang
<NixOS_GitHub>
nixpkgs/master 8c4f230 Frederik Rietdijk: Merge pull request #29471 from LnL7/cffi-clang...
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
<LnL>
FRidh: should I change it so it doesn't cause any rebuilds for linux?
<eacameron>
When running tests for haskell packages, is it possible to access a ghc-pkg db where the library under test is available?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ehmry pushed 1 new commit to master: https://git.io/v5dfA
<NixOS_GitHub>
nixpkgs/master 21e135c Matt Smith: monero: 0.10.3.1 -> 0.11.0.0
NixOS_GitHub has left #nixos []
<FRidh>
LnL: I don't really care about the rebuilding, as long as it works.
ehmry has joined #nixos
<FRidh>
LnL: just surprised about removing that substitute in a test.
<LnL>
seems like that was fixed with an update, there's go gcc in that file
<FRidh>
ok
<LnL>
I tested it with python27 and python36 on both nixos and osx
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/v5dJS
<NixOS_GitHub>
nixpkgs/release-17.09 a4bf452 Vladimír Čunát: vivaldi-ffmpeg-codecs: fix evaluation (forgotten file)...
NixOS_GitHub has left #nixos []
jellowj has joined #nixos
timjrd has quit [(Ping timeout: 260 seconds)]
ryanartecona has joined #nixos
justan0theruser has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Read error: Connection reset by peer)]
Supersonic112 has quit [(Ping timeout: 246 seconds)]
<clever>
hyper_ch: for a bit
<hyper_ch>
clever: you have that no-os thingy :)
<hyper_ch>
could I use that to deploy a very simple os onto a usb stick and boot a computer from it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5dUK
<NixOS_GitHub>
nixpkgs/release-17.09 2ad8055 Daiderd Jordan: python-cffi: fix test failures when using clang...
NixOS_GitHub has left #nixos []
<obadz>
hyper_ch: (you could do that with nixos btw)
Supersonic112 has joined #nixos
<hyper_ch>
obadz: not really... wants more than 4gb sticks
<clever>
hyper_ch: not-os could be used, the nixos iso can also be used for the same thing
<hyper_ch>
clever: but you can't store stuff on the nixos iso
<obadz>
hyper_ch: depends what you want to install..
<clever>
hyper_ch: in the case of the nixos iso, you can just dd it to a usb stick and you have a bootable stick
<hyper_ch>
like scripts that you want to run when booted from stick
<clever>
hyper_ch: you can build a custom iso that has those scripts pre-installed
<hyper_ch>
clever: just the other day I needed a linux on a bootable stick and add a script to it
<clever>
but yeah, i can see that being a bit of an issue
<obadz>
just because it's on a stick doesn't make it an 'iso'
<hyper_ch>
I need a bootable linux from stick that's small but where I still can change stuff
<clever>
the .iso includes an MBR partition table, and nothing is stopping you from adding an extra partition after you write the image
<clever>
nixos will just ignore it
<obadz>
I have a regular nixos system booting on a stick..
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg closed pull request #29438: palemoon: just use the default gcc (master...pkg/palemoon-fix) https://git.io/v55nM
NixOS_GitHub has left #nixos []
<clever>
i also prefer that method
<hyper_ch>
obadz: how big is your stick?
<clever>
4gig can work
<hyper_ch>
4gb didn't work to get nixos installed
<clever>
heck, i have a netbook with a 4gig SSD, running nixos
<obadz>
32G but I have tons of apps ..
<obadz>
4gb should def work
<clever>
brb
<obadz>
for a minimal install
<hyper_ch>
didn't work
<obadz>
what exactly didn't work ?
<hyper_ch>
getting nixos installed on that 4gb stick
ee1943 has quit [(Remote host closed the connection)]
<clever>
hyper_ch: what error did it fail with?
<hyper_ch>
don't recall
<clever>
give it another try then
<hyper_ch>
lack of diskspace or soemthing
<hyper_ch>
can't
<hyper_ch>
installed lubuntu on it at the end
<clever>
truncate /root/fake_usb.img -s 4g
<clever>
fdisk /root/fake_usb.img
Sonarpulse has joined #nixos
<clever>
losetup /dev/loop1 /root/fake_usb.img -P
<clever>
mount -v /dev/loop1p1 (i think?) /mnt/
<clever>
hyper_ch: with the above, you now have a 4gig disk image you can install nixos to
<fearlessKim[m]>
anyone working with lua ? seems broken to me. Unlike python which generates an interpreter wrapper with a valid PYTHONHOME, LUA_PATH and LUA_CPATH are not accounted for lua. Thus nix-shell -p lua52Packages.cjson -p lua wont find cjson for instance :/
<clever>
brb
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/v5dTW
<NixOS_GitHub>
nixpkgs/master 50ce8ab Michael Weiss: fetchRepoProject: Refactor the code...
NixOS_GitHub has left #nixos []
zarel has joined #nixos
<hyper_ch>
won't that break all other stuff I have mounted in /mnt ?
<clever>
hyper_ch: then mount it elsewhere
<clever>
and use --root for nixos-install and nixos-generate-config
jellowj has quit [(Ping timeout: 240 seconds)]
k2s has joined #nixos
nh2 has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<obadz>
yup
ryanartecona has joined #nixos
m0rphism has joined #nixos
<clever>
bbl
zarel has quit [(Ping timeout: 264 seconds)]
zraexy has joined #nixos
k2s has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
LysergicDreams has quit [(Ping timeout: 248 seconds)]
sch102 has quit [(Quit: Page closed)]
kanshazan has quit [(Ping timeout: 248 seconds)]
iyzsong-x has quit [(Ping timeout: 260 seconds)]
zarel has joined #nixos
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/v5dOx
<NixOS_GitHub>
nixpkgs/master 62b9d78 Michael Weiss: fetchRepoProject: Fix the GnuPG verification...
NixOS_GitHub has left #nixos []
mudri has joined #nixos
nikola_i has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] womfoo opened pull request #29475: influxdb: fixup postStart script to handle TLS (master...fix/influxdb-ssl-poststart) https://git.io/v5d3f
NixOS_GitHub has left #nixos []
zarel has quit [(Quit: Leaving)]
qwertasdf has joined #nixos
<qwertasdf>
is it possible to configure custom stuff using .nix files? E.g. i need a self signed, self booting efi kernel, effectively avoiding grub.
<hyper_ch>
I tend to say yes
<qwertasdf>
i should rather ask how feasible it is. I don't want to spend 11 hours configuring this, just to have it break 2 months from now.
<hyper_ch>
so 10h 59min is fine then.. good to know
Alling has quit [(Ping timeout: 260 seconds)]
<yorick>
qwertasdf: yes, you could do this, use system.build.installBootloader
tsm has joined #nixos
<yorick>
qwertasdf: set it to a script that installs your own boot loader
<hyper_ch>
yorick.... isn't that from hamlet? the skull?
<yorick>
hyper_ch: yes. also my real name
<hyper_ch>
you were named after a skull? oO
<slyfox>
i think it's the other way around
<Taneb>
Is there a nice way to have a nix shell with Agda and its standard library such that Agda can find the stdlib?
<yorick>
hyper_ch: it was a character and they encounter his skull, but it's a name that people have sometimes
<tsm>
I'd like to build a local 'docs' folder after / during nix-build. Is there a way to do this or do I have to just run another script after nix-build?
<hyper_ch>
local docs folder?
<tsm>
hyper_ch: in the current directory
<yorick>
tsm: nix-build ends up in result/ ?
<hyper_ch>
no idea
<yorick>
tsm: why not result/docs?
<yorick>
tsm: or you could use a multiple-output derivation
<tsm>
yorick: it's for github pages, the output must be in ./docs
<yorick>
tsm: nix-build would generate a symlink, would that work?
<tsm>
yorick: no I don't think so
<yorick>
tsm: how does the docs directory work? wouldn't it need a script to commit anyways?
<tsm>
yorick: github expects at least an index.html file which is generated during the build process of my package
<tsm>
yorick: i was just hoping to be able to do nix-build and then commit it without a script in between
<hyper_ch>
I've battled enough with python already
justan0theruser has joined #nixos
<qwertasdf>
does nix run install scripts that ship with programs? (some) programs often include ./install.sh files, which then curl into bash :S
<Dezgeg>
no, network access during builds is blocked
thomad has joined #nixos
<qwertasdf>
does nix(os) have some sort of news mechanism? E.g. before breaking changes, or when i use config options that are to be removed
jellowj has joined #nixos
<thomad>
Hi, can somebody tell me how I get Nix unstable? I need to build a package with the new sandboxing capabilities of the unstable branch but don't know how to get that going.
<srhb>
thomad: I believe it's simply called nixUnstable
<srhb>
I'm not sure whether it's safe to use now.
mrkgnao has joined #nixos
<FRidh>
srhb: nixUnstable has been fine for months, at least in my experience
jellowj has quit [(Ping timeout: 246 seconds)]
<obadz>
qwertasdf: there are release notes
k2s has joined #nixos
jellowj has joined #nixos
<srhb>
FRidh: Cool :)
<thomad>
Ah thanks that's easier than I thought. I only have the additional problem that I can't install as local user because of permission denied on lockfile. strange
<obadz>
$ nimble tasks
<obadz>
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
<qwertasdf>
Is there a nixos conuterpart to arch's bootstrap image/archive, or gentoo's stage3 tarballs? I would like to build a live/rescue system using nix(os).
<offlinehacker[m]>
Do you have any idea why mesa returns this error: "gbm: Last dlopen error: /run/opengl-driver/lib/dri/i965_dri.so:i965_dri.so: undefined symbol: _glapi_set_dispatch"?
<offlinehacker[m]>
I'm using i956 intel gpu driver and dri works for example in chromium and quake3. I'm integrating opengl support into qemu and when i start a vm with virtio video driver and enable opengl, this is the error i get.
mudri has quit [(Ping timeout: 246 seconds)]
phinxy has joined #nixos
phinxy has left #nixos []
<offlinehacker[m]>
If i look into i965_dri.so this symbols are really not defined, but i have no exact idea how drivers are loaded, as most of them seem to be undefined
<mp6>
I installed docker, but if I try to pull an image, I get the error "Warning: failed to get defailt registry endpoint fron daemon (cannot connect to the docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?)
<mp6>
I can't figure out what to do
marusich has joined #nixos
bennofs has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] CarlOlson opened pull request #29478: roswell: init at version 17.9.10.82 (master...add-roswell) https://git.io/v5dWz
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<offlinehacker[m]>
mp6: on nixos? have you added yourself to docker group?
erictapen has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<mp6>
offlinehacker[m]: i did add mysef to the group "docker", same result…
<michalrus>
Hey, what’s the best way to set a static IP for `nixos-rebuild vm` VM?
k2s has quit [(Quit: Leaving)]
Ivanych has quit [(Ping timeout: 248 seconds)]
LysergicDreams has joined #nixos
bennofs has joined #nixos
<Infinisil>
mp6: Did you relog/reboot after adding yourself to the group? I think it only then applies
<Infinisil>
michalrus: The networking.interfaces.<name>.ip4 and ip6 options
<michalrus>
Infinisil: OK, and do you maybe know why I can’t access it on its default 10.0.2.15?
<michalrus>
It works from guest, but not from host.
<Infinisil>
michalrus: Don't know much about this, but defaultGateway and open ports seem relevant
<michalrus>
But I have network in the guest, that part is working. ¯\_(ツ)_/¯
<michalrus>
The only thing I can’t do is to access guest services from host via IP.
<Infinisil>
the ports are open? And I don't know how this works, but I thought there should be some port/interface mapping
<Infinisil>
Hmm
<michalrus>
Yup, I could use port mapping, but a real IP would be more convenient. :]
<michalrus>
The ports are open, yes. The same config run on a real machine works flawlessly.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<clever>
mp6: how did you install docker?
erictapen has joined #nixos
<Infinisil>
michalrus: Ohhh, look at nixpkgs/modules/virtualisation/qemu-vm.nix
<Infinisil>
michalrus: When you nixos-rebuild vm, it includes that module
<michalrus>
Infinisil: I did already. =] But I see no solution there. =’
<michalrus>
Yup.
<Infinisil>
Heh
ryanartecona has joined #nixos
ryanartecona has quit [(Client Quit)]
<michalrus>
But from a quick lecture of the interwebs, it’s QEMU limitation. :p
elasticdog has quit [(Ping timeout: 248 seconds)]
<michalrus>
I could use tun/tap or VDE or …
<michalrus>
But OOTB → no.
<Infinisil>
Oh
<michalrus>
So I’ll just forward ports. ¯\_(ツ)_/¯
elasticdog has joined #nixos
<Infinisil>
michalrus: What does networking.primaryIPAddress do?
<NixOS_GitHub>
nixpkgs/master bb1c9b0 Eelco Dolstra: cudatoolkit: Move libcudart to a separate output...
NixOS_GitHub has left #nixos []
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
grburst has quit [(Quit: leaving)]
xdelv has quit [(Read error: Connection reset by peer)]
xdelv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] neilmayhew opened pull request #29481: spideroak: fix crash due to zlib version mismatch (master...fix/spideroak) https://git.io/v5dEO
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v5duG
<NixOS_GitHub>
nixpkgs/master 222e186 Vladimír Čunát: gtkmm3: maintenance 3.22.0 -> 3.22.2
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
xdelv has quit [(Ping timeout: 246 seconds)]
GRBurst has quit [(Ping timeout: 264 seconds)]
ryanartecona has joined #nixos
xdelv has joined #nixos
thomad has left #nixos []
indika_ has joined #nixos
indika_ has quit [(Client Quit)]
indika has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<indika>
Hi everyone. I want to play explore NixOS in virtualbox first before I make it my main OS, and am searching for a Vagrant image so that I can "vagrant up" it. Are there any? I thought one would be easy to find.
jsgrant has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
<LnL>
I don't know about vagrant, but we do have a virtualbox ova
hiratara has joined #nixos
<indika>
Seems like the virtualbox is pre-installed with KDE. And I might hard to port that images to real hardware. I'm still new, so I'll keep learning and exploring a few options.
<indika>
Seems as though one can easily create a vagrant base image for any virtual machine that is already running under VirtualBox.
<LnL>
yeah I think I have a configuration.nix for vagrant somewhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] veprbl opened pull request #29483: cc-wrapper: allow compilers to specify unsupported hardening modes (master...hardening_unsupported_flags) https://git.io/v5dgC
NixOS_GitHub has left #nixos []
hio has joined #nixos
<hio>
hey, i downloaded the iso but now im stuck at the blackscreen text
<hio>
how do i install
<Infinisil>
hio: the blackscreen text? What's it say?
<disasm>
Mic92: so this is interesting... Working on fixing internetarchive module. The tests execute the `ia` binary assuming it's been installed already, but the `ia` binary isn't wrapped by nixos until after tests pass.
<disasm>
oh, and even better, the data files the tests expect to be in tests aren't in the tarball from pypi...
erictapen has joined #nixos
eacameron has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<Infinisil>
disasm: You should be able to wrap and fixup stuff anywhere in the mkDerivation, they're just bash functions
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<pikajude>
can anyone reproduce?
<Infinisil>
pikajude: Reproduce what?
<pikajude>
Infinisil: me accidentally pressing up and enter
<Infinisil>
Ah :P
<pikajude>
on this keyboard, they're right next to each other
justan0theruser has quit [(Ping timeout: 264 seconds)]
<Profpatsch>
domenkozar: Oh, that might come in handy.
<Profpatsch>
I hope I can get something pushable next week finally.
<disasm>
Infinisil: so the problem is it isn't installed yet. How can I tell the checkPhase to run after installPhase?
<Infinisil>
disasm: There actually is a installCheckPhase
bennofs has quit [(Quit: WeeChat 1.9)]
<Infinisil>
which seems like exactly what you need
<disasm>
Infinisil: I'm running eval "${installCheckPhase}" and it complains that no such file or directory ia
<Infinisil>
disasm: In nix-shell? Not sure about that, what I've just done before is to define that phase in mkDerivation
<disasm>
Infinisil: so... Python packages don't have a checkPhase, only an installCheckPhase according to pkgs/development/interpreters/python/mk-python-derivation.nix
predator117 has joined #nixos
catch22 has joined #nixos
<disasm>
I need to get better at debugging this stuff :)
predator217 has quit [(Ping timeout: 240 seconds)]
<disasm>
checkInputs nevers seem to work right with python packages for me...
zimbatm_ has joined #nixos
silver_hook has quit [(Ping timeout: 246 seconds)]
joelpet has joined #nixos
takle has quit [(Remote host closed the connection)]