newhoggy_ has quit [Remote host closed the connection]
Guestr has quit [Ping timeout: 260 seconds]
newhoggy has joined #nixos
newhoggy has quit [Read error: Connection reset by peer]
Tehnix has joined #nixos
newhoggy has joined #nixos
Tehnix2 has quit [Read error: Connection reset by peer]
sanscoeur has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
sanscoeur has quit [Ping timeout: 264 seconds]
kreisys has joined #nixos
<jasongro`>
nico202: I've recently discovered that Guix CAN install non-free software: maybe not in what it probably considers its core collection, but it imports a lot of packages from other packaging systems. So the rhetoric you see about it being completely free is actually not right (for better or for worse).
phreedom has quit [Ping timeout: 250 seconds]
smallville7123 has joined #nixos
<rain1>
jasongro`, can you elaborate please? I thought it was 100% libre
slack1256 has joined #nixos
smallville7123 has quit [Quit: rosa]
slack1256 has quit [Remote host closed the connection]
<jasongro`>
rain1: I've forgotten the example I had in mind, but if you look at Guix's packages you'll see that it imports whole collections from elsewhere (including the whole of nixpkgs IIRC, although that's not the example I was thinking of originally).
silver_ has joined #nixos
slack1256 has joined #nixos
<jasongro`>
Ah yes - I remember now. Some people use a non-free Broadcomm driver in order to make Guix work with the wifi cards in Macbooks.
<jasongro`>
And Guix will supply that if you ask it nicely enough.
ericsagnes has joined #nixos
<jasongro`>
I expect what they MEANT to say is that everything they provide DIRECTLY is free ... but then, given the way they give you access to other peoples' package collections, it's not totally clear what "directly" would mean.
smallville7123 has joined #nixos
silver has quit [Ping timeout: 252 seconds]
<jasongro`>
Anyway, it's different from some other OSes (e.g. Replicant) that make it either impossible or at least very difficult for you to install non-free sofware.
<rain1>
hmm i think i get what you mean
<jasongro`>
(I mean at the system level - obviously you can run a non-free script on top of Replicant.)
<jasongro`>
Yeah. I don't actually think it's bad, except that it's a bit of a rhetoric failure.
jackdk has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
tertle||eltret has joined #nixos
sigmundv has quit [Ping timeout: 268 seconds]
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
newhoggy has quit [Ping timeout: 240 seconds]
goibhniu1 has joined #nixos
goibhniu has quit [Ping timeout: 245 seconds]
newhoggy has joined #nixos
iqubic` is now known as iqubic
sanscoeur has joined #nixos
seafood has joined #nixos
thc202 has quit [Ping timeout: 265 seconds]
sanscoeur has quit [Ping timeout: 252 seconds]
jasongro` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<JasonGrossman>
See above, or look on the Guix web site. Or worry about something else
<rain1>
can you point to an example of this non free package you're imagining?
sellout- has joined #nixos
<JasonGrossman>
That's not polite.
puckipedia has joined #nixos
capisce_ has joined #nixos
Mateon1 has joined #nixos
freeman42x]NixOS has joined #nixos
MichaelRaskin has joined #nixos
jonge has joined #nixos
Acou_Bass has joined #nixos
phI||Ip has joined #nixos
ThatOtherGuy has joined #nixos
WilliButz has joined #nixos
eqyiel has joined #nixos
page has joined #nixos
ajp has joined #nixos
lielazive has joined #nixos
tv has joined #nixos
fogbugz has joined #nixos
migy has joined #nixos
elasticdog has joined #nixos
vil has joined #nixos
commander has joined #nixos
derchris_ has joined #nixos
goodwill has joined #nixos
grumble has joined #nixos
aszlig has joined #nixos
linuxdaemon has joined #nixos
sigmundv_ has joined #nixos
jcrben has joined #nixos
boxofrox has joined #nixos
LogicAside has joined #nixos
LnL has joined #nixos
agile has joined #nixos
Biappi has joined #nixos
shoogz has joined #nixos
<JasonGrossman>
I'm surprised to see this sort of thing in this group. :-(
hamishmack has joined #nixos
jmiven has joined #nixos
Ralith_ has joined #nixos
pie_ has joined #nixos
gspia has joined #nixos
joshie has joined #nixos
shiver has joined #nixos
mkaito_ has joined #nixos
andrewrk has joined #nixos
LoneTech has joined #nixos
statusfailed has joined #nixos
davidcl has joined #nixos
lejonet has joined #nixos
winsom``` has joined #nixos
zemm has joined #nixos
disasm has joined #nixos
MarcWeber has joined #nixos
ent has joined #nixos
stammon has joined #nixos
JasonGrossman has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
smallville7123 has quit [Read error: Connection reset by peer]
v0latil3 has quit [Remote host closed the connection]
v0latil3 has joined #nixos
Jackneilll has quit [Remote host closed the connection]
Jackneilll has joined #nixos
smallville7123 has joined #nixos
tg has joined #nixos
travankor has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
dvim has quit [Ping timeout: 260 seconds]
sellout- has quit [Ping timeout: 240 seconds]
sellout- has joined #nixos
<rain1>
I felt that you were being rather rude and dismissive of me
tzemanovic has quit [Ping timeout: 260 seconds]
Supersonic has quit [Ping timeout: 256 seconds]
Have-Quick has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 252 seconds]
Supersonic has joined #nixos
newhoggy has joined #nixos
nhill1 has joined #nixos
<elvishjerricco>
Is it possible to import a nix file that's in a tarball without extracting it? As a tar.gz file it's like 44M, but uncompressed and extracted it's like 1.5G, so I really don't want to extract it if I can avoid it. But the file will import other files from within the tarball.
tzemanovic has joined #nixos
comphez[m] has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
sanscoeur has joined #nixos
sanscoeur has quit [Ping timeout: 240 seconds]
<clever>
elvishjerricco: you would need to import from a custom derivation, that runs the right tar -x command
<clever>
elvishjerricco: something like this:
<elvishjerricco>
clever: Hm, but then letting the file import from other paths in the tarball snowballs into needing the whole tarball extracted
<rotaerk>
say I wanted to add a build step that compiled some GLSL shader files into SPIR-V files and drop them into the build output alongside the haskell binaries, though in a subfolder
<rotaerk>
I can imagine making a derivation that treats the shader files as source and drops the SPIR-V into their own output folder
<rotaerk>
but is there a way to somehow make a derivation that's the union of two others
<rotaerk>
(but with one going into a subfolder of the output)
nhill1 has quit [Ping timeout: 248 seconds]
sanscoeur has joined #nixos
sanscoeur has quit [Ping timeout: 256 seconds]
jperras has quit [Ping timeout: 268 seconds]
sellout- has quit [Ping timeout: 255 seconds]
sellout- has joined #nixos
nico202 has joined #nixos
alexteves has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jackdk has quit [Ping timeout: 256 seconds]
mahalel_ has quit [Ping timeout: 245 seconds]
asuryawanshi has joined #nixos
ZeDestructor has joined #nixos
jackdk has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
<rotaerk>
hmm, I think what I'll do is add a step into the existing derivation to copy the files from another derivation output
atondwal has quit [Quit: atondwal]
atondwal has joined #nixos
smallville7123 has quit [Quit: rosa]
jperras has joined #nixos
atondwal has quit [Client Quit]
atondwal has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Guanin has quit [Ping timeout: 268 seconds]
jperras has quit [Ping timeout: 248 seconds]
ZeDestructor has quit [Ping timeout: 265 seconds]
ZeDestructor has joined #nixos
Have-Quick has joined #nixos
steell has quit [Ping timeout: 260 seconds]
Guanin has joined #nixos
nico202 has quit [Quit: Leaving]
robstr has joined #nixos
<eacameron>
Is anyone familiar with using the nix-plugins package as a nix plugin? Nix appears to load it correctly but I don't get any builtins.extraBuiltins attribute.
<mog>
whenever i start pulseaudio in my xsession it just exits saying killed
sanscoeur has joined #nixos
InstantGratifica has quit [Read error: Connection reset by peer]
sanscoeur has quit [Ping timeout: 264 seconds]
iqubic has quit [Remote host closed the connection]
jperras has joined #nixos
rauno has joined #nixos
sir_guy_carleton has joined #nixos
jperras has quit [Ping timeout: 256 seconds]
iqubic has joined #nixos
<iqubic>
What is the difference between Firefox and Firefox-bin in nixpkgs?
leat has quit [Ping timeout: 268 seconds]
<slack1256>
Firefox-bin is the binary offered by mozilla for linux and Firefox is built on hydra, I think
<iqubic>
Well since the 60.0.1 update Netflix and Hulu (both DRM content) had stopped working. I only fixed it by going into my environmentPackages and replacing Firefox-bin with Firefox. I have no idea why that worked.
<Xal>
sounds like a feature to me :P
<iqubic>
So I just spent a whole day banging my head against this. And I just now fixed it. FML.
<Havvy>
Firefox builds from source. Firefox-bin downloads a binary.
<Havvy>
I would have expected Firefox-bin to do better with DRM than Firefox TBH.
<sir_guy_carleton>
looking at my version of firefox (not bin), it does seem to be a bit behind
<sir_guy_carleton>
so maybe it's a problem with firefox 60?
<sir_guy_carleton>
or firefox 60 + linux or nixos?
<iqubic>
I don't have enough information to submit a bug report.
<tfc[m]>
hi there. i am using `builtins.fetchTarball { url = ...; sha256sum = ...; }` to get nixpkgs. when i run `nix-instantiate` it tells me that i have a checksum mismatch. i tried different things to get the checksum, but none are accepted. what exact checksum does the function want to see and how do i generate it?
<elvishjerricco>
tfc[m]: I usually use `sha256`, not `sha256sum`. You can precalculate it with `nix-prefetch-url --unpack URL`
<iqubic>
I'm so confused. I switched to building from source, and I'm still using the same version. Perhaps all I needed was a rebuild.
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
vaninwagen has joined #nixos
semilattice_ has quit [Ping timeout: 264 seconds]
Tehnix has quit [Read error: Connection reset by peer]
Tehnix3 has joined #nixos
seafood has joined #nixos
Neo-- has joined #nixos
<tfc[m]>
hey there, when i clone the same git repo on 2 different nixos machines and run `nix-instantiate`, i get different `/nix/store/.....-mypackage-1.0.0` paths all the time. the repo is a haskell project and uses a pinned nix repo etc. because i want them to be exactly the same.
<tfc[m]>
but for some reason there are always differences between them, mainly in the source /nix/store copy and docs dir
phreedom has quit [Remote host closed the connection]
jackdk has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos
jtojnar_ has joined #nixos
Neo-- has joined #nixos
ckauhaus has joined #nixos
nico202 has joined #nixos
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
leat has joined #nixos
seafood has joined #nixos
newhoggy_ has joined #nixos
sanscoeur has joined #nixos
newhoggy has quit [Ping timeout: 255 seconds]
newhoggy_ has quit [Ping timeout: 256 seconds]
coot has quit [Quit: coot]
winem_ has joined #nixos
<nico202>
I'm trying to upgrade julia to the latest git, it requires some patch to llvm. I'm using overrideDerivation and passing the relative path to the patch (I placed them in llvm/3.9/julia/*.patch). What's the right way to do it? I cannot find other packages doing the way I am, so I think this is wrong
<thblt>
Hi! I have an issue with my .nixpkgs/config.nix. When I add firefox-bin to all, nix-env -i all fails with: error: getting status of '/nix/store/ckdw19ilihg55h0dys7gbnpgfy2np0jp-all/share/icons/hicolor/48x48/apps/firefox.png': No such file or directory
lanelet has quit [Quit: lanelet]
<thblt>
I assume something in the Firefox package is assuming the icon will be provided by something else, but nothing does.
seafood has quit [Quit: seafood]
<{^_^}>
[nixpkgs] @teto opened pull request #41196 → [wip] pythonPackages.bcc-python: init at 0.5 → https://git.io/vhOZt
selaux has joined #nixos
wangoe has joined #nixos
wangoe has quit [Client Quit]
wangoe has joined #nixos
liori has quit [Remote host closed the connection]
<nico202>
symphorien: is this new? I rember not being able to do lot of things with overrideAttrs
<nico202>
(new means 1.5years)
<symphorien>
no idea
<nico202>
well I'll try after this compilation ends, thanks. Its taking hours .-.
aarvar has quit [Ping timeout: 256 seconds]
<elvishjerricco>
nico202: If I understand correctly, `overrideAttrs` overrides the arguments to `mkDerivation`, and `overrideDerivation` overrides the arguments to the `derivation` primitive
reinzelmann has joined #nixos
sigmundv has joined #nixos
goibhniu1 is now known as goibhniu
<LnL>
indeed
amir has quit [Ping timeout: 265 seconds]
rbits_ has joined #nixos
amir has joined #nixos
sanscoeur has joined #nixos
rbits has quit [Ping timeout: 260 seconds]
Maxdaman1us has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
rbits_ has quit [Client Quit]
mkoenig has joined #nixos
Maxdamantus has quit [Ping timeout: 276 seconds]
sanscoeur has quit [Ping timeout: 264 seconds]
coot has joined #nixos
<etu>
I'm trying to make a local overlay that set's "doCheck" to false for a package because of the check dependencies doesn't build on that system: http://ix.io/1bHz/nix
<etu>
That doesn't change anything for me, but if I just edit the files in nixpkgs it works.
<etu>
Anything obvious errors?
<{^_^}>
[nixpkgs] @vbgl opened pull request #41197 → ocamlPackages.gapi_ocaml: minor cleaning → https://git.io/vhOWc
<Myrl-saki>
help i'm buying a seagate hdd, what color should i get? or what other hdd should i get?
<etu>
Myrl-saki: Spinning rust?
<Myrl-saki>
I'm thinking of doing a 128/128 split on my ssd, then 1TB/1TB split on my HDD, The 128 is allocated to root, the 128-1TB is for cache, and the 1 TB is a new partition.
Neo-- has quit [Ping timeout: 240 seconds]
<Myrl-saki>
Rather, the 128 GB is a cache for 1 TB.
xy2_ has joined #nixos
<Myrl-saki>
The reasoning for the cache is that I wanna store my steam games under it.
seafood has quit [Quit: seafood]
tzemanovic has quit [Remote host closed the connection]
<Myrl-saki>
makefu: I went with bcache + ext4, apparently ZFS is meant for multiple drives. Something that I don't have money for. :/
* etu
is super hyped for bcachefs
<makefu>
Myrl-saki: zfs zealots say ZFS is for everything and everybody!
<etu>
zflots you say
<Myrl-saki>
I can't help but realize that being a programmer is expensive, heh.
<Myrl-saki>
You know
<Myrl-saki>
I'm always scared to use FS tools, because I don't know if they accept 2^10n or 10^n lmao.
<Myrl-saki>
I checked resize2fs, and..
<Myrl-saki>
Note: when kilobytes is used above, I mean real, power-of-2 kilobytes, (i.e., 1024 bytes), which some politically correct folks insist should be the stupid-sounding ``kibibytes''. The same holds true for megabytes, also sometimes known as ``mebibytes'', or
<Myrl-saki>
gigabytes, as the amazingly silly ``gibibytes''. Makes you want to gibber, doesn't it?
<Myrl-saki>
Let's see what gdisk has to say.
<srhb>
"I don't like meaningful standards" -- Some person, probably.
<Myrl-saki>
srhb: TBF, 2^10 has been the de facto for standard for... decades.
<etu>
Myrl-saki: Not really
<etu>
Myrl-saki: It depends on what you look at
jtojnar has quit [Ping timeout: 240 seconds]
<Myrl-saki>
waiernstiarsieotnaroeitn
<Myrl-saki>
Oh wait
<Myrl-saki>
GPT fdisk and resize2fs uses kibibytes.
<Myrl-saki>
Okay, great.
<etu>
I mean, most OSes has been reporting in KiB, MiB, TiB since quite a while now
<Myrl-saki>
etu: True, what I mean is that we started with 2^10, or so I believe.
<etu>
But if you buy a 1TB drive, and make one big partition. You won't have 1TiB of space. And that confuse people.
<Myrl-saki>
Funnily, marketing has been..
<Myrl-saki>
etu: Yep. Exactly what I was thinking.
<Myrl-saki>
etu: I guess the driving force for adoption in marketing is profit. :D
<etu>
My 12TB raid is reported as 11TiB (when rounded), so I'm loosing a whole TiB of storage there!
<etu>
;)
rot13_ has joined #nixos
<Myrl-saki>
I'm born in the 90s, so I might be having my history wrong, but isn't K/M/TB historically 2^10n?
Guest97734 has joined #nixos
<woffs>
Myrl-saki, true everywhere except on hard disks
jperras has joined #nixos
Lears has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @ttuegel merged pull request #41184 → noto-fonts: separate package for unusual weights → https://git.io/vhYSO
<gchristensen>
Myrl-saki: check out kibibytes vs kilobytes
fuzzy_id has joined #nixos
<fuzzy_id>
has someone experience with jenkins and its maven-plugin?
<fuzzy_id>
i added pkgs.maven to services.jenkins.packages and installed the plugin. when i try to configure maven it asks for a MAVEN_HOME variable. anyone knows what to fill in there?
Guest97734 has quit [Quit: Page closed]
<{^_^}>
[nixpkgs] @flokli opened pull request #41201 → [WIP] pythonPackages.elasticsearch[-dsl] 5.x and 6.x → https://git.io/vhOP0
<gchristensen>
fuzzy_id: maybe the home directory of the jenkins user
<adamt>
What is the pretty way of cleaning up on /boot?
<adamt>
(my 500MB partition is almost full :P)
<gchristensen>
adamt: `man nix-collect-garbage` look at --delete-older-than, and run that as root... THEN: `nixos-rebuild switch`
<fuzzy_id>
gchristensen: nope, it wants to have the path to the maven installation
<fuzzy_id>
but of course, that's in /nix/store/ and changing
<gchristensen>
ougd
andymandias_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}>
[nix] @edolstra pushed 3 commits to 2.0-maintenance: https://git.io/vhOyZ
reinzelmann has quit [Ping timeout: 255 seconds]
coot has quit [Quit: coot]
cryp2nomicon has quit [Quit: leaving]
alex`` has joined #nixos
cryp2nomicon has joined #nixos
<tfc[m]>
hi there, i have seen that on my hydra server i can go to a specific build, append the path `/nix` to it and then this is a _channel_. now i did that with my build like `http://192.168.0.123:3000/build/48/nix` and this way i can wonderfully easily install packages from other computers without building them. but what when the underlying repo evolves with more commits? I will get a different build number and then the channel is
<tfc[m]>
"old", right? Are there channels for whole projects maybe?
<tfc[m]>
i did not really find anything for this in the whole hydra docs
<LnL>
I would discourage using it then, using a dynamically generated cache is not a good idea IMHO
<gchristensen>
I see it as a easy first step to make it easier to get things in production, but still able to improve later when they need something bigger & better. what do you see wrong with it?
newhoggy has joined #nixos
<LnL>
it means you can't ever run gc or move your cache otherwise you loose history
<LnL>
domen had some non fun times with that IIRC
<clever>
LnL: nix also has a bug where it fails to build if you ever gc something that the client thinks is in the binary cache
<Myrl-saki>
I can't believe how "easy" it is to move volumes, huh.
<LnL>
clever: I have a reverse proxy in front of the cache that turns every error into a 404 :p
<clever>
LnL: nginx?
<Myrl-saki>
Resize the internal FS, resize the partition, create new partition, dd from old partition to new partition.
<Myrl-saki>
Then optionally, another resize on the new partition.
<LnL>
so I can reboot my hydra machine without causing stuff to fail
<Myrl-saki>
Did I get that correctly?
<LnL>
clever: yeah
lanelet has joined #nixos
<clever>
LnL: source? that sounds like something i could use
<Myrl-saki>
I kinda expected more from bcache though. :/
<Myrl-saki>
I properly benchmarked it instead of using dd, and it literally halfed my SSD's write performance.
<LnL>
clever: don't have access right now, I'll send it later
<clever>
LnL: kk
deepfire` has quit [Ping timeout: 248 seconds]
<lewo`>
LnL: One advantage of using the Hydra generated cache is that it's easy to clean it! How do you purge your binary cache?
civodul has joined #nixos
<LnL>
why would I do that? :p
Neo---- has joined #nixos
steell has joined #nixos
thblt has joined #nixos
<lewo`>
because your hydra is building docker images for instance :/
jperras has joined #nixos
<adamt>
Did anybody get Intel's bootutils working on nixos (including the required iqv-driver)?
Neo--- has quit [Ping timeout: 276 seconds]
deepfire` has joined #nixos
jperras has quit [Ping timeout: 256 seconds]
xAFFE has left #nixos ["Error from remote client"]
jmc has joined #nixos
__monty__ has joined #nixos
sbdchd has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar opened pull request #41209 → Remove gtk2 from gnome3 attrset → https://git.io/vhO5t
<jmc>
Since yesterday, my cabal builds started failing with "...-ghc-8.2.2-with-packages/bin/ghc-pkg: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)".
<jmc>
Does anyone know what causes this? I've tried updating cabal or using an older ghc, but no luck yet.
deepfire` has quit [Ping timeout: 276 seconds]
steell has quit [Ping timeout: 256 seconds]
coot has joined #nixos
<Akii>
how do I use a package from master nixpkgs again? (on nixos)
mizu_no__ has quit [Quit: Computer has gone to sleep.]
fin-ger has joined #nixos
kreisys has quit [Remote host closed the connection]
orivej has joined #nixos
<adamt>
gchristensen: So it's only broken in an uattended way. bootctl creates the boot entry, but then uses '1' as exit code.
lhart has quit [Remote host closed the connection]
<globin>
manveru: gitlab should be fixed on 18.03 and master
lhart has joined #nixos
<fin-ger>
Hi, when running nautilus I get this error: GLib-GIO-ERROR **: Settings schema 'org.gnome.DejaDup' is not installed When looking in the nix-store for a gsettings schema for deja-dup, I found one. But for some reason nautilus is ignoring this...
<eacameron>
shlevy: Does nix-plugins system work on Mac? I can't get it to work. Adding it on NixOS and doing nix eval '(builtins.extraBuiltins == null)' gives 'true' but the same command on mac gives "attribute 'extraBuiltins' missing"
<eacameron>
Of course, I'm pulling in a dylib file on Mac instead of an so file for the --plugin-files
<adamt>
Ah, no boot entries are generated.
<shlevy>
eacameron: Yes, we have it working on Mac
<shlevy>
eacameron: nix show-config | grep plugin
sanscoeur has joined #nixos
dbmikus has joined #nixos
<eacameron>
shlevy: What about passing in via --plugin-files?
<shlevy>
eacameron: nix show-config should still work with that
<shlevy>
nix show-config --plugin-files whatever
<eacameron>
shlevy: It registers that it's there but it can't find the extraBuiltins attr
sanscoeur has quit [Ping timeout: 252 seconds]
<adamt>
gchristensen: What media did you use for installation? Something made the last few days?
frank87 has quit [Read error: Connection reset by peer]
<eacameron>
`error: attribute 'extraBuiltins' missing, at (string):1:2`
<eacameron>
shlevy: That's using the latest 18.03 snapshot as of last night
jperras has quit [Ping timeout: 256 seconds]
<eacameron>
shlevy: If I run it in a shell with `nix` installed from the same snapshot, I still get the same error.
<eacameron>
Note that this works fine on NixOS
<{^_^}>
[nixpkgs] @orivej opened pull request #41211 → sqlite: do not contaminate dependent libtool-based projects with sqlite dependencies → https://git.io/vh3Jv
waleee has joined #nixos
<pierron>
pemeunier: now, yes.
<pierron>
pemeunier: I am going to get some tea, if you want some ;)
<adamt>
why does nixos-version return "18.03pre-git (Impala)" for hosts built from the nixos-18.03 branch of the nipkgs-channels repository? Notice the "pre" part.
jperras has joined #nixos
Ariakenom has quit [Ping timeout: 252 seconds]
winem_ has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @orivej pushed to master « luaPackages.mpack: fix build after #28029 »: https://git.io/vh3Uk
<{^_^}>
[nixpkgs] @orivej pushed to master « p0f: fix build after #28029 »: https://git.io/vh3U0
<{^_^}>
[nixpkgs] @orivej pushed to master « pacparser: fix build after #28029 »: https://git.io/vh3Ur
<gchristensen>
I dunno adamt, I get Error: target STRING not available
<stphrolland>
hi! a little question about docker, that I want to run inside nixos. I thought it would be simple as services.docker.enable = true; alas no, it cannot be set this way. I see nothing about docker in Nixos Options Search, only DockerRegistry. How do you automatically start docker services at start ? You don't, or is there a "standard" nixos way to do it ?
<adamt>
stphrolland: What do you mean with "docker services" -- docker containers or the docker daemon itself?
<adamt>
stphrolland: Also, look for the virtualisation.docker.* options
<stphrolland>
docker daemon, when I type docker ps -a, it tells me the docker daemon is not running. sorry for the typo I meant docker service without s.
<stphrolland>
adamt: that is exactly this, Nixos as my OS makes me happy :-). A feeling that cannot be easily described. Ah yes it can: I install programs writting their name in a text file.
endformationage has joined #nixos
<adamt>
stphrolland: Dig deep enough and I'll promise you NixOS can also invoke your inner Cthulhu. :P
ikitat has quit [Ping timeout: 256 seconds]
* adamt
out
adamt has quit [Quit: WeeChat 2.0]
balsoft has quit [Quit: balsoft]
sanscoeur has joined #nixos
<{^_^}>
[nixpkgs] @orivej merged pull request #41211 → sqlite: do not contaminate dependent libtool-based projects with sqlite dependencies → https://git.io/vh3Jv
<Neo---->
anyone knows why openvpn wouldn't set the dns right (i'm running it from command line)? I've added update-resolv-conf to my configuration.nix but I don't seem to see it to be able to run it manually
Neo--- has quit [Ping timeout: 252 seconds]
<Neo---->
or alternatively, if I add it to configuration as suggested https://nixos.wiki/wiki/OpenVPN, is there a nice way to turn it off and on again without always modifying configuration.nix?
<elvishjerricco>
Neo----: I have the same problems; DNS not working and having to nixos-rebuild to disable the VPN. Let me know if you find solutions
<niksnut>
on NixOS you should use resolvconf to update resolv.conf
<steell>
where are build logs stored? when trying to build a haskell package using callCabal2nix it only spits out the last few lines, but doesn't say where the full log is located
<elvishjerricco>
steell: You should see a line that says "builder for ... failed", which specifies the build that actually failed (as opposed to the builds that failed as dependents). Copy that path and do `nix log PATH`, or if you don't have Nix 2.0, `nix-store --read-log PATH`
<elvishjerricco>
cransom: Can you just do `systemctl stop ...` to stop the openvpn?
freusque has quit [Quit: WeeChat 2.0]
alex`` has quit [Quit: WeeChat 2.1]
<steell>
elvishjerricco: thanks, didn't know about nix log :-)
<cransom>
elvishjerricco: yes. if you remove autostart, you can stop/start it manually
<shlevy>
eacameron: nix --version?
<cransom>
elvishjerricco: i shoudl say in addition to removing autostart. you can stop/start any time either way.
alexteves has joined #nixos
unkn has quit [Ping timeout: 240 seconds]
<Neo---->
hmmm, i'm getting that openvpn service isn't found
<Neo---->
ah, dummy me, dash, not dot :)
<ij>
Does the cache have realtime kernels?
Rusty1_64 has joined #nixos
xy2_ has quit [Ping timeout: 260 seconds]
karlguy has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
Neo--- has joined #nixos
<ij>
I guess not. If I just let nix compile me one, will it build a ton of modules it probably won't need and build for 10 hours?
<goibhniu>
ij I think musnix has an expression for a RT kernel
<Neo--->
cransom, nice, works, thanks!
<ij>
goibhniu, Yeah, that's what I'm trying to add to my configuration. :)
Lears has joined #nixos
maingo has joined #nixos
Neo---- has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
stepcut has quit [Remote host closed the connection]
alex`` has quit [Quit: WeeChat 2.1]
periklis has quit [Ping timeout: 276 seconds]
ikitat has joined #nixos
newhoggy has joined #nixos
leat has joined #nixos
sbdchd has quit [Remote host closed the connection]
<ixxie>
ive tried it but its unfortunately not very verbose and makes it hard to debug stuff
<ixxie>
FRidh: have you had time to checkout https://github.com/NixOS/nixpkgs/pull/33673 ? If you are too busy maybe we can have dotlambda review all the Jupyter stuff (we will have some more stuff coming soon like Jupyterhub and Jupyterlab)
<gchristensen>
Nix friends, I have a project to create a small Linux VM on your macOS machine very simply. Right now it has a terrible name, "nix-linuxkit-builder". I need a snappy name. any suggesntions?
<gchristensen>
"go install fireblight" sort of lacks a certain positivity fuzzy feeling
<ixxie>
gchristensen: spawnix
<ixxie>
gchristensen: genix
<shlevy>
Could go back to the moons of pluto...
sanscoeur has joined #nixos
<ixxie>
shlevy: but Nix is not named after a moon of pluto or a greek Goddess
<gchristensen>
macOS Subsystem for Linux
<ixxie>
afaik
<shlevy>
Ah looks like styx is the only one left
jperras has joined #nixos
<ixxie>
gchristensen: so you wanna avoid the all too common Nix-Something names?
<shlevy>
ixxie: nixops was formerly named charon ;)
<ixxie>
or something-Nix
<ixxie>
I know shlevy but at least I don't think the etymology is from that
<waleee>
shlevy: isn't that used by a stack-like build tool based on nix for haskell?
<ixxie>
gchristensen: Nixbrew
<ixxie>
xD
<gchristensen>
hehe
<gchristensen>
styx is also a static site generator
<ixxie>
gchristensen: Mac-Install-Linux
<shlevy>
LINE
<tilpner>
lunixkit c.c
<shlevy>
which is even more of lie than WINE is in this case
<gchristensen>
tilpner: omg
<ixxie>
lunix is a fun name
<ixxie>
loony
sanscoeur has quit [Ping timeout: 264 seconds]
<ixxie>
gchristensen: is the priority A. transparency about function or B. poetic eloquence
<shlevy>
Surely there's an OSS tool name generator
<gchristensen>
ixxie: ...both? I mean if I didn't care about naming I'd call it run-a-linux-vm-so-nix-can-use-it-as-a-remote-builder-on-your-mac but github doesn't like how long that name is
<eacameron>
gchristensen: The problem is that when I use nix-plugins on NixOS `builtins.extraBuiltins' exists. When I use the same derivations on macOS, the plugin gets registered (seen by nix show-config) but `extraBuiltins' doesn't exist as an attr.
stepcut has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @xeji pushed commit from @worldofpeace to master « typora: gnome2 cleanup (#41167) »: https://git.io/vh363
<Lisanna>
Does boot.cleanTmpDir only work with EFI boot?
sdemos has joined #nixos
smallville7123 has joined #nixos
jperras has quit [Ping timeout: 248 seconds]
MichaelRaskin has joined #nixos
<Lisanna>
it's probably something else actually, misread the implementation. For some reason systemd-tmpfiles --clean is returning success immediately, and not actually cleaning anything
<clever>
depends on if you want the CI systems to silently ignore a major problem and take an hour longer for every build, or to fail and bring attention to it
<LnL>
if this runs on a different machine the entire cache can go down without nix starting to fail
dbe has joined #nixos
<LnL>
right, in my case 90% is generally already cached on the build nodes
newhoggy has quit [Ping timeout: 256 seconds]
ckauhaus has quit [Quit: Leaving.]
gnidorah has quit [Quit: Connection closed for inactivity]
<LnL>
I should try build-fallback tho, apparently that might work
<LnL>
would prefer to put it in nix.conf anyway
dbe has quit [Ping timeout: 260 seconds]
dkibi has quit [Ping timeout: 268 seconds]
<sonne>
is there a de/wm whose configuration you can handle declaratively? i only tried xfce so far, but there doesn't seem to be any handler for xconf
stepcut has joined #nixos
<__monty__>
sonne: I'd assume XMonad is declarative.
<sonne>
__monty__: i meant with home-manager or the likes
<gchristensen>
I configure i3 declaratively
jbboehr has joined #nixos
roconnor has quit [Ping timeout: 264 seconds]
matthewbauer has joined #nixos
vaninwagen has quit [Quit: WeeChat 2.1]
sbdchd has quit [Remote host closed the connection]
blob has joined #nixos
jtojnar has quit [Quit: jtojnar]
mahalel_ has joined #nixos
jtojnar has joined #nixos
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @xeji pushed commit from @worldofpeace to master « messenger-for-desktop: remove (#41224) »: https://git.io/vh3Sx
psychic1 has joined #nixos
<shachaf>
Oh, I found it. Whew.
<psychic1>
Can anyone help me understand the difference between nix-env -u and nix-env -i for the case of already installed derivations?
<psychic1>
Unless I misunderstood if I nix-env -i on a derivation that is already installed it and there is a new version, it will create a new store path with the latest version
<LnL>
psychic1: check out --leq in the manpage
<LnL>
--upgrade has a few different modes but --lt is the default
<psychic1>
Ah, I see. So while nix-env -i will always install whatever the expression specifies, -u will only happen if the new version and old version specify a predicate according to the mdoe
<sonne>
< sonne> why is CONFIG_IO_STRICT_DEVMEM disabled on nixos? <-- i haven't found an answer, but i learned that there is a hardened kernel package that has that flag set to y. that's enough for now, but i've seen a lot more packages under the linuxPackages_hardened namespace. what is that? i can't find anything about it
<symphorien>
each kernel version comes with packages like perf which are tightly dependent on the version of the kernel
<symphorien>
so the kernel is linuxPackagesFoo.kernel and perf is linuxPackagesFoo.perf
<sonne>
symphorien: aha. so i should install all of the packages inside that namespace? or is that handled automatically?
<{^_^}>
[nixpkgs] @xeji pushed commit from @ElvishJerricco to master « GHCJS darwin fixes (#41120) »: https://git.io/vh3Hf
<{^_^}>
[nixpkgs] @ThomasMader opened pull request #41226 → gtkd: dontStrip as a workaround for binutils strip problem → https://git.io/vh3HG
<LnL>
psychic1: yeah, exactly :)
xy2_ has quit [Ping timeout: 260 seconds]
<manveru>
sonne: re wm, i'm using i3 which can be fully configured using home-manager
doyougnu has joined #nixos
hiratara has quit [Ping timeout: 260 seconds]
hiratara has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sonne>
manveru: i was hoping more for a DE.. while i mostly love i3, configuring every tiny bit by hand by mixmatching external tools (e.g. power mgt, screensaver/lock, printers, etc) is a chore i'd very much avoid
liori has quit [Quit: leaving]
obadz- has joined #nixos
<MichaelRaskin>
Configuring printers is more about accessing _internal_ tools (the sanest way to set up CUPS is via its web interface, in my opinion)
cnidario has quit [Read error: Connection reset by peer]
<sonne>
MichaelRaskin: of course, that was an example
<{^_^}>
[nixpkgs] @symphorien opened pull request #41227 → tesseract: make tessdata a fix output derivation → https://git.io/vh37G
obadz has quit [Ping timeout: 248 seconds]
obadz- is now known as obadz
rihards has quit [Quit: rihards]
liori has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
matthewbauer has quit [Read error: Connection reset by peer]
Yannick has joined #nixos
rain1 has quit [Quit: Leaving]
Ariakenom has quit [Quit: Leaving]
<Yannick>
Hello everyone. I’m getting a bit confused: having updated my channel, nix-env and nix-shell do not seem to agree on the latest version of a package. nix-env sees the latest version by default, while nix-channel still sees the old one. I am not sure I understand how come they disagree?
<Yannick>
Oops, nix-channel should read as nix-shell in my previous message
smallville7123 has quit [Quit: rosa]
<Yannick>
Would anyone be able to point me to the relevant bit of documentation? Thank you in advance
matthewbauer has joined #nixos
<__monty__>
Yannick: Do you have multiple channels?
<Yannick>
@__monty__ I do not think so, nix-channel —list only returns nixpkgs
newhoggy has joined #nixos
sigmundv_ has quit [Ping timeout: 256 seconds]
<__monty__>
And you're talking about a newly opened nix-shell, not one that's still open?
<Yannick>
Yes. Very concretely: ‘nix-env -i coq’ leads to fetching a whole bunch of packages in order to install Coq 8.8 while nix-shell -p coq leads to immediatly setup a shell with Coq 8.7, that I used previously
<sonne>
how do you compile stuff that is not nix-aware? e.g. i'm building this thing that expects pci/pci.h to be available (such as it is on main distros), but since it's not strictly from libc gcc can't find it by default, i have to use -I /nix/<......>/pciutils/..../
<symphorien>
what does nix-env -iA nixos.coq say ?
<symphorien>
sonne: to sum up, nix goes great lengths to prevent you to have global state like "libraries installed"
<symphorien>
so you have to resort to a temporary, tailored environment
stepcut has quit [Remote host closed the connection]
<infinisil>
sonne: Yeah, and the chance would be high that you can't find anything, nix-locate can search through every package, even when you don't have it on your machine
<sonne>
infinisil: nice to know that
<sonne>
symphorien: i see. so i should avoid installing libraries by principle.
<symphorien>
exactly
<sonne>
and tools even?
<symphorien>
the same applies for python modules etc.
<symphorien>
gcc will always be provided by the stdenv, and hece nix-shell
<sonne>
fascinating
stepcut has joined #nixos
<LnL>
yeah, you generally don't want to install things like compilers either
<symphorien>
or cmake or pkg-config
<LnL>
that reminds me
* sonne
quickly deletes pkgconfig from his configuration.nix before anyone notices
<infinisil>
Well you can, but the reproducibility and stuff is gone if you do and use those to compile things
<symphorien>
sonne: that's not a sin either :þ
<__monty__>
/quit
<sonne>
can you even choose different versions with nix-shell? e.g. gcc 6.0 instead of 7
<Yannick>
symphorien: So if I understand correctly, nix-env and nix-shell do not use the same path to lookup channels? But then what is the proper way to setup things for nix-shell to witness updates of channels?
<__monty__>
Woops. Renagade space.
__monty__ has quit [Quit: leaving]
<symphorien>
sonne: yes. write a shell.nix like this: with import <nixpkgs> {}; (overrideCC stdenv gcc6).mkDerivation { name ="foo"; buildInputs = [ libfoo libbar ];}
<symphorien>
(wrote without testing)
<LnL>
Yannick: namespacing is different, both will use your channels
camsbury_ has quit [Read error: Connection reset by peer]
<symphorien>
and then : nix-shell shell.nix
<sonne>
symphorien: that looks way above my proficiency. i won't go far without haskell will i?
<symphorien>
without haskell ?
<infinisil>
Not sure what this has to do with Haskell, Nix != Haskell
<sonne>
isn't that what nix files are made of?
<symphorien>
that's a dedicated language
<symphorien>
called nix
<sonne>
i feel silly now :)
<Yannick>
LnL: Oh interesting. And how can I figure out which name is used by nix-shell?
<symphorien>
well, I thing on the long run you won't be able to avoit writing minimal nix
<infinisil>
sonne: Just to get a gcc6 in your shell you can use `nix-shell -p gcc6`
<sonne>
infinisil: cheers
<sonne>
i'll save symphorien's tip for when i'll be able to understand it :P
<infinisil>
Hmm but the stdenv might be needed, not sure actually
<LnL>
Yannick: nix-shell -p uses stuff from '<nixpkgs>' you can get the same nix-env behaviour like this nix-env -f '<nixpkgs>' -iA ...
<symphorien>
infinisil: it does not work, I get gcc7 with this
<symphorien>
sonne: actually, writing shell.nix is really useful: you have one shell.nix per project and when you go to the project you type nix-shell and all dependencies appear in your shell
hamishmack has joined #nixos
<sonne>
symphorien: this feels docker-ish
<symphorien>
the basic shell.nix is small: with import <nixpkgs> {}; mkShell { buildInputs = [ libfoo libbar ];}
<symphorien>
well docker provides you with runtime services
<sonne>
conceptually i meant
<symphorien>
yes in some way
<sonne>
it's lovely
hiratara has joined #nixos
<symphorien>
I would say python virtualenv for everything
<symphorien>
not just python
<sonne>
this whole project is incredible.. i can't believe i hadn't heard of it until very little ago
coot has quit [Quit: coot]
<infinisil>
Nice!
coot has joined #nixos
tzemanovic has joined #nixos
matthewbauer has quit [Ping timeout: 248 seconds]
onon has quit [Read error: Connection reset by peer]
trubii[m] has joined #nixos
<{^_^}>
[nixpkgs] @erictapen opened pull request #41228 → mapmap: init at 0.6.1 → https://git.io/vh3FI
sc__ is now known as sc_
newhoggy has quit [Remote host closed the connection]
<psychic1>
Is it normal that installing texlive takes a really long time? After 30 minutes I'm still at the level of creating drv files
<psychic1>
Perhaps I should specify specific packages using texilve.combined? But given a texfile it seems hard to track down which packages contain what I need for it.
alp has quit [Ping timeout: 264 seconds]
stepcut has quit [Remote host closed the connection]
<MichaelRaskin>
What exactly are you trying to install?
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
MP2E has joined #nixos
<MichaelRaskin>
You might try to pick a scheme large enough to cover your needs
<MichaelRaskin>
I am not sure installing just texlive is supposed to work
colescott has joined #nixos
stepcut has joined #nixos
asuryawanshi has joined #nixos
dbmikus__ has quit [Ping timeout: 265 seconds]
sbdchd has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
sbdchd has quit [Ping timeout: 248 seconds]
stepcut has quit [Remote host closed the connection]
newhoggy has joined #nixos
coot has quit [Quit: coot]
<psychic1>
I thikn it works as it installs a lot of things.
<psychic1>
How does one to pick a scheme large enough?
<MichaelRaskin>
Maybe too many…
<psychic1>
I guess I can just try to pick in order of size
<psychic1>
Until compiling my tex files work
<MichaelRaskin>
And maybe it doesn't tie them together correctly
<psychic1>
I see!
<psychic1>
so for example
<MichaelRaskin>
You do need combine
DSNTravellerbot[ has joined #nixos
<psychic1>
texlive-combine-basic and texe-combine-full and not supposed to be installed together
<psychic1>
texlive-combine-basic and texe-combine-full are not supposed to be installed together
<psychic1>
It's either one or the other
<psychic1>
because installing `texlive` installs both of them
<psychic1>
I think I'll try to install them in order from small to big and stop when all of them work. Thanks!
erasmas has quit [Quit: leaving]
palo has quit [Ping timeout: 265 seconds]
palo_ has joined #nixos
newhoggy_ has joined #nixos
<{^_^}>
[nixpkgs] @orivej pushed to master « virtualbox: fix build after #28029 »: https://git.io/vh3AW
<Lisanna>
I can't set service.hydra.enable = true because /nix/store/2aslsqgy5nyg6xirk49fa0aivddgsr4z-perl-DBD-Pg-3.5.3.drv is hanging during build ):
<Lisanna>
anyone else having hydra trouble?
Sonarpulse has joined #nixos
<stammon>
when there is a space in the filename of environment.etc."foobar".target = "baz/dir/spaced filename" a new generation is created. Switching or booting into this generation however crashes fataly