<yegle>
Hi list, I'm using nix on Linux. I installed weechat and aspell-dict-en, but /aspell listdict doesn't show the dictionary. What could go wrong with my setup?
<LnL>
n/m must have mistyped or something
verite has joined #nixos
fyuuri has quit [Ping timeout: 255 seconds]
<dtz>
can't you just turn <nix> to a string?
<dtz>
$ nix eval '("${<nix>}")'
kragniz is now known as kgz
<dtz>
(lol the quotes and parens, but in a derivation "${<nix>}" should work?)
nithor has joined #nixos
silver_hook has quit [Ping timeout: 248 seconds]
silver_hook has joined #nixos
silver_hook has quit [Changing host]
silver_hook has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dtz>
oh, nix store dir, reading backlog now O:)
<dtz>
vmTools..... yeah it uses "builtins.storeDir"
nithor has joined #nixos
pjan_ has joined #nixos
verite has quit [Read error: Connection reset by peer]
<jack[m]>
TIL: /nix/store/d1prcspbh2qsviipvnaxizcj8l3g7fpw-bootstrap-tools/bin/bash is 72 chars.
<jack[m]>
... and something in the bootstrap tools is using bash to execve another shell script.
<jack[m]>
... and bash only reads 80 chars of the shebang line.
nico202 has quit [Quit: Leaving]
xcmw has joined #nixos
<jack[m]>
So, if you have a nix store at /some/deep/path/to/my/nix/store/to/avoid/symlinks/on/nfs/ the bash execve doesn't use the whole interpreter and crashes.
<jack[m]>
... with 'bad interpreter: Permission denied'
<jack[m]>
But it works when the nix store is in /nix/store/.
<Dezgeg>
hilarious :)
<Dezgeg>
or well, hilariously bad
<jack[m]>
Yeah. I found this by looking through the bash source code.
<jack[m]>
Which is hilariously bad.
endformationage has joined #nixos
digitus has quit [Quit: digitus]
<jack[m]>
Okay. That's being a bit mean. Bash has a long and (glorious?) history, and has accumulated a lot of cruft over the ages.
chessai has joined #nixos
chessai has quit [Remote host closed the connection]
ssmike has joined #nixos
alexteves has quit [Ping timeout: 268 seconds]
nithor has quit [Ping timeout: 252 seconds]
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos
coot___ has quit [Quit: coot___]
jb55 has quit [Ping timeout: 268 seconds]
nithor has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<el_putin>
lol
dieggsy has joined #nixos
ryanartecona has joined #nixos
justan0theruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] kierdavis opened pull request #33762: avrgcc: bake path to avr-ar into avr-gcc-ar (master...fix-avr-gcc-ar) https://git.io/vNsPe
NixOS_GitHub has left #nixos [#nixos]
justanotheruser has quit [Ping timeout: 264 seconds]
dan_b has quit [Ping timeout: 268 seconds]
swayf_ has quit [Remote host closed the connection]
swayf has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
nithor has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
<catern>
i really hate that there are two nix shell init files
<catern>
i never remember which one to source
<catern>
oh wait
<catern>
nix-daemon.sh is definitely the right one now
euniarte has quit [Ping timeout: 255 seconds]
nithor has quit [Ping timeout: 276 seconds]
euniarte has joined #nixos
la_putin has joined #nixos
el_putin has quit [Read error: Connection reset by peer]
dieggsy has quit [Remote host closed the connection]
nithor has joined #nixos
nuncanada has quit [Quit: Leaving]
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
euniarte has quit [Remote host closed the connection]
alexteves has joined #nixos
srdqty has quit [Ping timeout: 264 seconds]
srdqty has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
drakonis has quit [Read error: Connection reset by peer]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm has joined #nixos
viric has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
nithor has quit [Ping timeout: 255 seconds]
<pjan_>
when using relative paths in nix, how do you 1) go up 2 levels (../../foo/bar doesn't seem to work), and/or 2) create a path from a string from a concatenation of a string and a path
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nithor has joined #nixos
Supersonic112_ is now known as Supersonic112
Guest77289 has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
markus1189 has joined #nixos
markus1199 has quit [Ping timeout: 252 seconds]
MP2E has quit [Remote host closed the connection]
<jasom>
pjan_: ../.. will work, but don't forget how ".." works on linux
nithor has quit [Ping timeout: 276 seconds]
<pjan_>
samueldr: thanks. Still doesn't seem to do what I want. Works in the repl, not in the nix file. hmmm
<jasom>
e.g. foo/bar/.. is not necessarily the same path as foo/
<pjan_>
ok: situation as follows: I have a nix file and if I put stuff in there and use ../foo/bar it works. Now I want to move that import into a file in a subdir, where I change it to `../.. + "/foo/bar"`, and use require to call that new file in the original one. This doesn't work
<NixOS_GitHub>
[nixpkgs] corngood opened pull request #33767: youtube-dl: disable phantomjs support on darwin by default (master...youtube-dl-darwin) https://git.io/vNsSD
qknight has quit [Remote host closed the connection]
jb55 has joined #nixos
liori has quit [Ping timeout: 240 seconds]
Biappi has quit [Ping timeout: 248 seconds]
<vaibhavsagar>
can I set LimitAS to a percentage?
knupfer has joined #nixos
mrkgnao has quit [Ping timeout: 260 seconds]
nithor has joined #nixos
knupfer has quit [Client Quit]
mrkgnao has joined #nixos
freusque has joined #nixos
raving_ has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
verite has quit [Ping timeout: 240 seconds]
pjan_ has joined #nixos
pjan_ has quit [Client Quit]
nithor has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
johann__ has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
asuryawanshi has joined #nixos
johann__ has quit [Client Quit]
hellrazor has quit [Quit: WeeChat 2.0.1]
asuryawanshi has quit [Ping timeout: 248 seconds]
johann__ has joined #nixos
slack1256 has quit [Remote host closed the connection]
nithor has joined #nixos
johann__ has quit [Client Quit]
pjan_ has joined #nixos
johann__ has joined #nixos
johann__ has quit [Client Quit]
johann__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 2832cc7 Frederik Rietdijk: Merge pull request #33467 from nixy/kdeconnect-sshfs...
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNsxQ
<NixOS_GitHub>
nixpkgs/master d06ab7d Andrew R. M: kdeconnect: Add `sshfs` as a dependency
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh closed pull request #33467: kdeconnect: Add `sshfs` as a dependency (master...kdeconnect-sshfs) https://git.io/vNUID
NixOS_GitHub has left #nixos [#nixos]
johann__ has quit [Client Quit]
johann__ has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
klntsky has quit [Quit: WeeChat 2.0.1]
klntsky has joined #nixos
periklis has joined #nixos
stephenjudkins has quit [Ping timeout: 265 seconds]
jb55 has quit [Ping timeout: 240 seconds]
MP2E has joined #nixos
<jkemet>
Hi! Have any of you ever encountered hydra not being able to build something even though nix-build can? I'm getting weird errors sent via mail: "
<pjan_>
On the current master branch, one of my overlays started breaking with the following message -> error: attribute ‘source’ missing, at /Users/pjan/src/nix/nixpkgs/pkgs/development/ruby-modules/gem/default.nix:61:18. Should this be reported as an issue?
johann__ has quit [Quit: Leaving.]
Itkovian has joined #nixos
taktoa has quit [Remote host closed the connection]
mrkgnao has quit [Ping timeout: 265 seconds]
nithor has quit [Ping timeout: 255 seconds]
mrkgnao has joined #nixos
shlevy has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
shlevy has joined #nixos
vidbina has joined #nixos
Tucky has joined #nixos
deepfire has quit [Ping timeout: 240 seconds]
<jkemet>
Oh. I figured it out. Hydra doesn't like to build lists of derivations, but is fine with building an attribute set of derivations.
<NixOS_GitHub>
[nixpkgs] roberth opened pull request #33775: Add documentation to haskell.lib (master...haskell-lib-doc) https://git.io/vNGU7
NixOS_GitHub has left #nixos [#nixos]
ThatDocsLady has joined #nixos
nithor has joined #nixos
leat has quit [Quit: WeeChat 1.9.1]
dan_b has joined #nixos
hamishmack has quit [Quit: hamishmack]
nithor has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 265 seconds]
nithor has joined #nixos
bencef has joined #nixos
<bencef>
i've been googling and greping for the last half an hour. my /tmp is in ram. what's the option in nixos to not use /tmp for derivation builds?
patrl has joined #nixos
patrl has quit [Client Quit]
nithor has quit [Ping timeout: 265 seconds]
<andi->
bencef: TMPDIR
<andi->
set it before you trigger the build
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vNGt4
<NixOS_GitHub>
nixpkgs/master f40ecb2 Robert Hensing: Add documentation for haskell-modules/lib.nix
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master ab73b0c Peter Simons: Merge pull request #33775 from roberth/haskell-lib-doc...
<bencef>
thanks. that could work, but I vaugely remember there's an mkOption for using a privateTmp for builds
<zarkone>
Hi! Struggling with loops/making sets in Nix. So, I have a set and I want to create a fiew keys which came from array and put some value in it
<zarkone>
something like `for domain in domains: do security.acme.certs."${domain}" = {...}`
<zarkone>
but I haven't found any info about loops
<zarkone>
I only see imap0 and recursive fns
la_putin has quit [Read error: Connection reset by peer]
Guest44147 has quit [Changing host]
Guest44147 has joined #nixos
Guest44147 is now known as TweyII
<TweyII>
zarkone: Recursive functions are strictly more powerful than loops (formally speaking, equivalent to a loop + stack)
ThatDocsLady has quit [Ping timeout: 240 seconds]
<TweyII>
zarkone: But in this case it sounds like you want to use builtins.listToAttrs
<pkill9>
why are they more powerfu
<pkill9>
powerful?*
<TweyII>
pkill9: Because you also have the implicit callstack to store data in local variables
<TweyII>
pkill9: If you also have a stack (data structure) then a loop can be used to emulate recursive functions, but a loop alone won't cut it
<joko>
Hey, is anyone using autorandr? It appears it is not working on my laptop, any ideas what could be wrong? I've tried both lightdm and sddm
<TweyII>
(or one of a variety of data structures that can be used to emulate a stack, like a Turing machine's tape)
<andi->
joko: works fine for me. Did you save a profile?
<zarkone>
Also, one more annoying question about nix on desktop. Does nix have good wayland support? want to install nix on my laptop, liked it in our deploy system, and want to play around a bit with wm development for wayland
<zarkone>
sorry, s/nix/nixos
pkill9 has quit [Quit: WeeChat 2.0]
<elisaado>
I tried to get wayland with gnome, but it did not seem to work
<sphalerite>
zarkone: it doesn't have any modules to support it AFAIK but it does work, e.g. you can install sway and just run it from a tty
<sphalerite>
should be good enough for wm development I think
sigmundv__ has joined #nixos
<TweyII>
zarkone: nix-repl> let domains = ["a" "b" "c"]; in with builtins; listToAttrs (builtins.map (domain: { name = "domain-${domain}"; value = "blah blah blah"; }) domains)
<zarkone>
Oh, I see! thank you very much. first time here, very responsive channel!
<zarkone>
TweyII: exacly what I'm looking for, thanks!
<TweyII>
s/builtins\.//
swayf has quit [Ping timeout: 265 seconds]
<zarkone>
I even checked out the sources of list, but I actually should ccheck out builtins
<TweyII>
zarkone: You could also do it recursively with a set update operator or something
<zarkone>
whoa, nix-repl!
<zarkone>
ok, got it! but here in that particular case this would be more convenient I think
<zarkone>
so, with nix-repl I could develop nix file in more robust way i think
<TweyII>
Yeah, use existing functions if they fit :)
<zarkone>
now I'm running deploy and check if it works or not
nithor has quit [Ping timeout: 276 seconds]
<joko>
andi-: I think so, running "sudo autorandr -c" works, I was hoping it would also work automatically, when booting
<aminechikhaoui>
TIL I can't use worker-1 worker-2 worker-3 as VM machine names in nixos tests, those dashes are causing weird issues in the perl driver script
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNGOi
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 6bfa422 Kier Davis: avrgcc: bake path to avr-ar into avr-gcc-ar...
<TweyII>
zarkone: nix-repl> let f = xs: if xs == [] then { } else ({ "${builtins.head xs}" = "blah blah"; } // f (builtins.tail xs)); in f ["a" "b" "c"]
rcshm has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 248 seconds]
nallar is now known as Ross
<TweyII>
Rather, let f = xs: if xs == [] then { } else { "${builtins.head xs}" = "blah blah"; } // f (builtins.tail xs); in f ["a" "b" "c"]
<zarkone>
TweyII: I see! thanks! :)
nithor has joined #nixos
coot___ has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
phdoerfler has joined #nixos
sigmundv_ has joined #nixos
<phdoerfler>
Hi! How do I determine on the command line if a reboot is required (After nixos-rebuild swtich --upgrade)? Is there a file /var/run/reboot-required like in Ubuntu or does NixOS provide some other mechanism?
ylwghst has quit [Ping timeout: 256 seconds]
<infinisil>
phdoerfler: I don't think there's anything like that, would be nice though
nithor has quit [Ping timeout: 265 seconds]
<zarkone>
!m TweyII
<[0__0]>
You're doing good work, TweyII!
<zarkone>
=)
<phdoerfler>
infinisil: Can I then at least get a list of what updates I'll get when I nixos-rebuild switch --upgrade? That way I could grep for kernel updates and then do a restart myself
<zarkone>
haven't find +1 feature, but as I understand #nixos has some kind of automatic cudos
<zarkone>
*kudos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ThatDocsLady has joined #nixos
<woffs>
suffering from https://github.com/NixOS/nixpkgs/issues/28504 I wonder how to give wine on a 64bit machine access to a 32bit OpenGL. Same installation works on a 32bit machine.
<phdoerfler>
where do I create an issue for "I want to know if I need to reboot or not"? Do I do that here https://github.com/NixOS/nixpkgs or at some other place?
<phdoerfler>
it seems there are solutions for debian based distros that also support systemd. I don't know how easily they can be ported to NixOS though. That's a bit out of my comfort zone
<Lisanna>
OK, I've done some performance testing with runInLinuxVM, and nix copy is about 14x slower than a standard cp -rH
jensens has quit [Ping timeout: 240 seconds]
<spacefrogg>
phdoerfler: What do you mean? Why do you need someone else to tell you if you need to reboot?
coot___ has quit [Ping timeout: 256 seconds]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
AndreasO has quit [Quit: Found more important stuff than irc!]
Harpalus has joined #nixos
<spacefrogg>
phdoerfler: By reading the backlog I determined that you want to know if the new kernel is different from the old kernel, is that so? You can check that by comparing the links /run/current-system/kernel with /run/booted-system/kernel. If they are the same, kernels don't differ. If they are different, kernels might or might not differ.
ma27 has joined #nixos
ckauhaus has quit [Ping timeout: 255 seconds]
ma27 has quit [Client Quit]
<spacefrogg>
phdoerfler: You can issue a 'file /run/{current,booted}-system/kernel' and look if the kernel versions differ. Again, if they do, the kernels are different. If not, they might still be different.
datakurre has quit [Ping timeout: 255 seconds]
ckauhaus_ has joined #nixos
ma27 has joined #nixos
<TweyII>
spacefrogg: I think that's backwards… if they're the same, the kernels are definitely not different.
Dezgeg has quit [Ping timeout: 276 seconds]
<TweyII>
(that's if the paths match, not just version, of course)
<spacefrogg>
TweyII: That I have written in the first post.
<sphalerite>
srhb: it boots the current gen of the system profile
datakurre has joined #nixos
ThatDocsLady has quit [Ping timeout: 248 seconds]
<srhb>
sphalerite: Oh, so that's just the default behaviour. Neat.
<srhb>
(It got stuck on loading new kernel here, but oh well)
<TweyII>
sphalerite: Right, but then you said the other thing, which I don't think is correct
<spacefrogg>
TweyII: The other thing relates to the kernel version.
<TweyII>
Unless you really just meant checking the version
<spacefrogg>
I did, yes.
<TweyII>
But I'm not sure why you'd do that
<TweyII>
Okay
ckauhaus_ has quit [Ping timeout: 240 seconds]
<spacefrogg>
TweyII: You might have configured the same kernel version with different functionality. You might also only have built the identical kernel with different tools. You don't know what happened by looking at the nix store path.
nithor has quit [Ping timeout: 255 seconds]
Dezgeg has joined #nixos
Harpalus has quit [Quit: Leaving]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
ssmike has quit [Quit: ssmike]
la_putin has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ckauhaus has joined #nixos
el_putin has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 2eba34d Matthias Beyer: sigal: Move to applications/misc
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vNGCP
<joko>
Is there any way to insert a CA cert at runtime for download-from-binary-cache.pl? I've tried with SSL_CERT_FILE and NIX_SSL_CERT_FILE, but no luck...
alexteves has joined #nixos
<sphalerite>
TweyII: what other thing which was incorrect?
<sphalerite>
oh right
<sphalerite>
spacefrogg: I think one of us needs to change names, people keep highlighting the wrong one :p
<spacefrogg>
:)
nuncanada has joined #nixos
<TweyII>
sphalerite: Oops! Sorry xD
<TweyII>
That was a bit of a thinko — I didn't just mistype, I thought I was speaking to you…
<srhb>
This happens to me a lot if weechat decides on using the same color for multiple people with the same length name.
<Lisanna>
I'll likely want nixpkgs for other things
<srhb>
Isorkin: Are you sure you're using the right version of the cpp standard?
<srhb>
Isorkin: Check which version it's supposed to be built with.
<Isorkin>
srhb: cpp (GCC) 6.4.0
<Lisanna>
what's the smallest, simplest config that I can use with make-disk-image? I honestly just want ot use it as a quick way to get a raw disk image with a filesystem and /nix
nithor has quit [Ping timeout: 252 seconds]
sigmundv has quit [Disconnected by services]
sigmundv has joined #nixos
fyuuri has quit [Ping timeout: 248 seconds]
<Lisanna>
and the "lib" argument is bothering me... can't it just get lib from pkgs?
<srhb>
Isorkin: I mean which version of the cpp standard.
<srhb>
Isorkin: As in C++11 or C++14 or whichever.
<spacefrogg>
Lisanna: You might want to look at nixos/modules/virtualisation/* for example usage.
<srhb>
Isorkin: That looks to me like an error from compiling <= C++11 code with a C++14 compiler.
alex`` has quit [Ping timeout: 265 seconds]
<srhb>
Or is it even older, not sure.
<Lisanna>
yeah, all of these are written as if they're part of a nixos-rebuild, accepting config, lib, pkgs, etc.
ylwghst has joined #nixos
<spacefrogg>
They are. nixos/maintainers/scripts/openstack/nova-image.nix has a comment on how to use it from the "outside".
<spacefrogg>
Lisanna: ^
pjan_ has joined #nixos
<Lisanna>
the first line in that file?
freusque has joined #nixos
<spacefrogg>
Yes.
<Lisanna>
okay
<Lisanna>
bleh
<Lisanna>
thanks
alexteves has quit [Ping timeout: 268 seconds]
mrkgnao has quit [Ping timeout: 240 seconds]
<GlennS>
I am having a slightly weird thing that I do not understand with nix-shell, where the combination of python.withPackages, --pure and --option build-use-sandbox true gives an error. Am I misunderstanding the various pieces here?
<GlennS>
actually, looks like the --pure has nothing to do with it
<phdoerfler>
spacefrogg: oh that's handy. Thank you! That'll suffice for the time being I think :) Also I need this knowledge because I want my server to reboot automatically when necessary or at least tell me there's the need of it.
klntsky has quit [Remote host closed the connection]
<phdoerfler>
spacefrogg: At the end of the day it is automatic security updates in the light of the recent CVEs such as meltdown. I don't want my VPS to be vulnerable.
<la_putin>
would it be sensible to modify patchelf to use mmap instead of read()
<Isorkin>
srhb: use "-DCMAKE_CXX_FLAGS=-std=c++14" or "-DCMAKE_CXX_FLAGS=-std=c++11" - error build
asuryawanshi has quit [Ping timeout: 248 seconds]
hamishmack has joined #nixos
contrapumpkin has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
propumpkin has quit [Ping timeout: 268 seconds]
Neo-- has joined #nixos
<srhb>
Isorkin: No idea then.
<FRidh>
has anyone attempted to create a binary tarball of Nix with its store at a non-standard location?
<gchristensen>
FRidh: not the same, but I have a script to take an arbitrary closure and binary-patch /nix/store out and replace it with /something and turn it in to an RPM ...
<gchristensen>
which may possible produce a working nix :)
<FRidh>
gchristensen: sounds interesting.
asuryawanshi has joined #nixos
ckauhaus has joined #nixos
<FRidh>
I'm looking for a solution to get Nix 1.12 on CentOS 7.4 on a custom location, preferably as a RPM
ssmike has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
vidbina has quit [Ping timeout: 260 seconds]
<FRidh>
gchristensen: you have a link?
<gchristensen>
one moment
ckauhaus has quit [Remote host closed the connection]
nithor has joined #nixos
ckauhaus_ has quit [Ping timeout: 255 seconds]
ckauhaus has joined #nixos
<la_putin>
is void ElfFile<ElfFileParamNames>::parse() (lines 307 to 333 of patchelf.cc of PatchElf version 0.9) patchelf's version of this https://bpaste.net/show/1e058f6339af ?
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<Harpalus>
FRidh: thanks for the hint
nico202 has joined #nixos
thetet has quit [Quit: Leaving.]
ma27 has quit [Ping timeout: 255 seconds]
ma27 has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
<nico202>
I was wondering, is the meltdown/spectre patch already available on unstable? Side question, is there a way to know if it's applied on the running kernel?
<nico202>
ok, issue 33689
<aminechikhaoui>
nico202: check for "Kernel/User page tables isolation: enabled" in kernel logs
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen>
and "yes" it is available in nixos-unstable and nixos-17.09
<ckauhaus>
AFAIK KPTI is considered a fix for Meltdown, but not really for the 2 Spectre variants
<ckauhaus>
it seems that there is no good fix for Spectre right now
<ckauhaus>
correct me if I'm wrong
<gchristensen>
don't those microcode updates help with Spectre?
<adisbladis>
ckauhaus: Thats my assesment too.
<adisbladis>
nico202: For the moment I'd say we are about as well patched as can be (in regards to spectre and meltdown).
<gchristensen>
ckauhaus, nico202 https://nixos.org/nixos/options.html#microcode I'd recommend setting your appropriate processor's microcode update option to true to get any updates from your vendor
<ckauhaus>
gchristensen: perhaps - but this should be handled separately from the question if the kernel sports KPTI or no
<ckauhaus>
t
<gchristensen>
right
<ckauhaus>
the microcode thing depends heavily on the exact CPU model
<gchristensen>
I'm glad y'all are on top of this, because I definitely am not >.>
pjan_ has joined #nixos
<gchristensen>
ckauhaus: you might like #nixos-security
* ckauhaus
looks
nithor has joined #nixos
dieggsy has joined #nixos
<nico202>
gchristensen: thanks, added to both my machines. Does the new version of the installer create this option in the hardware-configuration.nix?
ryantrinkle has quit [Ping timeout: 240 seconds]
<gchristensen>
no, I don't think so
<gchristensen>
we do need to improve communication around this option
<nico202>
gchristensen: I didn't knew about it, even if commented out it would be a way for new users to discover it
<nico202>
gchristensen: even if right now I find 99% of the config options by grepping the nixpkgs repo
<andi->
nico202: nixos.org -> Options
<nico202>
and the other 1% by looking to others configurations
<nico202>
andi-: aren't them for the stable release?
<gchristensen>
IMO, it doesn't belong in the default config. there are many important options depending on who you are and what you're doing, and the default config isn't the right place to communicate that information
ThatDocsLady has joined #nixos
iyzsong has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
<nico202>
gchristensen: fair. Are the microcode updates open source? It didn't ask me about allow unfree
xcmw has joined #nixos
<gchristensen>
I don't know
<andi->
they are considered nonfree
<adisbladis>
They are not open source.
jensens has joined #nixos
<nico202>
so maybe there's a flag missing
dieggsy has quit [Remote host closed the connection]
<Unode>
is there a variant of pkgs.writeText that overwrites the target file if any of the variables mentioned in the template text changes? In https://github.com/NixOS/nixpkgs/pull/30553/files includes & excludes are lists of strings but adding or removing items from these lists does not re-create the configuration file.
submersive has quit [Ping timeout: 246 seconds]
Harpalus has quit [Quit: Leaving]
<gchristensen>
something else must be wrong then, because Nix won't make the mistake you're referring to
zarkone has quit [Read error: Connection reset by peer]
erlandsona has joined #nixos
oida has joined #nixos
hgdcs55322 has joined #nixos
nithor has joined #nixos
<Yaniel>
how does one run gradle on nixos again?
<Lisanna>
How easy is it to override the versions of packages used in stdenv like glibc?
<gchristensen>
Lisanna: should be easy enough, but you'll need a lot of CPU time
pie_ has joined #nixos
<gchristensen>
wait, for the entire system, or a specific package?
<Lisanna>
specific package
<gchristensen>
maybe overrideCC in all-packages.nix will help you along your way
<Lisanna>
oh, so those aren't part of "stdenv", they're part of the wrapped compiler?
<gchristensen>
I'm just thinking you might be able to get where you need from looking at that
FRidh has quit [Remote host closed the connection]
dbe_ has joined #nixos
marusich has quit [Quit: Leaving]
nithor has joined #nixos
klntsky has joined #nixos
drakonis has joined #nixos
nithor has quit [Ping timeout: 240 seconds]
ok2 has quit [Ping timeout: 252 seconds]
ok2 has joined #nixos
<Yaniel>
oh wait it wasn't gradle that was the problem
<Yaniel>
but protoc
<Yaniel>
which gradlew downloads and tries to run -.-
<adisbladis>
Yaniel: gradle is madness..
<Yaniel>
not the madness I wanted, but the one I have to deal with for a course at uni :(
<dmj`>
Anyone know why the haskell packages infrastructure doesn’t allow two packages (same package) of different versions to exist in its ghc-pkg list
<dmj`>
For example, containers and containers_5_10_2_0
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vNG7B
WilliButz has quit [Read error: Connection reset by peer]
<Mic92>
bennofs[m]: for my running everything through the android-studio fhs wrapper including gradle was necessary to get the android sdk working.
<Yaniel>
how do I do that?
<Mic92>
Yaniel: in android studio there is a shell in the bottom bar
<Mic92>
Back then I ran gradle from there
<Mic92>
maybe a standalone android-studio-shell command is necessary to launch the same environment outside of the IDE.
<Yaniel>
...how have I missed that
WilliButz has joined #nixos
<Yaniel>
dammit, that complains about bash missing :D
<Mic92>
Yaniel: maybe you can run the full path provided by: echo $(realpath $(which bash))
<Yaniel>
I'll have to patch that into the gradle wrapper script
<Mic92>
a gradle wrapper for android-studio might be also useful
ThatDocsLady has quit [Ping timeout: 240 seconds]
nithor has joined #nixos
eljih has quit [Quit: Leaving]
leat has joined #nixos
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
dan_b has joined #nixos
eljih has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] paraseba opened pull request #33792: scid-vs-pc: init at version 4.18.1 (master...scidvspc) https://git.io/vNGdl
NixOS_GitHub has left #nixos [#nixos]
krey has joined #nixos
eljih has quit [Client Quit]
shabius has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
JosW has joined #nixos
nico202 has quit [Ping timeout: 260 seconds]
freusque has quit [Quit: WeeChat 1.9.1]
das_j has joined #nixos
shabius has quit [Client Quit]
ertes-w has quit [Quit: Bye!]
shabius has joined #nixos
freusque has joined #nixos
<das_j>
Hello everybody. I switched to nixpkgs master to get displaylink to run. I added displaylink, but it segfaults when trying to open /etc/ld-nix.so.preload. Why would it (or ldd?) open that file?
<lassulus>
\(• ◡ •)/
freusque has quit [Client Quit]
leat has quit [Quit: WeeChat 1.9.1]
<das_j>
Oh, a friend \o/
swayf has quit [Remote host closed the connection]
digitus has joined #nixos
swayf has joined #nixos
<das_j>
Hmm, is it possible that the master glibc is just built incorrectly? It shouldn't try to load that file from /etc and gdb tells me it's the glibc trying to access that file
<infinisil>
das_j: are you using master for your nixos??
leat has joined #nixos
<das_j>
yes, that was probably a bad idea
leat has quit [Client Quit]
<Isorkin>
how to patch binary ? ./maxscale: error while loading shared libraries: libmaxscale-common.so.1.0.0: cannot open shared object file: No such file or directory Need change to /nix/store/fj5gllaldaarp3cnhl4jcqabivxhva0b-maxscale-2.1.13/lib/maxscale/libmaxscale-common.so.1.0.0
submersive has quit [Quit: WeeChat 2.0.1]
<infinisil>
yeah, don't do that, nixos-unstable is the way to go if you want fast updates
<infinisil>
otherwise your nixos might break
<infinisil>
das_j: no idea about that file though
iyzsong has quit [Ping timeout: 256 seconds]
leat has joined #nixos
<infinisil>
Isorkin: Are you trying to package this library?
<das_j_>
Is there any way to make nix also fetch the glibc source code? I'd like to ask gdb to use that
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] sellout opened pull request #33793: flootty: init at 3.2.1 (master...add/flootty) https://git.io/vNGAr
NixOS_GitHub has left #nixos [#nixos]
<symphorien>
das_j_: nix-build "<nixpkgs>" -A glibc.src will download the source tarball
<infinisil>
das_j_: I actually also have a displaylink connector, and I've been having trouble with the normal xrandr thing (as in hotplugging didn't work), so maybe this is the key to making it work, am interested
shabius has joined #nixos
shabius has quit [Remote host closed the connection]
stepcut has joined #nixos
nithor has joined #nixos
zzamboni has quit [Quit: Leaving.]
shabius has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
zzamboni has joined #nixos
aarvar has joined #nixos
rihards has joined #nixos
stepcut has quit [Ping timeout: 240 seconds]
goibhniu has quit [Ping timeout: 268 seconds]
stepcut has joined #nixos
ambro718 has joined #nixos
stepcut_ has joined #nixos
raynold has joined #nixos
<Mic92>
das_j_: you can also get debug symbols for glibc: nix-shell -p glibc.debug
liori has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has quit [Ping timeout: 248 seconds]
nithor has joined #nixos
<das_j_>
Mic92: Thank you! I was starting to freak out because of trying to build glibc. It's really the worst libc of all :/
<das_j_>
Mic92: From glibc: "separateDebugInfo = false; # this is currently broken for crossDrv"
<das_j_>
Does this mean the package lacks the files?
nithor has quit [Ping timeout: 265 seconds]
<Mic92>
das_j_: there are debug symbol files in the package: nix-shell -p glibc.debug --command 'find $buildInputs'
<Mic92>
das_j_: environment.enableDebugInfo = true on nixos
<Mic92>
then they will be in /run/current-system/sw/lib/debug
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vNGhR
<das_j_>
Is it possible that something went wrong when linking? ldd still doesn't give any output
stepcut_ has quit [Ping timeout: 276 seconds]
TweyII has quit [Ping timeout: 240 seconds]
nithor has quit [Ping timeout: 265 seconds]
temphenk has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
tmaekawa has joined #nixos
<temphenk>
Is there a function/command that you need to use if you want a link from somewhere in /etc/ to a file in the nix store? I have seen "environment.something.text = myconfigContents" within modules but in my case it is a regular package and would rather link to it since its not really meant to be human configurable.
tmaekawa has quit [Client Quit]
<temphenk>
Or is access to /etc/ only reserved for nix files in the nixos directory?
<lexomsthn>
as I building packages with Nix for myself, which option in .nix file should I use to specify CFLAGS="-march=native -O2 -pipe" ala gentoo make.conf?
<jtojnar>
hmm, fetchgit does not download the tagsM
<Mic92>
if you want that globally you can add the new stdenv to packagesOverrides or an overlay.
<Mic92>
otherwise you can also only rebuild some dependencies
aborsu has joined #nixos
<snajpa>
oh lolcat <3 (@nixpkgs above)
rihards has quit [Quit: rihards]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] peterstuart opened pull request #1793: Remove extra space in chat_about_sudo() (master...fix-extra-space) https://git.io/vNZku
NixOS_GitHub has left #nixos [#nixos]
<Mic92>
lexomsthn: btw. there is also the NIX_CLFAGS environment variable, you can for each package you want to add new cflags.
<Mic92>
*you can modify
orivej has quit [Ping timeout: 260 seconds]
<lexomsthn>
wow, that last one sounds great! however I use same time nix.useSandbox = true; which builds them in isolated 'sandboxes' , so I beleive there ain't be easy way for me, except to learn nix system from zero to hero
<lexomsthn>
thank you, again
<Mic92>
lexomsthn: every variable you set inside stdenv.mkDerivation { } will become an environment variable during build.
yegortimoshenko has quit [Remote host closed the connection]
<Mic92>
see nixpkgs for examples of NIX_CFLAGS
zzamboni has joined #nixos
temphenk has quit [Remote host closed the connection]
yegortimoshenko has joined #nixos
zzamboni has quit [Quit: Leaving.]
nithor has quit [Ping timeout: 276 seconds]
zzamboni has joined #nixos
ryanartecona has joined #nixos
<Isorkin>
How to add path /nix/store/yfkvvnp2ak44nlhfm4xq82i52kzrj4cc-gcc-6.4.0-lib/lib with patchelf --set-rpath ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNZI5
<toppler>
Sorry for off-topic: My laptop's 6 months old and smartmontools on the SSD is reporting 547 Media and Data Integrity errors. That's bad, right?
<lexomsthn>
toppler I wonder if u used ZFS without TRIM?
<lexomsthn>
toppler In your place, I would backup my date, then wipe drive, recreate fs and try again smart\read\write tests to see if issue remains. let me know if you tried that
<lexomsthn>
*data
<toppler>
lexomsthn: Good idea. I'll give it a go.
krey has joined #nixos
<krey>
hey guys, how do you version control your /etc/nixos/configuration.nix and ~/.config/nixpkgs/ in the same repo?
concatime has joined #nixos
coot___ has quit [Remote host closed the connection]
<lexomsthn>
actually, recently I had hardware problem "read dma ext drdy err icrc", my old linux box began unable to boot and work with 2(!) different drives. based on my personal expirience, logic and small googling, I suspect that in my case that was motherboard\chipset SATA error. Plan to check those drives on different MB later
coot___ has joined #nixos
<lexomsthn>
*and smartctl reported nothing in my case. but hdd from time to time were unable to be recognized at bios POST boot screen
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
ma27 has joined #nixos
ma27 has quit [Client Quit]
<concatime>
Do someone know how to create swap encrypted with random keys?
<lexomsthn>
thank god & nix OS, I was able to boot on live usb, and quickly rsync data (to backup storage) while it still at least somewhat readable
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 8 new commits to master: https://git.io/vNZqw
<toppler>
lexomsthn: Annoyingly, I need to replace the power adaptor on my external hard drive.
<lexomsthn>
concatime there is ArchWiki article on that. however I don't use swap at all. but someone can say no=swap - bad practice, but I'm still alive and ok with it for a while
<Isorkin>
how to this package ? /nix/store/yfkvvnp2ak44nlhfm4xq82i52kzrj4cc-gcc-6.4.0-lib gcc.lib - not work
<concatime>
My issue is not with the steps... but rather with including this swap inside NixOS
<toppler>
concatime: Doesn't the hardware configuration sort it all out automatically?
<toppler>
Then I just have swapDevices = [ { device = "/dev/mapper/swap"; } ]; in my configuration.nix.
<concatime>
But I don't want to rely on detection. I try to setup everything from *my configuration.
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<concatime>
Why does `randomEncryption` exist? Is it usable?
raynold has quit [Quit: Connection closed for inactivity]
nithor has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
<lexomsthn>
Isorkin, I'm not sure but maybe... have you tried just "gcc" without lib? A friend of mine had a friend, whose surname was Iskorkin - he loved ponis. Another two people I know are Sorokins.
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<Isorkin>
lexomsthn: gcc = gcc-wrapper-6.4.0 need gcc-6.4.0-lib
<lexomsthn>
dudes... I want to play my portable game, installed steam-run for that purpose but it throws error:
<lexomsthn>
steam-run One_Night_Stand.sh /nix/store/81bclmh5anpma3km5vp98b7kp81zy0sn-steam-run: line 9: exec: One_Night_Stand.sh: not found
<joko>
Any thoughts abouts nixops and automatic upgrades?
<toppler>
lexomsthn: Don't know enough about steam-run, but I've got round similar issues by editing the script and replacing the call to the actual executable with steam-run <executable>
<Isorkin>
thanks, works
<jetien>
Help! I just broke my system by trying to switch to grub; now i can't boot any longer. I'm now booted from the livecd and i've mounted to /mnt. How can I nixos-rebuild my system with the corrected configuration.nix file?
Yotam_ has joined #nixos
<joko>
lexomsthn: maybe use its full path, e.g. steam-run ./One_Night_Stand.sh? (I have never run steam-run though)
<joko>
jetien: mount boot partition, too, fix /mnt/etc/nixos/configuration.nix and run nixos-install --root /mnt -j 4
nithor has joined #nixos
michaelpj_ has quit [Ping timeout: 256 seconds]
<jetien>
joko: thanks. trying..
rauno has joined #nixos
das_j_ has quit [Quit: Page closed]
<joko>
jetien: fingers crossed it works!
<dhess>
Dezgeg: around?
concatime has quit [Quit: Page closed]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis opened pull request #33803: Change package builds to use Qt 5.9 (master...qt59) https://git.io/vNZYy
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
concatime has joined #nixos
<Dezgeg>
yup
nithor has quit [Ping timeout: 256 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
zzamboni has quit [Client Quit]
asuryawanshi has quit [Remote host closed the connection]
swayf has joined #nixos
swayf has quit [Remote host closed the connection]
<dhess>
Dezgeg: I'm using an armv7l installer from about a week ago and nothing is hitting the cache. It's basically rebuilding everything. I assume this is because gcc was broken for a few weeks. Have you got an earlier installer image around by any chance, something that will hit the cache mostly?
<lexomsthn>
jetien I prefer systemd gummiboot, because GRUB became to bloated for me.
asuryawanshi has joined #nixos
swayf has joined #nixos
<jetien>
joko: it worked! thanks! :)
<dhess>
nixos-install is running out of space on the SD card
<dhess>
besides the fact that it's taking forever
<joko>
jetien: you're welcome! :)
<Dezgeg>
is armv7l on unstable working yet?
<dhess>
yes
<dhess>
err.
<jetien>
joko: do you know how dual boot to windows works with efi by chance?
<dhess>
nixpkgs-unstable I don't know
<dhess>
does it always rebuild from that channel?
<dhess>
s/rebuild/install ?
<jetien>
there isn't much documentation to find on that; except for a few github issues
<samueldr>
Dezgeg: would you consider syncing a branch on nixpkgs fork with the last complete rebuild (per platform)?
<Dezgeg>
it should use nixos-unstable
<dhess>
actually it looks like nixpkgs-unstable is fixed, though it's using an earlier version of the fix than what is in the tree now
<samueldr>
(complete meaning your subset obv.)
<dhess>
nixos-unstable has the same pre-fix fix
loli has joined #nixos
<dhess>
Dezgeg anyway point is, it's building fine, it's just running out of space
zzamboni has joined #nixos
<joko>
jetien: dual boot with grub?
<lexomsthn>
toppler , for now I know 2 ways of running portable binaries : 1) patch elf 2) steam run ; here is the super question, is there a way to set an environment to run multiple binaries, shell scripts and stuff without patching them, and without prefixing each one with steam-run? cuz steam-run doen't work for complex shell\python scripts
<Dezgeg>
yeah, I've considered some way of having the built ones released as add-able channels but haven't looked into what's the way to do that
<jetien>
jetien: yes, or any other boot manager
<dhess>
but it sounds like maybe the problem is that the armv7l cache hasn't caught up yet
<jetien>
joko: yes, or any other boot manager
<dhess>
Dezgeg ok so is there a way to get nixos-install to use the target /nix/store instead of the SD card /nix/store, or something like that which will get around this running-ou-of-space issue?
drakonis has quit [Remote host closed the connection]
<dhess>
is it possible to override the nixpkgs that the installer uses? My own Hydra binary cache has most of the stuff that the installer would need if I can get it to build from nixpkgs master
drakonis has joined #nixos
<Dezgeg>
sadly no afaik, there's still an bug open on that regression
<Dezgeg>
but it should support -I nixpkgs=..., I think
<dhess>
ok I will try that
<Dezgeg>
if you pass that to nixos-install
JosW has quit [Quit: Konversation terminated!]
<dhess>
if I have enough space to check it out :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yrashk opened pull request #33805: aenum: make tests pass (master...aenum-tests) https://git.io/vNZOw
<dhess>
Dezgeg: nah `nix-channel --add` doesn't like the archive.tar.gz URL
<dhess>
oh I think I did it wrong
<dhess>
it does work. Wrong order of arguments
<jetien>
joko: nixos-rebuild seems to be hanging on the "updateing GRUB 2 menu…" task
loli has quit [Quit: WeeChat 2.0.1]
<dhess>
ok now nix-channel nixos points to the archive tarball but when I run nixos-install I get this:
<dhess>
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
<dhess>
error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
<dhess>
I have run nix-channel --update
leapingfrogs has quit [Read error: Connection reset by peer]
leapingfrogs_ has joined #nixos
<dhess>
well I just did `NIX_PATH=nixpkgs=https://github.com/.... nixos-install` and now it's downloading the archive. Let's see how this works
nithor has joined #nixos
leapingfrogs_ has quit [Client Quit]
vidbina has joined #nixos
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] dtzWill opened pull request #1794: nix log: use pager (master...feature/nix-log-pager) https://git.io/vNZsF
NixOS_GitHub has left #nixos [#nixos]
Yotam_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 256 seconds]
concatime has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<dhess>
well it did download a bunch of packages this time rather than trying to build them all, but I still ran out of space :( Oh well, I'll put the installer on a larger SD card and use the nix-channel trick again
zarel has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
ma27 has joined #nixos
alexteves has quit [Ping timeout: 268 seconds]
asuryawanshi has quit [Ping timeout: 255 seconds]
nithor has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
lexomsthn has left #nixos [#nixos]
Fare has quit [Remote host closed the connection]
<jetien>
joko: thank you for your help! it finally worked. the hanging grub-install seemed was due to hanging IO in /boot (fixed by rebooting). i left some comments on your gist. I hope this ends up in the manual at some point!
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
stephenjudkins has joined #nixos
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon1 has joined #nixos
srdqty1 has quit [Quit: WeeChat 1.9.1]
swayf has quit [Ping timeout: 265 seconds]
nithor has joined #nixos
chpatrick has quit [Quit: Connection closed for inactivity]
<vidbina>
does anyone have experience with nixpkgs-lint? I have a branch checked out with a new package and am running `nixpkgs-lint -f /path/to/nixpkgs -f PHRASE` but am staring at a "selector ‘PHRASE’ matches no derivations" error msg
MP2E has quit [Remote host closed the connection]
shabius has joined #nixos
MP2E has joined #nixos
Neo-- has joined #nixos
simendsjo has quit [Ping timeout: 248 seconds]
zzamboni has quit [Quit: Leaving.]
nithor has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<joko>
jetien: cool!
nithor has joined #nixos
zarel has quit [Quit: Leaving]
[0x4A6F] has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
<vidbina>
correction to my former post. For example... running `nixpkgs -f /path/to/nixpkgs -p bitscope` fails on my setup. Checked out to latest current master.
<infinisil>
It just tells you how many have some flaw, but doesn't actually tell you which ones
<infinisil>
-.-
countoren has joined #nixos
<infinisil>
oh wait never mind
<infinisil>
Wait no I'm right, and i think it doesn't even pay attention to the -p argument..
<countoren>
hello everyone, Im trying to install some personal vim plugins from my github and I would like to test it first, is it possible to test fetchFromGitHub in the nix-repl?
<infinisil>
Actually, it even ignores the -f argument, nix-env -q lists your users installed packages..
stephenjudkins has quit [Remote host closed the connection]
<rnhmjoj[m]>
countoren: of course, type `:l <nixpkgs>` and the function is pkgs.fetchfromGitHub
stephenjudkins has joined #nixos
<rnhmjoj[m]>
* pkgs.fetchFromGitHub
swayf has quit [Ping timeout: 265 seconds]
nithor has joined #nixos
<countoren>
ok thanks, im gonna test it
<infinisil>
vidbina: Oh hold on, i think i know why, it's not broken after all
<vidbina>
infinisil: aha... that means that I broke nixpkgs-lint on bitscope because I wrote that sucker. shoot! I'll read into recurseIntoAttrs meanwhile. Perhaps I can refactor the packages I added.
dbe_ has joined #nixos
<infinisil>
vidbina: nixpkgs-lint uses nix-env to query packages with a regex
<infinisil>
vidbina: but since bitscope itself isn't a package, but an attrset that defines multiple packages nix-env can't find anything
<infinisil>
by wrapping the bitscope definition with `bitscope = recurseIntoAttrs (callPackages ...);` nix-env does recurse into the attrset
<infinisil>
upon changing that, you can do `nixpkgs-lint -f path/to/nixpkgs -p 'bitscope.*'`
pjan_ has joined #nixos
aborsu has quit [Quit: aborsu]
ghost_ has joined #nixos
<infinisil>
vidbina: is there no "main" bitscope package?
<vidbina>
infinisil: not really. Just a suite of different tools that are offered through different deb's or rpm's
<rnhmjoj[m]>
did something recently change about `toPythonPath`? mpv uses it to load vapoursynth modules but since last week or so it switched from setting /lib/python3.6/site-packages to lib/python2.7/site-packages and vapoursynth can't be loaded anymore.
slyfox has quit [Quit: :)]
slyfox has joined #nixos
nithor has joined #nixos
shabius has quit [Quit: Leaving]
la_putin has quit [Read error: Connection reset by peer]
el_putin has joined #nixos
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbe_ has quit [Ping timeout: 240 seconds]
<Mic92>
countoren: there is also :b to build expressions
<Mic92>
in nix repl
countoren has quit [Ping timeout: 260 seconds]
shabius has joined #nixos
fresheyeball has joined #nixos
<fresheyeball>
anyone out there able to recommend a sql gui for nixos?