<tenten8401>
Is anyone else having an issue with launching Spectacle in KDE with the printscr button?
<tenten8401>
Seems all the keyboard shortcuts work but that one
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
andreabedini has joined #nixos
tenten8401 has quit [Quit: Konversation terminated!]
bennofs has quit [Ping timeout: 245 seconds]
cryptobilly[m] has joined #nixos
tenten8401 has joined #nixos
<tenten8401>
Rebooted my computer, still nothing on the Spectacle issue.
<tenten8401>
Seems to work just fine on non-NixOS based distros
hhes has joined #nixos
Guest27335 has quit [Ping timeout: 264 seconds]
<tenten8401>
I have no clue what to even try at this point, if anyone has any suggestions it'd be appreciated
jperras has joined #nixos
dbmikus has quit [Ping timeout: 260 seconds]
<fresheyeball>
ok
<fresheyeball>
so I got this mostly figured out
<fresheyeball>
but I need to make a pid file for my systemd service
<fresheyeball>
I tried a few things, but it keeps making an empty file
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fbjBm
nD5Xjz has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @grahamc opened pull request #43094 → quagga module: Use a deep merge via imports instead of the shallow merge → https://git.io/fbjB3
<{^_^}>
[nixpkgs] @matthewbauer pushed 3 commits to staging: https://git.io/fbjBg
hiroshi- is now known as hiroshi
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
<teto1>
on master, I would like to add kernel config options similar to `{ KERNEL_OPTION = whenAtLeast "4.2" no; }` How would you keep the condition ("whenAtLeast") while switching the value to yes (programmatically) ? so that it ends up being `{ KERNEL_OPTION = whenAtLeast "4.2" yes };` ?
andreabedini has joined #nixos
stepcut has joined #nixos
Guanin has quit [Remote host closed the connection]
Guanin has joined #nixos
<Myrl-saki>
Is there an option similar to ~environment.variables~ that will also get applied on all systemd units?
dbmikus has quit [Ping timeout: 255 seconds]
dbmikus has joined #nixos
nD5Xjz has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbdchd has quit [Remote host closed the connection]
freeman42x]NixOS has quit [Remote host closed the connection]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
drakonis_ has quit [Remote host closed the connection]
<rotaerk>
hmm. version A of my project nix-builds fine, and cabal builds within nix-shell fine, and the results of both builds run fine
<rotaerk>
version B of my project is version A but with a newer version of nixpkgs referenced. in version B, it nix-builds, and the result runs fine, but when I cabal build within nix-shell, the result doesn't run fine
hiroshi- has joined #nixos
<rotaerk>
from the perspective of the two nix-shell contexts, would the only differences be ... 1) the environment, and 2) the stdenv setup.sh?
<rotaerk>
just trying to figure out a strategy for diagnosing the issue with version B
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi- is now known as hiroshi
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @dtzWill opened pull request #43095 → libndctl: fix build w/musl using patch from upstream → https://git.io/fbj0G
<rotaerk>
cabal is the same version in both cases, but the resulting binary for version B is wrong
<rotaerk>
trying to identify what all could affect that
dbmikus has quit [Ping timeout: 265 seconds]
stepcut has quit [Remote host closed the connection]
<brodavi>
Hi good people of #nixos! I have had the nixos/nixpkgs unstable channels for a while now, but since 18.03 was just released, I was considering moving off unstable. Will it be as straightforward as removing my unstable channels, and adding 18.03? Any gotchas I should be aware of? Thanks! :)
<{^_^}>
[nixpkgs] @dtzWill merged pull request #43095 → libndctl: fix build w/musl using patch from upstream → https://git.io/fbj0G
<brodavi>
ryantm: I don't think I have, no. Yes, I love the peace of mind of rollback :)
<ryantm>
brodavi: If you haven't rebuilt it, I would look at the 18.03 changelog in the NixOS manual to see if there are any surprises for you.
<brodavi>
ryantm: thanks I'll take a look at the release notes.... if I have rebuilt since 18.03 does that complicate things?
<ryantm>
brodavi: You might notice some package version downgrades because 18.03 is not as up to date as unstable. I don't think there's any particular complication though.
Mr_Keyser_Soze has joined #nixos
worldofpeace has quit [Ping timeout: 256 seconds]
<brodavi>
ryantm: thanks for the info! I'll give it a shot :)
leothrix has quit [Remote host closed the connection]
leothrix has joined #nixos
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #43097 → pipewire (nixos): add socket activation support → https://git.io/fbjEK
<rotaerk>
blargh, stumped by this
endformationage has joined #nixos
brodavi has quit [Ping timeout: 252 seconds]
<ryantm>
rotaerk: Do version A and version B run in the same user environment? Do they have any non-version-controlled files in their directories? What version of Cabal is used in each shell?
<ryantm>
rotaerk: Also, in version B does cabal build compile but then have a runtime problem?
graphene has quit [Remote host closed the connection]
<rotaerk>
same user environment. whether or not the build output works is a function of which version's nix-shell it was cabal-built in, independent of which shell I *run* it from
graphene has joined #nixos
<rotaerk>
no differences in non-version-controlled files. the version of cabal is the same in both nix-shells, at least the reported version number is.
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
<rotaerk>
and it builds fine in both nix shells. it's a runtime problem
<rotaerk>
particularly: dist/build/vulkanTest/vulkanTest: symbol lookup error: /nix/store/11asls7i6l1qz9cm08is75xhgdc1b212-libGL-1.0.0/lib/libGL.so.1: undefined symbol: __GLXGL_CORE_FUNCTIONS
<rotaerk>
if I use strace, I find that in both nix-build builds, as well as the version A nix-shell-cabal build, it's actually using the libGL.so.1 from /run/opengl-driver/lib
palo has quit [Ping timeout: 240 seconds]
blonkhart has quit [Quit: WeeChat 1.9.1]
<rotaerk>
but with just the version B nix-shell-cabal build, when it's run, it doesn't even search that path... it ends up searching some nix-store paths, and lands on the one in /nix/store/11asls7i6l1qz9cm08is75xhgdc1b212-libGL-1.0.0/lib
<rotaerk>
and I have no idea how to start figuring out why that is
<rotaerk>
not even sure which specific library is trying to open libGL.so.1
<rotaerk>
so yeah ... that's my dilemma, ryantm
<rotaerk>
I could try temporarily eliminating some dependencies to try to narrow down which one is pulling in libGL
endformationage has quit [Ping timeout: 256 seconds]
Guanin has quit [Ping timeout: 240 seconds]
mariatsji has quit [Remote host closed the connection]
unshackled has joined #nixos
sbdchd has joined #nixos
Guanin has joined #nixos
Lisanna has joined #nixos
sbdchd has quit [Ping timeout: 265 seconds]
<rotaerk>
ryantm, actually, someone gave me another idea: LD_DEBUG
<rotaerk>
and LD_DEBUG=libs actually gave me some information I didn't have before, which may be a good clue
<rotaerk>
before my nixpkgs upgrade, it's looking for libGL.so.1 in the paths specified by LD_LIBRARY_PATH ... which includes /run/opengl-driver/lib (containing the correct version)
<rotaerk>
after my upgrade, it looks for it in the paths specified by the RPATH linked into my program
<rotaerk>
so now the question is, what change caused that RPATH to get set... should it be undone, or should something else change to work *with* it
<dtz>
\o/ LD_DEBUG
<dtz>
weeeeee shared libraries on linux
<rotaerk>
lol
<dtz>
not that they're better elsewhere, necessarily, but I can say with some confidence and experience that zomgwtfbbq everything about them on linux :D
<dtz>
but I don't mean to make light of the actual problem you'r experiencing
<rotaerk>
I'm just glad I finally have a hint, a direction
<rotaerk>
I didn't know LD_DEBUG existed, and had never heard of RPATHs
<dtz>
I feel like I'mu usually the guy who suggests LD_DEBUG and then rambles about rpath, runpath, dlopen, and trash fire algebras
<dtz>
lol
<dtz>
unfortunately, offhand I don't know of changes "recently" that'd cause the behavior you describe
<rotaerk>
the weirdest thing is that if I build the *upgraded nixpkgs version of it* with nix-build, it's searching LD_LIBRARY_PATH
<rotaerk>
it's only when I cabal build it from within the upgraded nix-shell ...
<dtz>
well uhh at some point I taught libepoxy how to load things ... but think that made it into 18.03 so if you're having problems post-that I might be off the hook O:)
<rotaerk>
lol
<dtz>
(no promises, long night, but is your issue/problem written up somewhere?)
<rotaerk>
not yet; and I'll probably go to bed soon
<rotaerk>
thanks though
<rotaerk>
I might ping you later, if you're still interested :P
* dtz
sees that "page up" magically summons various descriptions and adventures regarding the problem
<rotaerk>
haha
<rotaerk>
yes, that's me verbally flailing around
<dtz>
when it comes to these sorts of things I think everyone that's an "expert" learned by flailing around
<dtz>
QWOP leading the QWOP
<rotaerk>
haha
reinzelmann has quit [Ping timeout: 240 seconds]
<dtz>
anyway 'night sir, hope tomorrow it makes more sense or maybe someone pushed a commit saving you the trouble of debugging your way to some part of Linux software ecosystem that scars all who stumble upon it
<dtz>
if that leaves you in a bad place I recommend "Linkers and Loaders"-- nice historical view and in a way kinda inspiring. Things weren't always terribad, and there were many good people with good ideas and intentions that came before....
<adisbladis[m]>
Is there a way except for using the `plugin-files` setting to make nix load plugins?
<dtz>
apologies if it was obvious, but be sure to check/appreciate the author of that "dso howto" and their role in things... ^_^
<dtz>
adisbladis: what do you mean? like a command line option?
<adisbladis[m]>
dtz: I want to do it from an expression
<dtz>
hmm I don't think that's possible, but perhaps others have more useful answers
<adisbladis[m]>
Yeah I don't think so either
<dtz>
sounds like something that'd need recursive Nix--at least to avoid confusion re:evaluating an expression that wants to load a plugin that... does it change the expression already evaluated? etc. but maybe that's no big deal
<adisbladis[m]>
That makes plugins only marginally useful imho
hamishmack has joined #nixos
adisbladis has joined #nixos
<dtz>
just convince Nix devs to merge your plugin into master and then "enabling the plugin" becomes "don't disable the plugin that's already compiled-in" :P
<adisbladis>
dtz: :P
<dtz>
adisbladis: yeah I'm not sure why they're useful, vs just compiling in your extensions, but dunno
mariatsji has joined #nixos
<adisbladis>
dtz: Less rebuilding I suppose
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
reinzelmann has joined #nixos
<dtz>
:D
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
brodavi has joined #nixos
igo95862 has quit [Quit: igo95862]
<brodavi>
ryantm: thanks! everything worked out just fine :)
<brodavi>
I <3 nixos
<dtz>
\o/
johnw has joined #nixos
brodavi has quit [Client Quit]
<rotaerk>
hmm dtz, is there a way to check whether DT_RPATH is used versus DT_RUNPATH
<rotaerk>
I notice that RPATH is higher priority LD_LIBRARY_PATH, but RUNPATH is lower
tzemanovic has quit [Remote host closed the connection]
srl295 has quit [Quit: Connection closed for inactivity]
xy2_ has joined #nixos
tzemanovic has joined #nixos
shreyansh_k has joined #nixos
hyper_ch2 has joined #nixos
wgas has quit [Quit: Leaving]
wgas has joined #nixos
<shreyansh_k>
Hi guys, I'm evaluating NixOS for myself. How can I search packages available in NixOS?
<shreyansh_k>
I don't have it installed as of now. I want to ensure before installing that my essential packages are available in Nix easily.
<shreyansh_k>
PS: nevermind, I found it.
<rotaerk>
never mind; readelf -d tells me that information. the working builds all have RUNPATH set, while the broken one has RPATH set. so somewhere along the line, --enable-new-dtags stopped being used somehow
Tucky has joined #nixos
<rotaerk>
ugh, so late; this time I mean it, I think
<teto1>
I've just run a nixos-rebuild and this is the first time I see this error : error: creating symlink from '/nix/var/nix/profiles/system-190-link.tmp-31888-517598275' to '/nix/store/0pnw8nvxsdamd88nqh0knbrsxflh25c3-nixos-system-jedha-18.09.git.abdbf4dc582M': Permission denied
graphene has quit [Remote host closed the connection]
<{^_^}>
#6118 (by jdemeyer, open): bpo-25750: fix refcounts in type_getattro()
wgas has left #nixos [#nixos]
owickstrom has quit [Ping timeout: 240 seconds]
<waynr>
is there a better way to pull in an upstream patch than to point to a commit in a github PR? that seems inherently unstable to me
woffs has quit [Quit: Gateway shutdown]
woffs has joined #nixos
<niksnut>
if it's a small patch, just copy it into nixpkgs
<niksnut>
but yeah, nixpkgs should never reference pull requests
<waynr>
it's a +13/-6 patch, so pulling it in to nixpkgs should be fine. although i guess one good thing about using a github PR commit is that eventually there would always be a forcing function that makes someone go back and update the unpatched source to point to a newer, immutable, commit in the target branch
rotaerk has joined #nixos
<waynr>
oh wait, this PR is targeting master branch whichis probably not a 2.7.x release branch
<waynr>
but it's also marked as needing to be backported
<gchristensen>
ckauhaus: #nixos-dev is intended to be lower volume
<srhb>
ckauhaus: nixos-dev is intended to be relatively low-traffic and centered around major changes, not "basic dev" -- which goes here.
<srhb>
meh, too slow...
<ckauhaus>
ic
rotaerk has joined #nixos
<gchristensen>
but I still wonder about disabling PR notifications overall
<gchristensen>
or at least the "push" notification for each PR
<ckauhaus>
that would make sense
<srhb>
I think the push notifications could probably stand to be disabled, but I do like that there's a bit of dev going on in the "main" channel because it also reflects the easy-to-contribute nature of the Nix ecosystem, and pushes people to try their hand at it.
<{^_^}>
[nixpkgs] @vcunat merged pull request #43021 → nix: use boehmgc with enableLargeConfig = true → https://git.io/fbxjJ
<gchristensen>
srhb: nice, yeah!
<srhb>
Something quite unique to us, I think.
sbdchd has quit [Remote host closed the connection]
<clever>
sagnik: lately, ive only gotten it to work by running windows 10 inside virtualbox, lol
<gchristensen>
doesn't teamviewer deploy with Nix? :thinking:
<clever>
gchristensen: they also delete the old binaries, disable them from connecting to the servers, and make changes that break the nix package with every update
<manveru>
sagnik: i'd recommend zoom-us if you have the option...
<clever>
gchristensen: the last time i tried to use it on nixos, the buttons just had a 0x0 size
<gchristensen>
well they might use nixos and still be rude packagers :P
abcrawf has quit [Remote host closed the connection]
abcrawf has joined #nixos
viric has quit [Read error: Connection reset by peer]
<LnL>
if something is broken on master it finds the last known good revision form hydra an starts a bisect with nix-build
<sagnik>
Oh
<sagnik>
What do you use btw?
<gchristensen>
just i3
<kitemikaze_>
clever: Thanks, I know about the readFromJSON. but i'm more looking for somethings to transform kubernetes yaml files and use it, as it is describe in the kubernetes.addons options: http://bit.ly/2u9hora
<sagnik>
Oh fun
<sagnik>
How is just i3? :|
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<gchristensen>
very simple :)
<sagnik>
Oh :P
tusj has joined #nixos
mariatsji has quit [Ping timeout: 268 seconds]
patrl1 has joined #nixos
jluttine has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
patrl has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @Profpatsch merged pull request #42781 → dockerTools.buildImage: add option to use nix output hash as tag → https://git.io/f4Nhg
<{^_^}>
[nixpkgs] @Profpatsch pushed commit from @lo1tuma to master « dockerTools.buildImage: add option to use nix output hash as tag »: https://git.io/fNefs
<{^_^}>
[nixpkgs] @talyz opened pull request #43115 → linux: Temporary fix for issue #42755 → https://git.io/fNefV
<countoren>
hi everybody, im trying to build environment build out of others environments(the core derivation) this is my config.nix:https://github.com/countoren/nixpkgs/blob/master/config.nix and im getting: packages ....core/...ovim and .../ovim have the same priority 5
<countoren>
well i think i got it, it is just that I've installed ovim nix-env -i and it is already in my profile that is why the conflict happens :)
mmercier has quit [Remote host closed the connection]
mmercier_ has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
ajs124 has joined #nixos
dan_ has joined #nixos
dan_ is now known as telent
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
tenten8401 has joined #nixos
Ariakenom has joined #nixos
<{^_^}>
[nixpkgs] @vcunat pushed to master « nixos.tests.containers-imperative: increase VM memory »: https://git.io/fNekr
pie__ has joined #nixos
crmlt has joined #nixos
countoren has quit [Ping timeout: 252 seconds]
Xiro` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
lnikkila has quit [Ping timeout: 264 seconds]
Mateon3 has joined #nixos
griff_ has quit [Ping timeout: 248 seconds]
<tenten8401>
Does AnyDesk not display as an app menu icon for anyone else? I think it might be missing a .desktop file
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
<sagnik>
It is, actually
pie__ has quit [Ping timeout: 240 seconds]
Guest99010 has quit [Changing host]
Guest99010 has joined #nixos
Guest99010 is now known as adamt
camsbury has joined #nixos
<adamt>
Have anybody ever managed to brick vmware guests by loading iPXE? If iPXE is the first thing the host loads, my guests never get further than the vmware-splash screen after the first boot. Even the build-in EFI shell is dead. (clever, perhaps, ye ol' PXE wizard?)
<clever>
rrnewton: nix-env ignores $NIX_PATH by default
<rrnewton>
For checked in .nix files I would usually point to a tarball to "lock" the SW dependencies, but for the CLI it seems I'm not remembering how to override nixpkgs properly.
rardiol1 has quit [Remote host closed the connection]
jtojnar has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer pushed to master « dunst: fix building without dunstify »: https://git.io/fNe3d
<{^_^}>
[nixpkgs] @dotlambda opened pull request #43120 → maintainers/scripts/update-python-libraries: compare versions semantically instead of lexicographically → https://git.io/fNe3p
periklis` has quit [Ping timeout: 245 seconds]
kamil- has joined #nixos
jtojnar has quit [Quit: jtojnar]
drakonis has joined #nixos
jtojnar has joined #nixos
chessai has joined #nixos
<disasm>
I'm exporting LOCALE_ARCHIVE, LC_ALL, and LANG in a script hydra runs (same behavior with nix-shell --pure running the script) an I get warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8): No such file or directory
tadni has joined #nixos
<LnL>
does the build environment include glibcLocales?
tadni_ has joined #nixos
pie__ has joined #nixos
tadni has quit [Read error: Connection reset by peer]
tadni_ has quit [Read error: Connection reset by peer]
<{^_^}>
Found in packages: busybox, systemd, sysvinit, molly-guard
* infinisil
has no idea
endformationage has joined #nixos
<ekleog>
Hey! Anyone familiar with ca-certificates? I'm getting issues with a certificate apparently not in /etc/ssl/certs but used in openssl s_client -connect
endformationage has quit [Client Quit]
<ekleog>
Case in mind: `openssl s_client -connect cyberjapandata.gsi.go.jp:443 -servername cyberjapandata.gsi.go.jp` (passes) vs. same command with `SSL_CERT_FILE=/etc/ssl/certs` prepended (fails)
hakujin has quit [Remote host closed the connection]
lopsided98 has quit [Ping timeout: 260 seconds]
hakujin has joined #nixos
<Dezgeg>
runleves is a sysv-init thing and nixos uses systemd, so probably yes
<ajs124>
ekleog, shouldn't it be SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt ?
bgamari has joined #nixos
ThatDocsLady has quit [Ping timeout: 256 seconds]
<ekleog>
oh. indeed.
<ekleog>
Thanks! So my problem appears to be that java somehow doesn't use /etc/ssl/certs/ca-certificates.crt…
{^_^} has quit [Remote host closed the connection]
<ekleog>
even even when passed -Djavax.net.ssl.trustStore=/etc/ssl/certs
<disasm>
you could do something like this: for file in *.pem; do openssl x509 -outform der -in "$file" -out /tmp/certificate.der; keytool -import -alias "$file" -keystore ./java/cacerts -file /tmp/certificate.der -deststorepass changeit -noprompt; done;
<ekleog>
Oh OK, so that's it. Thanks! Then, now, to figure out why GlobalSign isn't in the java default truststore.
kamil- has quit [Quit: Leaving...]
<sir_guy_carleton>
is there anyway of keeping the packages installed with nix-shell safe from the gc without putting in the systemPackages or nix-env?
logzet has quit [Remote host closed the connection]
<ekleog>
Hmm… That's really weird, because other people do appear to have it
<ekleog>
(like, the developer of JOSM in the specific case I'm trying to debug)
bgamari has joined #nixos
<sir_guy_carleton>
disasm: with nix-shell --indirect --add-root?
<ekleog>
(that said they're using the oracle jdk, so maybe…)
<disasm>
sir_guy_carleton: hmm, not sure if that works or not. I've just symlinked nix store paths I definitely don't want gc'd into /nix/var/nix/gcroots/per-user/<username>
<tnks>
I normally get both a self and super reference when doing overrides. But ~/.nixpkgs/config's packageOverrides seems to only give me access to a super reference.
<{^_^}>
[nixpkgs] @xeji pushed commit from @offlinehacker to master « telepresence: 0.67 -> 0.85 (#43116) »: https://git.io/fNeEb
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<fragamus>
srhb: nix-env -qa nixpkgs.hmetis still doesn't find it but there was a build today. You said the commit was very old. What does that mean and why does it affect the build?
<{^_^}>
[nixpkgs] @xeji pushed commit from @dotlambda to master « maintainers/scripts/update-python-libraries: compare versions semantically instead of lexicographically (#43120) »: https://git.io/fNeub
booglewoogle has quit [Quit: Leaving]
orivej has quit [Ping timeout: 264 seconds]
<worldofpeace>
,locate bin/appstreamcli
<{^_^}>
Found in packages: appstream
ambro718 has quit [Quit: Konversation terminated!]
drakonis has quit [Read error: Connection reset by peer]
lnikkila has quit [Ping timeout: 240 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
Sonarpulse has quit [Ping timeout: 255 seconds]
chreekat has quit [Ping timeout: 265 seconds]
sakalli_ has joined #nixos
<sir_guy_carleton>
so i'm trying to registed the results of shell.nix to the gcroots with nix-shell ./shell.nix --add-root /nix/var/nix/gcroots/per-user/<username>/
<sir_guy_carleton>
but it's not working; nothing is being created there
<sir_guy_carleton>
what am i missing?
sakalli_ has quit [Remote host closed the connection]
{^_^} has quit [Remote host closed the connection]
xy2_ has joined #nixos
tadni has joined #nixos
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
shabius_ has joined #nixos
shabius_ has quit [Remote host closed the connection]
throwboy has joined #nixos
tadni has quit [Max SendQ exceeded]
igo95862 has quit [Quit: igo95862]
tadni has joined #nixos
anderslundstedt has quit [Quit: leaving]
throwboy has quit [Remote host closed the connection]
leotaku83 has joined #nixos
<gchristensen>
{^_^} is broken due to a botched upgrade and will remain that way for a bit
lnikkila has joined #nixos
sbdchd has joined #nixos
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<gchristensen>
where "a bit" is approx 3 min apparently
sbdchd has quit [Ping timeout: 256 seconds]
tadni has quit [Ping timeout: 240 seconds]
tadni has joined #nixos
tadni has quit [Remote host closed the connection]
<sir_guy_carleton>
okay, so i got nix-instantate to register a gcroots with my per-user directory, but the gc still deletes a bunch of stuff from the store
<infinisil>
sir_guy_carleton: check man nix.conf, there's 2 keep-* options which influence gc
<gchristensen>
I love services which sanity-check their config before it allows the dellay
<gchristensen>
I love services which sanity-check their config before it allows the deploy*
crmlt has quit [Remote host closed the connection]
<sir_guy_carleton>
infinisil: there's keep-env-derivations and keep-outputs set to false by default
<infinisil>
Yeah those
<infinisil>
You might want to set them to true
ajs124 has left #nixos ["Machine going to sleep"]
mariatsji has joined #nixos
graphene has quit [Remote host closed the connection]
<sir_guy_carleton>
infinisil: okay, i think it works, thank you
graphene has joined #nixos
<sir_guy_carleton>
nb: the example in nix.extraOptions list 'gc-keep-outputs = true' as an example
<sir_guy_carleton>
that seems like it needs updating
crmlt has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
alex`` has joined #nixos
lnikkila has quit [Ping timeout: 256 seconds]
<disasm>
LnL: clever and I think the issue is the locale can't be changed mid-script, so when LC_ALL is set after exporting LOCALE_ARCHIVE it throws an error, but any processes launched by that script will have the right locale set.
xy2_ has quit [Ping timeout: 264 seconds]
tenten8401 has quit [Ping timeout: 256 seconds]
gem has joined #nixos
<infinisil>
sir_guy_carleton: Oh yeah
<gem>
Hey, Ive been getting this error when ever running sudo nixos-rebuild switch: warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
<gem>
Should I be worried?/How do I fix it
<LnL>
disasm: oh the script depended on it inline?
<LnL>
thought it was just a wrapper
<clever>
LnL: i think the act of setting LC_ALL causes bash to reload locales, but glibc only reads LOCALE_ARCHIVE once at startup
nbathum has joined #nixos
<LnL>
really? I'd kind of expect that to only work for subprocesses
<kalbasit>
where is the `buildPhase` supposed to write files at? When I try to create files under `$src` I get permission denied
<disasm>
LnL: it was throwing a warning on the line where LC_ALL was set that was showing up in our hydra logs every time it ran. I was trying to make that warning go away.
<clever>
kalbasit: the working directory
<kalbasit>
clever: I see
<kalbasit>
let me try
<clever>
kalbasit: the source has also already been unpacked to the working directory
xy2_ has joined #nixos
<disasm>
as long as unpackPhase wasn't disabled :)
<kalbasit>
nice, that worked!
<LnL>
yeah, $src might be readonly or even a tarball
<kalbasit>
thx clever/diasm!
aarvar has joined #nixos
<LnL>
you can also use $sourceRoot to reference the unpacked sources if you need that for some reason
<clever>
LnL: though sourceRoot tends to be a relative path, and wont be right once the stdenv has cd'd into it
mariatsji has quit [Remote host closed the connection]
crmlt has quit [Read error: Connection reset by peer]
<clever>
LnL: its just "source" for a src = fetchFromGithub build
crmlt has joined #nixos
<fresheyeball>
any way the $MAINPID doesn't get set?
<gem>
Hey, I'm getting this error after installing xonotic: Unable to load GL driver "libGL.so.1. When I installed nexuiz, it ran fine. I also tried to install opengl and the amd non free drivers; the latter failed
<LnL>
yeah indeed, really thought I used that before to get an absolute reference
johnw has quit [Ping timeout: 248 seconds]
mariatsji has joined #nixos
gem has quit [Quit: Lost terminal]
igo95862 has joined #nixos
mariatsji has quit [Remote host closed the connection]
<kalbasit>
,locate pactl
<infinisil>
Huh..
<infinisil>
Oh, {^_^} is daed
<infinisil>
gchristensen: ^^ ?
<kalbasit>
I was wondering if I made a typo
<gchristensen>
you probably need to reset your connections
<infinisil>
,
<infinisil>
Nope, it's not getting any messages even
<infinisil>
Just restarted it
<gchristensen>
yikes
igo95862 has quit [Quit: igo95862]
graphene has quit [Remote host closed the connection]
lnikkila has quit [Ping timeout: 240 seconds]
graphene has joined #nixos
crmlt has quit [Read error: Connection reset by peer]
orivej has joined #nixos
crmlt has joined #nixos
<kalbasit>
if a derivation installs an executable into `$out/bin`, will this folder be exported to PATH automatically?
<manveru>
i wonder what happened to the idea of having a test attached to each package :)
<srk>
trace: warning: The option `ip4' defined in `/etc/nixos/configuration.nix' has been renamed to `ipv4.addresses'.
<srk>
:D
tzemanovic has joined #nixos
<kalbasit>
is it possible to lock on a specific channel from within `.nixpkgs/config.nix` ? Right now I have a file `init.sh` that adds the unstable channel, but that's hardly reproducible across builds
lnikkila has quit [Ping timeout: 268 seconds]
ckauhaus has quit [Quit: Leaving.]
sbdchd has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<kalbasit>
(BTW I'm on Arch, not NixOS, I'm trying to convert my dotfiles first to make the switch easier)
lnikkila has joined #nixos
<srk>
gchristensen: inet 10.8.8.8/32 scope global lo, seems legit
<symphorien>
speaking about tests, what nixos tests should I build to check I didn't break polkit ?
<gchristensen>
srk: thanks! :D
tzemanovic has quit [Ping timeout: 256 seconds]
dbmikus has joined #nixos
sbdchd has quit [Ping timeout: 240 seconds]
revtintin has quit [Quit: WeeChat 2.0]
m0rphism has quit [Quit: WeeChat 1.9.1]
johnw has joined #nixos
m0rphism has joined #nixos
<Orbstheorem>
Hi, I'd like to build a derivation that outputs a ODROID-XU4 EMMC image (just like the live-cd output). I've been trying to find instructions on the wiki, but they refer to using one of the generated images from http://nixos-arm.dezgeg.me/installer
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Orbstheorem>
I read _somewhere_ (I can't remember) that clever has a a binary cache, do you happen to have a nix recipe for building images too?
<infinisil>
Still ~/.nix-defexpr/default.nix, but it can also replace all your config and overlays
<kalbasit>
oh cool
<infinisil>
While I've never seen anybody do this, I don't see a problem with that. A single file for everything
<kalbasit>
I'll give a try, thank you!
<infinisil>
:)
drakonis has joined #nixos
graphene has quit [Remote host closed the connection]
<LnL>
one caveat with that is that '<nixpkgs>' won't use that same package set, unless you change NIX_PATH
halfbit has joined #nixos
<infinisil>
Oh good point, kalbasit ^^
graphene has joined #nixos
<infinisil>
I guess you need multiple files after all to make everything work as intended..
anderslundstedt has joined #nixos
andymandias has quit [Ping timeout: 248 seconds]
wgas has joined #nixos
<kalbasit>
hmmm I might need your help with how the files would look like.
<LnL>
but unless this is part of a repo where you want to build multiple branches together I'd argue nix-channel/git gives you enough traceability to rollback
<LnL>
and you can do some stuff to get the nixpkgs revision into your build to make that even easier
camsbury has quit [Ping timeout: 256 seconds]
<kalbasit>
see the `init.sh` file?
halfbit has quit [Quit: WeeChat 2.1]
<elvishjerricco>
My machine ran out of space, and now running `nix-collect-garbage` gives "error: executing SQLite statement 'pragma synchronous = normal': unable to open database file (in '/nix/var/nix/db/db.sqlite')"
<LnL>
^ gchristensen
chessai has quit [Remote host closed the connection]
<elvishjerricco>
This is after deleting a few files to get some space, btw
fnord_ has joined #nixos
<elvishjerricco>
Huh. Adding the `-d` argument fixed it somehow...
<LnL>
we've also had problems with the macs for hydra
<fnord_>
Hi, just switched to nixos-18.03 and I'm getting "error: unsupported builtin function 'buildenv'" when trying to remove packages with nix-env, any idea what I can do?
<LnL>
elvishjerricco: oh, so it works again now?
<LnL>
fnord_: are you using nixUnstable?
<elvishjerricco>
LnL: Yea. No clue how `-d` would affect anything, but it's working now
<LnL>
kalbasit: there are a number of ways people handle this, pinning, git submodules, etc.
<LnL>
I suspect it didn't really have enough space yet, alltho that usually is a different error
<kalbasit>
submodule the NixOS/nixpkgs, hmmm interesting
<fnord_>
LnL: not that I'm aware of; running nix-env --version yields: "nix (Nix) 2.0.4"
<fnord_>
also `nix-env -q` and `/etc/nixos/configuration.nix` do not mention nixUnstable
<LnL>
hmm, well to confirm my suspicion can you check the version of the nix-daemon that's currently running
<samueldr>
Lisanna: maybe I'm missing something, but in the change it seems NIX_PATH is set to use `nixpkgs=channel:nixos-18.03-small` and hydra to use `<nixpkgs>` as whatever the path of the checkout used for buidl (pkgs.path)
hotfuzz has quit [Ping timeout: 240 seconds]
<LnL>
fnord_: yeah, works fine in most cases just wanted to say it's not a safe assumption :)
<Lisanna>
'cause, I have my own channel, and the infrastructure that hosts it depends on stuff in it. Currently I have the channel git as a submodule of the infrastructure configuration, so it can be deployed without depending on hydra being up and serving the channel
<fnord_>
LnL: I see, just went for it because NIX_DAEMON_PID was empty ;)
<fnord_>
maybe that's a symptom?
bennofs has joined #nixos
<LnL>
anyway, that seems to match so I'm not sure what could be causing the error
<fnord_>
LnL: ok, still thanks for the help
<LnL>
your $nix/share/nix/corepkgs/buildenv.nix uses builder = "builtin:buildenv"; right?
Ariakenom has quit [Quit: Leaving]
<LnL>
wait no, that's only in nixUnstable
<Kim>
Hey, um, is there a tool to set up a deps list for apps written in Go?
<fnord_>
LnL: Got it fixed, there was still a stable nix-env used by my root user in store with which I could downgrade my user nix package
<fnord_>
LnL: Thanks again for your help!
<ldlework>
@homeManager@ -v -f $expr $command <- this is the line in the script
<infinisil>
No idea why it doesn't work
<LnL>
fnord_: no problem, you can upgrade the daemon with nix.package = pkgs.nixUnstable; in your configuration.nix, then nix-env can use the new builtin
<fnord_>
LnL: I see, thanks for the hint!
phdoerfler has quit [Ping timeout: 276 seconds]
drakonis has quit [Remote host closed the connection]
knupfer has joined #nixos
<ldlework>
What's the trick to get a fetchTarball sha256?
* gchristensen
prods {^_^} some more so he can ,tofu
<symphorien>
ldlework: insert 52 0s instead, build once, the error message will tell you the right hash
<ldlework>
the thing is, the first time I built, I had no hash at all
<ldlework>
now that I'm trying to add a sha256 it is giving me this error
<ldlework>
I tried the nix-prefetch-url --unpack way to get the real hash
<ldlework>
also
<ldlework>
the tar changed between when I first added it without the hash, and now
<ldlework>
so I can't get the original hash
endformationage has quit [Quit: WeeChat 1.9.1]
<ldlework>
:3
<LnL>
use nix-prefetch-url '<nixpkgs>' -A hello.src to get the proper hash of source in all cases
<ldlework>
huh?
<LnL>
using urls is error prone because of unpack behaviour like you're running into now
fresheyeball has quit [Quit: WeeChat 2.0]
<LnL>
the correct incantation would be nix-prefetch-url --unpack --name source $url
<LnL>
dtz: are your changes to show the fetchTarball hashes in 2.0-maintenance?
phdoerfler has joined #nixos
blankhart has joined #nixos
<infinisil>
Oh neat, I never even thought about just using vim to get the 52 0's: 52i0<esc>
phdoerfler has quit [Quit: Leaving.]
dbmikus has quit [Ping timeout: 260 seconds]
incospicuous[m] has joined #nixos
{^_^} has quit [Remote host closed the connection]
<LnL>
that's exactly what I do
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
lnikkila has quit [Ping timeout: 240 seconds]
jtojnar has quit [Quit: jtojnar]
tester123 has quit [Ping timeout: 252 seconds]
sbdchd has joined #nixos
<LnL>
I've also thought about making a small plugin that evaluates it and fills in the correct hash for you
myshoe has quit [Quit: Lost terminal]
{^_^} has quit [Remote host closed the connection]
sbdchd has quit [Ping timeout: 256 seconds]
blankhart has quit [Ping timeout: 248 seconds]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
endformationage has joined #nixos
bennofs has quit [Ping timeout: 256 seconds]
<infinisil>
LnL: Would probably be the easiest to write a plugin you e.g. give owner, repo, rev, and it inserts the full nix expression fetchFromGitHub { owner = ...
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
ajs124 has left #nixos ["Machine going to sleep"]
incospicuous[m] is now known as Incospicuous[m]
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
fnord_ has quit [Quit: Page closed]
raynold has joined #nixos
Ariakenom has joined #nixos
mounty has joined #nixos
mounty has quit [Client Quit]
<LnL>
or use a trick to find the attribute based on the current file :)
knupfer has quit [Ping timeout: 245 seconds]
freeman42x]NixOS has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
tzemanovic has joined #nixos
<infinisil>
,locate bin gsignon
<{^_^}>
Couldn't find any packages
<infinisil>
Oh right, worldofpeace mentioned it's not packaged
<worldofpeace>
I really need it too. Too lazy right now to do it.
tzemanovic has quit [Ping timeout: 268 seconds]
halfbit has joined #nixos
<infinisil>
Recently I'm often telling myself to "Just Do It". Works surprisingly well
<worldofpeace>
"Just Do It" ha. I'll have to eventually. The elementary apps need it.
Guest41681 has quit [Ping timeout: 264 seconds]
<infinisil>
The simplest form of just doing it in regards to a package that doesn't exist would be to open an issue about it
<infinisil>
Not really doing much, but it would help a bit :P
<{^_^}>
[nixpkgs] @orivej opened pull request #43130 → Add type_getattro.patch patch because it is no longer downloadable → https://git.io/fNepq
spear3 has quit [Client Quit]
<infinisil>
bus_type? session, extension? default, debug? not sure, docs? yes please, keychain? what the hell is that, storagedir? Why the hell is that a compile time option
<infinisil>
worldofpeace: Not as easy as I thought heh
<Dezgeg>
maybe check what e.g. arch linux uses for them and imitate
<worldofpeace>
YES
<worldofpeace>
copy-pasta heaven
<worldofpeace>
not really but still
jperras has quit [Ping timeout: 240 seconds]
<worldofpeace>
I guess they default to session for bus_type.
endformationage has quit [Quit: WeeChat 1.9.1]
<worldofpeace>
Wait nvm I don't think you have to do anything.
erasmas has quit [Quit: leaving]
andymandias has quit [Ping timeout: 256 seconds]
<ldlework>
infinisil: can you remind me what the quick way to build a derivation that is a simple bash script, who's code might use store paths of other packages etc?
<infinisil>
nix-build --no-out-link '<nixpkgs>' -A hello ?
<worldofpeace>
{^_^}: I thought you were completely dead!
<ldlework>
infinisil: does that make more sense?
xy2_ has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @orivej-nixos merged pull request #43130 → Add type_getattro.patch because it is no longer downloadable → https://git.io/fNepq
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « Add type_getattro.patch because it is no longer downloadable (#43130) »: https://git.io/fNehw
<ldlework>
i guess I could just have it do $(which ranger)
<ldlework>
seems lame tho
<maurer>
worldofpeace: OK, it's running. I'll see if it works. Thanks
<maurer>
(somehow, I suspect the resulting closure is going to be hundreds of megs or something similarly boosted)
<worldofpeace>
maurer: I think I might have got it working when it was in an overlay too
<infinisil>
ldlework: Patch it to use the nix path?