tzemanovic has quit [Remote host closed the connection]
teozkr_ has joined #nixos
xplat|work__ has joined #nixos
Smithx10_ has joined #nixos
typetetris_ has joined #nixos
xplat|work_ has quit [Ping timeout: 265 seconds]
ocharles has quit [Ping timeout: 265 seconds]
ilovezfs_ has quit [Ping timeout: 265 seconds]
dgpratt has quit [Ping timeout: 265 seconds]
yrashk has quit [Ping timeout: 265 seconds]
adelbertc_ has joined #nixos
ehamberg_ has joined #nixos
tazjin_ has joined #nixos
kyrre_ has joined #nixos
tzemanovic has joined #nixos
NYXT_ has joined #nixos
yrashk_ has joined #nixos
hiratara has quit [Ping timeout: 265 seconds]
typetetris has quit [Ping timeout: 265 seconds]
adelbertc has quit [Ping timeout: 265 seconds]
adelbertc_ is now known as adelbertc
typetetris_ is now known as typetetris
cstrahan_ has joined #nixos
dgpratt has joined #nixos
ocharles_ has joined #nixos
ilovezfs__ has joined #nixos
Mateon1 has quit [Ping timeout: 260 seconds]
ZeDestructor has quit [Ping timeout: 265 seconds]
Huddo121 has quit [Ping timeout: 265 seconds]
aminb has quit [Ping timeout: 265 seconds]
Aexoden has quit [Ping timeout: 265 seconds]
cstrahan has quit [Ping timeout: 265 seconds]
shlevy has quit [Ping timeout: 265 seconds]
mt has quit [Ping timeout: 265 seconds]
mjacob has quit [Ping timeout: 265 seconds]
hexa has quit [Ping timeout: 265 seconds]
teozkr has quit [Ping timeout: 265 seconds]
themistocle_ has quit [Ping timeout: 265 seconds]
Smithx10 has quit [Ping timeout: 265 seconds]
mg- has quit [Ping timeout: 265 seconds]
teozkr_ is now known as teozkr
logzet has quit [Ping timeout: 265 seconds]
atondwal has quit [Ping timeout: 265 seconds]
ehamberg has quit [Ping timeout: 265 seconds]
Mic92 has quit [Ping timeout: 265 seconds]
tazjin has quit [Ping timeout: 265 seconds]
kyrre has quit [Ping timeout: 265 seconds]
NYXT has quit [Ping timeout: 265 seconds]
Guest16682 has quit [Ping timeout: 265 seconds]
ehamberg_ is now known as ehamberg
NYXT_ is now known as NYXT
tazjin_ is now known as tazjin
mjacob has joined #nixos
aminb has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
hiratara has joined #nixos
palo_ is now known as palo
tzemanovic has quit [Ping timeout: 248 seconds]
klntsky has quit [Ping timeout: 250 seconds]
shlevy has joined #nixos
andymandias has joined #nixos
deanman has joined #nixos
<samueldr>
lazyweb: I seem to remember there's a way to re-use the configuration system from nixos outside of nixos, is there any documentation or notes on such (ab)use?
jperras has joined #nixos
aarvar has quit [Ping timeout: 256 seconds]
iviv has joined #nixos
mg- has joined #nixos
hexa has joined #nixos
tzemanovic has joined #nixos
Mic92 has joined #nixos
monad_cat has joined #nixos
mt has joined #nixos
<stammon>
I'm definitely screwed. I just managed to break my sudoers file with the same bug (I tried it again, while the file already existed) and now I can't even get sudo privileges anymore to get back to a sane config
<samueldr>
then I presume you locked the root account?
<samueldr>
(the default nixos-install asks you to provide a password IIRC)
<stammon>
I get parse error on the sudoers file
<samueldr>
while logging in either at the console or using `su`?
aszlig_ is now known as aszlig
<stammon>
wait I already rebooted into a old config.
<stammon>
This is now a slightly different error. The difference to the previous error is, that I now create a file in a nonexistent folder with a space in the filename.
<{^_^}>
[nixpkgs] @orivej pushed commit from R. RyanTM to master « sc-controller: 0.4.2 -> 0.4.3 »: https://git.io/vh3jp
rain1 has joined #nixos
alp has joined #nixos
silver has quit [Read error: Connection reset by peer]
klntsky has joined #nixos
ericsagnes has joined #nixos
worldofpeace has joined #nixos
<palo>
https://nixos.wiki/wiki/Tinc < I created a small introduction to tinc and nixos, maybe somebody can give me feedback (over irc or the discussion area)
<worldofpeace>
Is there a way that I could use fetchFromGitlab but with a different domain? I'm trying to fetch a tar.gz from 'gitlab.gnome.org'.
stepcut has quit [Remote host closed the connection]
<worldofpeace>
I know the url structure I just don't think I should have to fully specify because soon fetching from gnome.gitlab will be common I suppose.
<teto1>
I am trying to use fetchgitprivate on a gitolite repo. nix-build tells me `No path specified. See 'man git-pull' for valid url syntax"` my url is "git://gitolite@192.10.X.X:dsda.git", it seems valid ? I set ssh-config-file=HOME/.ssh/config which has 600 rights
smallville7123 has joined #nixos
d6e has quit [Ping timeout: 264 seconds]
rauno has quit [Ping timeout: 260 seconds]
smallville7123 has quit [Quit: rosa]
asuryawanshi has quit [Ping timeout: 240 seconds]
Lisanna has quit [Remote host closed the connection]
<etu>
teto1: try to remove git:// in the beginning
<etu>
or maybe not, man-page say that that should work
<etu>
Try to use ssh:// instead of git:// since you imply that you use ssh
smallville7123 has joined #nixos
jD91mZM2 has joined #nixos
leat has quit [Ping timeout: 256 seconds]
<teto1>
etu: tried ssh+git:// and ssh:// to no avail
Ariakenom has quit [Read error: Connection reset by peer]
atu has joined #nixos
atu has quit [Changing host]
atu has joined #nixos
atu is now known as adamt
<adamt>
We have to enable swapaccounting and the memory cgroup for running kubernetes. Is there any reason this couldn't be enabled by default? Or is there a different kernel that already does this?
<adamt>
Not free? They're in the default kernel source, so why would they be licensed differently?
<srhb>
Free as in free of run-time costs
<srhb>
Not beer or speech :-)
<srhb>
Mmm beer.
<adamt>
Ah. Phew. I was about to enable my local rage mode. :P
<srhb>
I actually thought the memory cgroups were on by default if support is compiled in. Surprising.
<srhb>
I wonder if it's some other component that needs the option set.
nD5Xjz has quit [Ping timeout: 260 seconds]
<adamt>
But, would setting kernelParams alone be enough to trigger a kernel rebuild?
<adamt>
(or, rather, local build of the kernel)
<srhb>
adamt: Not that I know.
<adamt>
srhb: Thx.
<srhb>
adamt: Recent kernel params list imply that cgroup_enable is no longer a thing (cgroup_disable is) and that swapaccounting defaults to 1 as well
thc202 has joined #nixos
<adamt>
srhb: How recent? 4.14? 4.15? 4.16? No matter what that's great
<srhb>
Blame sets that line at 2008 though, so I'm not sure what to believe anymore. :P
<wildfier>
Hi, is there an option to change GRUB's keymap? It would be very useful for example to be able to type a password when using an encrypted /boot.
nD5Xjz has joined #nixos
periklis has joined #nixos
Ariakenom has joined #nixos
sanscoeur has quit [Remote host closed the connection]
nixo202 has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
nico202 has quit [Ping timeout: 276 seconds]
tzemanovic has quit [Ping timeout: 248 seconds]
jackdk has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @peterhoeg merged pull request #40579 → sddm: add support for hidpi mode → https://git.io/vpdny
<LnL>
is this the first time you installed nix on this machine?
periklis has quit [Ping timeout: 248 seconds]
jonoabroad has joined #nixos
<rprimus>
This is after a previous attempt where it failed at the same point.
<rprimus>
hence the users/groups have already been created.
<jonoabroad>
Hello, have people seen Permission denied when running nixos-rebuild switch? It is happening after 'building the system configuration' when it attempts to create a symlink
karlguy has quit [Remote host closed the connection]
karlguy has joined #nixos
<LnL>
rprimus: was that with an older version of nix?
<Jetien>
Hi! Does anybody have experience setting up hydra? I've set up hydra via nixos, created a project, but when I evaluate nothing really happends. In the logs I can only see "hydra-evaluator[5124]: received jobset event", no further output. For the jobset input I'm using "Local path"s to rule out git-fetching problems.
<jonoabroad>
really stupid question: I'm not meant to run 'nixos-build switch' as root am I?
<etu>
Yeah, you are
<jonoabroad>
oh! that may well explain my earlier query, I couldn't remember doing it before. thank you.
<srhb>
jonoabroad: You can only build (and run vms) without being root. Root is required to switch the actual profile in use (symlinking the system into place)
<srhb>
And also to alter the boot loader.
<jonoabroad>
\m/ thank you so much, I was going utterly mad.
<Jetien>
Lnl: Would I see evaluation errors via "journalctl -u 'hydra-*'" on the hydra server? If yes, then there is no output beyond "received jobset event".
<Jetien>
LnL: I also tried using git checkout instead of local paths with the same result.
<LnL>
not sure if those show up in the service logs, but there's a tab in the ui
<rprimus>
LnL: removed all directories (as per previous post), mv /etc/{bashrc,zshrc}.backup* -> /etc/{bashrc,zshrc}, and "sudo launchctl remove system/org.nixos.nix-daemon"
<Jetien>
LnL: yes, also I force an evaluation via the UI
<LnL>
triggering an eval doesn't do anything for a disabled jobset
nixo202 has quit [Ping timeout: 255 seconds]
simukis has joined #nixos
<LnL>
but if that's not the case, what's the expression it might be working but not evaluate any drvs
<rprimus>
LnL: just about to run install again. Was reading the script. it does download nix-2.0.3-x86_64-darwin.tar.bz2 ...
<Jetien>
lewo`: Thanks. Nothing of the likes on my hydra instance
JasonGrossman has joined #nixos
newhoggy has quit [Remote host closed the connection]
<LnL>
rprimus: yeah, it's the nix-env -i step that's failing
JasonGrossman has quit [Client Quit]
JasonGrossman has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
vaninwagen has quit [Ping timeout: 240 seconds]
JasonGrossman has joined #nixos
newhoggy has joined #nixos
<rprimus>
LnL: failing at same step as in gist: building '/nix/store/jp5371ld47218v5bzc6m5584l8b8w2n1-user-environment.drv'... [\n] sandbox-exec: sbpl1:38:21: unable to open sandbox-minimal.sb [\n] (string-append "unable to open " path)
vaninwagen has joined #nixos
newhoggy has quit [Remote host closed the connection]
periklis has joined #nixos
unkn has joined #nixos
ericsagnes has quit [Ping timeout: 256 seconds]
schoppenhauer has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @orivej pushed commit from R. RyanTM to master « rr: 5.1.0 -> 5.2.0 »: https://git.io/vhsov
<{^_^}>
[nixpkgs] @peti pushed to master « multi-ghc-travis: update to git head from 2018-05-22 »: https://git.io/vhsoO
selaux has joined #nixos
atu has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
Guest37085 has quit [Ping timeout: 260 seconds]
newhoggy has joined #nixos
<rprimus>
LnL: from "$EXTRACTED_NIX_PATH/install-darwin-multi-user.sh": /Library/LaunchDaemons/org.nixos.nix-daemon.plist doesn't exist (ie not being installed)
Ariakenom_ is now known as Ariakenom
schoppenhauer has joined #nixos
thblt has quit [Ping timeout: 256 seconds]
<LnL>
hmm
newhoggy has quit [Remote host closed the connection]
freusque has joined #nixos
<rprimus>
LnL: org.nixos.nix-daemon.plist is only mentioned in install-darwin-multi-user.sh, where there are instructions to load it, but nowhere do I see where it is installed/copied in /Library/LaunchDaemons
<{^_^}>
[nixpkgs] @orivej pushed to master « pythonPackages.cryptacular: disable on the current Pythons »: https://git.io/vhsK0
<Jetien>
LnL: I figured it out. The jobset was enabled, but not the *project*, ugh. This was very unintuitive. I created a issue for it https://github.com/NixOS/hydra/issues/563
spinus has joined #nixos
karlguy has quit [Quit: Leaving]
<gchristensen>
LnL: I'm not sure what is I should bee noticing, can you help mee?
<gchristensen>
oh rprimus is still here, and we're still debugging :)
<gchristensen>
that is a thoroughly collected install log
Ridout has joined #nixos
atu has quit [Changing host]
atu has joined #nixos
atu is now known as adamt
<LnL>
gchristensen: at first thought there was maybe an old daemon still running while it's store path was removed, but doesn't look like it
Fare has joined #nixos
jtojnar has joined #nixos
<LnL>
gchristensen: don't know if you remember but the sandbox-minimal profile is always used for build to disallow setuid
<gchristensen>
yeah
<rprimus>
LnL: manually started launchctl service: org.nixos.nix-daemon and run "env ALLOW_PREEXISTING_INSTALLATION=y ./install-multi-user" - still fails at same point
<LnL>
yeah, I'm starting to think it's not the installer
<gchristensen>
just in case I'm erasing Nix on my mac
<LnL>
yeah that's the step I expected to be failing
<LnL>
it's the first command that tries to build something locally with nix
<fin-ger>
Hi, I'm currently trying to create a package for nautilus-python. https://dpaste.de/8Y8a I'm getting a 'could not find Python lib' error during the configure phase. Does anyone have an idea how to solve this?
<gchristensen>
ok yeah so it works a charm on system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 2.0.3, channels(root): "nixpkgs-18.09pre140731.c29d2fde74d", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
vaninwagen has joined #nixos
<gchristensen>
Darwin 17.3.0, macOS 10.13.2
<gchristensen>
I'll upgrade it to 10.13.5.
<freusque>
(error was caused by using a derivation with no "name" attribute)
<LnL>
can you force a rebuild of hello or something to make sure
<gchristensen>
confirmed: hello builds fine
<LnL>
yeah, name should probable be a mandatory parameter to stdenv.mkDerivation
<LnL>
gchristensen: ok, I didn't expect that
<LnL>
I guess it's possible they changed something about sandbox-exec
obadz has quit [Quit: WeeChat 2.1]
nico202 has joined #nixos
<fin-ger>
Where is the build environment for a package build located?
<rprimus>
: ; ls -la /usr/bin/sandbox-exec
<rprimus>
-rwxr-xr-x 1 root wheel 19680 May 10 05:51 /usr/bin/sandbox-exec
<rprimus>
Tue 8 May 2018 12:01:49 BST
<rprimus>
ProductName: Mac OS X
<rprimus>
ProductVersion: 10.13.5
<rprimus>
BuildVersion: 17F66a
<rprimus>
Something was changed in 17F66a
nixo202 has joined #nixos
hamishmack has joined #nixos
nico202 has quit [Ping timeout: 256 seconds]
<LnL>
urgh, guess I know what to do tonight
<gchristensen>
is 10.13.5 public? I could only see 10.13.4 in the store
<LnL>
oh! are you running the beta?
<rprimus>
I'
<rprimus>
m on developer preview
<gchristensen>
while I'm sorry your Nix is broken, I'm glad it isn't broken on stable =)
<rprimus>
:-D
<rprimus>
Better to find out now than when 10.13.5 is released!
<LnL>
yeah, that's good news
newhoggy has joined #nixos
ericsagnes has quit [Ping timeout: 248 seconds]
<rprimus>
trying now with _NIX_TEST_NO_SANDBOX
<LnL>
we could open a radar, then apple might fix it before the actual release
<jonoabroad>
\quit
jonoabroad has quit [Quit: leaving]
<gchristensen>
rprimus: you're good at this "digging around" thing
<tilpner>
fin-ger - If you pass -K to nix-build, it will keep the directory of a failed build (and tell you where it is)
<rprimus>
that didn't help!
<gchristensen>
rprimus: the minimal sandbox is a bare minimum to prevent a serious security issue, I don't think it can be disabled
<fin-ger>
tilpner: Thanks, worked :)
<rprimus>
gchristensen: Have spent many a night 'debugging'
viric has quit [Ping timeout: 240 seconds]
<LnL>
oh didn't know that was exposed as an env variable
<LnL>
rprimus: you probably have to set that for the daemon, not the client
<rprimus>
LnL: line 2818 of build.cc
selaux has quit [Remote host closed the connection]
selaux has joined #nixos
<LnL>
indeed, sandbox-exec can't be nested and the nix testsuite runs inside of a nix build :)
page has quit [Ping timeout: 268 seconds]
truthadjustr has joined #nixos
Ridout has quit [Quit: Lost terminal]
<gchristensen>
ok I've double checked, Nix's install works fine on 10.13.4 too :) _phew_ I always get a smidge anxious when people report problems right after a new release :')
selaux has quit [Remote host closed the connection]
<{^_^}>
[nix] @grahamc opened pull request #2192 → Backport: Explain fetchTarball timeout behavior in the doc → https://git.io/vhs1P
kai_w has joined #nixos
jtojnar has quit [Ping timeout: 248 seconds]
<rprimus>
The sandbox-exec command is DEPRECATED.
<rprimus>
from sandbox-exec(1)
<gchristensen>
love to deprecate-and-break commands in point releases
wildfier has left #nixos ["WeeChat 2.1"]
<sphalerite>
Anyone here using xautolock? For me it seems to break after a while, the process is still running but xautolock -locknow says "Could not locate a running xautolock."
lhart has joined #nixos
<Aleksejs>
sphalerite: I switched to xss-lock because I couldn't figure out how to make xautolock work
<sphalerite>
it's been working for me so far, just recently started doing this :/
<sphalerite>
but yeah maybe I'll switch
<sphalerite>
to xss-lock or maybe xidlehook because rust is cool ;) jD91mZM2
<Aleksejs>
Is it your password?
<sphalerite>
no jD91mZM2 is the author of xidlehook and also hangs around here
<Aleksejs>
Ah
<rprimus>
build.cc:2910 - what generates .sandbox.sb
<obadz>
I use xss-lock + xscreensaver and that works for me
<gchristensen>
obadz: btw I'll be 'cross the pond in lane june
<gchristensen>
late*
<obadz>
gchristensen: got dates?
<gchristensen>
obadz: preliminary
<obadz>
gchristensen: i'll take what I can get
<gchristensen>
obadz: paris jun23-jun27, london jun28-jun30...maybe jun28-jul1
<obadz>
cool
<freusque>
is there an easy way to build haddock docs for a private haskell package?
* obadz
pings zimbatm
<gchristensen>
^ if anyone else wants to meet up while I'm on the continent, ping me and I'll try to work something out :)
<obadz>
sphalerite: I don't remember why I did it this way.. maybe because this will work without any xscreensaver setup? this was a couple of years ago.
<sphalerite>
ah ok
<fin-ger>
I'm currently trying to package nautilus-python and the install script is trying to install the extension to NAUTILUS_EXTENSION_DIR='/nix/store/...-nautilus-3.26.2/lib/nautilus/extensions-3.0'. But this fails as nautilus-python cannot write to the nautilus store. How can I solve this?
<obadz>
sphalerite: might also have to do with handling suspends/lid closes on laptop
mizu_no_oto has joined #nixos
<sphalerite>
fin-ger: by the looks of it, any existing packages either disable nautilus extensions (not an appropriate approach in your case I guess) or tell the build system to install to the package's output path
<sphalerite>
pkgs/desktops/gnome-3/apps/file-roller/default.nix pkgs/desktops/gnome-3/core/gnome-user-share/default.nix pkgs/desktops/gnome-3/core/totem/default.nix these all seem to do it, but all in different ways
<fin-ger>
sphalerite: Will nautilus be able to find the extension in a different location?
<sphalerite>
fin-ger: if you're using nixos, yes. The GNOME module adds an environment variable that points nautilus to a combined extensions directory nixos/modules/services/x11/desktop-managers/gnome3.nix
<fin-ger>
sphalerite: okay will try this. Thanks for your help!
<truthadjustr>
can we set a non-TTF terminus font in an xterm and how?
Fare has joined #nixos
Izorkin_ has joined #nixos
steell has joined #nixos
stepcut has joined #nixos
<{^_^}>
[nixpkgs] @fare opened pull request #41253 → Update to Gambit and Gerbil → https://git.io/vhsHq
Izorkin has quit [Ping timeout: 268 seconds]
<sphalerite>
truthadjustr: I have terminus_font installed in my profile and running `xterm -fa terminus` gives me an xterm using a raster terminus
fin-ger has quit [Quit: fin-ger]
<sphalerite>
truthadjustr: not sure how to do it if you have terminus_font_ttf available as well
<{^_^}>
[nixpkgs] @smaret opened pull request #41254 → cfitsio: add Darwin support → https://git.io/vhsHo
<sphalerite>
maybe -fa terminus:scalable=false will do it, not sure though
<sphalerite>
yes, that seems to work. You may also want to experiment with fc-match to see what it matches various font specifications to
<sphalerite>
oh wow, vector terminus is ugly. I can see why you want that :D
<{^_^}>
[nixpkgs] @Assassinkin opened pull request #41256 → invoice2data: init at 0.2.93 → https://git.io/vhs7J
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
Ahmedkh has joined #nixos
<Ahmedkh>
hi guys, I wonder when will emacs 26 update will reach stable channel =)
JasonGrossman has joined #nixos
JasonGrossman has quit [Client Quit]
coot has quit [Quit: coot]
asuryawanshi has joined #nixos
<LnL>
rprimus: are you still around in ~4h
iyzsong has joined #nixos
unkn has quit [Quit: lalaland]
Zgrokl has joined #nixos
<Zgrokl>
Hello is it possible to rebuild locally a package ? I tried nix-build -A package but doesn't seems to work
Yannick has joined #nixos
Yannick has left #nixos [#nixos]
UNIcodeX__ has quit [Quit: Leaving]
<NinjaTrappeur>
Zgrokl, can you paste both the build command as well as the output somewhere?
camsbury has joined #nixos
owickstrom has joined #nixos
<NinjaTrappeur>
Quick question: is there any way to "dump" (ie print in stdout in a text format) a set in a nix expression in order to see what's inside?
<NinjaTrappeur>
s/print in/print to
<Zgrokl>
NinjaTrappeur, ye but my problem is how can i download the .nix file ? Is there a command to automatic download a package and build it ?
<teto1>
NinjaTrappeur: dumpAttrs in nix-repl maybe
mizu_no__ has joined #nixos
newhoggy has quit [Remote host closed the connection]
Neo--- has joined #nixos
<NinjaTrappeur>
teto1, I am trying to debug a nixos-test script, I cannot load it in the repl :(
<NinjaTrappeur>
Zgrokl, What are you trying to do exactly?
<Zgrokl>
NinjaTrappeur, build a package, to be sure that there is no problem with the bin
<NinjaTrappeur>
Zgrokl: I assume you are trying to download a .nix package from a channel, am I correct?
<Myrl-saki>
Zgrokl: If you have the .drv file, then you can `nix-store -q --deriver /nix/store/path` `nix-store --delete /nix/store/path` `nix-build /nix/store/drv-file`
<Myrl-saki>
If you don't have the drv file, you can use nix-instantiate.
Czen has joined #nixos
Ahmedkh has quit [Ping timeout: 248 seconds]
<truthadjustr>
if one is to customize PS1, where is the good place to do this? Can it be done functionally?
<Zgrokl>
I don't even know what a drv file
bin7me has joined #nixos
<Zgrokl>
seems far too much complicated than i taught, I'm too much use to pacman
mizu_no__ has quit [Ping timeout: 248 seconds]
<truthadjustr>
i don't want to hijack ~/.bashrc or /etc/profile, etc... i need to customize PS1 the nix way
<{^_^}>
[nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/vhsNJ
<truthadjustr>
Myrl-saki: tanx, will give it a shot
<adamt>
Is anybody else having issues with gitlab (again..)? Gitaly complains about missing rake-12.1.0 not being able to run bin/ruby-cd, along with a heap of errors related to not being able to connect to sockets like "/tmp/gitaly-ruby572553913/socket.0" because they doesn't exist (yeah, it's a bit vague, but I still haven't learned to spot which errors are important with gitlab :P)
<truthadjustr>
Myrl-saki: unable to associate such setting under users.extraUsers section
alexteves has joined #nixos
<rprimus>
LnL: have verified that -D does work with sandbox-exec.
<cyris212>
Does someone have matterhorn (the mattermost cli client) up and running on nixos?
fin-ger has joined #nixos
<fin-ger>
The tilix package is missing a dependency for the nautilus extension. How do I add the missing dependency to the tilix package in my configuration?
<{^_^}>
[nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « stunnel: 5.45 -> 5.46 »: https://git.io/vhshx
<NinjaTrappeur>
Zgrokl, if the build succeded, you should have a result symlink pointing to your derivation realisation.
sw4n has joined #nixos
<lhart>
Zgrokl: I'm not an expert user but I think it's expected. It fetches a pre built binary because nix suppose that you get the same result with the same inputs. So if it's already built by hydra, why rebuilding it? Otherwise I don't know how to force local build.
hlolli_ has joined #nixos
<Zgrokl>
lhart, ye I don't want a prebuilt binary cause i have some weird error, so i want to be sure it's not with the build
coot has quit [Read error: Connection reset by peer]
hlolli has quit [Ping timeout: 260 seconds]
sbdchd has quit [Remote host closed the connection]
coot has joined #nixos
sbdchd has joined #nixos
drag_ has quit [Quit: Connection closed for inactivity]
<maurer>
I've started to get libX11-xcb.so.1: cannot open shared object file: No such file or directory when trying to run zotero
sbdchd has quit [Remote host closed the connection]
<maurer>
Any suggestions on a temp fix?
jperras has quit [Ping timeout: 268 seconds]
sbdchd has joined #nixos
<maurer>
It looks like it was doing something impure, because the transition between zotero working and zotero not working _did not_ involve a reinstallation or update of zotero
nixo202 has quit [Ping timeout: 240 seconds]
<lhart>
Zgrokl: In nix manual, you can find a chapter about nix.conf. The substitute option might help you. You can use it ad-hoc by adding --option substitute false to your command. The problem is that it will then rebuild everything... dependencies included. I suppose there is a better solution but my knowledge ends here. Someone else has an idea maybe?
ikitat has quit [Remote host closed the connection]
ikitat has joined #nixos
sbdchd has quit [Ping timeout: 276 seconds]
jperras has joined #nixos
<{^_^}>
[nixpkgs] @jyp opened pull request #41259 → Tf 1.7.1 bin → https://git.io/vhGvB
<fin-ger>
tilpner: I currently have tilix in my environment.systemPackages and want to add the missing dependency to this tilix installation
<maurer>
Hm, it seems I must have accidentally updated it without noticing at some point
<maurer>
libX11 went from contianing libX11-xcb.so to not between versions 1.6.4 and 1.6.5
<maurer>
any idea where it went?
<maurer>
err, ignore me. I'll be back later
<tilpner>
fin-ger - Just put (tilix.overrideAttrs ...) into your systemPackages list then
<fin-ger>
tilpner: Yeah I already looked into overlays but they seem quite complicated ^^ Portage overlays seem to be a bit easer xD
<fin-ger>
*easier
<rprimus>
LnL: He updated ticket - seems to be directory/permissions related. nixbld users don't have r/x permissions to /nix/store/* directories and executables
hyper_ch2 has quit [Quit: Page closed]
jperras has joined #nixos
fin-ger has quit [Quit: fin-ger]
<gchristensen>
/nix/store directories should be 555
<LnL>
oh!
<LnL>
how did that happen?
__monty__ has quit [Quit: leaving]
sbdchd has joined #nixos
fin-ger has joined #nixos
leat has quit [Ping timeout: 240 seconds]
<Ahmedkh>
LnL: sudo chmod 555 /nix/store . but is this safe ?!
<rprimus>
LnL: default umask
<rprimus>
I normally nave it set to: 0077
<rprimus>
After updating ticket, I realised.
<rprimus>
LnL: Nix no successfully installed.
bin7me has quit [Quit: quitting.]
<LnL>
yes, the store is world readable that's why you shouldn't put secrets in store paths
nixo202 has quit [Remote host closed the connection]
IITaudio__ has joined #nixos
<rprimus>
LnL: when umask was 0077, all directories created were 700 and all files 600 - until failure. Running nix-env -vvvvvv, showed that processes were being run as nixbld users, hence my thought about perms.
<rprimus>
All good now though!.
Sonarpulse has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhGTV
<LnL>
yeah, we've seen that before. thought it was fixed
nixo202 has joined #nixos
IITaudio__ has quit [Read error: Connection reset by peer]
LouisDeFunes294 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lhart>
Zgrokl: Just remembered you could also do nix-shell ./nixpkgs/ -A package --pure . You will end up in an environment with everything you need to build your package. then just call the different build phase (unpackPhase etc.)
selaux has quit [Remote host closed the connection]
<gchristensen>
Paweded: that seems awfully suspicious. does your question have to do with NixOS?
Paweded has quit [K-Lined]
xAFFE has left #nixos ["Error from remote client"]
<lhart>
No problem. I almost never use any of this so it took me time to remember haha. Anybody correct me if I'm wrong but I think we don't have any super easy way to force build locally because in Nix, as there should be no impurities, if you get an error it's never because of the build process but because of the inputs (nix expression)
<lhart>
?
<gchristensen>
lhart: you can force rebuild something with nix-build --check
Sonarpulse has joined #nixos
<lhart>
gchristensen: thanks, didn't know. So here is your answer zgrokl. ;)
Sonarpulse has quit [Remote host closed the connection]
Neo--- has quit [Remote host closed the connection]
TonyTheLion has joined #nixos
freusque has quit [Quit: WeeChat 2.0]
<chaker>
Hey, I'm having a kernel panic in GCE. I tried to go through the stage-1 script but I couldn't find where exactly the failure is happening. Does anyone have a hint for me? The log of the failure https://gist.github.com/Chakerbh/40c787899ff88e4564ad4c52c654cfe7
ixxie has joined #nixos
adamt has quit [Ping timeout: 245 seconds]
<johnw>
wow, the memory limitations of Nix 2 are becoming quite restrictive lately
logzet has quit [Remote host closed the connection]
<johnw>
first I couldn't nix-env -u --leq my environment, now I can't do it to a single myEnvFun
iyzsong has quit [Ping timeout: 240 seconds]
<tilpner>
Yeah, my 4GB laptop failed at downloading android-studio earlier, daemon OOM
<{^_^}>
[nix] @edolstra pushed 2 commits to 2.0-maintenance: https://git.io/vhGti
jensbin has joined #nixos
<fin-ger>
tilpner: I haven't managed to figure out which package needs the pygobject and urllib3 dependencies. Additionally libpython seems to be loaded from the wrong path. It tries from lib64 but the library is located in lib
<{^_^}>
[nix] @edolstra pushed 2 commits to 2.0-maintenance: https://git.io/vhGtQ
<tilpner>
fin-ger - I was referring to your tilix/overlay issue. I don't use Nautilus, so I don't think I'll be much help there. Does /nix/store/ql9052zdcpx0a74d5g85d2qrnjw0hxmz-python3-3.6.5/lib64/libpython3.6m.so.1.0 actually exist?
<fin-ger>
tilpner: No the lib64 folder does not exist, but a lib folder exist where the so is located
<fin-ger>
tilpner: The tilix/overlay issue is related to nautilus as tilix adds a 'Open in Tilix' menu item to nautilus which fails to load.
<fin-ger>
tilpner: I thought I had to add the urllib3 to the tilix package but this didn't help
<{^_^}>
[nix] @edolstra pushed to master « Fix static assertion failure on 32-bit systems »: https://git.io/vhGqt
<jensbin>
Hi, how is the proper process to get changes (fix) promoted from unstable to the stable branch?
<tilpner>
fin-ger - Hmm, remote debugging via IRC isn't much fun. Maybe gist your current expressions?
<tilpner>
jensbin - What do you mean by stable branch? The next release-* branch, or an existing one like release-18.03?
stepcut has quit [Remote host closed the connection]
matthewbauer has quit [Read error: Connection reset by peer]
<gchristensen>
^ refresh, I updated it.
jperras has quit [Quit: WeeChat 2.1]
matthewbauer has joined #nixos
Ahmedkh has quit [Ping timeout: 260 seconds]
jperras has joined #nixos
<tilpner>
fin-ger - Alright, was installing via buildEnv which didn't link all paths
Ahmedkh`` has joined #nixos
<tilpner>
fin-ger - I now have /run/current-system/sw/share/nautilus-python/extensions/folder-color.py and /run/current-system/sw/lib/nautilus/extensions-3.0/libnautilus-python.so
<tilpner>
(But still no Python errors)
Ahmedkh` has quit [Ping timeout: 240 seconds]
<fin-ger>
tilpner: hmm... can you change the color of a folder?
<tilpner>
fin-ger - I don't think so, there's no obvious entry in the context menu
<{^_^}>
[nixpkgs] @orivej pushed to master « flann: fix build with cmake 3.11 after #40800 »: https://git.io/vhGO5
smallville7123 has quit [Quit: rosa]
<fin-ger>
tilpner: hmm then it's not even trying to load the extension
<tilpner>
I agree, that's why I asked "how do I make nautilus try to load nautilus-python" earlier
<fin-ger>
tilpner: tilix also installs a python script to the nautilus extensions folder. Maybe this will be loaded
<tilpner>
This was supposed to be a quick "let me see if I can reproduce this locally", but it's already taken longer
<fin-ger>
tilpner: yeah its quite challenging to get things working on nixos xD
<tilpner>
Are you sure you didn't need to set another environment variable, or something, to get nautilus to load things?
liori has joined #nixos
<fin-ger>
tilpner: I didn't set anything, but maybe its done by the gnome desktop environment
Guest51752 has quit [Ping timeout: 276 seconds]
<tilpner>
fin-ger - FWIW, nautilus doesn't even try to read any file containing "python" (except for ~/.python_history)
liori has quit [Client Quit]
<tilpner>
So I don't think adding tilix would change anything
<tilpner>
Yes, possibly
liori has joined #nixos
<palo>
https://nixos.wiki/wiki/Tinc < I created this entry yesterday and corrected it a bit today. How to make this better findabel by search-engins (google for example) ? should I like it somewhere ? put categories on it ?
worldofpeace has joined #nixos
<fin-ger>
tilpner: try adding /run/current-system/sw/share/ to XDG_DATA_DIRS
sbdchd has quit [Remote host closed the connection]
<tilpner>
It's already in there
<fin-ger>
tilpner: hmm ok so can we check if libnautilus-python.so gets loaded?
<tilpner>
I checked, it doesn't
<fin-ger>
tilpner: Ok I will have a look in the nautilus source code to check how the extensions get loaded
aloiscochard has quit [Quit: Connection closed for inactivity]
<gchristensen>
> x = { repo, domain ? "gitlab.com" }: domain; x { repo = "foo"; }
<{^_^}>
error: syntax error, unexpected '{', expecting '.' or '=', at (string):36:49
<tilpner>
worldofpeace - Just add domain ? "gitlab.com"
<gchristensen>
oh well.
<tilpner>
Then use ${domain} instead of gitlab.com
<gchristensen>
I am allergic to calling {^_^}'s > properly
<tilpner>
Heh, I usually test things in a nix repl before :)
<worldofpeace>
Yay thanks nix wizards!
sbdchd has quit [Ping timeout: 240 seconds]
<jD91mZM2>
tilpner: Except this does work in nix repl :^)
<tilpner>
Only if you split it into multiple lines
stepcut has joined #nixos
<clever>
> let x = { repo, domain ? "gitlab.com" }: domain; in x { repo = "foo"; }
<{^_^}>
"gitlab.com"
Jetien has joined #nixos
ikitat has quit [Ping timeout: 255 seconds]
<fin-ger>
tilpner: found it: set NAUTILUS_EXTENSION_DIR to lib/nautilus/extensions-3.0/
<tilpner>
Yay, errors (and I was having so much fun installing Gnome...)
yenzenz has quit [Ping timeout: 256 seconds]
lonokhov has quit [Quit: WeeChat 2.0]
Cale has quit [Quit: Leaving]
stepcut has quit [Ping timeout: 256 seconds]
<Jetien>
How to set ssh-config-file for hydra? I already tried 1) ssh-config-file in as an input of the jobset 2) setting ssh-config-file in the global nix path on the hydra server via "nix.nixPath" - however the service logs for hydra-evaluator contain the trace message from fetchgit which indicates that <ssh-config-file> doesn't evaluate to anything in the environment of hydra-evaluator and the builders
<fin-ger>
tilpner: oh no you left your fancy i3 setup ^^
<tilpner>
fin-ger - I did not! (build-vm)
<fin-ger>
tilpner: phew....
<clever>
Jetien: you need an input on the jobset called ssh-config-file, then <ssh-config-file> will find that input
<{^_^}>
[nix] @shlevy opened pull request #2197 → Explicitly describe the effects of filterSource excluding a directory. → https://git.io/vhGGI
Sonarpulse has joined #nixos
<Jetien>
clever: I think that's exactly what I tried (see 1) of my last msg) - I used type "string" for that input.
<clever>
Jetien: its not a string though, its a path to a file
<Jetien>
clever: So, "local path"? k ...
<clever>
yeah
<fin-ger>
tilpner: ok so you can reproduce my error?
<tilpner>
fin-ger - Yes, I'm seeing "/lib64/libpython3.6m.so.1.0: cannot open shared object file" now too
<fin-ger>
tilpner: Cool. Is there a way to find out which package produces this error/
<tilpner>
Huh? Well, it says "(nautilus:30670): Nautilus-Python-WARNING"
periklis has joined #nixos
<fin-ger>
tilpner: yeah for me it looks like the nautilus-python package has the wrong libpython path
matthewbauer has quit [Remote host closed the connection]
<tilpner>
Yes, libnautilus-python.so includes that path
<tilpner>
Should be possible to patch or configure that correctly
<fin-ger>
tilpner: yeah, currently looking into the source of nautilus-python to see how the path is generated
<tilpner>
Doesn't look like there is. Then again, I'm glad I have little experience with autotools :/
leat has joined #nixos
<tilpner>
Use tx0.co/13 as your nautilus-python.nix, then fix the next error :)
Zgrokl has quit [Quit: Leaving]
<fin-ger>
tilpner: Okay, huge thank for your help ;)
fin-ger has quit [Quit: fin-ger]
Moredread has joined #nixos
kreisys has joined #nixos
fin-ger has joined #nixos
Ariakenom has quit [Ping timeout: 276 seconds]
spinus has quit [Ping timeout: 260 seconds]
<kreisys>
Might be a basic question but I couldn't figure it out... is there any way to print out a useful error message when an assertion fails?
<tilpner>
fin-ger - Your connection is bad, maybe put a ZNC next to your bunch of other servers?
<tilpner>
(Or maybe you're actually quitting)
<fin-ger>
tilpner: I was rebooting as nixos-rebuild switch is not working on gnome...
<tilpner>
fin-ger - The configureFlags part in my paste does not do anything, you can remove it
<fin-ger>
tilpner: Okay cool, thank you
<tilpner>
What?
<tilpner>
How does it not work in gnome?
<fin-ger>
tilpner: gdm or something is crashing
<tilpner>
:/
<fin-ger>
tilpner: have to fix that too '^^
<clever>
fin-ger: if your planning to reboot, you can also do `nixos-rebuild boot`
<tilpner>
sddm is working well here
<tilpner>
kreisys - Module assertions have the form { assertion = ...; message = ...; }, where you can put any string you like
<kreisys>
tilpner: yeah I know about that but what about the assert builtin?
<kreisys>
It just croaks 'assertion failed'
<clever>
kreisys: the assert builtin has to deal with lazyness, you need to get it into the codepath, or nix will just silently skip over it
<fin-ger>
tilpner: and rebooting again -.-
fin-ger has quit [Quit: fin-ger]
smallville7123 has joined #nixos
<clever>
kreisys: but there is also a module level assertion, which basically acts as a nixos option any module can set, and it gets merged between all modules
<clever>
kreisys: and then the core of nixos, will throw an error if any module have set that special "optino"
<tilpner>
kreisys - I don't think so, but you could maybe workaround that with trace
<tilpner>
jethroksy - Try rclone, it worked okay with pcloud
<fin-ger>
tilpner: Hmm okay, I can't figure out where I have to add the pygobject and urllib3 dependencies so that nautilus finds them when loading extensions. I will figure this out tomorrow ;)
<tilpner>
(And is packaged)
rot13_ has left #nixos ["WeeChat 2.2-dev"]
<jethroksy>
tilpner: thanks, will check rclone out!
<kreisys>
nvm. got the solution from lib/modules.nix. it's just a simple 'if expr then ... else throw "error message"'
<tilpner>
fin-ger - Hmm, it might be a good idea to alter nautilus-python to specify a path to python, instead of relying on it being in some global location
<kreisys>
feeling stupid now ☺️
lhart has quit [Quit: lhart]
<tilpner>
fin-ger - That way, you could pass a python.withPackages (...) to it, and it should find your packages just fine
<fin-ger>
tilpner: you mean the libpython or the python extensions?
<fin-ger>
tilpner: yeah but I just put urllib3 into the buildInputs of the nautilus-python package but urllib was still not available for the extension
<tilpner>
fin-ger - You could try wrapping nautilus. The wrapper would set PYTHONHOME and PYTHONNOUSERSITE like the python.withPackages wrappers do
<gchristensen>
huh
<fin-ger>
tilpner: I haven't looked into wrapping yet and don't know what it does ^^
<tilpner>
fin-ger - It tells python where to look for libraries (I assume this also applies to libpython)
* tilpner
tries things
<fin-ger>
tilpner: I tried adding this: https://dpaste.de/tFOZ to my systemPackages but it didn't work
<tilpner>
jethroksy - It's experimental, but rclone mount seemed to work well
sbdchd has quit [Remote host closed the connection]
<tilpner>
(Which... yeah, isn't exactly sync)
sbdchd has joined #nixos
<tilpner>
But, it can act similar if wrapped around a cache remote
<tilpner>
fin-ger - I manually tested my earlier suggestion, of wrapping nautilus
halfbit has joined #nixos
<fin-ger>
tilpner: hmm okay, how does it look like?
smallville7123 has quit [Quit: rosa]
<tilpner>
Still haven't figured out how to do it in Nix
<fin-ger>
tilpner: ah okay ^^
<tilpner>
Give me a minute
<fin-ger>
tilpner: yeah currently reading into wrapping xD
<tilpner>
Oh don't worry, it won't be pretty :/
<jethroksy>
tiplner: awesome, i'll give it a go!
<jethroksy>
tilpner* oops
jethroksy has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<Jetien>
I have another hydra question: If I like deploy a jobset via nixops, i'd have to provide the nix expressions of the jobset via the channel, correct? The default channels that hydra creates for me provide just store paths. I can use them for nix-env, but for nixos/nixpkgs I need expressions, correct? If I like to use hydra i could to create something akin to https://d3g5gsiof5omrk.cloudfront.net/nixos/18.03/nixos-18.03.132536.fdb5ba4cdf9 which provides a
<Jetien>
nixexprs.tar.xz, correct?
<{^_^}>
[nixpkgs] @rbvermaa pushed to release-18.03 « Update GCE image for 18.03 »: https://git.io/vhGlw
<fin-ger>
tilpner: Okay I have to leave now, will be back in ~1h
<{^_^}>
[nixpkgs] @rbvermaa pushed to master « Update GCE image for 18.03 »: https://git.io/vhGlK
<tilpner>
Okay
<fin-ger>
tilpner: Thank you for trying to fix my problems ^^
<tilpner>
:)
fin-ger has quit [Quit: fin-ger]
norfumpit has quit [Read error: Connection reset by peer]
<samueldr>
hah! that was exactly what I was searching thanks gchristensen
<gchristensen>
*maybe ea bit out of date
<samueldr>
the bit about darwin, is it still relevant?
<jensbin>
gchristensen, samueldr, symphorien: thanks a lot. this helps.
<johnw>
how do I refer to Haskell profiling packages these days? I tried simply adding --enable-profiling when calling cabal configure in my nix-shell, but it's complaining that it can't find the _p variant of a dependency library
<Unode>
hi everyone. What's the current state for firewall management in nixos? any alternatives to using raw iptables instructions?
<Leira>
new to nix, trying to switch from brew to nix on MacOS. I just successfully installed nix as single-mode, trying to install some packages. I searched hyper, with "nix-env -qs hyper", it told me "error: selector 'hyper' matches no derivations". I found a file ~/.nix-defexpr/channels/nixpkgs/pkgs/applications/misc/hyper/default.nix, in it, platforms has only x86_64-linux, I suppose that was the reason search hyper cannot find anything.
<Leira>
There is file ~/.nix-defexpr/channels/nixpkgs/pkgs/applications/editors/vscode/default.nix, and I saw 'x86_64-darwin' is in the platforms, but I try to search nix-env-qa vscode, it still gave me nothing. I don't understand why~
<maurer>
If you intend to use unfree packages regularly (you probably do), using the ~/.config/nixpkgs/config.nix solution will avoid trouble when you forget the environment variable later.
<leotaku>
Is the darcs build failing for anyone else on latest nixpkgs unstable? In my case it seems to depend on a wrong version of GraphViz that fails building.
<{^_^}>
[nixpkgs] @alexfmpe opened pull request #41286 → Remove extra quote → https://git.io/vhGyY
<gchristensen>
can passwd contain arguments for the shell?
<LnL>
I doubt it, but possibly
<gchristensen>
bummer, I was hoping I could use busybox's sh, but it doesn't load any profile files without `-l`
<tilpner>
Can you just set a wrapper as the shell?
<gchristensen>
you bet I could! :D
<tilpner>
But you don't want to?
<gchristensen>
nope, I'm on it. brilliant!
<tilpner>
Oh, okay
markus1199 has quit [Ping timeout: 245 seconds]
<LnL>
where did the green checkmarks go :(
<tilpner>
May have to put it into environment.shells too
<leotaku>
Should there be any additional setup involved in running "nix-generate-from-cpan"? The command errors for me complaining about missing modules.
<leotaku>
What could I have missed?
Jetien_ has joined #nixos
xy2_ has quit [Ping timeout: 256 seconds]
markus1189 has quit [Ping timeout: 256 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
spear2 has quit [Remote host closed the connection]
jlund has joined #nixos
<leotaku>
Anyone?
szicari has quit [Quit: szicari]
<jlund>
Hi all, does someone have a link to docs that shows how to use multi-user mode?
<jlund>
https://nixos.org/nix/install defaults to multi-user for macOS and systemd based distros now but nix-pills and manual don't really assume that.
<jlund>
on my fresh macOS system, /Users/$USER/.nix-profile is a link to /nix/var/nix/profiles/per-user/$USER/profile but that dir doesn't exist.
<gchristensen>
that is okay jlund
<gchristensen>
it'll be created when you nix-env -iA something
<{^_^}>
[nixpkgs] @7c6f434c pushed to master « lispPackages: drop pgloader that leads to a circular depedency »: https://git.io/vhG5L
<MichaelRaskin>
OK, sorry again, should be better now…
jbgi has joined #nixos
<jlund>
gchristensen: ah okay. As $USER (not root), I don't have nix-* packages in my PATH. Should I add /nix/var/nix/profiles/default/bin in my PATH manually after install?
<jlund>
I wasn't sure if I should have my own nix-* packages in /nix/var/nix/profiles/per-user/$USER/profile/bin
<{^_^}>
[nixpkgs] @xeji pushed commit from @dywedir to master « git-lfs: 2.3.4 -> 2.4.2 (#41249) »: https://git.io/vhG5y
Drakonis has quit [Read error: Connection reset by peer]
<gchristensen>
jlund: it should be in your PATH already. did you close and open your terminal after installation?
tzemanovic has quit []
<jlund>
My user (of which I ran install script with) doesn't have anything appended to in PATH. Perhaps I have something in my dotfiles that is overriding what installation does
<jlund>
where is the logic that modifies the non root .bashrc or .zshrc?
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<gchristensen>
jlund: your /etc/bashrc and /etc/zshrc should have a few lines at the end
<gchristensen>
jlund: did you close and open your terminal after installation? sorry to repeat, but that is important
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « povray: 3.7.0.7 -> 3.7.0.8 (#41269) »: https://git.io/vhGNL
sbdchd has joined #nixos
karlguy has joined #nixos
dbe has joined #nixos
<gchristensen>
jlund: I have an idea ...
sbdchd has quit [Ping timeout: 256 seconds]
<gchristensen>
jlund: open a new terminal, run: zsh -x 2> startlog , type `exit` and press enter, then share the ./startlog file in a pastebin
<dgonyeo>
I've got nix installed on Fedora and have urxvt (rxvt-unicode-with-perl-with-unicode3-with-plugins) installed via nix. When I start it up I get `urxvt: default locale unavailable, check LC_* and LANG variables`, and an strace tells me it's hunting in `/nix/store/...-glibc-2.27/lib/locale` which doesn't exist, and it then later checks `/usr/lib/locale` which does. Any chance someone else here has fought their way through this before?
<dgonyeo>
`localectl` gives me `LANG=en_US.UTF-8`
mconstant has joined #nixos
stepcut has joined #nixos
erasmas has quit [Quit: leaving]
<jlund>
gchristensen: I think that highlights the issue. I can see I modify PATH later on after nix-daemon.sh executes. I need to add :$PATH and extend rather than completely overwrite. Bad me.
<jlund>
thanks!
<gchristensen>
great! glad to help, and I'm glad the Nix installer didn't do the wrong thing :)
<samueldr>
the merge behaviour is the one defined for that type
<samueldr>
and I do not know what happens without a type
<LnL>
you can't define options without a type
jtojnar has quit [Remote host closed the connection]
Leira has quit [Ping timeout: 260 seconds]
<imalison>
LnL: what about the example i posted? is the type inferred from the default?
<samueldr>
LnL: what is the type of `session` that imalison linked?
Jetien_ has quit [Ping timeout: 256 seconds]
sanscoeu_ has joined #nixos
<LnL>
ah, that's because of the apply function
<imalison>
so what will happen in this case?
<LnL>
apply is the merge function
<imalison>
LnL: Sorry for the dumb question, but then I'm confused. The value is supposed to be a list, but it seems to be doing an update as though the expectation is a set?
<imalison>
LnL: will this have listOf like behavior or will setting it overwrite the previous value
<LnL>
it maps the apply over the list
<LnL>
err
sanscoeur has quit [Ping timeout: 248 seconds]
<LnL>
maps the set update I mean
newhoggy has joined #nixos
sanscoeu_ has quit [Ping timeout: 256 seconds]
<imalison>
LnL: okay so If I set a value in my configuration won't it clobber existing values?
<LnL>
yeah
<LnL>
if you want to override a list you need to use a value with a higher priority
sigmundv_ has joined #nixos
Guest21883 has quit [Ping timeout: 268 seconds]
<LnL>
merge [ (mkDefault [ "foo" ]) [ "bar" ] ] would result in [ "bar" ]
<LnL>
while merge [ [ "foo" ] [ "bar" ] ] would results in [ "foo" "bar" ]
<imalison>
LnL: okay cool thats good to know, but I actually WANT the merge behavior
dottedmag has quit [Quit: QUIT]
<imalison>
it seems like you are saying that that WILL be what happens
dbmikus has quit [Quit: WeeChat 2.1]
<LnL>
yeah, in general you do for lists or sets so that's the default
<LnL>
types like bool that can't be merged will complain if you define multiple values with the same piority
seanparsons has quit [Ping timeout: 260 seconds]
<imalison>
I see. Where is this documented?
<imalison>
are there arbitrary priorities? Does every value have a priority?
<imalison>
I've been searching for anything about priority and nix and I can't find much
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
seanparsons has joined #nixos
<imalison>
LnL: nvm found something in the manual
i0-dfn has joined #nixos
<imalison>
LnL: I will say that the word 'merge' doesn't appear once in the manual though, which surprises me because nix's merge by default behavior does seema little surprising
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « khal: 0.9.8 -> 0.9.9 (#41267) »: https://git.io/vhGju
<LnL>
it's a transformation that happens after the merge
<clever>
ah
Cale has joined #nixos
<clever>
i could see apply being used to turn something like a systemPackages list into a buildEnv
<LnL>
confusingly this can change the type of the value when referenced :p
<clever>
which would let you merge system.build.path with environment.systemPackages
pxc2 has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #41265 → fetchFromGitlab: domain can be specified → https://git.io/vhGco
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhGjh
chessai has quit [Remote host closed the connection]
spear2 has joined #nixos
Cale has quit [Ping timeout: 240 seconds]
smallville7123 has joined #nixos
<spear2>
does anyone have an example of what using the rust overlay to get a specific nightly by date would look like?
Cale has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
Ross has quit [Ping timeout: 248 seconds]
Ross has joined #nixos
toby1851 has quit [Ping timeout: 256 seconds]
<joepie91>
spear2: yeah, one sec
pxc2 has joined #nixos
toby1851 has joined #nixos
<pxc2>
Dezgeg: how come installing the nix-fpm-multiuser RPM is disabled for SELinux systems? I thought Nix's/Nixpkgs' SELinux issues were resolved. Are there extra problems for the RPM itself?