zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
Nobabs27 has quit [(Quit: Leaving)]
zennist has joined #nixos
erictapen has joined #nixos
ToxicFrog has quit [(Ping timeout: 260 seconds)]
zennist has quit [(Ping timeout: 240 seconds)]
felipedvorak has quit [(Quit: felipedvorak)]
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
oahong has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
Nobabs27 has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
betaboon has quit [(Quit: This computer has gone to sleep)]
joehh has joined #nixos
mrkgnao has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
mbrgm has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
mbrgm has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
ToxicFrog has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
boomshroom has joined #nixos
<boomshroom>
Hello!
<boomshroom>
I'm following some instructions to build LLVM. I know I can use nix-shell to get an environment with the dependencies, but I would like to add ninja to the path as well. How would I do that?
<boomshroom>
And subversion
boomshroom has quit [(Client Quit)]
boomshroom has joined #nixos
<boomshroom>
Whoops. Acidently closed the tab.
eacameron has joined #nixos
zeus_ has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
kiloreux has quit [(Ping timeout: 248 seconds)]
joepie91 has quit [(Ping timeout: 276 seconds)]
erictapen has quit [(Ping timeout: 248 seconds)]
michiel_l has quit [(Quit: No Ping reply in 180 seconds.)]
aristid has quit [(Ping timeout: 246 seconds)]
<dash>
boomshroom: couple extra -p flags
<boomshroom>
nix-shell -A nixos.llvm can be stacked with -p ninja? I try it and I get `error: attribute ‘llvm’ in selection path ‘llvm’ not found`
michiel_l has joined #nixos
aristid has joined #nixos
<tilpner>
Nix master doesn't build :/
kiloreux has joined #nixos
<clever>
boomshroom: nix-shell can only do one of those at once
<clever>
boomshroom: but you could do this: nix-shell -E 'with import <nixpkgs> {}; llvm.overrideAttrs (drv: { buildInputs = drv.buildInputs ++ [ ninja ]; })'
<clever>
boomshroom: this will override llvm to add ninja to its build inputs, then open a shell suitable for building llvm, with that ninja
eacameron has joined #nixos
<boomshroom>
clever: thanks. Granted, LLVM is already 74% complete with makefiles, but it could be useful in the future.
endformationage has quit [(Ping timeout: 240 seconds)]
endformationage has joined #nixos
oahong has quit [(Ping timeout: 255 seconds)]
oahong has joined #nixos
eacameron has quit [(Remote host closed the connection)]
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
zennist has joined #nixos
Rotaerk has joined #nixos
zennist has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
eacameron has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
simukis_ has joined #nixos
oahong has quit [(Ping timeout: 255 seconds)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
kitten[m] has quit [(Ping timeout: 276 seconds)]
chominist[m] has quit [(Ping timeout: 276 seconds)]
wmertens[m] has quit [(Ping timeout: 276 seconds)]
mtncoder[m] has quit [(Ping timeout: 276 seconds)]
kainospur[m] has quit [(Ping timeout: 276 seconds)]
wmertens[m] has joined #nixos
chominist[m] has joined #nixos
kitten[m] has joined #nixos
kainospur[m] has joined #nixos
aniketd[m] has quit [(Ping timeout: 276 seconds)]
michaelp| has quit [(Ping timeout: 276 seconds)]
icetan has quit [(Ping timeout: 276 seconds)]
michaelpj has joined #nixos
sellout- has joined #nixos
mounty has quit [(Ping timeout: 240 seconds)]
mtncoder[m] has joined #nixos
icetan has joined #nixos
aniketd[m] has joined #nixos
mounty has joined #nixos
sellout- has quit [(Ping timeout: 248 seconds)]
takle has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
proteusguy has quit [(Remote host closed the connection)]
Wizek has quit [(Quit: Connection closed for inactivity)]
Arcaelyx has joined #nixos
odi has joined #nixos
contrapumpkin has joined #nixos
pie__ has joined #nixos
Arcaelyx_ has joined #nixos
tg has quit [(Ping timeout: 240 seconds)]
Arcaelyx has quit [(Ping timeout: 248 seconds)]
Nycatelos has joined #nixos
kmicu has quit [(Ping timeout: 240 seconds)]
alanz has joined #nixos
marcinkuzminski has joined #nixos
Supersonic112 has quit [(Ping timeout: 240 seconds)]
kmicu has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
tg has joined #nixos
<boomshroom>
I'm trying to use xargo for a rust project. I can't just use rustPlaform.buildPackage because it depends on nightly. How can I get it to build using the nightly rust compiler?
Nobabs27 has quit [(Quit: Leaving)]
MercurialAlchemi has joined #nixos
tnks has joined #nixos
acowley_away has quit [(Ping timeout: 246 seconds)]
mrkgnao has quit [(Ping timeout: 240 seconds)]
Supersonic112 has joined #nixos
zennist has joined #nixos
<tilpner>
boomshroom - You can get nightly from nixpkgs-mozilla, but I haven't attempted to use it in an expression yet
<boomshroom>
I know about nixpkgs-mozilla and the default builds. This is just for a build tool that needs to be built with nightly so it's in my path when working on the real project.
<tilpner>
I don't know what you mean by default builds
bfrog has quit [(Ping timeout: 255 seconds)]
bfrog has joined #nixos
Myrl-saki has quit [(Read error: Connection reset by peer)]
zennist has quit [(Ping timeout: 248 seconds)]
acowley_away has joined #nixos
pxc has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
sauyon has joined #nixos
marusich has joined #nixos
marusich has quit [(Client Quit)]
<kini>
hmm, it just occurred to me that nixos probably uses more disk space than other distros
<kini>
I know this is a pretty subjective question, but does a 230GB disk seem "too small" to people?
* tilpner
had to trim his /home to 12GB to be able to rebuild today
odi has quit [(Ping timeout: 240 seconds)]
gleber_ has joined #nixos
<kini>
oh, I'm going to be mounting /home from a 5TB disk fs so that's not a problem I suppose
<tilpner>
You should be fine with 230GB
<kini>
I more meant for the nix store and other stuff that's in usual "non-user" territory
<kini>
ok, cool :)
<gleber_>
Ankhers: I've been busy with different project lately, but I would be glad to help with reviews
<nixy>
kini: I run NixOS no problem on servers with 24GB disks
<kini>
ha, nice
<tilpner>
You probably don't mix nixpkgs versions and install desktop stuff, games, etc.
<nixy>
^ Yup, I also run the garbage collector automatically
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<joepie91>
kini: my laptop has a 80GB disk and I think my Nix store takes up about... 16GB of that?
<joepie91>
if I don't let too many revisions linger around
<joepie91>
and that's graphical env and all
takle has joined #nixos
vandenoever has quit [(Ping timeout: 255 seconds)]
<tilpner>
That's very small. My laptops /nix/store hits 80GB regularly
rauno has joined #nixos
<tilpner>
(Which is a problem on 91G partition)
<tilpner>
And that's after garbage collection
takle has quit [(Ping timeout: 240 seconds)]
<clever>
tilpner: one min
<tilpner>
Don't get out your build server, those don't count! :c
<clever>
lol
Tucky has joined #nixos
propumpkin has joined #nixos
helpusobi has quit [(Read error: Connection reset by peer)]
<clever>
so, it is a dependency of something i nix-env -i'd
<clever>
its a dep of nixos itself
<clever>
and its a dep of the currently running nixos image
<clever>
no mater how much i GC, it will never go away, i must remove it from a config file and reboot
<kini>
<clever> in my case, the tab-completion plugin in vim depends on clang, lol
<kini>
wtf...?
<clever>
kini: i havent looked into why, but you complete me does that
<clever>
so next, i run this command, on any one of the roots the previous command gave: nix-store -q --tree nix-store -q --tree /nix/var/nix/profiles/system-323-link
<clever>
oops, doubled up
<clever>
that shows the entire tree of deps starting at the root
<clever>
so i just / to search for clang
<clever>
and tracing the line up, i find /nix/store/g5ikya205nfy0h22a1lkkzs1lb7l9r1j-ycmd-2017-03-27
<clever>
now i grep for the clang path inside ycmd
<tilpner>
clever - How do I safely delete profiles? Does either the old or new frontend offer a way that's better than just rm'ing the links in /nix/var/nix/profiles?
<clever>
kini: and ycmd links against libclang.so, so all 600mb of clang gets to come along for the ride
<clever>
tilpner: in general, you should avoid deleting symlinks from the profiles directory
leat has quit [(Quit: leat)]
<clever>
tilpner: you risk loosing everything in the profile
<clever>
tilpner: instead, use nix-env -e to uninstall whatever is causing the reference, then let nix-collect-garbage -d clean up the old generation
<clever>
that part looks normal, what about the nix-env -q command and its output?
<tilpner>
But I'm not using nix-home or channels anymore, so I don't really need these
<clever>
does nix-channel --list show anything?
<tilpner>
No
<clever>
then the channels profile should be empty
<tilpner>
/nix/var/nix/profiles/per-user/till/channels-22-link is the query result for a nixpkgs checkout, and I wanted to gc that
<clever>
and since there is nothing to loose, you can also just delete channels and channels-22-link
<clever>
what is inside that path?
<clever>
ls -lh /nix/var/nix/profiles/per-user/till/channels-22-link/
<clever>
the trailing / is important when using -l
<tilpner>
binary-caches, manifest.nix and nixpkgs. I'll delete it
<clever>
i'm guessing you forgot to nix-channel --update
<clever>
--add and --remove dont take effect until you --update
reinzelmann has joined #nixos
<tilpner>
Correct, I removed the nix-channels file and nix-defexpr, hoping that would be all of it
<joehh>
I'm running julia and it appears to be running /sbin/ldconfig on occaision and also unable to find
<clever>
tilpner: .nix-defexpr is required to make root's channels get into your user
<joehh>
some libraries that I've put onto LD_LIBRARY_PATH
<clever>
tilpner: deleting it will break all channel usage
<joehh>
any hints on tracking down the issue?
<joehh>
it seems to segfault shortly afterwards
<kini>
clever: interesting... I guess youcompleteme links against clang if USE_CLANG_COMPLETER is defined (in the cpp)
dy2k has joined #nixos
<tilpner>
clever - Don't worry, it's not broken. I followed your advice and put import <nixpkgs> {} in nix-defexpr afterwards
<kini>
what's the nixos way of doing things when software is like this? you don't want it to necessarily have a huge dependency like clang, but on the other hand, if the user has clang installed for some other reason, you'd like to be able to use it in youcompleteme
<clever>
kini: and also, clang isnt really the fattest thing, it clocks in at about 300mb, but i have a 1gig xen path just sitting there in the store
<clever>
tilpner: i also recently read the source behind nix-env to see how def-expr works
<clever>
tilpner: this file creates a virtual channel called foo, pointing to my checkout of master
<clever>
so i can now nix-env -iA foo.hello to grab things from master
<tilpner>
Oh, that's shorter than mine
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<tilpner>
(My actual ~/.nix-defexpr/nixpkgs.nix is tx0.co/KBDj )
<tilpner>
But using nixpkgs.unstable.foo is really just a workaround
<clever>
basicaly, nix-env will recursively search the .nix-defexpr directory
<clever>
and if it finds a path like <name>/default.nix, it creates an attr like <name> = import <name> {};
<tilpner>
Yes, I read something about that, but I didn't want multiple files there
vandenoever has joined #nixos
<clever>
ah
<tilpner>
Also, only nix-env uses that mechanism, which is really weird
boomshroom has quit [(Ping timeout: 260 seconds)]
<tilpner>
So my setup works with nix-shell too, while yours doesn't, right?
<clever>
yeah
<clever>
for nix-shell i just -I nixpkgs=whatever
<clever>
it was more of an experiement to confirm how the logic works, never actually used it
<clever>
but you could put other fun stuff in there, like a fetchurl that downloads the latest nixos-unstable from github
ertes has quit [(Ping timeout: 248 seconds)]
<tilpner>
If I copy my nixpkgs.nix to unstable.nix and stable.nix, it works the same way yours does, and I could put stable and unstable files into nixPath to get the same behaviour there
<clever>
this is the function responsible for turning the directory into a set
<clever>
and because its right in nix-env, there is no way to ever reuse that set in anything
__monty__ has joined #nixos
<tilpner>
Do you know if the new frontend will treat that differently?
ronny has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.9)]
DrWaste has joined #nixos
ronny has joined #nixos
<tilpner>
Phew, Nix still interprets relative paths correctly after symlink traversal
zeus_ has quit [(Remote host closed the connection)]
takle has joined #nixos
zeus_ has joined #nixos
<dy2k>
Hi, I'm new to NixOS and I've followed the configuration from the NixOS manual (https://nixos.org/nixos/manual/index.html#module-services-gitlab) to setup Gitlab on a new NixOS server, however, I got the following error: configuring no configure script, doing nothing building tar: ./opt/gitlab/embedded/bin/ksu: Cannot change mode to rwsr-xr-x: Operation not permitted tar: Exiting with failure status due to previous errors dpkg-deb: erro
<dy2k>
is there anyone hv any ideas on the issue?
<clever>
dy2k: did you try just doing services.gitlab.enable = true; ?
<clever>
that goes into configuration.nix
zeus_ has quit [(Ping timeout: 246 seconds)]
<__monty__>
Reading mozilla's trademark policy has left me wondering why nixpkgs turns of the branding by default but still uses the same executable name? Does nixpkgs actually change any of the source code for thunderbird/firefox? If not, am I correct that the only reason the brading makes it unfree is that derivatives can't freely use the branding? If it does make changes, where can I find out what they are?
<clever>
__monty__: i think part of it, is so if nix makes a mistake while compiling it (bad deps or compile flags) and the binary is broken, it wont ruin mozilla's public image
<clever>
only the official binary made by mozilla should have that level of trust
<dy2k>
clever, if just doing services.gitlab.enable = true, it will prompted "The option `services.gitlab.secrets.secret' is used but not defined."
<clever>
dy2k: it looks like you just need to fill that in with a random value, and gitlab will use it to encrypt everything in the database
<dy2k>
and I have added also the secret part, it still prompted the same error tar: ./opt/gitlab/embedded/bin/ksu: Cannot change mode to rwsr-xr-x: Operation not permitted tar: Exiting with failure status due to previous errors dpkg-deb: error: subprocess tar returned error exit status 2
ixxie has joined #nixos
<clever>
ahhh, i see the problem
<clever>
they put their own copy of ksu into the package, setuid'd
<clever>
and nix doesnt allow setuid files
leat has joined #nixos
<clever>
dy2k: youll need to open an issue on nixpkgs
zennist has joined #nixos
<dy2k>
I see, let me open an issue on nixpkgs
<dy2k>
thanks, clever
rauno has joined #nixos
<__monty__>
clever: Ok, makes sense I guess. Hadn't come across this before but I see gentoo does it too.
zennist has quit [(Ping timeout: 252 seconds)]
vandenoever has quit [(Read error: Connection reset by peer)]
freeman42x[m] has joined #nixos
tokudan has joined #nixos
* clever
heads to bed
freeman42y[m] has quit [(Ping timeout: 255 seconds)]
ertes-w has joined #nixos
takle has quit [(Remote host closed the connection)]
<guillaum1>
I just read that quote on a blogpost (about nix) "It allows you to override a package (for example; change its version), and all the packages that depend on that package will subsequently use your overridden version.". Up until now, I was overriding some packages `foo` (using override) to create a new package (named `fooXXX`) and I overrided all package depending on foo with `.override { foo = fooXXX;
<bkchr>
Yeah, testing it local, the download works
<michaelpj>
guillaum1: you don't need to change the name - you can actually replace the original package. Then you don't need to update deps, because they're already using it
<srhb>
I think there's only like one other failure currently, and that appears to be transient.
<McLovin>
Dear Nix community, I am interested in using Nix/NixOS and did some rudimentary research for my personal evaluation.
<McLovin>
What I could not find was some documentation on how the distribution of binary packages works in detail after being built via Hydra build system and which security measures are used s.t. the package/meta-data retrieval from the binary repositories may be deemed safe.
<McLovin>
Is there any documentation for this except the source code? Are there comparisons to other package managers available?
<McLovin>
Thanks in advance
eacameron has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
simukis_ has joined #nixos
Ivanych has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<srhb>
McLovin: I think it's your basic "root can add trusted binary caches, hashes are checked upon download"
<srhb>
Nothing fancy
<McLovin>
Okay thanks, how are the hashes retrieved?
eacameron has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pmiddend opened pull request #28497: thrift: increase version to 0.10.0 (master...thrift-0.10.0) https://git.io/v5I0l
<McLovin>
srhb: Interesting! What I am on to is the chain of trust. Is the authenticity of the hashes/narinfos provided by the cache signature? How are the signatures distributed? Via install images?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bkchr opened pull request #28500: LXQT-config: Adds patch for Cmake >3.8 (master...lxqt_config_fixes) https://git.io/v5IEz
NixOS_GitHub has left #nixos []
<srhb>
McLovin: I don't think it goes further than 1) trusting the signature on the narinfo fetch dynamically because 2) you got the key of the binary cache at installation
<tokudan[m]>
srhb: thanks
<srhb>
So trust goes key (from install) -> signature of narinfo (fetched as needed) -> nar described by that narinfo (fetched as needed)
freeman42x[m] has joined #nixos
zennist has quit [(Ping timeout: 240 seconds)]
<srhb>
McLovin: So if someone steals cache.nixos.org and the key to sign, you're screwed.
<srhb>
(ie. everyone will have to update their trusted keys)
<srhb>
McLovin: Of course, if that happens, you can just skip the binary cache entirely (provided you trust upstream source distributions *and* the nixpkgs hashes)
ixxie has quit [(Quit: Lost terminal)]
freeman42y[m] has quit [(Ping timeout: 252 seconds)]
ShalokShalom_ has joined #nixos
freeman42y[m] has joined #nixos
ShalokShalom has quit [(Ping timeout: 240 seconds)]
<srhb>
McLovin: That's my understanding at least. :)
ShalokShalom_ is now known as ShalokShalom
freeman42x[m] has quit [(Ping timeout: 252 seconds)]
miefda_ has joined #nixos
miefda has quit [(Ping timeout: 248 seconds)]
romildo has joined #nixos
roundhouse has quit [(Ping timeout: 240 seconds)]
<McLovin>
srhb: Okay, that makes a lot sense. So it authenticates the hash/narinfo via standard PKI/TLS. Sad, that I could not find any documentation about it. Big thanks again, I guess. What could possibly go wrong trusting a random person on the internet, why would he/she lie. Have a nice day nice person
cpennington has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
freeman42x[m] has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
Arcaelyx has joined #nixos
<goibhniu>
McLovin: FWIW there is also ongoing work to make builds deterministic, which would allow them to be verified
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<srhb>
McLovin: Yeah, everyone should just run trust through me, I'm that kind of person. :-)
<romildo>
What is the best way of getting the version of a given package in a nix expression?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] georgewhewell opened pull request #28501: ImageMagick: allow building on aarch64 (master...imagemagick-aarch64) https://git.io/v5I2u
NixOS_GitHub has left #nixos []
<srhb>
romildo: usually .version
<romildo>
srhb, I am trying gtk3.version but it gives error: attribute ‘version’ missing
<srhb>
romildo: How are you referring to that?
<srhb>
romildo: Yeah, you're right, that one doesn't have a version
McLovin has quit [(Quit: Leaving)]
guillaum1 has quit [(Ping timeout: 252 seconds)]
betaboon has joined #nixos
mudri` has quit [(Ping timeout: 248 seconds)]
<ashkitten>
i added the nixpkgs-unstable channel but it says alacritty matches no derivations
<NixOS_GitHub>
[nixpkgs] the-kenny pushed 1 new commit to master: https://git.io/v5IV3
<NixOS_GitHub>
nixpkgs/master d5743c0 Moritz Ulrich: pythonPackages.todoist: Init at 7.0.17.
NixOS_GitHub has left #nixos []
<ashkitten>
hyper_ch: it's not working
freeman42x[m] has quit [(Ping timeout: 248 seconds)]
<hyper_ch>
you probably need to update first
<ashkitten>
oh, i didn't do nix-channel --update
mudri` has joined #nixos
<hyper_ch>
:)
acarrico has joined #nixos
<hyper_ch>
and what is alacritty now?
<ashkitten>
?
<hyper_ch>
"GPU-accelerated terminal emulator"
<ashkitten>
yeah
<hyper_ch>
but still no idea what's that supposed to be
<ashkitten>
it's very fast
<ashkitten>
hence the name
<ashkitten>
:P
<hyper_ch>
ah.. gpu :)
<hyper_ch>
what kind of rendering do you do in your terminal?
arianvp2 has quit [(Quit: arianvp2)]
<hyper_ch>
I read gpu but my brain converted it to cpu :)
<ashkitten>
none, but the text rendering is fast enough that terminal speed is no longer a bottleneck
<ashkitten>
i can `cat` a very large text file in milliseconds
<hyper_ch>
I see
<hyper_ch>
I still like Konsole thouhg
<ashkitten>
it's also got very nice looking font rendering
<gchristensen>
ashkitten: I'm worried about your system using nixpkgs-unstable. you're a nixos user?
<hyper_ch>
if he wasn't, would he be in here?
<ashkitten>
gchristensen: don't worry i switched to nixos-unstable :)
<ashkitten>
hyper_ch: she* :D
<hyper_ch>
s/he/it... whatever :)
<gchristensen>
oh cool :) glad to hear it!
<gchristensen>
hyper_ch: well because we also have nix users in here.
<hyper_ch>
there are people using just nix but not nixos?
<hyper_ch>
never noticed
arianvp2 has joined #nixos
<hyper_ch>
so, my new mousepad should be delivered today
<gchristensen>
lots
<hyper_ch>
why do people use nix but not nixos?
<gchristensen>
because they choose to and it is a thing we support
<hyper_ch>
but I'm interested in their motivation :)
* viaken
uses nixpkgs-unstable on his nixos, but only as a user, not root.
<gchristensen>
they want nix but can't or don't want to use nixos
<gchristensen>
viaken: also okay! :)
<hyper_ch>
interesting
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v5IwC
<NixOS_GitHub>
nixpkgs/master fbaa12b Philipp Middendorf: thrift: 0.9.3 -> 0.10.0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor closed pull request #28497: thrift: increase version to 0.10.0 (master...thrift-0.10.0) https://git.io/v5I0l
NixOS_GitHub has left #nixos []
<viaken>
hyper_ch: I was doing the digital equivalent of "couch surfing" on a friend's Debian laptop a couple years ago and used nix to keep my own software installed, but separte.
<barrucadu>
hyper_ch: Nix is a pretty good package manager on OSX
wowi42 has quit [(Read error: Connection reset by peer)]
<hyper_ch>
I don't let others touch my notebook
<hyper_ch>
or rather only over my dead body!!!
* viaken
is beginning to hate this keyboard.
Wizek has joined #nixos
pie__ has quit [(Ping timeout: 276 seconds)]
<ashkitten>
heh, same. if i had a mechanical keyboard my speed and accuracy would probably increase a lot
<hyper_ch>
hmmm, just read that even MS uses now git for Windows devel
mudri` has quit [(Ping timeout: 248 seconds)]
mudri` has joined #nixos
iyzsong has joined #nixos
romildo has quit [(Quit: Leaving)]
<ashkitten>
i probably wouldn't have touched nixos again for a while if my ssd hadn't died yesterday :/
<ashkitten>
er, the day before
<hyper_ch>
but now you got a bigger and better ssd
<hyper_ch>
no sasmung ssd has every died for me
<hyper_ch>
s/for/on/
<disasm>
hyper_ch: existing systems mostly for me. It's a whole lot harder to get approval to rebuild an entire system than it is to install nix and run a couple packages using it.
<ashkitten>
no i have no ssd now at least for another week until the RMA goes through
<hyper_ch>
no ssd? poor you
<ashkitten>
indeed
<hyper_ch>
so you have now more coffee breaks?
<ashkitten>
i'm installing nixos on my hard drive
joehh has joined #nixos
<ashkitten>
<controversial-opinion>coffee is gross</controversial-opinion>
* hyper_ch
asks ashkitten to be banned from freenode because she is a coffee-infidel
<ashkitten>
D:
<gchristensen>
tea?
<ashkitten>
tea is good
<ashkitten>
every time i do nix-env it says warning: name collision in input nix expressions, skipping '/home/ash/.nix-defexpr/channels_root/nixos'
stepcut_ has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Ping timeout: 240 seconds)]
gnuhurd has quit [(Ping timeout: 240 seconds)]
<nixy>
Do you have a /home/ash/.nix-defexprt/channels/nixos?
<ashkitten>
yes
arximboldi has quit [(Quit: arximboldi)]
gnuhurd has joined #nixos
<nixy>
My understanding, which is rough since I just ran into this myself today, is that it can only have one set of expression with a given name
<nixy>
So it picks one of those two and rolls with it, skipping the one listed in that message
<ashkitten>
that's the one added by nix-channel though
stepcut_ has quit [(Remote host closed the connection)]
<nixy>
Yeah, that happened to me too which I still don't get...
stepcut has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] phile314 opened pull request #28503: Fusion inventory: Init at 2.3.18 (master...fusion-inventory) https://git.io/v5IKn
NixOS_GitHub has left #nixos []
roundhouse has joined #nixos
joehh has quit [(Ping timeout: 260 seconds)]
snikkers has joined #nixos
<ashkitten>
ok this is weird
guillaum1 has joined #nixos
<ashkitten>
suddenly i'm getting "error: undefined variable 'buildRustPackage' at /nix/store/.../nixos/pkgs/applications/altcoins/ethabi.nix:5:1"
eacameron has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/v5I6m
<NixOS_GitHub>
nixpkgs/master ca38106 Thomas Tuegel: idrisPackages.build-builtin-package: Include version in name
<NixOS_GitHub>
nixpkgs/master b438d39 Thomas Tuegel: idrisPackages.idris: 1.0 -> 1.1.1
<NixOS_GitHub>
nixpkgs/master 1fb8734 Peter Simons: Merge pull request #28492 from ttuegel/idris-packages...
NixOS_GitHub has left #nixos []
lassulus has quit [(Changing host)]
lassulus has joined #nixos
erictapen has joined #nixos
cpennington has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 240 seconds)]
mystfox has quit [(Ping timeout: 276 seconds)]
ocharles has quit [(Ping timeout: 276 seconds)]
yrashk has quit [(Ping timeout: 276 seconds)]
moredhel has quit [(Ping timeout: 276 seconds)]
mystfox has joined #nixos
moredhel has joined #nixos
yrashk has joined #nixos
ocharles has joined #nixos
zennist has joined #nixos
zennist has quit [(Ping timeout: 240 seconds)]
rodarmor has quit [(Ping timeout: 276 seconds)]
dgonyeo has quit [(Ping timeout: 276 seconds)]
ThatDocsLady is now known as ThatDocsLady_afk
arianvp2 has joined #nixos
<ashkitten>
how can i get firefox 57 on nixos?
pxc has joined #nixos
dgonyeo has joined #nixos
jtojnar has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Remote host closed the connection)]
pxc has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
mrkgnao has joined #nixos
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
heh, I meant to figure that out last night ashkitten
Neo-- has joined #nixos
<guillaum1>
michaelpj: symphorien: thank you.
silver_hook has quit [(Quit: Konversation terminated!)]
<globin>
zimbatm: ping, need some ruby help or do you know anyone else who really knows how our ruby infrastructure works?
* gchristensen
puts his hand up
<makefu>
bkchr: i somehow get "error: cannot import ‘/nix/store/h4669z8gpqpcjyb40c6w6sfshj0p8z28-nixpkgs/pkgs/applications/networking/browsers/firefox-bin’, since path ‘/nix/store/h4669z8gpqpcjyb40c6w6sfshj0p8z28-nixpkgs’ is not valid, at /var/src/nixpkgs/lib/customisation.nix:115:50
tmaekawa has quit [(Client Quit)]
<bkchr>
makefu: Yeah, something does not work. Mine is hanging in parse.nix
<gchristensen>
globin: you there? or did the ruby infra eat you alive?
<ashkitten>
bkchr: now it's hanging when i try nix-env -i latest.firefox-nightly-bin
miefda_ has quit [(Ping timeout: 252 seconds)]
<ashkitten>
bkchr: actually, all nix-env commands hang
<bkchr>
ashkitten: Yeah sry, remove the ~/.config/nixpkgs/overlays/firefox-overlay.nix
<ashkitten>
bkchr: what do i do then?
<bkchr>
bkchr: I still investigating
odi has quit [(Ping timeout: 240 seconds)]
<bkchr>
ashkitten: I still investigating
<ashkitten>
okay
mudri` has quit [(Ping timeout: 252 seconds)]
freusque has quit [(Quit: WeeChat 1.7.1)]
<globin>
manveru, cstrahan, zimbatm: from #nixos-dev: do you know how bundler finds gems? as in for gitlab I've tried setting GEM_PATH, GEM_HOME and BUNDLE_PATH and bundle env shows they're read, but gems cannot be found although they seem to be in the path. also GEM_PATH=... irb -> require 'blah' finds it, relevant code in
<sphalerite>
ashkitten: follow the instructions it prints, or set the environment variable NIXPKGS_ALLOW_UNFREE=1, if you're okay with using non free software
<ashkitten>
it's not unfree though .-.
Infinisil has joined #nixos
<ashkitten>
it's firefox
<ashkitten>
not even branded firefox
<sphalerite>
firefox-bin is branded firefoz
<sphalerite>
Firefox
<ashkitten>
oh
<ashkitten>
well either way it still doesn't work
<bkchr>
what is the problem now?
<bkchr>
For me that worked
<bkchr>
and the browser is running
<sphalerite>
Oh right because you're using a different nixpkgs...
<ashkitten>
it says gpg2: command not found
<sphalerite>
Uuuuh, that's odd
<ashkitten>
during the build it says that
<ashkitten>
then it fails
<ashkitten>
oh it works if i stop using nixos-unstable
<ashkitten>
ughhhh
<bkchr>
No, I'm on master of nixos
<ashkitten>
how can i get it to work without dropping nixos-unstable?
<bkchr>
So nixos-unstable should not be the problem
<ashkitten>
well if i do `nix-channel --remove nixos` it works
<ashkitten>
if i run `nix-env -i` i get "error: undefined variable 'buildRustPackage' at /nix/store/.../nixos/pkgs/applications/misc/alacritty/default.nix:31:1"
<ashkitten>
that's the one that fails during build
<bkchr>
You said that you used it without "A"
<bkchr>
I got the same error for just "nix-env -i"
<ashkitten>
*if* i use it without A
<ashkitten>
well that's an issue too then
<bkchr>
You need to use with A
<bkchr>
without I did not work for me
<maurer>
So, is there a reason why the update microcode flag defaults to off in nixos?
<ashkitten>
yes but i'd like to be able to use it without A and not have everything break
<maurer>
I just got bit by cpu bug :(
Infinisil has quit [(Ping timeout: 240 seconds)]
Infinisi1 has quit [(Client Quit)]
<bkchr>
ashkitten: I'm not 100% sure what the 'A' flag is doing. Maybe you should open an issuse for the nixpkgs-mozilla overlay
<ashkitten>
okay
<sphalerite>
It selects packages by attribute path rather than metadata name
Infinisil has joined #nixos
<lewo>
Hi. I'm trying to install nix and upgrade channels in a docker container built with nixpkgs.dockerTools. It seems when I execute nix-channel --update, I loose some paths in the nix/store because nix-channel doesn't work anymore (bad such file). How could I use nix inside the container?
<sphalerite>
It's almost always what you want, because the metadata name can be ambiguous and because it doesn't have to evaluate all of nixpkgs to find it
<bkchr>
Thx sphalerite
<bkchr>
So ashkitten, why do you not want to use 'A'?
<bkchr>
Any problems?
<ashkitten>
i just like my system not broken
<disasm>
lewo: If you're using nixpkgs.dockerTools to build your container, you don't want to update things inside the container, just build an new container using the same nix file you used to build it originally.
<bkchr>
Why does 'A' break your system?
<sphalerite>
Then your best bet is to use a stable channel, not unstable :l
<sphalerite>
:) *
<ashkitten>
heh, yeah but i need alacritty
<disasm>
ashkitten: you can use unstable for certain packages without upgrading everything.
<sphalerite>
I use alacritty on stable by cherry-picking it onto the branch
<ashkitten>
oh?
<lewo>
disasm: I would like to use this container for hydra, and also to perform builds. So I need to be able to build expressions in this container.
reinzelmann has quit [(Quit: Leaving)]
<disasm>
lewo: are you able to share the nix file used to build the container?
<sphalerite>
ashkitten: you can either have both channels available and install alacrity from unstable (in which case it'll pull in all-unstable deps as well), or you can cherry-pick the commit adding it onto the stable branch in a local checkout and install from there (in which case its deps will all be from stable, and it will build locally rather than having a bianry cache available)
<copumpkin>
Sander: if I have a few individual node/js packages that I'd like to build with Nix in a repo (i.e., source adjacent to nix files) and I want to build them and then depend on them in something else, what are my options there?
<ashkitten>
Infinisil: how'd you get it?
<gchristensen>
mog: how much of the $20 goes to nixos?
<mog>
5 dollars, 15 goes to the company 0 goes to me
<gchristensen>
neat
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] the-kenny pushed 1 new commit to master: https://git.io/v5Ibf
<NixOS_GitHub>
nixpkgs/master 1ff2379 Moritz Ulrich: skikit-learn: 0.18.1 -> 0.19.0
NixOS_GitHub has left #nixos []
frigate_freedom has joined #nixos
<frigate_freedom>
Hello guys!
endformationage has joined #nixos
<hyper_ch>
hi frigate_freedom
<mog>
hello frigate_freedom
<mog>
gchristensen, thanks for help the other day by the way
<gchristensen>
oh! how did I help? :o
<hyper_ch>
gchristensen: just your mere prensence in this channel boost overall confidence levels ;)
zennist has joined #nixos
<frigate_freedom>
have someone tried to use systemd-nspawn on NixOS?
hamishmack has quit [(Ping timeout: 248 seconds)]
<copumpkin>
nixos-container uses it all the time
<gchristensen>
hyper_ch: daww
<frigate_freedom>
I have some strange issues. but I'm not sure -- is it bugs or I'm so noob
<mog>
frigate_freedom, yes via nixos-containers
<mog>
gchristensen, you helped me trouble shoot systemd issue i was having
<NixOS_GitHub>
nixpkgs/master 50646af Thomas Tuegel: Merge pull request #28498 from bkchr/kdevelop_fixes...
NixOS_GitHub has left #nixos []
rauno has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pmiddend opened pull request #28507: pythonpackages.thrift: increase version to 0.10.0 (master...thrift-python-0.10.0) https://git.io/v5Ixl
NixOS_GitHub has left #nixos []
ona has quit [(Read error: Connection reset by peer)]
vandenoever has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/v5Iph
<NixOS_GitHub>
nixpkgs/master 508c998 Peter Hoeg: add apache2 license
<NixOS_GitHub>
nixpkgs/master 9f2ef9c Peter Hoeg: dbus-broker: init at 3
NixOS_GitHub has left #nixos []
takle has joined #nixos
arianvp2 has quit [(Read error: Connection reset by peer)]
arianvp2 has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
freusque has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] juliendehos opened pull request #28508: eigen: fix configuration file for pkg-config (master...eigen3) https://git.io/v5Ihu
<lewo>
disasm: I think by changing the nix state and store paths used in the container, it could work. But this is not really clean... but for now I don't know how to do better.
felipedvorak has joined #nixos
freeman42x[m] has quit [(Ping timeout: 276 seconds)]
odi has joined #nixos
bennofs has joined #nixos
<disasm>
lewo: I think the problem is the PATH is screwed up...
shapr has left #nixos ["ERC Version 5.3 (IRC client for Emacs)"]
mudri` has joined #nixos
stepcut_ has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
stepcut has quit [(Ping timeout: 240 seconds)]
arianvp2 has joined #nixos
arianvp2 has quit [(Client Quit)]
<Infinisi1>
Ugh, the nightly firefox messed up my setup..
Anon-kun has quit [()]
krav_ has joined #nixos
leat has quit [(Quit: leat)]
sellout- has joined #nixos
seppellll has quit [(Quit: Leaving)]
ThatOneGuyAcross has joined #nixos
takle_ has quit [(Remote host closed the connection)]
snikkers has quit [(Ping timeout: 255 seconds)]
bfrog has quit [(Ping timeout: 246 seconds)]
ThatOneGuy has joined #nixos
ThatOneGuy has quit [(Client Quit)]
ThatOneGuyAcross has quit [(Client Quit)]
Fare has quit [(Ping timeout: 240 seconds)]
Filystyn has joined #nixos
sellout- has quit [(Quit: Leaving.)]
erasmas has joined #nixos
sellout- has joined #nixos
<lewo>
disasm: yes, but I don't understand why this occurs on channel update
sellout- has quit [(Client Quit)]
DrWaste has quit [(Quit: Run away!)]
roundhouse has quit [(Ping timeout: 240 seconds)]
freeman42x[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/v5Lkp
<NixOS_GitHub>
nixpkgs/master f15d738 Peter Hoeg: Revert "add apache2 license"...
<NixOS_GitHub>
nixpkgs/master 2724f65 Peter Hoeg: dbus-broker: use the proper license
NixOS_GitHub has left #nixos []
freeman42y[m] has quit [(Ping timeout: 276 seconds)]
bfrog has joined #nixos
ryantrinkle has quit [(Ping timeout: 240 seconds)]
digitus has joined #nixos
ronny has quit [(Ping timeout: 252 seconds)]
odi has quit [(Ping timeout: 276 seconds)]
pie_ has joined #nixos
lsyoyom has quit [(Ping timeout: 240 seconds)]
Tucky has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] SConaway opened pull request #28514: Update Plex Server to 1.7.5 (master...patch-1) https://git.io/v5L3T
NixOS_GitHub has left #nixos []
Fare has joined #nixos
ixxie has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zeus_ has joined #nixos
pxc has joined #nixos
reardencode has joined #nixos
<copumpkin>
if I have a symlink to a folder and make a path reference to that symlink, how can I get nix to follow the symlink and copy the folder to the store rather than the symlink itself?
<gchristensen>
I've used rsync in the past with -L
<copumpkin>
no I mean
<gchristensen>
I know what you mean, I've used runCommand + rsync to fake it
<copumpkin>
I have a folder with default.nix in it, and default.nix does something like ${./local-symlink} in a string. That same folder has local-symlink which points to /symlink/target
<copumpkin>
oh
peacememories has joined #nixos
<copumpkin>
not sure that works for my use case
ertes has joined #nixos
stepcut_ has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<gchristensen>
hmm it annoys me that bundlerEnv doesn't support gemset being passed in as an attrset
stepcut has quit [(Ping timeout: 252 seconds)]
phreedom has joined #nixos
<slabity>
When I enter a nix-shell and try and run emacsclient, I get a "can't find socket" error. Anyone know of a solution to allow a nix-shell to connect to my session's emacs server?
DiThi has joined #nixos
<DiThi>
hi all
Infinisi1 has quit [(Ping timeout: 240 seconds)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
WhittlesJr has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<WhittlesJr>
IT doesn't like line 45: error: syntax error, unexpected $end, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at <path>/emacs-modes/spacemacs-funcs/default.nix:46:5
mudri` has quit [(Ping timeout: 248 seconds)]
<WhittlesJr>
Removing that line gets me farther
Infinisil has joined #nixos
iyzsong has quit [(Ping timeout: 248 seconds)]
<WhittlesJr>
But not sure how to escape it properly to fit the syntax
sary has quit [(Read error: Connection reset by peer)]
<DiThi>
I'm trying to use GitExtensions which is an open source net/mono application; it worked fine with mono 4.6.1 in ubuntu
goibhniu has quit [(Ping timeout: 252 seconds)]
<dash>
WhittlesJr: ${...} is nix syntax for interpolation
<DiThi>
in nixos I've installed mono 4.6.0, it can't find libgtk-x11-2.0.so.0, so I've searched it among the installed packages
<DiThi>
running this dones something: LD_LIBRARY_PATH=/nix/store/q662f37n0gl5k90kia85v5z5d0765x4l-system-path/lib/ mono GitExtensions.exe
<DiThi>
it gets stuck or crashes, but in both cases it says this: Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita"
<dash>
WhittlesJr: so to escape it you'll want: file=''${
peacememories has joined #nixos
<DiThi>
I'll make a package for gitextensions eventually, when I figure this out and learn
<WhittlesJr>
dash: Cool, thank you! Is that documented somewhere? I tried to find it myself before bugging the community
pie_ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
<WhittlesJr>
tilpner: Ahh, the *nix* manual. I was looking at the *nixpkgs*. I'll be sure to check there in the future.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<dash>
yep. if it's syntax, nix manual; if it's how to package stuff, nixpkgs; if it's how to write modules or configure stuff, nixos manual :)
<WhittlesJr>
dash: Very helpful. I'll keep that in mind. Thank you!
jellowj has quit [(Ping timeout: 240 seconds)]
WhittlesJr has quit [(Quit: Page closed)]
mudri` has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
<cocreature>
Hey, does anybody know what the current state of qt5 apps in nixpkgs HEAD is? I’m getting “This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".” when trying to run phantomjs2 inside of a nix-shell. I searched through the issues and found quite a few similar packages but I don’t understand if this should be fixed by now and it’s just a specific problem
<cocreature>
with phantomjs or if this is still a problem for all qt5 apps.
MarcelineVQ has quit [(Ping timeout: 240 seconds)]
MarcelineVQ has joined #nixos
Neo-- has quit [(Ping timeout: 248 seconds)]
<dash>
cocreature: I had a problem with a qt app like this, hang on
bennofs has quit [(Ping timeout: 276 seconds)]
cpennington has quit [(Ping timeout: 240 seconds)]
<dash>
I don't know if this was a good idea but it worked IIRC
<cocreature>
I’ll give it a shot, thanks!
Ivanych has quit [(Quit: Leaving.)]
Filystyn has joined #nixos
Guest85024 is now known as pop
pop has quit [(Changing host)]
pop has joined #nixos
<cocreature>
dash: nice that did the trick, thanks!
freeman42x[m] has quit [(Ping timeout: 248 seconds)]
leat has quit [(Ping timeout: 240 seconds)]
revtintin has quit [(Ping timeout: 252 seconds)]
<gchristensen>
globin, fpletz forgive me but what is the video chat software y'all use?
Ivanych has joined #nixos
ertes has quit [(Ping timeout: 260 seconds)]
<DiThi>
does anyone know how to run a X application inside a (non nixos) chroot in a nixos host?
cpennington has joined #nixos
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 13 new commits to master: https://git.io/v5L4x
<NixOS_GitHub>
nixpkgs/master 2939d8a Peter Simons: hackage2nix: update list of broken builds
<NixOS_GitHub>
nixpkgs/master 92bc6a7 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub>
nixpkgs/master 1e4c4cc Peter Simons: haskell-distributive: fix build on GHC versions older than 8.x
NixOS_GitHub has left #nixos []
<cocreature>
dash: in case you’re interested, "wrapProgram $out/bin/phantomjs --set QT_QPA_PLATFORM_PLUGIN_PATH "${qtbase.bin}/lib/qt-5.9/plugins/platforms/"" seems to be sufficient for phantomjs. might be a bit lighter than depending on qt59.full
<dash>
ok cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] cocreature opened pull request #28515: phantomjs2: fix references to qt plugins (master...phantomjs) https://git.io/v5LB4
NixOS_GitHub has left #nixos []
<neonfuz1>
so, do I have to worry about nixos filling up my root partition?
<neonfuz1>
idk how exactly the GC works
<maurer>
neonfuz1: If you're on nixos, you can set the gc to auto run
<maurer>
otherwise you'll have to manually nix-store --gc occasionally
<maurer>
If you make heavy use of nix-shell, you may not want to automatically gc though
<maurer>
since it may clean up your environment if you're not in it when it runs
<maurer>
nix.gc.automatic = true;
<maurer>
is what you put in your configuration.nix
<neonfuz1>
cool thanks
proteusguy has quit [(Ping timeout: 246 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
<bachp>
I received a message from hydra that the dependency for one of my packages failed on aarch64. Is there going to be official aarch64 support on the horizon?
simukis_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] aszlig pushed 2 new commits to master: https://git.io/v5L0b
<pxc>
I just saw that Hail got added to Nixpkgs! That's super exciting :-D
Fare has quit [(Ping timeout: 252 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
markus1189 has joined #nixos
<disasm>
cocreature: that seems like a bug to me. Did you open an issue to get it fixed yet? If not, I can.
<cocreature>
disasm: even better, I opened a PR that fixes it :)
<apeyroux>
hello, why when i use nix.distributedBuilds and nix.buildMachines, fetch actions and building paths actions are not performed on the remote server?
<apeyroux>
Because here I download locally then I re-upload to the build server ...
yegods has joined #nixos
yegods_ has joined #nixos
<disasm>
cocreature: thanks!
odi has joined #nixos
leat has joined #nixos
yegods has quit [(Ping timeout: 240 seconds)]
cpennington has quit [(Ping timeout: 248 seconds)]
<fpletz>
gchristensen: we use jitsi meet but it has some weird behaviour sometimes… works though :)
<gchristensen>
how is the "hands up" feature?
<fpletz>
that works quite well for us, people do notice that
<gchristensen>
nice, does it make a sound when you press the button or is it just visual?
<fpletz>
just visual
<gchristensen>
I wish there was a little sound or something, but we need this feature in some fashion
<ixxie>
is nixcon only every other year?
phinxy has joined #nixos
<neonfuz1>
so how do I run scripts that use #!/bin/bash in front of them
<neonfuz1>
do i need to run them in some environment?
<disasm>
neonfuz1: if you change them to /usr/bin/env bash it should do the trick.
<fpletz>
neonfuz1: you can use nix-shell in the shebang or if you want to assume bash is always there just use #!/usr/bin/env bash
<fpletz>
ixxie: there were plans but they never worked out
<fpletz>
also there isn't a schedule per se but every year was the idea :)
<neonfuz1>
so nix-shell is a valid shell?
<neonfuz1>
and /usr/bin/env does what?
<neonfuz1>
sorry I'm really new lol
<ixxie>
okay
<ixxie>
thanks fpletz :)
takle has quit [(Remote host closed the connection)]
<fpletz>
neonfuz1: that looks in the paths in the PATH environment variable for the binary to execute
<ixxie>
Since I want to be able to edit my configuration in my editor as a user, I have a copy of my config in my home folder and then I sudo copy it to /etc/nixos
<ixxie>
I was wondering if you folks have other workflows
<fpletz>
ixxie: you can also change the nixos-config nix-path
takle has joined #nixos
cpennington has joined #nixos
<fpletz>
ixxie: if you look at your NIX_PATH environment variable you see that it is set to /etc/nixos/configuration.nix by default
<fpletz>
you can change it with nix.nixPath
<ixxie>
true
<ixxie>
I guess I would prefer a solution that scales when/if I get more users
Michael__ has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
Michael__ has quit [(Remote host closed the connection)]
<jtojnar>
Any idea why `nix-shell maintainers/scripts/update.nix --argstr package firefox-devedition-bin` fails with package does have an `passthru.updateScript` defined
Michael__ has joined #nixos
<gchristensen>
sounds like firefox-devedition-bin doesn't support the update.nix
<jtojnar>
gchristensen: but it DOES have updateScript defined
<Infinisil>
no idea about that anymore, it worked a few weeks ago, but they changed it
<Infinisil>
It worked for me without having to do anything to update.nix though
<Infinisil>
s/to/with
vandenoever has quit [(Ping timeout: 248 seconds)]
oever has joined #nixos
yegods_ has quit [(Ping timeout: 252 seconds)]
Ivanych has joined #nixos
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5LoK
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<jtojnar>
I also tried `nix-shell maintainers/scripts/update.nix --argstr maintainer garbas` and after removing grsecurity from nixpkgs, it failed on missing pubring.kbx
<Lisanna>
network died for a minute, just in case anyone was able to answer my question
<sphalerite>
It died with that express purpose? Wow, your network is a jerk :D
<Lisanna>
yeah..
<Lisanna>
^^
sellout- has quit [(Ping timeout: 248 seconds)]
<sphalerite>
Um... When did you ask? I don't see it in the recent history
<Lisanna>
wow, its levels of conspiracy know no bounds!
<Lisanna>
gist of it is this: is it safe to unpack an RPM with nixos.rpm during a derivation?
<Lisanna>
during a build of a derivation*
<Lisanna>
or is RPM too dangerous to ever run outside of a VM
<dash>
lisanna: well, what are you concerned it will do
<sphalerite>
^
<DiThi>
hello
<DiThi>
did anyone read my questions of a couple of hours ago?
sellout- has joined #nixos
<sphalerite>
With a tarbomb, unpacking it could be a nuisance for performance but would be unlikely to cause any lasting damage
Infinisil has quit [(Remote host closed the connection)]
<sphalerite>
Unpacking it in itself can't really do any damage outside of DoS
ToxicFrog has joined #nixos
Infinisil has joined #nixos
<Lisanna>
dash: well, the Centos wiki warns that building an RPM with rpmbuild is an incredibly dangerous operation, so it makes me concerned about the toolchain
WhittlesJr has joined #nixos
<sphalerite>
Building seems unrelated to unpacking to me
<Lisanna>
I know that nix-build does things like turn off networking, but does it provide otherprotections against misbehaving shell commands?
<Lisanna>
or should I just wrap it in runinLinuxVM if I'm that paranoid
<sphalerite>
My guess is that you're safer with the sandbox, but I wouldn't go so far as to say you're perfectly safe
<gchristensen>
Lisanna: with sandboxing it only lets you write to a tmp directory and the output directory
<gchristensen>
Lisanna: beyond that the attack surface is kernel bugs and sandox escapes
<Lisanna>
gchristensen: you mean the sandbox that nix-build provides to all derivation builds?
<sphalerite>
It *shouldn't* be able to have any lasting effects on your system but that doesn't mean it definitely can't :)
<gchristensen>
Lisanna: yes
<Lisanna>
gchristensen: perfect, that's all I need to know, thanks a ton :)
<sphalerite>
I'd consider its dangerousness less than or equal to running untrusted code in your regular user account
<Lisanna>
sphalerite: I'm not looking for some bullet-proof totally secure solution, just a reasonable level to prevent headaches and annoyances from misbehaving apps
<gchristensen>
Lisanna: nix's sandbox is great for that :)
<Lisanna>
sounds like theregular nix-build sandbox will work fine
<sphalerite>
Yep
<Lisanna>
yeah
<sphalerite>
Running the software found in the RPM is a different matter of course!
<Lisanna>
Yeah :) I just use my nix machine as the build system, not the execution system
betaboon has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
ixxie has quit [(Quit: Lost terminal)]
odi has quit [(Ping timeout: 248 seconds)]
arianvp2 has joined #nixos
snikkers has joined #nixos
takle has joined #nixos
<WhittlesJr>
groan. Having continual troubles creating this derivation. https://pastebin.com/CwFTd7tS. I'm getting a bunch of >>Error occurred processing layers/+vim/vinegar/funcs.el: File error (("Opening output file" "Directory not writable or nonexistent" "/tmp/nix-build-spacemacs-funcs-0.2.drv-0/spacemacs-v0.200.9-src/<path_to_compiled_file>.elc"
<WhittlesJr>
er, ignore the spacemacs specifics. It seems that it just can't write to the directory to create these .elc files. (That's my guess anyway)
<WhittlesJr>
And my build command is nix-build -A emacsPackages.spacemacs-funcs --argstr system x86_64-linux
<WhittlesJr>
I'm sure I'm doing a bunch of things wrong here
ThatDocsLady_afk has quit [(Remote host closed the connection)]
felipedvorak has quit [(Quit: felipedvorak)]
arianvp2 has quit [(Quit: arianvp2)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 2 new commits to master: https://git.io/v5LDj
<NixOS_GitHub>
nixpkgs/master cf7df92 Vincent Laporte: ocamlPackages.ppx_derivers: init at 1.0...
<NixOS_GitHub>
nixpkgs/master 6e200f2 Vincent Laporte: ocamlPackages.core: 0.9.0 -> 0.9.1
NixOS_GitHub has left #nixos []
cement has quit [(Ping timeout: 276 seconds)]
erasmas has quit [(Quit: leaving)]
betaboon has quit [(Quit: This computer has gone to sleep)]
<hodapp>
can I have nix-shell set certain environment variables inside the shell?
<copumpkin>
yeah, just put them in the mkDerivation call
<hodapp>
oh... that's handy, I wish that were more obvious
HurricaneHarry has quit [(Remote host closed the connection)]
<hodapp>
weird... this environment uses package tensorflowWithCuda, which has pkgs.cudatoolkit8 as a dependency, and I already have this running, but if I try to set CUDA_PATH to ${pkgs.cudatoolkit8} it needs to completely redownload it
<hodapp>
why is that?
<hodapp>
all I want is the path to the cudatoolkit it's already using
<DiThi>
how does one use python setuptools in nixos?
cpennington has quit [(Remote host closed the connection)]
<joepie91>
obadz: "what are the architectural requirements for this software to work"
<joepie91>
ie. what CPU arch does it work on, what hardware does it support, etc.
<obadz>
for instance?
<obadz>
oh
<joepie91>
so that you know which cases to exclude
<obadz>
yes
aanderse_ has quit [(Read error: Connection reset by peer)]
* joepie91
thinks
aanderse_ has joined #nixos
<joepie91>
obadz: oh yeah, another one: what configuration/cache/etc. files are needed for the application to work, does it create them itself, where does it try to do so, how can this be changed
<joepie91>
I've run into a few issues with games trying to write configuration files into the /opt path they expected to run from
<joepie91>
to give an example
<joepie91>
ideally there's a flag to specify the data or config or cache dir
MP2E has joined #nixos
<joepie91>
this is less of a problem in FHS systems but more of a problem on NixOS
<joepie91>
on*
<joepie91>
and yeah, I think it's worth it to document these expectations/needs :)
<joepie91>
but also more generally as "this is not just useful to us as NixOS, but also to packagers for other platforms"
leat has quit [(Ping timeout: 248 seconds)]
<hodapp>
joepie91: I'm going off of what nixpkgs/pkgs/development/python-modules/tensorflow/default.nix and nixpkgs/pkgs/top-level/python-packages.nix say, and it just appears to have tensorflowWithCuda defined via callPackage
peacememories has joined #nixos
<joepie91>
hodapp: where are you seeing cudatoolkit8?
<joepie91>
I just see cudatoolkit
peacememories has quit [(Client Quit)]
takle has joined #nixos
<DiThi>
replying to myself: using nix-shell as explained in the nixpkgs manual, python section
<joepie91>
also, I don't see tensorflowWithCuda in python-packages.nix at all
<joepie91>
what version of nixpkgs are you looking at?
<hodapp>
joepie91: this is somewhere near latest nixpkgs master
<joepie91>
have a commit hash for me? :)
<hodapp>
1eb48d3b085ee6187e403f00f8d1f221776f0524
sary has joined #nixos
<WhittlesJr>
Could someone point me in the right direction with this emacs package derivation here? https://pastebin.com/CwFTd7tS. I'm getting a bunch of >>Error occurred processing <path_to_source>.el: File error (("Opening output file" "Directory not writable or nonexistent" "/tmp/nix-build-spacemacs-funcs-0.2.drv-0/spacemacs-v0.200.9-src/<path_to_compiled_file>.elc"
pi3r has quit [(Ping timeout: 252 seconds)]
<joepie91>
aha, now I see it
<WhittlesJr>
Why is it trying to write the .elc file in that /tmp directory, and why can't it?
obadz has quit [(Ping timeout: 240 seconds)]
<symphorien>
if you are desperate, you can try to strace -e trace=open the build process
<symphorien>
ah with -f as well
obadz has joined #nixos
<WhittlesJr>
symphorien: lemme see
<JosW>
Any Nixos users near Groningen in the Netherlands?
<joepie91>
everything is near everything in NL :)
avn has quit [(Ping timeout: 240 seconds)]
avn has joined #nixos
<joepie91>
(more seriously, I'm definitely not near Groningen...)
<JosW>
:) but for me to get to a meetup in Amsterdam would take near 2.5 hours. Groningen is 30 minutes
<joepie91>
hodapp: not sure why it's happening, tbh. it does seem like it should use the same package...
<joepie91>
if it's from the same package set
snikkers has quit [(Ping timeout: 248 seconds)]
<hodapp>
joepie91: is there any easy way I can just get the parameter value back out of tensorWithCuda?
<joepie91>
not a clue
<joepie91>
probably is but I have no idea how
<joepie91>
:p
<hodapp>
I guess I could just rewrite the callPackage stuff myself and ensure it's the same package
Infinisil has quit [(Remote host closed the connection)]
<WhittlesJr>
symphorien: nothing obvious showing up there. *sigh*. This was so easy in Arch... I really want to believe in this distro though
leat has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<symphorien>
so does the directory actualy exist or is it a perm error ?
<WhittlesJr>
symphorien: it does not exist, although it did show up once a dozen or so attempts ago. Not sure when or why. My current build command is "nix-build -A emacsPackages.spacemacs-funcs --argstr system x86_64-linux"
Arcaelyx has joined #nixos
arianvp2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #28521: cc-wrapper: Remove dead code (staging...cc-wrapper-dead-code) https://git.io/v5L5C
NixOS_GitHub has left #nixos []
Infinisil has joined #nixos
Filystyn has quit [(Remote host closed the connection)]
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
<symphorien>
WhittlesJr: add `chmod -R u+w .` just between line 33 and 34
<symphorien>
apparently nix chmods things r--r--r--
<symphorien>
you also lack a mkdir $dest
<WhittlesJr>
symphorien: doesn't the preInstall step take care of the mkdir?
<WhittlesJr>
let me try that chmod
<symphorien>
it failed for me, didn't dig it up :°
<WhittlesJr>
symphorien: Thanks for the link to that. This isn't a standard package actually, it kind of pulls in some utility functions from an offshoot of Emacs
arianvp2 has quit [(Quit: arianvp2)]
<WhittlesJr>
gotta split but thank you again for your help!
hamishmack has joined #nixos
Wharncliffe has joined #nixos
hamishmack has quit [(Client Quit)]
hamishmack has joined #nixos
WhittlesJr has quit [(Ping timeout: 260 seconds)]
the-kenny has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 246 seconds)]
the-kenny has joined #nixos
oida_ has quit [(Quit: WeeChat 1.7.1)]
hiratara has joined #nixos
slack1256 has joined #nixos
mahalel_ has joined #nixos
oida has joined #nixos
oida has quit [(Client Quit)]
oida has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
goibhniu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/v5LxF
<NixOS_GitHub>
nixpkgs/staging 0c0fad6 Tuomas Tynkkynen: treewide: Consistently call ARM 'arm'...
NixOS_GitHub has left #nixos []
oida has quit [(Quit: WeeChat 1.7.1)]
shlevy has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
shlevy has joined #nixos
sary has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #28522: nixos/tor: default of IsolateClientAddr in SocksPort was inverted (master...tor) https://git.io/v5LpO
NixOS_GitHub has left #nixos []
sary has joined #nixos
oida has quit [(Quit: WeeChat 1.7.1)]
<mpcsh>
Hey there, is anyone willing to assist me in creating my first nix package?
<Infinisil>
Having an odd problem: `nix-env -iA nixos.lyx` fails with `error: unexpected EOF reading a line`. That sometimes happens with bad network connection and a restart would fix that. But this happens every time now, everything is downloaded already
<Infinisil>
I'm on nixos-unstable, I guess I'll have a look if it's the same on nixos-17.03
* Infinisil
still doesn't really get what staging is
<MP2E>
staging is where we put mass rebuild changes or things that will bog down Hydra for a long time, clump them together, then send it all off to master about once a week (roughly)
<MP2E>
in practice, sometimes it takes a lot longer than that
<MP2E>
in this case staging had the gcc 6 branch merged in and a bunch of stdenv fixes to bugs that were biting me on master, and I think it had been 2-3 weeks since it was merged
<MP2E>
so this is very welcome!
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
<MP2E>
mostly because now i don't have to rebuild my entire os every time i want to update :P
<MP2E>
hydra can take the bulk of it now
<mpcsh>
dash: I just don't understand what they are
sellout- has quit [(Client Quit)]
<dash>
mpcsh: a way to modify the nixpkgs package set from a separate file
<Infinisil>
MP2E: Nice, thanks for the explanation!
<mpcsh>
dash: so would it be the right way to maintain my own small set of personal packages that don't belong in the main nixpkgs repo?
<dash>
It can be, yes. If you don't need to do any overrides then you may not want an overlay, you may just want a separate nix file
<joepie91>
neonfuz1: why are you using `sudo` there?
oida has quit [(Quit: WeeChat 1.7.1)]
<joepie91>
it's looking at the config.nix for the user under which you're running the `nix-env` command, which is root
<joepie91>
but the config.nix you're cat'ing is that for your own user
<joepie91>
so it doesn't see the allowUnfree setting
nadley has joined #nixos
<joepie91>
so the solution is to either 1) use systemPackages and allowUnfree in your configuratioin.nix (if on NixOS), 2) run nix-env without sudo (if not on NixOS and you want to install for your user oinly), or 3) create a config.nix for root that does allowUnfree (if not on NixOS and you want to install system-wide)
<neonfuz1>
oh crap
<neonfuz1>
bad habbits
<joepie91>
configuration *
ona has joined #nixos
<joepie91>
only*
<joepie91>
damn, so many typos
<joepie91>
aside, that error message is maybe a UX bug
<neonfuz1>
so the only difference with systemPackages is that every user has them then?
<joepie91>
it should probably give you an explicit $HOME/.... path
<joepie91>
instead of just ~
<joepie91>
so you know where it's looking
<joepie91>
neonfuz1: well, no. systemPackages is the declarative way to define what packages should be installed
<joepie91>
but it can currently only be used for system-wide packages
<joepie91>
`nix-env -i` is the imperative way, which is generally not desirable because it means you can't easily reproduce your system from your configuration.nix, but it's the only solution to user-specific packages currently
<joepie91>
of course if you're not on NixOS then there isn't really a systemPackages
<neonfuz1>
I am on nixos
<joepie91>
but if you are, then you should probably always prefer systemPackages simply because it means you can reproduce your system configuration with all its software from just the configuration.nix
<neonfuz1>
so, when you do nix-env -i, where does it record that you user has that package?
<joepie91>
personally I have /etc/nixos/configuration.nix symlinked to /home/sven/projects/nixrc/...
<neonfuz1>
ah, makes sense
<joepie91>
so I can just edit my system config under my own user and then run a rebuild as root
<joepie91>
[01:37] <neonfuz1> so, when you do nix-env -i, where does it record that you user has that package?
<joepie91>
somewhere in ~/.nix I think?
<joepie91>
I forgot the exact path
<joepie91>
I can check that actually, one sec
<joepie91>
hmm... .nix_profile?
<joepie91>
I'm not sure
<joepie91>
because all my packages are declarative
<joepie91>
but it's somewhere in a ~/.nix*
digitus has quit [(Quit: digitus)]
<joepie91>
yep
<Infinisil>
yes, .nix-profile
<joepie91>
it's ~/.nix-profile/manifest.nix
<Infinisil>
/almost/ readable :P
markus1199 has joined #nixos
<joepie91>
neonfuz1: anyway, can you file a bug on nixpkgs for that allowUnfree error message? its usage of ~ is definitely confusing, as it's not immediately obvious *whose* ~ it's looking at, so it should probably specify an explicit path instead (since `/root/...` would make it immediately obvious what is wrong)
<joepie91>
so I'd say that's a UX bug :p
<clever>
joepie91: the home directory of the user running (nix-build|nix-env
<clever>
|nix-shell)
markus1189 has quit [(Ping timeout: 252 seconds)]
<clever>
neonfuz1, joepie91: when you do nix-env (-i|-e), it will read ~/.nix-profile/manifest.nix, apply the changes in ram, then build a new profile based on the resulting manifest (which also contains the new manifest.nix)
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
<neonfuz1>
joepie91: ah yeah, I suppose that is a ux bug
<neonfuz1>
I'll do it later if I have time, or someone else can, but I'm really busy
Infinisil has quit [(Ping timeout: 240 seconds)]
Infinisil has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
<Infinisil>
I can do that
<neonfuz1>
alright thanks
sary has joined #nixos
eacameron has joined #nixos
oida has joined #nixos
ertes has joined #nixos
bkchr has quit [(Quit: Konversation terminated!)]
oida has quit [(Client Quit)]
oida has joined #nixos
<mpcsh>
dash: sorry for my delays in replying. so if I wanted to just add packages I shouldn't use overlays?
eacameron has quit [(Ping timeout: 246 seconds)]
<Infinisil>
Um, does git just discard the commit message when an error occurs?
<slabity>
Does anyone know what package libfl is in? I can't seem to find it, but flex is definitely in the repos