<evanjs>
I did see tarballs in there initially so that might be what it was. Same concept to diagnose it, anyway.
ozychhi has quit [Remote host closed the connection]
ozychhi has joined #nixos
jlmeeker has joined #nixos
m0rphism has quit [Ping timeout: 276 seconds]
nikivi has joined #nixos
ozychhi has quit [Ping timeout: 245 seconds]
domogled has quit [Ping timeout: 245 seconds]
ozychhi has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
tbenst has joined #nixos
mbrgm_ has joined #nixos
<{^_^}>
[nixpkgs] @nkpart opened pull request #72338 → rPackages.ModelMetrics: fix darwin build → https://git.io/JezRB
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
<tbenst>
hello! I'm packaging a new python module, and right now it keeps trying to rebuild scikit-image-0.16.2. I already have this package built, but can't figure out why it's not using the existing derivation / why the hash doesn't match. Any debugging tips?
<tbenst>
as far as I can tell, both derivations use the exact same build inputs, except the hash is different for numpy, scipy, etc, yet version number is the same
<tbenst>
I'm on latest master in both cases
l33[m] has joined #nixos
bikki[m] has joined #nixos
am3on[m] has joined #nixos
dreverri has joined #nixos
bennofs[m] has joined #nixos
wangoe[m] has joined #nixos
toppler has joined #nixos
timokau[m] has joined #nixos
kvda has joined #nixos
jtojnar has joined #nixos
frislie[m] has joined #nixos
laas has joined #nixos
quiet_laika[m] has joined #nixos
icetan has joined #nixos
CMCDragonkai has joined #nixos
rihardsk[m] has joined #nixos
Bruno[m]1 has joined #nixos
ZD[m] has joined #nixos
cab404[m] has joined #nixos
LinuXit has joined #nixos
anton-latukha[m] has joined #nixos
submoo[m] has joined #nixos
ozychhi has quit [Ping timeout: 276 seconds]
ozychhi has joined #nixos
mniip has joined #nixos
dreverri has quit [Ping timeout: 240 seconds]
Ox4A6F has joined #nixos
rycee has joined #nixos
NfixEstrada[m] has joined #nixos
nikola has joined #nixos
bwe has joined #nixos
awygle has joined #nixos
fadenb has joined #nixos
pointfree has joined #nixos
Taneb has joined #nixos
Ox4A6F has quit [Changing host]
Ox4A6F has joined #nixos
rycee has joined #nixos
rycee has quit [Changing host]
NfixEstrada[m] has joined #nixos
NfixEstrada[m] has quit [Changing host]
Rusty1 has joined #nixos
fusion809 has joined #nixos
<infinisil>
tbenst: For a .drv file you can see the dependency tree with `nix-store -q --tree /nix/store/....drv`
Thra11 has quit [Ping timeout: 240 seconds]
<infinisil>
It's not great for finding out why derivations are different, but the only way I know of if that's all you have
<clever>
infinisil: nix-diff can tell you why they differ
<infinisil>
Ah nice, was wondering what the best way was to see the difference
jgt2 has quit [Ping timeout: 264 seconds]
mniip has quit [Remote host closed the connection]
<infinisil>
tbenst: If however you know the Nix expressions they were generated from, you should be able to figure out the difference with those too
mniip has joined #nixos
ozychhi has quit [Ping timeout: 250 seconds]
<aanderse>
some days i wish i knew nix lang better -_-
<aanderse>
well... the nix library, at least
<tbenst>
infinisil, clever ah hah! nix-diff is incredble. One used openblas for numpy, while the other used mkl. seems like nix-build does not check ~/.config/nixpkgs/overlays.nix ?
<clever>
DigitalKiwi: it basically does `(foo);echo '|!EOF' ?$` over a serial console
<clever>
DigitalKiwi: and then parses the result to find the EOF and exit code
<clever>
DigitalKiwi: what i want, is some haskell code, that runs in both the host and guest, and uses a binary rpc to coordinate between the 2 halves
<DigitalKiwi>
i will support you in your endeavor and help if i can :)
<clever>
then, rather then have to smuggle files around thru echo and 9plan, you can just send a signal to the guest proc, and it can do complex actions on its own
<clever>
and the guest proc can be as complex or simple as it needs to be
<DigitalKiwi>
i know at least one objection is that ghc is large closure
<clever>
and for those that dont want to do complex stuff, the default guest functions can support what we already have
<clever>
ghc is only needed to compile the test runner, which only changes rarely (when editing tests, or a mass-rebuild)
<DigitalKiwi>
ok yeah that's kind of what it seemed like it would be
toppler has quit [Ping timeout: 240 seconds]
dreverri has joined #nixos
drakonis has joined #nixos
<clever>
DigitalKiwi: using a proper muxed rpc over the serial port also adds more options
<clever>
DigitalKiwi: for example, with the perl framework, you can only run one thing at once
<clever>
DigitalKiwi: but with haskell and some muxing, you can run multiple things in the child proc at once, and not mix the outputs up
drakonis_ has quit [Ping timeout: 276 seconds]
jonringer has joined #nixos
dreverri has quit [Remote host closed the connection]
LoneThistle has quit [Remote host closed the connection]
orivej has joined #nixos
dreverri has joined #nixos
toppler has joined #nixos
cryptomonad has joined #nixos
matthuszagh has joined #nixos
<matthuszagh>
is it possible to disable man page compression?
<pie_>
the wanted/got in nix build is confusing, i can never remember which is whic
<pie_>
would be nice if it was more verbose
wanditoast has joined #nixos
nuncanada has quit [Ping timeout: 268 seconds]
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #72347 → treewide: set -u everywhere → https://git.io/Jezu3
<pie_>
clever: dumb idea?: repro-nix tool that takes a reference to a github issue or comment which contains nix code for repro and specially formatted comments to check the result
orivej has quit [Ping timeout: 268 seconds]
<clever>
pie_: depends on if the problem is at build time or when running the built result
andreas31 has quit [Ping timeout: 260 seconds]
<pie_>
clever: modulo stuff like networking, does it matter? if its a build time failure oyu check the shell output and or use -K? for the other case youd want to run that in a sandbox too i think?
<{^_^}>
[nixpkgs] @jonringer opened pull request #72352 → codeowners: add jonringer as vimplugin and vscode ext owner → https://git.io/Jezzp
mexisme_ has quit [Ping timeout: 268 seconds]
<xd1le>
is it normal to set installPhase and have runHook preInstall at the start and runHook postInstall at the end?
<xd1le>
or is there a 'better' way?
<xd1le>
because I seem to remember that setting phases explicitly was not recommended but can't find that suggestion
cyraxjoe has quit [Quit: I'm out!]
cyraxjoe has joined #nixos
<clever>
xd1le: if you do explicitely set a phase, the pre/post hooks will cease to run (enless you add the runHook's back in yourself)
<xd1le>
ok so I guess if installPhase needs to be set, wrapping it with runHook's is good
<xd1le>
clever: thanks
toppler has quit [Ping timeout: 268 seconds]
<jonringer>
correct, you should add back the pre/post hooks if you declare a phase yourself.
<jonringer>
but there are some exceptions, in general I don't see pre/post added to custom checkPhases, because they are generally very specific to that build
<jonringer>
but it probably more correct to have the hooks there, incase there is a use case for someone wanting to define those hooks later on
mexisme_ has joined #nixos
<xd1le>
jonringer: yeah i was asking cause of the svaba init PR. ty for reviewing it also!
toppler has joined #nixos
jlmeeker has quit [Ping timeout: 268 seconds]
hpfr has joined #nixos
evils has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
dreverri has joined #nixos
domogled has quit [Quit: domogled]
<yorick>
the spotify package not building in most of asia is... suboptimal
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<yorick>
(I have to use a cloud builder for it)
marler8997_ has joined #nixos
<marler8997_>
so, my nixos has been a little broken for a while, NIX_REMOTE is not set and I'd like to figure out why
dreverri has quit [Ping timeout: 240 seconds]
<marler8997_>
does anyone have any idea where it is supposed to be set?
<marler8997_>
can someone run some greps maybe? like "grep -r NIX_REMOTE /etc"?
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @markuskowa to master « uhd: fix outdated python module (Mako) »: https://git.io/Jezgd
cyraxjoe has quit [Client Quit]
<{^_^}>
[nixpkgs] @tbenst opened pull request #72353 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/Jezgb
cyraxjoe has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
cyraxjoe has quit [Quit: I'm out!]
mexisme_ has joined #nixos
toppler has joined #nixos
cross has quit [Quit: Lost terminal]
rauno has joined #nixos
cyraxjoe has joined #nixos
thomashoneyman has joined #nixos
thomashoneyman has quit [Remote host closed the connection]
<gchristensen>
chocopuff: ^ will describe some of the differences
<chocopuff>
gchristensen: thank you! the problem is sometimes, i look for a package and i try to put it into environment.systemPackages but it can't find it
<chocopuff>
it might be because I have used nix-env -i in the past
<CMCDragonkai>
In the netboot.nix there's a `system.build.*` options. What module interprets the options in `system.build.*`.
Heirlung has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
v0|d has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @chkno opened pull request #72354 → nixos/qemu-vm: Option to use squashfs Nix store closure instead of virtfs access to host's store → https://git.io/Jez2o
chocopuff has quit [Quit: WeeChat 2.4]
cyraxjoe has quit [Quit: I'm out!]
vidbina_ has quit [Ping timeout: 265 seconds]
guest81818199090 has joined #nixos
cyraxjoe has joined #nixos
orivej has joined #nixos
<CMCDragonkai>
Is there some tool that can help me find where something is defined/declared in the nixpkgs codebase?
<CMCDragonkai>
Right now when I see `makeInitrd` and I want to know where it is. I use `ag makeInitrd =` and it does a full text search over the entire codebase.
<CMCDragonkai>
Other times i use nix repl and load it and see if I can access it
<CMCDragonkai>
but anything that works nicely and can integrate into text editors, tags?
<{^_^}>
[nixpkgs] @grahamc pushed commit from @AmineChikhaoui to release-19.09 « ec2-amis.nix: add 19.09 amis »: https://git.io/JezrO
Ariakenom has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
<basvandijk>
Does anybody know how to use the localhost as a builder on Hydra on NixOS-19.09? Adding localhost to your /etc/nix/machines which worked on NixOS-19.03 doesn't seem to work anymore: https://github.com/NixOS/nix/issues/3177
<{^_^}>
nix#3177 (by basvandijk, 18 hours ago, open): cannot build on 'localhost': don't know how to open Nix store 'localhost'
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jezr9
<basvandijk>
tilpner: and are you sure that your Hydra is actually building on localhost. Because my Hydra on 19.09 will say it's building on localhost but when I look at the build log I see the "cannot build on 'localhost': don't know how to open Nix store 'localhost'" line and the build happily continues running on a remote builder.
<tilpner>
basvandijk: That line is the entire content of nix/machines, and it does build stuff
<pie_>
does anyone know why and or how to get this to work
<tilpner>
basvandijk: I also have hydra, hydra-evaluator, and hydra-queue-runner in nix.trustedUsers
<pie_>
oh actually now that i got some sleep and am more lucid i have an idea
<basvandijk>
tilpner: I see that the NixOS hydra module already adds hydra-queue-runner to nix.trustedUsers. I'll also try adding hydra and hydra-evaluator to it.
<gchristensen>
not sure why that would be needed
<basvandijk>
Me neither, although I guess it makes sense to add `hydra` (that's the user running the hydra-evaluator) to nix.trustedUsers if you're using IFD which we are.
toppler has quit [Ping timeout: 240 seconds]
<tilpner>
I'm not saying it's necessary, just that it's set like that here, probably because some other config did that when I was setting up this Hydra
<tilpner>
And I never questioned this after Hydra was working, so...
<pie_>
i needed to use `python3Packages = (pkgs.python3.override { packageOverrides = (self: super: {}); }).pkgs;` with the .pkgs for some reason. which is weird because i didnt see any of the examples doing that, but they generally used .withPAckages so idk
iyzsong has joined #nixos
toppler has joined #nixos
petar has quit [Read error: Connection reset by peer]
<timokau[m]>
My hostname seemingly randomly changes to "localhost" sometimes. Any ideas what could be causing this?
<kfound>
good question :) i am trying to build a set of packages which will be published inside my company firewall
lsix has joined #nixos
<kfound>
this will be nixpkgs + some additional internal software
<worldofpeace>
evax: it is indeed, and nothing is wrong with our build config. What's weird is we hardcode binaries the same way for everything and they work, but just for pppd it doesn't care about the build substituted one.
<adisbladis>
kfound: You could also pin nixpkgs inside your repo with an overlay with custom packages
<adisbladis>
You don't need to use channels at all
<kfound>
ok, so this is how i've done it so far
<worldofpeace>
evax: in strace, are there ENOENT for other binaries?
<kfound>
but i have needed to distribute my overlays to everyone who uses the new packages
<xd1le>
adisbladis: oh ok, i saw #71176 and from some of the comments it seemed like it would be removed
<kfound>
so say i wanted to have an overlay which just produces a small set of additional tools, but rebuilt with GCC9 rather than the default compiler
<kfound>
and i want people to be able to install this internally
<worldofpeace>
evax: I think I can make a patch upstream, and maybe forward you branch to test it with
<kfound>
i could distribute the overlays to people, and add an internal binary cache with nix-serve
<{^_^}>
[nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/Jezoj
Astralix9 has joined #nixos
<evax>
worldofpeace: ok, but why then would the NM process try to look for pppd in a nix store path at all?
<evax>
worldofpeace: even more, that path isn't on my system, so it must have been from the build system
<{^_^}>
[nixpkgs] @andys8 opened pull request #72359 → Update elm-language-server to 1.4.4 → https://git.io/JezKe
alexherbo2 has joined #nixos
<worldofpeace>
evax: in the strace you shown it was checking in NM's prefix, does your trace show it actually looking in `/nix/store/*-ppp-*/bin/pppd`? but that was after you initiated the /bin symlink
<evax>
worldofpeace: thanks for bearing with me, I understand now, sorry for the slow start :)
<evax>
worldofpeace: thanks again!
kfound has quit [Remote host closed the connection]
<hexa->
I'm trying to use Ansible with ansible_connection=netconf, which runs into a SyntaxError for one of the wrapper scripts (ansible-connection). My educated guess is that it doesn't want ansible-connection to be wrapped, as it will be executed as Python from within a parent process. How can I disable wrapping for it?
<{^_^}>
[nix] @Ericson2314 opened pull request #3185 → Windows -- depends on Meson build system (#3160) → https://git.io/JezPL
nuncanada has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
aae has quit [Quit: Leaving]
glittershark has joined #nixos
<johnnywho>
etu: I think I got it. Any idea on how to set the proper location of tcl? There is no relevant environment variable, but I also can' t hardcode a store path
Astralix9 has quit [Ping timeout: 252 seconds]
<etu>
johnnywho: if you get tcl as a input to your function (tcl), you should be able to replace it to use ${tcl}/bin/tclsh or whatever it's looking for
o1lo01ol1o has joined #nixos
nikivi has quit [Ping timeout: 250 seconds]
<etu>
johnnywho: Sure, then it becomes "hardcoded" for that output, but it's fixed for that output and change with updates of tcl :)
<johnnywho>
I can 't see this environment variable in my nix-shell
<johnnywho>
I do have tclsh in path though
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed commit from @FRidh to nixos-19.03 « python35: 3.5.7 -> 3.5.8 »: https://git.io/Jeuid
<etu>
johnnywho: It's not really an env variable thing, it's more a build input but with string context stuff :p
<exarkun>
hmm security.acme cannot succeed because it is a v1 acme client and letsencrypt only supports account creation on v2 acme now.
<exarkun>
ah someone bumped the client to v2 a couple weeks ago... but I've barely recovered from my last nixpkgs upgrade
dm9 has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 268 seconds]
<exarkun>
hmm... maybe
<exarkun>
or maybe that was only the integration test
ubert1 has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<exarkun>
security.acme uses simp_le which does not support v2 at all
ubert has quit [Quit: Leaving]
ubert1 is now known as ubert
toppler has joined #nixos
<johnnywho>
etu: Well, I guess my problem was not this. My problem was that the program I 'm building has hardcoded relative paths and thus only works when called from a specific directory
<steveeJ>
I'm having an issue with clang. it seems to be passed weird gcc arguments and I don't understand why: `clang-8: warning: argument unused during compilation: '--gcc-toolchain=/nix/store/d4n93jn9fdq8fkmkm1q8f32lfagvibjk-gcc-7.4.0' [-Wunused-command-line-argument]`
<johnnywho>
So what I really need to do is write a wrapper that calls the program from a subshell that does cd to that directory and supplies the arguments with realpath
<exarkun>
Ah, let's encrypt lists simp_le as a v1-only client but looks up upstream did supposedly add v2 support
<etu>
johnnywho: Hmm, is it patchable? :p
<exarkun>
oh and someone did bump simp_le to a v2-supporting release on the 18th
<johnnywho>
etu: It should be but not easily, it 's ds9, a scientific package
<johnnywho>
Scientists are notoriously bad coders
Astralix9 has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @rnhmjoj opened pull request #72368 → uw-ttyp0: init at 1.3 → https://git.io/JezXM
<tetdim>
h
<gchristensen>
i
Thra11 has quit [Read error: Connection reset by peer]
mexisme_ has joined #nixos
<johnnywho>
etu: Alright, I wrote my wrapper, it works fine
<etu>
johnnywho: :)
<johnnywho>
What 's the best way to add it to the package?
<johnnywho>
Ideally, I want to rename the real executable to ds9_bin, then install the wrapper as ds9 under bin
knupfer has joined #nixos
<johnnywho>
Should I have it as an extra file in the package directory or is this bad practice?
<johnnywho>
I mean, it 's not a nix expression file
<adamt>
Did anybody by chance implement base64 encoding in nix? :P
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<johnnywho>
etu: I have a technical question. I wrote a script, that I want installed along with the package. What 's the best way to include it? At sources? Is there a way to paste it within the package itself? What happens with variable substitution then?
gentauro has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 276 seconds]
gentauro has joined #nixos
reallymemorable has joined #nixos
<tetdim>
Ericson2314, what happen
<johnnywho>
ah writeTextFile
<{^_^}>
[nixpkgs] @mweinelt opened pull request #72370 → Ansible: Fix connection plugins and add support for netconf → https://git.io/Jez1M
hmpffff has quit [Quit: nchrrrr…]
<hexa->
FRidh You dropped boto from ansibles `propagatedBuildInputs` in 4af94d0f5a73fab5009319b7bda0b303236195cd, but it's still part of the function. Probably and oversight?
<Miyu-saki>
Wtf. My trackpad, touchpad and pen all worked out of the box. Linux is too easy now. Tch. /s
<exarkun>
don't worry they'll probably inhibit proper suspend, cause your battery to drain, and semi-persistently disable whichever video output was in use at the time
<clever>
Miyu-saki: you should try nixos on an android device, that will be fun!
<johnnywho>
infinisil: Is there any concise documentation containing all this, or is it just in the hivemind
<infinisil>
johnnywho: The latter :P
<Ericson2314>
tetdim: well I opened some PRs for windows things, and a NIX RFC so our PRs will be CI'd.
<johnnywho>
I mean, nix seems to allow you to do thing really conveniently, but only if you know how
<Miyu-saki>
clever: Oh yikes. This reminds me that my mom was waving over the screen and I just followed her directions. She was confused why it stopped following after a few.
<infinisil>
johnnywho: Yeah, it's hard to get an overview of what's available, I only know about this from experience
<tetdim>
ic
<johnnywho>
I wonder if it 's possible to make it self-documenting, like the options
<johnnywho>
This is what drove me off of guix, which I tried first. There it 's even worse, sometimes even commands are not really well-documented
<infinisil>
johnnywho: We could use the module system for derivation building, but it would really increase evaluation time by a lot
toppler has quit [Ping timeout: 240 seconds]
<infinisil>
In the future Nix might get a built-in module system, which could be used for this then
<xd1le>
yeah guix internals is difficult, ludovic is really smart
drakonis_ has joined #nixos
jlmeeker has quit [Quit: Leaving]
<__monty__>
I have a remote host set up to build all the haskell packages. How do I figure out why happy-1.19.9 is getting built locally? http://ix.io/1ZHQ
<clever>
Miyu-saki: there is literally a component, between keyboard and chair, that makes the "touchscreen" work!
Jackneill has quit [Remote host closed the connection]
<Miyu-saki>
:D
toppler has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis_ has joined #nixos
xd1le has quit [Quit: leaving]
gmarmstrong has quit [Quit: Quit]
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
<johnnywho>
infinisil: Lol wtf ${placeholder "out"} did something really weird
<johnnywho>
instead of the store path it was substituted for this: /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9
drakonis_ has quit [Ping timeout: 245 seconds]
* ToxicFrog
gently slams her head into the desk repeatedly
<ToxicFrog>
When nixos-unstable moved to systemd protocol 3 I grumbled for a while and then finally upgraded even though it meant a reboot
<ToxicFrog>
And now it's rolled back to protocol 2
* adamt
throws a pillow onto ToxicFrog's desk
<ToxicFrog>
I wonder if I can rewind nixos-unstable just enough that it's still protocol 3 and I don't have to reboot today, all I want to do is build a new nginx configuration
<ToxicFrog>
(one of the things I like least about NixOS is that if you just want to make small configuration tweaks, a channel update can derail the entire process by invalidating parts of your configuration)
<niksnut>
you could try to cheat by making /run/current-system symlink to a config that has protocol 2
jgt has quit [Quit: WeeChat 2.4]
<ToxicFrog>
(like, by analogy to conventional systems, there's no separation between `nano /etc/nginx.conf` and `zypper dist-upgrade`)
<clever>
johnnywho: nix will replace /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9 with the value of $out at a later stage
<ToxicFrog>
niksnut: wouldn't the protocol version mismatch cause problems?
<johnnywho>
but it did not
<clever>
johnnywho: it only does it in certain places, i havent figured out exactly where
<johnnywho>
clever: it ended up in the installed script
<nh2_>
grahamc[m]: Is it possible that I add my big build machine to ofborg somehow to support `pkgsMusl` builds working reliably?
drakonis1 has quit [Ping timeout: 276 seconds]
nexgen has joined #nixos
<infinisil>
clever: Hm I kind of hoped placeholder would work there too
<infinisil>
s/hoped/assumed
<infinisil>
But apparently not
<johnnywho>
Trying this
<nh2_>
(cc worldofpeace ^)
<infinisil>
clever: From the source code: "At build time, any occurence of this string in an derivation attribute will be replaced with the concrete path in the Nix store of the output ‘out’"
<clever>
infinisil: passAsFile may happen before that
<johnnywho>
but how exactly does it know that @out@ will need to have the value of $out?
<{^_^}>
nix#1846 (by shlevy, 1 year ago, open): Placeholders don't work with passAsFile
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
basvandi` has joined #nixos
<raboof>
are there any conventions on when to split a package into a `foo-minimal` and `foo` version? I was a bit surprised that `vim` was a 'minimal' vim which doesn't really work well in X11 (for that you need `vim_configurable`, discussed further in https://github.com/NixOS/nixpkgs/issues/26726#issuecomment-310845146)
<__monty__>
clever, sphalerite: You've shown interest in my problem before. Remote builder with "haskell" feature, overlaid all the haskell packages to have the feature, why is happy-1.19.9 being built locally rather than remote? Or, alternatively, if it *is* getting built remotely, why is the remote suddenly missing the haskell feature?
<shyim>
I have an dead path, but i can't remove it cause nix says its alive
<symphorien>
then how do you know it is dead ?
slack1256 has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
basvandi` has joined #nixos
<clever>
__monty__: run `nix show-derivation` on the .drv for the happy that is being built
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
tabasko has joined #nixos
<__monty__>
clever: What am I looking for?
page has quit [Quit: leaving]
<clever>
__monty__: there should be a system features thing in the output
<__monty__>
clever: Yeah, it includes the haskell feature, as it should.
tabasko has quit [Client Quit]
<clever>
__monty__: what happens if you run nix-store -r on that drv?
psyanticy has joined #nixos
NoctisLa1 has quit [Read error: Connection reset by peer]
<__monty__>
clever: Then it starts building on the remote just fine. What's going on here? Is nix not smart enough to *not* use an available build slot if it doesn't support the features?
<clever>
__monty__: are you sure that is the same happy.drv that it was building locally?
NoctisLa1 has joined #nixos
<__monty__>
I've been specifying it using the full path.
<__monty__>
From the error.
basvandi` has quit [Ping timeout: 240 seconds]
<clever>
__monty__: also, ghc depends on happy, which it gets from another haskell packages set
<__monty__>
This is how I'm adding the haskell feature: http://ix.io/20qa
<__monty__>
But GHC already built successfully remotely. So I don't think it's an issue?
domogled has joined #nixos
basvandi` has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
<clever>
__monty__: not sure then
jb55 has quit [Quit: jb55]
Tucky has quit [Quit: WeeChat 2.6]
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
nobbo has joined #nixos
nobbo has quit [Client Quit]
drakonis has joined #nixos
nobbo has joined #nixos
page has joined #nixos
h0m1 has joined #nixos
<__monty__>
How is this possible? The clever's nix mind doesn't have boundaries. I feel like collision detection failed and I'm under the rendered playspace now.
<__monty__>
; )
toppler has quit [Ping timeout: 240 seconds]
glittershark has quit [Remote host closed the connection]
<clever>
__monty__: what is the exact output when nix begins to build locally?
<__monty__>
I don't *know* it's building locally. But the alternative is that it's building remotely but the remote has suddenly lost the haskell feature just for happy.
<clever>
__monty__: and what is in /etc/nix/machines ?
<{^_^}>
nix#3188 (by toonn, 55 seconds ago, open): Derivation with required feature assigned to wrong host
dreverri has quit [Ping timeout: 268 seconds]
<clever>
__monty__: looks like enough info, about all i can think of is to set max-jobs to 0, so it never does a local build
<clever>
until the bug is fixed
<zeta_0>
clever: thanks for the info, i am going to go with the minimal nixos iso
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<__monty__>
clever: But that requires a system rebuild : (, and another one in case my remote builder's not available and I need to build something.
<clever>
__monty__: yeah, not ideal, just a work-around until the bug in nix is solved
<__monty__>
I have to enable swap just to have a chance of having a successful rebuild o.O I'll give it a shot though, since there don't seem to be any alternatives. Glad I'm not doing something obviously wrong though #32bitstherealhardlife
<{^_^}>
[nixpkgs] @Ericson2314 pushed 3 commits to bash-no-undef-vars: https://git.io/Jez9i
<__monty__>
infinisil: No word boundary checking? Tsk, tsk.
<infinisil>
I actually don't know if the regex engine I'm using supports this
<__monty__>
That's a beautiful issue number though, pull 32 for linux 3.2...
toppler has joined #nixos
wildtrees has joined #nixos
<infinisil>
Oh I think it actually does
<adisbladis>
gchristensen: I really love seeing those old issues that {^_^} brings up sometimes :)
<gchristensen>
me too :)
<__monty__>
infinisil: Time to switch to piping to `vim -e`, without sanitizing input >: )
<__monty__>
Aww
<adisbladis>
Back in those days I was running Xen on Gentoo
<infinisil>
Lol
<adisbladis>
That was.... Painful
<gchristensen>
heh
<adisbladis>
One thing was pretty neat though: shared binary cache among VMs
<adisbladis>
Even Gentoo has been able to do that for quite some time
<adisbladis>
Though not really well
orivej has joined #nixos
dreverri has joined #nixos
<infinisil>
gchristensen: Fixed!
jgeerds_ has joined #nixos
<__monty__>
There's an attribute with a dash "fast-tags" in a set I'm opening with `with haskellPackages;`, can I refer to this attribute without `haskellPackages."fast-tags"`?
slack1256 has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @zimbatm opened pull request #72376 → stdenv/check-meta: getEnv if the attribute is unset → https://git.io/Jez9x
<matthuszagh>
is it possible to overlay a single texlive package
<matthuszagh>
?
<__monty__>
matthuszagh: I don't see why not. Not that that helps you any probably.
<matthuszagh>
__monty__: hm ok. i can create a custom package fine, but since it doesn't replace the original I get issues when that package is a dep of others
<matthuszagh>
__monty__: I take it you haven't overlayed texlive packages yourself?
<matthuszagh>
the documentation says that I can update the package set in its entirety. however, I'd prefer to avoid doing this because (1) it seems unnecessary for just 1 package, (2) i'd like a system where I can get a newer package from the master branch even if its not updated in texlive and (3) because I'd rather stay on the nixpkgs master branch
<tbenst>
I'm having collisions between `sip` and `PyQt5`. Is there a preferred way to resolve?
<tbenst>
I tried `nix-env --set-flag priority 5 python37Packages.sip` but doesn't match a derivation
ubert has quit [Quit: ubert]
zupo has joined #nixos
ddellacosta has joined #nixos
<__monty__>
matthuszagh: It probably just comes down to figuring out how overlay it.
matthuszagh has quit [Ping timeout: 268 seconds]
h0m1 has quit [Quit: WeeChat 2.6]
nexgen has quit [Remote host closed the connection]
<tbenst>
also tried `nix-env --set-flag priority 5 python3.7-sip-4.19.18` with no luck
toppler has quit [Ping timeout: 268 seconds]
<tbenst>
found a "fix": `nix-shell -I nixpkgs=. -p 'python3.buildEnv.override { extraLibs = [ python3Packages.stytra ]; ignoreCollisions = true; }'
nuncanada has quit [Remote host closed the connection]
<exarkun>
tbenst: The docs make it sound like that might save me some space but won't save me from filling / if I actually ask the store to store too much
<infinisil>
tbenst: Being able to do `nix-shell -p pythonPackage.*` seems like something that never should've been supported anyways
nuncanada has joined #nixos
nuncanada has quit [Max SendQ exceeded]
nuncanada has joined #nixos
<tbenst>
infinisil, ya buildEnv seems strictly superior
<tbenst>
exarkun, not sure I completely understand. nix-collect-garbage may help too
<Miyu-saki>
What's the best practice for Intel+NVidia laptop power management right now?
<exarkun>
I want `nix-store --serve --write` to fail with an error before free space on / equals 0 and never perform a write which would take free space on / to 0
jb55 has joined #nixos
<Miyu-saki>
Best practice being ~mainlined/documented.
<exarkun>
Or, really, I *don't* want to deal with all of the *other* software in the world that can't deal with ENOSPC
<exarkun>
like, I just killed openssh or maybe bash or pam or some other part of the login stack on a remote server by accidentally filling / with nix-copy-closure
<exarkun>
that sucks, I don't want that to happen.
<exarkun>
but now it's halloween, cya
<Miyu-saki>
\o
laerling_ is now known as laerling
laerling has joined #nixos
laerling has quit [Changing host]
<tilpner>
exarkun: Put the store on a separate dataset/filesystem
<Orbstheorem>
Hi, I'm using all-hies with a fixed version of ghc (the same that I've installed in my user profile using ghcWithPackages). However, I get an error from hie saying it cannot find a module. Does anybody have an idea of what I may be missing?
lsix has quit [Ping timeout: 252 seconds]
<Orbstheorem>
I can import the missing module from ghci
<zeta_0>
well do you guys know of any other gui tools to write an image to a usb flash drive ?
<{^_^}>
[nixpkgs] @jtojnar opened pull request #72383 → libabigail: init at 1.6 → https://git.io/JezQp
<infinisil>
Orbstheorem: And what's the full error?
wolfshappen has quit [Ping timeout: 268 seconds]
<zeta_0>
symphorien: well i am going to upgrade to nixos-unstable today, i just wanted to put nixos-unstable on a usb flash drive just in case changing the channel and doing the upgrade doesn't work ?
<infinisil>
zeta_0: No need for that, you can always roll back with NixOS
wolfshappen has joined #nixos
<tilpner>
zeta_0: sudo cp nixos.iso /dev/sdx
<tilpner>
(Works with GNU cp, not all other versions)
Ariakenom has quit [Quit: Leaving]
<zeta_0>
infinisil: ok, i'll give it try
<Orbstheorem>
infinisil: Could not find module ‘Data.Yaml’ Use -v to see a list of the files searched for.
toppler has quit [Ping timeout: 240 seconds]
vidbina_ has quit [Ping timeout: 240 seconds]
<infinisil>
Orbstheorem: And you specified the dependency in your cabal file?
<Miyu-saki>
edef: Ping. Does your nvidia-smi show X?
<Orbstheorem>
Since I'm starting a new haskell project targeted at being compatible with other dists, which one would you use hspack + stack or just cabal?
<Orbstheorem>
as in (stack.yaml + packages.yaml) or (project.cabal)
<edef>
Miyu-saki: it does, yeah
petar has joined #nixos
<zeta_0>
i love home-manager, it makes package management so much simpler
<Miyu-saki>
edef: Hm, weird. PR maker seems to norepro
<Miyu-saki>
edef: Do you think that this improved battery life?
<Orbstheorem>
zeta_0: Agree ^^
<edef>
Miyu-saki: not sure
<edef>
Miyu-saki: i should maybe try turning it off and seeing if that improves it tbf
<Miyu-saki>
Ah. :P Well, TBF, it's the dogmatically correct way anyway.
mexisme_ has joined #nixos
<edef>
i'll dig into that stuff sometime not-now
<edef>
i have some deadlines to hit rn
<Miyu-saki>
Yeah. Except mine is more like s/sometime/never/ because I'm too lazy. :C
<Miyu-saki>
Thanks for mentioning the PR!
<zeta_0>
when i change the channel to nixos-unstable and do an upgrade will it switch to the unstable nixos packages as well ? or will i have to do that manually ?
<matthuszagh>
i'm having some trouble understanding what pkgFilter does as part of texlive. I see it mentioned in the nixpkgs manual but can't understand it. Is anyone familiar with this?
pjan has joined #nixos
don_quijote[m] has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
ericsagnes has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
lsix has joined #nixos
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 8 commits to nixos-unstable-small: https://git.io/Jez5k
<matthuszagh>
infinisil: thanks for the response. I saw that as well, unfortunately can't quite understand it
leotaku has quit [Ping timeout: 276 seconds]
johnnywho has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @risicle opened pull request #72387 → jhead: add patches for CVE-2019-1010301, CVE-2019-1010302 → https://git.io/Jez5a
leotaku has joined #nixos
Am3nadiel has joined #nixos
<{^_^}>
[nixpkgs] @vbgl opened pull request #72388 → ocamlPackages.lwt3: remove at 3.3.0 → https://git.io/Jez5S
Am3nadiel has quit [Max SendQ exceeded]
leotaku has quit [Ping timeout: 265 seconds]
<gchristensen>
roughly every hour
freeman42x has quit [Ping timeout: 276 seconds]
chloekek has quit [Ping timeout: 240 seconds]
<DigitalKiwi>
roughly every hour what?
<gchristensen>
good question
<gchristensen>
might be an email fragment
zeta_0 has joined #nixos
<DigitalKiwi>
an email fragment roughly every hour?
toppler has quit [Ping timeout: 240 seconds]
leotaku has joined #nixos
__monty__ has quit [Quit: leaving]
<gchristensen>
unclear
<DigitalKiwi>
not as weird as it might seem; gmail has this remarkably spectactular deviation from standards way of handling drafts from email clients; if you save to drafts with imap, it sends the email, so if you have auto save to drafts every time period or x keystrokes...
<{^_^}>
[nixos-weekly] @domenkozar merged pull request #107 → Mention the big stdenv refactors in flight → https://git.io/Jezua
<{^_^}>
[nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/Jezdt
<zeta_0>
after i changed the channel and did the nixos-rebuild switch --upgrade i got this error: `error: attribute 'haskell-src-exts_1_21_0' missing, at /nix/store/zxpdw4i9cwl8505gja40rlxc0a5cjar7-source/release.nix:50:27`
<DigitalKiwi>
so one time i was sending an email to a support person (this was the first/last time it happened :) ) and they got 31 partially written emails.
<gchristensen>
what.
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<DigitalKiwi>
yeah
<zeta_0>
i though upgrading was supposed to be simple ? why am i getting this error ?
<chreekat>
I've had to stop saving drafts to a gmail imap folder in thunderbird for a related problem. I don't think any partially-written draft has actually gotten *sent*, thank god, but a zillion drafts get left in the conversation, hidden from thunderbird
<infinisil>
zeta_0: Almost certainly this is caused by something in your config, an overlay perhaps, look for whether you have something relevant, look at it with --show-trace, etc.
<DigitalKiwi>
there was more in the next log i think just reaffirming that it did actually send them
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 268 seconds]
<DigitalKiwi>
(i tried it on an email account i control as well and also anecdotal evidence that they had trouble finding my address, if they'd only gotten one it was obvious)
toppler has joined #nixos
chreekat has quit [Quit: quitting]
waleee-cl has quit [Quit: Connection closed for inactivity]
<kraem>
anyone running iwd? i have a problem where dhcpcd is getting an ipv6 address before iwd has had a chance to obtain one, which means i can't connect to the network. after stopping dhcpcd service iwd is able to connect though. is iwd providing a dhcp client by itself?
<{^_^}>
[nixpkgs] @kevincox pushed 0 commits to kevincox-oa_ded: https://git.io/JezdK
<infinisil>
kraem: Just update to a newer ihaskell version
<ocharles>
can anyone help me setup syncthing? I've enabled the service and it's running, but I don't really understand how to actually use it in NixOS. I want to share /home/ollie/sync over some devices, but I don't think the syncthing service has privileges to this folder
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<kraem>
ocharles: you can define syncthing.user, syncthing.group and syncthing.dataDir
<zeta_0>
infinisil: is this what i need to change ? `compiler = "ghc865";`
<infinisil>
Nope, you need to update the ihaskell repository version
o1lo01ol1o has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
<kraem>
ocharles: don't know what's typically done. i've set it up to my own user and group and then defined different dirs under my home folder. maybe there are smarter ways though.
<zeta_0>
infinisil: oh the url, so this link is broken in nixos-unstable ? do you know the link to the new repository ?'
<ocharles>
kraem: that's cool. I think I might be OK with just creating /sync that is owned by me, but group read and writable by the syncthing group
<DigitalKiwi>
and don't be like me and point it at your home folder without changing the user and have it change ownership of your home to syncthing...
<DigitalKiwi>
i don't guarantee it is right or best but it's been working for me
toppler has joined #nixos
aaa_ has joined #nixos
<DigitalKiwi>
(and by fun i mean i could no longer login and i was using the nvidia drivers so i didn't have tty1 and i also had no idea what had happened)
<aaa_>
hi, I would like to ask whether I should use: videoDrivers = [ "intel" or "nvidia" ]; I have the following graphics:
<zeta_0>
infinisil: ok, i haven't spent to much time using git so there's still some things that confuse me
<zeta_0>
infinisil: do you remember me ?
MightyJoe has joined #nixos
<kraem>
aaa_: if it's a laptop it's probably a nvidia optimus one. then there are 3 options i think; 1. nvidia prime = running nvidia discrete card for everything (basically disabling the intel one) 2. bumblebee = divide the work between the two cards 3. running everything on the intel card
cyraxjoe has quit [Ping timeout: 268 seconds]
<zeta_0>
infinisil: you helped me install nixos a couple months ago, nixos has a very high learning curve but i'm starting to get the hang of it and see the benefits
<clever>
m3thos: if you just want to install the same software, all you have to copy is configuration.nix
<selfsymmetric-mu>
Fun NixOS trick. One of my daemons was laggy, so I set `services.redis.enable = true`, set `lpop` and `rpush` on the interface and boom, no more lag.
<m3thos>
what about the bootloader config ? (I'm just in disbelief that this is so simple..)
<clever>
m3thos: depending on how it boots, you may need to fix the boot.loader.grub.device in configuration.nix, to point to the new device
bsima has joined #nixos
<clever>
m3thos: nixos-generate-config will handle the fstab level stuff
cyraxjoe has quit [Ping timeout: 268 seconds]
<clever>
m3thos: and once the configuration.nix is copied, just nixos-install as normal, which will remake the whole system, and update the bootloader
<m3thos>
okay, this is outstanding. loving nixos more and more
<m3thos>
I guess I'm just tired and forgot tha this is what it means to have a functional declarative distro
growpotk- has quit [Ping timeout: 240 seconds]
<m3thos>
tempted to use it on my laptop, but with nvidia prime + cuda + k8s and lots of C++, python and Go stuff.. I'm ferfull I'll run in to trouble of missing libraries or packages because of the pure isolation of components/libraries/etc..
<clever>
m3thos: i have had cuda work before on nixos, not sure what would happen if you try to use it under a container though
o1lo01ol1o has joined #nixos
m0rphism has quit [Ping timeout: 240 seconds]
wildtrees has quit [Quit: Leaving]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
Neo-- has quit [Ping timeout: 240 seconds]
petar has quit [Read error: Connection reset by peer]