<throwup>
has someone here gotten tpacpi-bat/acpi_call to work on NixOS?
<pikajude>
Is it possible to get nix to tell me what is the actual path when it says "warning: dumping very large path (> 256 MiB); this may run out of memory"
<pikajude>
I would love that
silver has quit [Read error: Connection reset by peer]
smichel is now known as smichel17
<pikajude>
ok, looks like it isn't
<pikajude>
how annoying
TonyTheLion has quit [Ping timeout: 260 seconds]
ison111 has quit [Quit: WeeChat 2.0]
chreekat has quit [Quit: quitting]
<clever>
pikajude: do you have any src = ./. in your expression?
<pikajude>
yeah, i have a number of those
<pikajude>
none of them point to directories anywhere near 256mb in size
<contrapumpkin>
pikajude: maybe with -vvvvv?
<pikajude>
hmmmmmmmmmm
<pikajude>
maybe
<clever>
pikajude: what does "du -h" say?
<pikajude>
984K
ison111 has joined #nixos
<clever>
pikajude: what is the root .drv after it does all the evals?
<pkill9>
does nix do like a drop-in replacement of libraries for the nvidia proprietary drivers? does everything still need to be compiled against them?
jluttine_ has quit [Ping timeout: 268 seconds]
<clever>
pkill9: nixos handles that by putting /run/opengl-driver/lib into LD_LIBRARY_PATH
<pkill9>
oh ok
<clever>
pkill9: so programs compile against a generic mesa library, then the right one is swapped in at runtime
<pkill9>
ah alright
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
brodavi has quit [Quit: Page closed]
uptime has quit [Quit: They ask me how I'm doing and I say, "quite frankly, stellar."]
<ison111>
For an NFS server are there any options that determine if other users on the network can connect? I can mount the share on the same machine, but all other machines just hang when trying to mount. The machines can communicate as I can ssh in. All I have exported is "/nfs *(rw,nohide,subtree_check)"
<Dezgeg>
the firewall?
<parsnip>
hmm, trying to run `nix-env -qa --verbose` on ubuntu ,getting "GC Warning: Failed to expand heap by 8388608 byte"
<parsnip>
and "Killed"
<parsnip>
i think RAM is too small, .5G
<samueldr>
running with `time -v`, "Maximum resident set size (kbytes): 910 104", so ~888MiB
sigmundv has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bfrog has quit [Ping timeout: 265 seconds]
sigmundv has quit [Ping timeout: 256 seconds]
mbag has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Read error: Connection reset by peer]
<pie_>
im packaging gscan2pdf and its tests fail on Gtk-WARNING **: cannot open display: at /nix/store/frjhwxjswgyq0cyw48j9d5yl6hqpghzd-perl-Gtk2-1.2498/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi/Gtk2.pm line 126.
<pie_>
im not sure how i could possibly fix this without disabling tests
jluttine_ has joined #nixos
Ndrei2 has joined #nixos
<Ndrei2>
clever: if you're still here, I finally found the LUKS header, which looks exactly as it should (94eb00000) but when I do mount it as a loop device and luksopen cryptsetup complains it's not a valid luks device
<Ndrei2>
Also, when I tried dividing by 0x512, I got a much lower value than I expected (partition would turn out to be 400gigs, which it never was,only about 240)
bfrog has joined #nixos
<Ndrei2>
what am I doing wrong?
<Ndrei2>
aaah
<pkill9>
clever: how do the nvidia proprietary blobs know which xorg libraries to look for?
<Ndrei2>
can the fact that I've dd'd with a block size of 1G have something to do with this?... I guess I need to make a different calculation now
<pkill9>
since the xorg libraries are gonna be in /nix/store/*
jluttine_ has quit [Ping timeout: 240 seconds]
<pkill9>
am I correct?
<Ndrei2>
I did dd if=<device> bs=1G skip=150
<clever>
ndrei2: you have to divide by 512 decimal, which is 0x200 hex
<Ndrei2>
then piped that to hexdump
<pikajude>
wouldn't you just use patchelf for that
<Ndrei2>
yes sorry typo I did divide by 0x200
<pkill9>
oh yeah i would have thought so pikajude
<clever>
ndrei2: does it show at an offset of 0 when you use the skip on dd?
rardiol11 has joined #nixos
tertleeltret has quit [Quit: Connection closed for inactivity]
<pkill9>
i'm wondering how nix fits that part in
<Ndrei2>
the full command I ran is dd if=<device> bs=1G skip=155 | hexdump -C | grep LUKS
<clever>
ndrei2: and that spit out 94eb00000 ?
rardiol1 has quit [Ping timeout: 248 seconds]
<Ndrei2>
yes, after many false positives
<Ndrei2>
but it did have LUKS.... aes ..
<clever>
ndrei2: then the data is 150gig + 0x94eb00000
<Ndrei2>
dam
<pkill9>
hmmm I guess you could just make a package for the nvidia blobs and patch them with inputs of xorg, and the LD_LIBRARY_PATH environment var will get all software to use them
<Ndrei2>
SORRY... I really need sleep
<Ndrei2>
thank you
<Ndrei2>
very much
<pkill9>
well, patch them such that they look in those xorg inputs
sigmundv__ has quit [Ping timeout: 264 seconds]
<pikajude>
pkill9: just patchelf in the buildPhase of the derivation i would assume
<pikajude>
that's how nix does it for a lot of proprietary software
d4g has joined #nixos
<pkill9>
you can specify LD_LIBRARY_PATH for a library using patchelf right? so you would patch the nvidia blobs and then also specify LD_LIBRARY_PATH so that software will use those blobs
<pkill9>
welp thanks for answering my questions
<clever>
ndrei2: as an example, try dd if=<device> bs=1G skip=192 | hexdump -C | grep LUKS
<clever>
ndrei2: you should get a much smaller number
mbag has joined #nixos
<parsnip>
so if i want to use small VPS, nix is out?
<clever>
ndrei2: keep narrowing in, and also try to switch to bs=512 when you get close (youll need to bump skip up by a factor of *2097152
<Ndrei2>
okay, I thought I was closer than that
<tilpner>
parsnip - nix-env -qa is out (without swap), but you can still use the rest
<parsnip>
ah. so qa is just for listing packages?
mbrgm has quit [Ping timeout: 252 seconds]
d4g_ has quit [Ping timeout: 265 seconds]
<Ndrei2>
sorry for being so confused, I haven't had much sleep and am really looking forward to fixing this.. so you're saying the first value I had from that command, I can't use that to calculate the offset for fdisk?
<clever>
ndrei2: you could, but it helps to double-check things by narrowing it in with dd first
<clever>
ndrei2: the 192 i gave above will get you within 1 gig
<tilpner>
parsnip - Yes, you don't really need it
mbrgm has joined #nixos
<parsnip>
okay, thanks, will skip that step in tutorials :)
<Ndrei2>
okay, but can't I just calculate myself out of this? I mean, 155gigs in bytes / 512 + (0x... / 0x200) should give me the correct offset right? cause with the result I get it's still way off (400gb partition)
<clever>
ndrei2: yeah, i believe thats right
<Ndrei2>
i'll try dd'ing that with skip and see if I get the luks header
exec_ has quit [Quit: Konversation terminated!]
xvnvx has joined #nixos
<Ndrei2>
that seems wrong, just gives me some empty space
<Ndrei2>
and the offset is correct, but the calculation is wrong
<Ndrei2>
somehow..
ditadi has quit [Ping timeout: 255 seconds]
<clever>
ndrei2: what about the 192 i gave above?
Drakonis has joined #nixos
<Ndrei2>
no if i do dd if=<device> skip=<offset> bs=512 I get some empty space
<clever>
`dd if=<device> bs=1G skip=192 | hexdump -C | grep LUKS` and wait some, it should be within half a gig
<clever>
and what device path are you using?
<Ndrei2>
the device itself not a partition
<Ndrei2>
so that's correct
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
jluttine_ has joined #nixos
<clever>
ndrei2: what about a skip of 190 or 180?
<Ndrei2>
okay I'll run that again but I can you explain how that will help? I mean, I still have to calculate the offset taking into account the skip=, altough it would confirm it's indeed there. I'm launching it now
<Ndrei2>
It's very very slow so though
parsnip has left #nixos ["WeeChat 2.1-dev"]
<clever>
mostly just confirming things havent been typoed somewhere
hydra_ has joined #nixos
pie_ has quit [Excess Flood]
pie_ has joined #nixos
<Ndrei2>
hmm something's wrong with the calculation, or somewhere, when I convert the offset to a size in GB I get 40
<Ndrei2>
where I'm expecting something like 190+
<clever>
ndrei2: dd may use 1000 based units for 1G, rather then 1024 based
ison111 has quit [Quit: WeeChat 2.0]
jluttine_ has quit [Ping timeout: 268 seconds]
<Ndrei2>
man dd says G means 1024^3
<clever>
has it been found again with a different offset?
<hydra_>
Hydra's jobsets are evaluated and placed on a queue, but queue runner never runs them. Status of a job in a Hydra's interface is 'Scheduled to be built' and journal message of queue-runner is 'loading build <build-nbr>'. On 'systemctl restart hydra-queue-runner' error message is 'hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead'. Does anyone know what is causing this and how to
<clever>
hydra_: what features have you enabled on your build slaves?
<Ndrei2>
no not yet, it's extremely slow, but if I'm lucky I'm closer now, so it should be faster
<Ndrei2>
clever: yep found it now
<Ndrei2>
different offset of course
<clever>
ndrei2: what dd command was used, and what offset did it find?
<clever>
so the 192 i gave before should have found it
<Ndrei2>
sorry I missread that, launched now with 192
<Ndrei2>
and yes found
<Ndrei2>
0eb00000
<clever>
exactly 192gig and 235mb
stephenjudkins has quit [Remote host closed the connection]
<clever>
ndrei2: so that luks header is at 196843 MB
<hydra_>
clever: What do you mean by features? attributes under services.hydra?
<Ndrei2>
all right, so I need to translate that into an offset for fdisk..
<Ndrei2>
I mean, not an offset, the first sector
<clever>
hydra_: the supportedFeatures entry under buildMachines
stephenjudkins has joined #nixos
<clever>
ndrei2: fdisk should accept a start in mb
<Ndrei2>
oh all right
<Ndrei2>
um, nope, it really wants a sector, says value out of range
<clever>
403134464 sectors from the start
<Ndrei2>
bingo
<clever>
and just to double-check, see what print says about the start after formating things
<Ndrei2>
contains a luks signature :)
<clever>
now the size is all that remains
<Ndrei2>
which I don't want to remove :)
<Ndrei2>
yes
<Ndrei2>
:).. great relief, thank you very much for your help and please excuse me for my sloppyness, I'm really tired and wasn't really looking forward to ending my day salvaging my data
pkill9 has quit [Ping timeout: 264 seconds]
<clever>
yep
hiroshi has joined #nixos
<hydra_>
clever: I don't use supportedFeatures at all. I was running deployment with the identical code before couple of months and had no problems. I deployed fresh on both ec2 and vbox. My code is similar/based to/on this https://github.com/peti/hydra-tutorial/blob/master/hydra-master.nix
<clever>
hydra_: do any of your jobs need the kvm feature? or others
<adisbladis>
Hmm I need to read a yaml file with nix. Currently I wrapped up https://github.com/casualjim/yaml2json in a derivation and use that to transform it to json so I can use `lib.importJSON` but that feels _super_ dirty. How could I make this better?
<hyper_ch>
clever: from kexec I tried now to nixos-install -I nixpkgs=/mnt/root/nixpkgs but I get error: writing to file: No space left on device I did create a swap device but that doesn't seem to help
<coconnor>
unlike other build tools there isn't the same cost to requiring a new build tool in a build process
<coconnor>
so long as the new build tool is a derivation
griff_ has joined #nixos
<coconnor>
other devs won't have to figure out how to distribute the tool to their systems so they can perform the builds yada yada
<coconnor>
heck, other devs might not even need the yaml2json derivation at all. The derivation that is the loaded json of that can be distributed directly
dbe_ has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
hakujin has joined #nixos
abathur has joined #nixos
<adisbladis>
tilpner: No that looks far more painful than what I was going for :P
<adisbladis>
coconnor: I'm aware of all this.
<tilpner>
adisbladis - Exactly, and YAML is a lot more complex than TOML, so it'd be worse than that
<adisbladis>
Anyway. I'll stick with what I have for now. Other problems to resolve :)
griff_ has quit [Quit: griff_]
leat has quit [Ping timeout: 265 seconds]
asuryawanshi has joined #nixos
azertyieio has quit [Ping timeout: 252 seconds]
<Ralith>
my favorite thing about yaml is how the most popular implementation is abandoned, buggy, and targets an outdated version of the spec
<etu>
toml <3
<etu>
It's nice for configs
hakujin has quit [Ping timeout: 256 seconds]
<makefu>
i can never remember how many brackets for lists and key-value stores. Imho it is not as intuitive as json
<makefu>
even though more pretty
<etu>
json isn't very nice for configs due to the lack of comments
<simpson>
JSON for machine-readable files, and nothing for config files because config files are an anti-pattern~
* simpson
maybe joking?
<makefu>
simpson: what would you prefare, something like a registry instead, or a database even? not sure what are real good alternatives for config files. of course sane defaults would be fantastic but the world is difficult
griff_ has joined #nixos
klntsky has quit [Ping timeout: 255 seconds]
<simpson>
makefu: CLI flags. Supported by shell, every orchestrator I know of, and easy to spot in code diffs.
<johnw>
clearly we need the Windows NT registry for NixOS
<makefu>
finally, a document-object-language to rule them all!
<simpson>
makefu: That's a terrible argument. TOML is "butt-ugly" too. So is YAML. So is JSON, but JSON's at least standardized and maybe we'll have figured out how to write compliant parsers in the next couple years.
<Havvy>
Compliant JSON parser is ill-defined becomes compliant JSON is ill-defined.
<etu>
We should all use mark instead
<makefu>
simpson: no no, parameter are like the next level of ugly. just think about trying to find one parameter in a 1000 characters single-line process call. lists and key-value stores also not really something easy to work with
<etu>
</joke>
<vaibhavsagar>
let's all switch to Dhall
* Havvy
marks down etu as a troublemaker.
<dhess>
ok
<simpson>
makefu: You should learn how to use newlines in shells, especially when writing shell scripts.
<dhess>
vaibhavsagar: I use it in my personal projects
<makefu>
simpson: you mean, everybody should. you have to think about how people would use your proposal
<vaibhavsagar>
dhess: that's pretty cool!
<simpson>
makefu: I also know how to insert newlines in other peoples' shell scripts.
<etu>
Havvy: Nah
<vaibhavsagar>
I've wanted to use it for a while but haven't gotten around to it yet
hakujin has quit [Ping timeout: 265 seconds]
<makefu>
simpson: okay, lets be honest here. arguments have their place in system configuration but they are not the one thing to use for everything.
Arcaelyx_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dpc opened pull request #34728: Add pam option to enable Google Authenticator (master...master) https://git.io/vAUzx
NixOS_GitHub has left #nixos [#nixos]
<makefu>
also, moving the goal post is not a nice thing to do ;)
<simpson>
makefu: I *am* being honest with you, or at least I am presenting my arguments as best I can. Your POV, to me, is an impediment to automation at best and a frustrating bikeshed-factory at worst.
<hyper_ch>
hi makefu
<makefu>
simpson: ah you thought my proposals about registry and database were what i thought was the right thing to do ... sorry this was not my intention
<makefu>
i think config files are what we should use for most things as they scale and can be templated with nix quite nicely
<simpson>
makefu: Huh? No, I've talked with you many times before, and I'm just not very patient with you. I don't really expect to change your mind, but I did lay out my reasoning.
<simpson>
Templating configuration files is a last resort, honestly.
<makefu>
templating arguments is not so much fun either
<simpson>
Perhaps templating sucks in general.
<Havvy>
Templating in HTML is nice.
<makefu>
probably, yes
<Havvy>
Templating in macros is painful, but the result is useful.
<makefu>
simpson: btw i think you haven't talked with me a lot (at least according to my channel irc log). maybe you are mistake me for someone else?
<hyper_ch>
I'll change my kimsufi strategy... at first I'll just setup a normal zfs system with nixos... once that runs, I can convert it to encrypted
<hyper_ch>
btw, is there in nixos/grub somehow a command that makes the next boot go into generation D and the boot afterwards again in generation B?
<makefu>
hi hyper_ch btw :)
<hyper_ch>
makefu: just keep ignorning me... :)
<markus1189>
I recently saw @some-attribute@ interpolation, how does that work in nix?
<makefu>
i would never do that :D
<adisbladis>
makefu is too nice for that
<hyper_ch>
so, do you know how to make the next-next boot go into a given generation?
<coconnor>
next-next? interesting
<hyper_ch>
rational: I setup kimsufi server with nixos and normal zfs... once that runs, I make encrypted container yadda, yadda, yadda and put stuff in there... now I want to reboot and if there goes something wrong I can't access it
<hyper_ch>
so the boot after that should go back to a generation that works
<hyper_ch>
basically grub that next boot shall be generation 5 and the boot after shall be generation 3 again
hakujin has joined #nixos
periklis has joined #nixos
griff_ has quit [Quit: griff_]
abathur has quit [Ping timeout: 260 seconds]
sud0x3 has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
<coconnor>
hm. Definitely don't know. Seems like a grub scripting would be required
<coconnor>
grub can probe the existence of files (only off boot?). Could touch a file at the end of the first boot to indicate success
<coconnor>
no idea how to write a grub script that probes that tho
<coconnor>
there is a fallback boot. How does that work?
periklis has quit [Ping timeout: 248 seconds]
<hyper_ch>
coconnor: good question... thanks for the input... I'll investigate
<steveeJ>
would someone know how to teach nautilus ftp/smb/etc.. without running full gnome?
goibhniu has quit [Quit: Leaving.]
babyflakes has joined #nixos
goibhniu has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
<alp>
Ralith, online.net still doesn't offer nixos out of the box right? got to do the rescue console thing there as well right?
<alp>
I remember doing that to my server a while back.
<Ralith>
right, similar dance
<Ralith>
lots more bandwidth for your dollar though
hakujin has quit [Ping timeout: 265 seconds]
<alp>
heh sure, I used to use kimsufi back when I was a student and kimsufi a little thing, looks like it belongs to OVH now =)
winem_ has joined #nixos
Itkovian has joined #nixos
TonyTheLion has joined #nixos
<TonyTheLion>
what are the constraints on what gets accepted to nixpkgs repo?
MP2E has quit [Remote host closed the connection]
<TonyTheLion>
if I develop some library X, what would it take for me to add it to nixpkgs? Is it just a matter of me adding it and then making a pull request?
<Yaniel>
pretty much
klntsky has joined #nixos
<TonyTheLion>
Yaniel: so the projects don't have to meet any particular standard or anything?
Wharncliffe has quit [Quit: Lost terminal]
<adisbladis>
TonyTheLion: It's a bit fluid what gets merged or not. Nothing written in stone. But generally the quality of the nix expression is what we review.
<TonyTheLion>
ah I see
asuryawanshi has joined #nixos
<TonyTheLion>
cause we will have a Hydra server to build our own stuff on, some of it is opensource, so thats why I was wondering how easy/hard it may be to contribute the opensource stuff to nixpkgs
<adisbladis>
We are overwhelmed with too many PRs and not enough manpower so you might have to work a bit on reminding people and pushing for it
rauno has quit [Remote host closed the connection]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
hakujin has joined #nixos
<TonyTheLion>
adisbladis: ah good to know
arjen-jonathan has joined #nixos
<hyper_ch>
isn't it good to have too many PRs than too few?
<hyper_ch>
btw, how can I check if a PR that was merged to master is also available on unstable (small)?
chrios has quit [Ping timeout: 256 seconds]
chrios_ has joined #nixos
<adisbladis>
hyper_ch: It's not a good thing if it takes too long for new contributors to get things merged
<Guanin>
Well, it shows that the community is active, but if there are too many PRs, it can also mean that changes take a longer time until they are available for all users
hakujin has quit [Ping timeout: 256 seconds]
<adisbladis>
Ideally we would hover around the same number of open PRs but now it keeps going up
<hyper_ch>
adisbladis: I still fail how to check there
<nico202>
nixos-unstable is a week old, what is blocking it?
<hyper_ch>
ah ok
<adisbladis>
nico202: Unstable keymap tests it seems like
<hyper_ch>
adisbladis: but still, I don't get how I can see what individual packages are now at
<betaboon>
hello #nixos. i have a question on nixops + containers in a virtualbox: is it possible to put all containers within a virtualbox in a bridge automatically or do i have to configure nat for the virtualbox manually ?
<ij>
It seems like there's garbage in form of unprintable ^H in the contents of `man man` when piped into an editor or a file.
<fearlessKim[m]>
when merging staging into master, there might be conflicts, the maintainer who merges is going to solve these ? some blogpost I read said the merging happened every couple weeks , is that still a valid assumption ?
hakujin has joined #nixos
thc202 has joined #nixos
alexteves has joined #nixos
LangeOortjes has quit [Ping timeout: 256 seconds]
hakujin has quit [Ping timeout: 255 seconds]
Phillemann has joined #nixos
chrios has joined #nixos
chrios_ has quit [Ping timeout: 256 seconds]
<Phillemann>
I have a nix expression that builds a directory structure inside the temporary directory. I'd like to inspect that structure. Can I somehow evaluate the expression like nix-build does, but stop before a phase?
<Phillemann>
I could, uhm, "ls -R" in the build script, but it's not great.
<tilpner>
I... uhm... usually make a late phase fail and pass -K
<tilpner>
:/
<tilpner>
You could also use nix-shell -A, then run genericBuild
* tilpner
only learned that recently
<freeman42x[NixOS>
when running nix-build -A freeplane from inside clone of nixpkgs does it build other derivations that are dependencies based on the expressions in the cloned repository?
<sphalerite>
freeman42x[NixOS: yes
<sphalerite>
Anyone heard about the new nocode framework? I think nix, given its etymology, is uniquely posed to benefit from widespread adoption
ThatDocsLady has quit [Read error: Connection reset by peer]
coot has quit [Quit: coot]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master a600b62 Michael Raskin: linux_4_15: fix a partial version downgrade on staging merge
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vAUQv
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
betaboon has joined #nixos
ThatDocsLady has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
tunnels has joined #nixos
<manveru>
freeman42x[NixOS: i'm getting `Plugin [id: 'nebula.ospackage', version: '4.4.0'] was not found in any of the following sources:` there
<manveru>
what nixpkgs are you building it against?
tunnels has quit [Client Quit]
<manveru>
i'll try with unstable
hakujin has joined #nixos
<freeman42x[NixOS>
manveru, I am building against a branch of top of master from a few days ago
<freeman42x[NixOS>
manveru, did you try this: <<To reproduce the issue just git clone https://github.com/razvan-panda/nixpkgs, checkout the freeplane branch and run nix-build -A freeplane in the root of the repository.>> ?
<freeman42x[NixOS>
manveru, also in comments here there is an easier way to reproduce (I haven't tried it though)
<srk>
is there a list of nixpkgs.options options? would be nice if it worked similar way to man configuration.nix
<tunnels>
how do i delete the emacs desktop file (i use emacseditor) or hide it from i3-dmenu-desktop? I tried using overrideAttrs for postInstall, but the file still appears in i3-dmenu-desktop
<srk>
manveru: tried that but I cannot resolve far enough
<srk>
for example nixos-option nixpkgs.config.firefox
<NixOS_GitHub>
[nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vAUdt
NixOS_GitHub has left #nixos [#nixos]
ssmike has quit [Quit: ssmike]
alexteves has quit [Ping timeout: 255 seconds]
<freeman42x[NixOS>
manveru, I think the issue is that I am using Gradle wrong, my nix expression is the only one using `, gradle` as input to the derivation
ZoomZoomZoom has joined #nixos
hakujin has joined #nixos
rauno has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] geistesk opened pull request #34733: fpdf: init at 1.7.2 (master...fpdf) https://git.io/vAUdV
NixOS_GitHub has left #nixos [#nixos]
<__monty__>
Is there any harm to having nix.conf, config.nix and remote-systems.conf on github? Local IPs and paths to local key files seem the most sensitive parts.
hakujin has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda opened pull request #34734: home-assistant: fix tests by pinning pytest==3.3.1 (master...home-assistant) https://git.io/vAUdx
NixOS_GitHub has left #nixos [#nixos]
<__monty__>
And, how do I get nix to install thunderbird's .desktop file?
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vAUbG
hakujin has quit [Ping timeout: 256 seconds]
klntsky has quit [Ping timeout: 255 seconds]
ma27 has quit [Ping timeout: 260 seconds]
hydra_ has quit [Ping timeout: 260 seconds]
silver has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 266292a geistesk: fpdf: init at 1.7.2
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAUN3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 28e0126 Frederik Rietdijk: Merge pull request #34733 from geistesk/fpdf...
ckauhaus has joined #nixos
<freeman42x[NixOS>
is there any example in nixpkgs for using gradle for build in a nix expression? I couldn't find any
ma27 has joined #nixos
<betaboon>
has anyone experience with using node2nix? I have to deploy using nixops a nodejs project from a private-git-repo and currently wondering if i have to have a duplicate of the package.json in my nixpkgs-repo and run node2nix manually, or how to go on about that. any advice ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vAUNw
swills has quit [Remote host closed the connection]
<sphalerite>
forgetful: no, nixpkgs-17.09 does not exist
knupfer has joined #nixos
<sphalerite>
infinisil: ^
<sphalerite>
monty: what do you mean by the nixpkgs channel? (Re your question about the web search interface)
hakujin has joined #nixos
griff_ has quit [Quit: griff_]
<__monty__>
The web search seems to search only the nixos channel, I'd like to search the nixpkgs channel.
<sphalerite>
ertes-w: not that I know of. There's no guarantee that whatever path you choose won't break something in the future of course, but I'm not aware of anything that doing so would currently break
<LnL>
forgetful: no, there are only nixos/darwin channels for 17.09 since packages generally don't change that much
<sphalerite>
There is no nixpkgs channel
<ertes-w>
sphalerite: thanks
<forgetful>
@LnL,sphalerite: thanks!
<LnL>
there are small channels if you want something that updates faster
<sphalerite>
monty: nor is there a nixos channel for that matter
<sphalerite>
monty: do you mean nixos-17.09, nixos-unstable, nixpkgs-unstable, or one of the small variants?
swills has joined #nixos
swills has quit [Changing host]
swills has joined #nixos
<sphalerite>
srk: yeah nixpkgs.config is bad and deprecated AFAIK
hakujin has quit [Ping timeout: 255 seconds]
swills_ has joined #nixos
swills_ has quit [Client Quit]
<srk>
sphalerite: good! :)
knupfer has quit [Ping timeout: 260 seconds]
yann-kaelig has joined #nixos
<pie_>
ive run into a classic newb issue
<pie_>
i put libtiff in buildInputs but the libtiff supplied tiffinfo isnt in my path when i use nix-shell -p
<__monty__>
sphalerite: I meant nixos-unstable and nixpkgs-unstable, I assume the web interface searches nixos-most.recent?
hakujin has joined #nixos
knupfer has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
hakujin has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<forgetful>
any idea why this is happening: builder for ‘/nix/store/kyk43l3frv2ll1y6wj0629zvzpy3gi8p-servant-snap-0.7.3.drv’ failed with exit code 1? I am using https://nixos.org/channels/nixos-17.09
<forgetful>
the actual error is: Setup: Encountered missing dependencies:
<forgetful>
io-streams ==1.3.*
thblt has joined #nixos
<LnL>
jailbreaking might help
hakujin has quit [Ping timeout: 256 seconds]
<forgetful>
LnL: jailbreaking?
fendor has quit [Read error: Connection reset by peer]
<freeman42x[NixOS>
nix-build is doing builds as a different user right? if I do nix-build -K -A somePackage
<freeman42x[NixOS>
and go to the /tmp/ folder generated and run gradle build I get a different error
<freeman42x[NixOS>
which I assume is because I am running as my user instead of the build user amongst other things
<infinisil>
sphalerite: ah, didn't check
<freeman42x[NixOS>
which is the proper way to debug this?
<LnL>
freeman42x[NixOS: yeah, you'll want to chown that to your current user first
<freeman42x[NixOS>
basically to get to reproduce the error during nix-build by manually typing `gradle dist`
lord| has quit [Quit: WeeChat 2.0.1]
<LnL>
alternatively you can run genericBuild in nix-shell '<nixpkgs>' -A hello
<freeman42x[NixOS>
LnL, the /tmp/nix-build-freeplane-1.6.13.drv-4 folder?
<sphalerite>
__monty__: the web interface is only for nixos-17.09 AFAIK. I don't know of one for searching unstable. Shouldn't be too hard to hack together though
<freeman42x[NixOS>
LnL, what does genericBuild do?
<freeman42x[NixOS>
is there no way to continue from where nix-build failed (eg. during the build step)?
<freeman42x[NixOS>
cause I used nix-build -K so it kept the intermediate results
<freeman42x[NixOS>
just being in a terminal and getting the same error on `gradle dist` would be very helpful
<gchristensen>
no, you can't resume a partially done build
<gchristensen>
oh, you could do it by hand
<LnL>
depends on the expression, but usually you can invoke the configurePhase/buildPhase etc in a shell
<gchristensen>
but not to finish it with nix-build
smichel17 has joined #nixos
smichel17 is now known as Guest45748
Guest45748 is now known as smichel
<samueldr>
__monty__, sphalerite, it'll be worked on soon to try to upstream it to nixos.org website, but I have made an interface with channel selection https://nix.samueldr.com/explorer/?channel=17.09
hakujin has joined #nixos
<samueldr>
(if/when the unstable channel seems out of date, ping me and I'll update)
<sud0x3>
I just installed nixos and have been using saltstack to manage machines. Is anyone using salt with nixos and or know where it would fit in with nixos?
<sphalerite>
Oh yeah, that! Cool stuff
<gchristensen>
sud0x3: generally it wouldn't fit, because of how thorough nixos' own configuration management system is
<sud0x3>
so i could replace salt entireley with nixos, this was what i was hoping for :)
<sphalerite>
:D
seccus has quit [Ping timeout: 240 seconds]
alexteves has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
<srk>
sphalerite: try nixops :) I'm ditching both ansible and salt in favor of nix/nixos/nixops :)
<srk>
sud0x3: ^^
<srk>
oops
thblt has quit [Remote host closed the connection]
<yorick>
maybe I could add an [install] section manually
<ertes-w>
gchristensen: that worked, thanks!
coot has quit [Quit: coot]
<gchristensen>
great!
fendor has quit [Client Quit]
thblt has joined #nixos
<yorick>
I can add extra unit config using systemd.services.thing.text, no?
hakujin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master f4ff322 Robert Schütz: pythonPackages.pecan: remove superfluous patch
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vATL6
<NixOS_GitHub>
nixpkgs/master ec506fd Frederik Rietdijk: Merge pull request #34736 from dotlambda/pecan...
hakujin has quit [Ping timeout: 252 seconds]
betaboon has quit [Read error: Connection reset by peer]
betaboon has joined #nixos
xcmw has joined #nixos
Unode has quit [Ping timeout: 240 seconds]
<ertes-w>
BTW, how long does it typically take for PRs with new packages to be merged? just so that i know what to expect =)
<adisbladis>
ertes-w: It varies a lot
<gchristensen>
at almost merged 700 PRs a month, some otherwise-easy PRs slip through the cracks
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vATYH
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nix/master ad97a21 Eelco Dolstra: nix-env: Fix parsing of --system...
<adisbladis>
ertes-w: You have any specific one in mind?
<ertes-w>
well, i'd expect new packages to be not-so-easy, unless they add well known software, but i don't know how far the committers go with auditing
<gchristensen>
^ the bot got hung up on a bug overnight, sorry
<adisbladis>
Also: If there is no action after a few days dont hesitate to CC the reviewers who have previously commented. It's usually just forgotten about
Unode has quit [Ping timeout: 265 seconds]
<betaboon>
argh npm is driving me crazy. who invented this ...
<adisbladis>
betaboon: Whats the issue?
* adisbladis
is currently digging deep into npms inner workings
<rardiol1>
what if no reviewrs commented? I think I have a reasonably simple update PR that got lost in the backlog
<gchristensen>
rardiol1: link?
<betaboon>
adisbladis: just trying to figure out how to write a derivation for a node8 project, that is in a private repo, and should be deployed using nixops :/
<ertes-w>
gchristensen: huh? did i delete something by accident?
<gchristensen>
ertes-w: when you open a PR, there is a pull request template in the PR description box, but most of your PRs don't have them
<betaboon>
adisbladis: currently trying to get the hang of node2nix. tried `nix-shell -p nodePackages.node2nix` but I'm getting version 1.3.0, even tho the nixpkgs-channel states 1.5.0 is available oO
<ertes-w>
gchristensen: oh, that's probably because i'm using the command line tool
<gchristensen>
interesting
<ertes-w>
i don't use the web interface much
<adisbladis>
betaboon: Which channel are you on?
<betaboon>
adisbladis: 17.03
<betaboon>
adisbladis: sorry: 17.09
<ertes-w>
gchristensen: i'll just copy the template then… maybe i can tell 'hub' to use the template by default for nixpkgs, otherwise i'll use it by hand
<gchristensen>
thanks :)
hakujin has joined #nixos
coot has joined #nixos
<adisbladis>
betaboon: Did you update your channels? I get 1.5.1 from 'nix-shell -I 'nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-17.09-small.tar.gz' -p nodePackages.node2nix'
<adisbladis>
betaboon: Sadly cant help you with node2nix. At my work we recently switch away from npm before I got the chance to use it.
ixxie has joined #nixos
<betaboon>
adisbladis: i just updated the channel using `sudo nix-channel --update`. I don't have a nix-channel setup for my user-environment.
<betaboon>
adisbladis: what did you switch to from npm ?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adisbladis>
betaboon: pnpm
hakujin has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
<betaboon>
adisbladis: do you use that together with nix ?
<adisbladis>
It can already build a simple application
<betaboon>
adisbladis: even with giving the nixpkgs-channel explicity (like your command above) `node2nix --version` returns "node2nix 1.3.0" what the fuck is going on oO
<adisbladis>
betaboon: Have you at some point installed it into your profile with nix-env maybe?
<betaboon>
adisbladis: found the problem. i had the nodePackages overwritten in my own overlay. stupid me :X
<adisbladis>
betaboon: You could try adding --pure to nix-shell
<adisbladis>
Ahhh :P Makes sense
<infinisil>
Oh boy, 666 PR's
<infinisil>
open PR's*
<adisbladis>
infinisil: We have been hovering at 666 for the last few days :D
<adisbladis>
Nice number
<hyper_ch>
still wondering: How can I check if a merged PR is already in nixos-unstable-small?
<infinisil>
hyper_ch: i think there's some git command for that
<betaboon>
adisbladis: pnpm looks interesting. has the transition for your web-developers been fine ?
<hyper_ch>
infinisil: what for?
<infinisil>
hyper_ch: for checking that
<hyper_ch>
I don't know how I can see what is actually contained in nixos-unstable-small
<infinisil>
hyper_ch: oh wait, are you the guy who doesn't want a git checkout?
<hyper_ch>
infinisil: not sure what you mean?
<hyper_ch>
infinisil: I just wonder if the zfs stability PR is already in unstable-small
iqubic` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<hyper_ch>
for me that's all the same as being merged
<infinisil>
a merge is a separate commit, merging 2 branches
hakujin has quit [Ping timeout: 252 seconds]
erasmas has joined #nixos
xcmw has joined #nixos
<infinisil>
yeah it doesn't matter much in the end, but it would be nice to decide on one convention
<infinisil>
you could just list all merges with git and easily check whether a pr is merged like this
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 7e9d214 Michael Alan Dorman: org-packages: 2018-02-07
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master d2f7f2d Michael Alan Dorman: melpa-stable-packages: 2018-02-07
<NixOS_GitHub>
[nixpkgs] joachifm pushed 5 new commits to master: https://git.io/vATlI
<NixOS_GitHub>
nixpkgs/master 4dda0db Michael Alan Dorman: elpa-packages: 2018-02-07
<infinisil>
and closing a pr but using the commits looks the same as just closing and rejecting a PR, which is kinda weird
MercurialAlchemi has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
<sphalerite>
Does anyone else get graphical glitches in wireshark? Rendered text is sometimes a little bit garbled. I'd send a screenshot, but starting scrot seems to trigger a redraw or something which fixes it
<infinisil>
and yeah, I'm in favor of a more minimal style, as you can see on my website
<joshuaks>
Hey yinz. I'm working on configuring vim with nix. Is there an article somewhere for creating/bundling plugins that aren't on the nix repo?
<LnL>
it's kind of hidden in the sources
<gchristensen>
ahh PA-people
coot has joined #nixos
<joshuaks>
I think the plugin is available for nixos but not Darwin currently. Looking at the repo, I don't see anything special about the NixOS logic though.
<joshuaks>
gchristensen: Ever since I've moved here I kinda use it ironically
<LnL>
maybe one of the dependencies is marked as linux only
<joshuaks>
I don't think there are any (maybe I'm an idiot). Let me find you the snippet.
<sphalerite>
gchristensen: weren't those messages previously NOTICEs?
<gchristensen>
they were
endformationage has joined #nixos
<gchristensen>
is this a substantial downgrade in functionality?
<adisbladis>
betaboon: Pretty fine :) We noticed that some dependencies were unspecified in one application but other than that its not been too eventful
<sphalerite>
not particularly, but it's always nice to have the messages less highlighted than messages from humans
<gchristensen>
ah right on
<gchristensen>
{^_^} needs some love, I'll see if I can add notice support back in :)
<infinisil>
!m {^_^}
<[0__0]>
You're doing good work, {^_^}!
<adisbladis>
:D
<adisbladis>
A bot complementing another bot. Love is in the air.
<betaboon>
adisbladis: with your pnpm2nix i can just write a derivation (like eg with mkPythonApplication) as opposed to having to maintain a node-packages.json/node-packages.nix as with node2nix/npm2nix ?
<adisbladis>
betaboon: Yeah
hakujin has joined #nixos
<betaboon>
that sounds like heaven to me :/
<adisbladis>
It just loads the shrinkwrap and generates nix packages on the fly
<adisbladis>
betaboon: I'll tell you when its more useful :)
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
<joshuaks>
Ooh that's concise. I'll try it out tonight.
<joshuaks>
Thanks LnL. I seriously looked over that line probably ten times last night.
hakujin has joined #nixos
<infinisil>
LnL: Why is that at a completely different place than vim_configurable
Sonarpulse has joined #nixos
leat has joined #nixos
<betaboon>
adisbladis: I'm very interested in your work and are willing to test it soon :)
xvnvx has quit []
<LnL>
infinisil: that doesn't really have anything to do with definition of plugins
<joshuaks>
Also, I've noticed most other pluging derivations(?) are assigned to a variable of the same name. Why is dracula assigned to vim?
<fearlessKim[m]>
the vim_configurable has room for improvement. It would be nice if the paths could be customized (to allow for neovim paths for instance)
ryanartecona has joined #nixos
periklis has joined #nixos
<LnL>
yeah, it's also one of the last remaining things using composableDerivation
hakujin has quit [Ping timeout: 256 seconds]
stephenjudkins has quit [Remote host closed the connection]
<Profpatsch>
betaboon: Yes
klntsky has joined #nixos
thblt has quit [Ping timeout: 264 seconds]
coot has quit [Quit: coot]
oida has quit [Ping timeout: 240 seconds]
oida has joined #nixos
<betaboon>
Profpatsch: I've been trying to build your yarn2nix against nixpkgs-17.09 but ran into a missing dependency "protolude ==0.2.*". that is expected, huh ?
<betaboon>
Profpatsch: if i build against nixpkgs-master it works :)
hydra has joined #nixos
hydra is now known as Guest37786
hph^ has quit [Ping timeout: 248 seconds]
coot has joined #nixos
Guest37786 has quit [Client Quit]
hydra_ has joined #nixos
Itkovian has quit [Ping timeout: 248 seconds]
<hydra_>
clever: I have set up slave like in peti's tutorial. slave is the only one listed in buildMachines but hydra machine is the one running queue runner. On restart of queue runner this is still thrown: "hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead"
jensens has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus closed pull request #34446: skopeo: remove the patch by setting a variable at build time (master...pr/skopeo) https://git.io/vN7ni
NixOS_GitHub has left #nixos [#nixos]
Myrl-saki has quit [Read error: Connection reset by peer]
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]
<infinisil>
probably it uses nixos-unstable though
seanparsons has quit [Read error: Connection reset by peer]
arjen-jonathan has quit [Ping timeout: 256 seconds]
lonokhov has quit [Quit: Lost terminal]
hydra_ has joined #nixos
Tucky has quit [Quit: WeeChat 2.0.1]
leat has joined #nixos
<hakujin>
scenario: mac developers, linux nixos hydra + production servers using pinned nixpkgs. if I want to ensure that binary substitutes are always available, do I need to manually `nix-push` from a mac to the hydra instance every so often?
<__monty__>
Hence my question directed at samueldr : ) Is my first guess as well but figured I'd check.
<Mic92>
infinisil: I did not want to force push on hyper_ch's master branch.
<Mic92>
I basically squashed it with minor changes.
<hyper_ch>
Mic92: it's going to be deleted soon anyway
<hyper_ch>
and I told you that you can force push
<Mic92>
hyper_ch: I did not got this message.
<hyper_ch>
:(
<hyper_ch>
it'ŝ ok
<hyper_ch>
I'll survive
<Mic92>
yeah, does not matter in the end.
<Mic92>
Some people are sensible, when it comes to doing that.
<hyper_ch>
it's just a temporray repo for me
coot has quit [Quit: coot]
<d4g>
Hm. I'm on unstable and on a rebuild, it seems that xorg is now built locally
<d4g>
Interestingly including nouveau and radeon drivers, which I dont use, nor do I even have an nvidia or radeon card.
nico202 has quit [Ping timeout: 255 seconds]
ixxie has joined #nixos
<judson>
Is there a way for an expression to check if its being run under nix-shell? I'd like to use the same expression for nix-shell and deploy, but I don't want to fetch the source repo if I'm *in* the source repo.
stephenjudkins has quit [Remote host closed the connection]
<Profpatsch>
betaboon: Yes, it’s only supported on unstable/master atm
<judson>
I suppose I could use a relative import...
betaboon has quit [Quit: WeeChat 1.9.1]
<Profpatsch>
The earlier version is not supported, but maybe it might make sense if people want to use it from stable.
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAT1g
<NixOS_GitHub>
nixpkgs/master 9d5ab32 Vladimír Čunát: polipo: mark as vulnerable (close #33709)
NixOS_GitHub has left #nixos [#nixos]
<d4g>
It seems that 519 #driSupport32Bit = true;
<d4g>
is the culprit
<d4g>
So 32bit support seems to be stripped from the binary builds
<judson>
(I start to wonder if I've been somehow shadowbanned.)
<gchristensen>
you're not, judson
<judson>
Thanks, gchristensen.
<judson>
Just bad at asking questions?
<judson>
;)
<gchristensen>
:P the obvious answer is to pass a parameter in from the shell.nix saying you're in a nix shell
<gchristensen>
or override the src to say ./
<gchristensen>
but something like builtins.pathExists readDir / readFile exists :) and you could act on those in ways
<judson>
Because of how I'm using it right now, I'm thinking I can rely on a relative import - I'm working locally and then copying things to a nixops config directory. So in the project, I could have sourceHash.nix with ""
<judson>
But I was wondering if there was a mechanism I wasn't aware of. nix-shell doesn't set such a parameter automatically?
<judson>
That's even easier.
<gchristensen>
well I don't think it magically sets any nix variables to look at
<judson>
pathExists is a really good solution. Thanks!
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
tmaekawa has joined #nixos
sud0x3 has quit [Ping timeout: 240 seconds]
tmaekawa has quit [Client Quit]
rihards has joined #nixos
throwup has quit [Ping timeout: 276 seconds]
rumpelstiltskin has quit [Quit: Page closed]
ryanartecona has quit [Quit: ryanartecona]
<samueldr>
hyper_ch: you had a wiki question?
<hyper_ch>
samueldr: I did
<hyper_ch>
(and still have)
<samueldr>
please ask, I also work with the wiki
<freeman42x[NixOS>
is there a way to tell nix-build to continue from a certain phase and skipe previous ones? since running it with -K argument keeps the previous work nix-build -K -A freeplane
__monty__ has left #nixos [#nixos]
<srhb>
freeman42x[NixOS: No, you'd have to hack it by splitting up the derivation, which is pretty uncomfortable. You could step through it with nix-shell also.
coot has quit [Quit: coot]
<hyper_ch>
samueldr: I like ZFS and I like encryption.... should I post complete setup scripts/config files (using kexec etc.) in the wiki? maybe make different ones for different ISPs?
<ixxie>
um
<ixxie>
suddenly my NixOS vm is full
<ixxie>
no big surprise I guess
<samueldr>
ISP? you mean ZFS setup for VPS and servers?
<ixxie>
but doing sudo nix-garbage-collect -d fails because I don't have enough diskspace
<hyper_ch>
samueldr: yes
<coconnor>
freeman42x[NixOS: generally, that risks compromising the guarantees pure builds provide
CodingWithClass has quit [Ping timeout: 268 seconds]
<freeman42x>
srhb: got any examples of using those 2 methods? Might be useful later
<freeman42x[NixOS>
coconnor, I'd use it temporarly to avoid the long rebuild using Gradle
<freeman42x[NixOS>
while trying to fix installPhase only issues
<hakujin>
anyone familiar with hydra's "Previous Hydra Build" input option? ideally I want this to reference another job on this hydra instance that built successfully. I see no documentation for this :/
<freeman42x[NixOS>
and then I would obviously test it fully
<srhb>
freeman42x I've never tried the first, but the concept is to have individual build phases be the "whole" phase, so that at each step you're committed to the store.
<srhb>
freeman42x: The second: You just run nix-shell instead of nix-build and step through the phases by hand (like unpackPhase) by evaluating them in your shell
<srhb>
Of course, if you mess up the "build tree" so you can't continue, you'll have to start over anyway.
rihards has quit [Quit: rihards]
rihards has joined #nixos
<samueldr>
hyper_ch: I'm wondering in the pages hierarchy how to file those, they're probably more relevant to cloud hosts than ZFS... but there isn't any "hierarchy" for cloud host pages
<freeman42x[NixOS>
srhb, thank you, I might need that later when having to do with really long intermediate steps
<thoughtpolice>
fresheyeball: systemctl --user restart emacs.service should do it
<ixxie>
samueldr: its my vm server
<samueldr>
ixxie: ☹
<TonyTheLion>
how does one pass a dependency on another package on the same Hydra server?
<samueldr>
hyper_ch: if it's generic, then a similary named page is alright, I was thinking you had instruections per-provider
oida has quit [Quit: WeeChat 1.6]
<ixxie>
gchristensen: oh good call.... nixpkgs off you go xD
<TonyTheLion>
on a local machine we just pass nix-build the -I ~ flag
<gchristensen>
:D
<TonyTheLion>
on Hydra that won't work
<fresheyeball>
thoughtpolice: thank you!
<gchristensen>
ixxie: nix 2.0 will run gc itself to prevent this in the future
<ixxie>
gchristensen: when is that coming btw? Any day now right?
<hyper_ch>
samueldr: well, I was thinking of handing out complete kexec configs and script for auto setup and config file for encrypted zfs installation
<gchristensen>
18.03
<ixxie>
gchristensen: but too unstable before that presumably
<gchristensen>
nixos-unstable will switch to 2.0 shortly by default
<srhb>
Didn't it already?
<gchristensen>
did it?
<srhb>
>_>
<srhb>
<_<
<srhb>
Guess not.
zarel has joined #nixos
<srhb>
Grepping the log for nix is hilarious.
<srhb>
It's just like searching or nix things on google, only worse.
<srhb>
:P
<gchristensen>
lol
noffle has joined #nixos
ditadi has joined #nixos
<noffle>
when running a nix command that will download packages, is there a way to get it to show that packages & how much data will be downloaded before it does so?
<noffle>
it shows me that already, but I'd like it to ask me before proceeding
<noffle>
e.g. metered internet connections
<srhb>
Not that I know of.
<gchristensen>
though perhaps it is worth knowing that Nix isn't very good with a metered connection in general
<samueldr>
hyper_ch: prepare something, anyway there's many bits in the wiki that aren't categorized, like those, if/when it's moved, it'll alway redirect to the proper location
<gchristensen>
Nix requires a fair amount of downloading
<noffle>
gchristensen: less so than any other distribution?
<hyper_ch>
or I wonder if I should put it somehow into the zfs page
<gchristensen>
it will download more than another distro
<noffle>
why is that?
<srhb>
noffle: For instance, our dependency tree is much more strict
<gchristensen>
take it away, srhb :~)
<srhb>
noffle: If a dependency changes, its dependents _must_ also change
<srhb>
Oop, sorry :P
<samueldr>
hyper_ch: depends entirely on how it's done, the size of the actual page and the size of what you're adding
<gchristensen>
nope, thank you srhb
nico202 has joined #nixos
<samueldr>
sections can be moved without much fuss
<noffle>
because the hashes change as well?
<srhb>
noffle: Other distros might get away with swapping in a new dependency without touching the dependents
<ixxie>
gchristensen: maybe we can start nixflix and send nixpkgs by main
<srhb>
noffle: Exactly!
<ixxie>
mail
<gchristensen>
ixxie: great idea!
<noffle>
that makes sense
<samueldr>
who's in charge of burning the whole cache?
<ixxie>
gchristensen: security updates send by a raven
<srhb>
noffle: Perhaps you can already envision a solution to that as well. :-)
<ixxie>
or a drone maybe
<gchristensen>
samueldr: one sec, I'm just burning the last 10TB to disk...
Slabity has joined #nixos
hydra_ has quit [Ping timeout: 260 seconds]
fragamus has joined #nixos
<Slabity>
I'm trying to make a custom derivation, but when my compiler can't find `linux/types.h`. I've included `linuxHeaders` as part of `buildInputs`, but that doesn't seem to do anything. Anyone know what might be the issue?
<ixxie>
are Cabal or Stack still useful on NixOS?
<gchristensen>
pmeunier: I thought carnix was going to ignore the target directory now?
coot has joined #nixos
<hakujin>
gchristensen: hi! I'm curious about hydra. initial questions: do you know any updated documentation? how does the 'channels' feature work? is the 'channels' approach still a good way to make individual software available outside nixpkgs? if I use a mac laptop (with pinned nixpkgs) for development and nixos linux hydra + production servers for deployment, do I need to run `nix-push` often on my mac so that
<hakujin>
hydra's binary cache stays warm for my coworkers?
<gchristensen>
hakujin: the channel feature should still work well, if you want to get fancy you could even have hydra push the binary cache to an S3 bucket without (too) much work. I'd suggest pinging LnL who runs a hydra for mac software
<LnL>
I’m not home yet, ping me in ~1h
<hakujin>
LnL: ack, thanks.
<Guest14344>
I've built a nixos.qcow2 image and want to test locally in qemu. Anyone know off the top of their head a command that will boot it? qemu-system-x86_64 -hda ./nixos.qcow2 seems to hang
<hakujin>
gchristensen: thank you. happen to have a reference for the S3 binary cache bits?
aarvar has joined #nixos
<gchristensen>
hakujin: not a great one, but I can send you some stuff. Unfortunately there aren't great, updated docs for Hydra as it generally isn't considered "Shipped" software
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAT7y
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 55bbcd4 Vladimír Čunát: linuxPackages.nvidia_x11_beta: alias to stable...
Jackneill has quit [Read error: Connection reset by peer]
<hyper_ch>
so, pretty much automated an native encrypted root zfs install on the smalles online.net servers
sud0x3 has joined #nixos
<gchristensen>
nice!
alexteves has quit [Ping timeout: 248 seconds]
<hyper_ch>
gchristensen: me?
<gchristensen>
yeah!
<ixxie>
gchristensen: I am wondering if we should just abandon all hope of getting anyone to write a wiki article about it
Jackneill has joined #nixos
<gchristensen>
ixxie: probably shouldn't give up, I just don't know who'd do it exactly
<hyper_ch>
gchristensen: https://github.com/sjau/nix-expressions/tree/master/customIsoFiles --> the three online_net files: the 'kexec' one to serve as configuration file for kexec setup; the 'install_script' will partition the system, create pool etc. and start nixos-install (which will fail because of the default hardware-configuration power management thingy that gets added) and the "minimal enczfs config" file is a minimal file to setup the encrypted
<hyper_ch>
system
<hyper_ch>
(of couse that currently fits all my needs)
<hyper_ch>
and much is inspired from our beloved clever :)
<gchristensen>
hyper_ch: mind writing up a quick readme of notes?
<hyper_ch>
gchristensen: I'll improve it for the wiki
<gchristensen>
looking awesome!
<hyper_ch>
it's just for me right now
<gchristensen>
that is even better!
<hyper_ch>
ask also keyboard layout and provide authorized key for ssh login for unlocking etc...
<hyper_ch>
remove my preferred nano setup
<hyper_ch>
remove cryptsetup
<hyper_ch>
add option for swap maybe
<hyper_ch>
for zfs swap it's recommended to create a vdev... I wonder what happens when I create a vdev as child of an encrypted dataset
<hyper_ch>
(and I also wonder if nixos picks up the vdev properly)
<gchristensen>
ehh I'd stay away from swap on ZFS
<hyper_ch>
so then maybe use luks/dm-crypt with random key for swap?
<hyper_ch>
(or someone else can add swap support)
<hyper_ch>
and who'd have thought there is something like: swapDevices.*.randomEncryption
<gchristensen>
yeah that seems better
<infinisil>
but hibernate!
<gchristensen>
then don't use a random key
<hyper_ch>
bears hibernate
<hyper_ch>
computers don't
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vATdJ
<NixOS_GitHub>
nixpkgs/master 6dfb0be Robert Helgesson: perl-bignum: 0.47 -> 0.49
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch>
so, time for some anime and then another ep of this k-drama
<hyper_ch>
and then sleep
yegortim1 has quit [Ping timeout: 255 seconds]
<TonyTheLion>
I have a package that depends on another package (not part of nixpkgs) in my Hydra server, and it calls the other package with 'import <foo>', however hydra complains it cannot find the package, how do I tell it that the package is already in hydra?
yegortim1 has joined #nixos
ssmike has quit [Remote host closed the connection]
hakujin has quit [Ping timeout: 240 seconds]
ssmike has joined #nixos
ssmike has quit [Remote host closed the connection]
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
ixxie has quit [Quit: Lost terminal]
<srhb>
TonyTheLion: Did you mean literally "<foo>" brackets and all? I think you usually feed hydra those as inputs.
thoughtpolice has quit [Ping timeout: 276 seconds]
srid has quit [Read error: Connection reset by peer]
pcarrier has quit [Read error: Connection reset by peer]
<freeman42x[NixOS>
this derivation is based on Freemind one and for Freemind the symlink is created automatically
<Guest14344>
lewo: Any experience getting virtio-ports available in a NixOS guest?
sud0x3 has quit [Ping timeout: 264 seconds]
sud0x3 has joined #nixos
<srhb>
Neo--: /nix/var/nix/gcroots/auto contains symlinks to the result folders that nix-build has created for you. Once they are gone (and they will disappear during gc when the targets are gone, being "stale", I think is the term) they will stop preventing garbage collection.
<srhb>
Neo--: Or you can play the find / -name result game and see if you can beat my weekly score!
Rusty1_ has quit [Quit: Konversation terminated!]
<TonyTheLion>
srhb: yesss!! that was it! fixed it. Thank you!!
<srhb>
TonyTheLion: Yay :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 3 new commits to master: https://git.io/vATp3
<NixOS_GitHub>
nixpkgs/master c086125 Robert Helgesson: perl-Crypt-JWT: 0.019 -> 0.020
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master d3fc84d Robert Helgesson: perl-Sub-Quote: 2.003001 -> 2.005000
<NixOS_GitHub>
nixpkgs/master 76f3f22 Robert Helgesson: perl-Encode: 2.93 -> 2.95
<pstn>
Is somebody here succesfully using a switched tinc network on nixos?
flox has joined #nixos
sigmundv has joined #nixos
<simpson>
pstn: I had had such a thing working at one point, but not any longer.
<pstn>
simpson: How did you get a net to the network devices? Do you remember that? I need one for arp, but atm they all use just 00s because there isn't one.
<simpson>
pstn: No, I don't remember that part of it; I had an existing network and I converted it to switching by telling each node to use Switched mode.
<pstn>
simpson: I'm also still considering routed. Did you switch back to that because you had specific reasons?
<lewo>
Guest14344: No, I never play with this
<simpson>
pstn: I was playing around. Ultimately, I no longer have a tinc VPN set up.
griff_ has quit [Quit: griff_]
__monty__ has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 265 seconds]
<__monty__>
How do you keep your configuration in sync over multiple systems? (non-nixos)
<Neo-->
srhb, what weekly score :D
<srhb>
Neo--: You get to compete in who has littered most result symlinks all over the place!
<srhb>
Beware, though, I'm notoriously good at this.
ryanartecona has joined #nixos
<gchristensen>
I have a lot, but I'm cheating
stephenjudkins has quit [Remote host closed the connection]
<srhb>
gchristensen: It's called "crowd sourcing" nowadays.
<gchristensen>
haha, you saw right through me :)
<srhb>
;-)
sigmundv has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] hamhut1066 opened pull request #34749: Add setting to configure group for systemd in Traefik (master...master) https://git.io/vATj6
NixOS_GitHub has left #nixos [#nixos]
<Neo-->
srhb, haha :D
<pmeunier>
gchristensen: that's only if you have an include = […] in your Cargo.toml
civodul has joined #nixos
sigmundv has joined #nixos
<Neo-->
i was pretty bad myself until i found -o *blush*
<gchristensen>
see my PM pmeunier :)
<pmeunier>
but you're right, in future versions we should ignore the target directory.
<gchristensen>
I think I sent you an improvement
<gchristensen>
I mean, I sent you a patch. I think it is an improvement.
<Neo-->
when i was experimenting with a python project the other day i accidentally created like 30 or something result-X folders :D
sud0x3 has quit [Quit: WeeChat 2.0.1]
aborsu has quit [Remote host closed the connection]
aborsu has joined #nixos
<sphalerite>
what's the easiest way to get an extra symlink included in the system profile? That is, I want it to be in /run/current-system and /nix/var/nix/profiles/system-xyz-link
xcmw has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fragamus has joined #nixos
fragamus has quit [Client Quit]
griff_ has joined #nixos
lexconfused has joined #nixos
<lexconfused>
hey, guys, I'm trying to make my package just like in tutorial https://nixos.org/nix/manual/#sec-expression-syntax , but nix-build complains :error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
Drakonis has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #34685: v8_3_16_14: fix on darwin (master...fix-darwin-v8_3_16_14) https://git.io/vAvaO
NixOS_GitHub has left #nixos [#nixos]
<lexconfused>
the error message was not helpful
<LnL>
pmeunier: around?
<lexconfused>
so I changed my line { stdenv, fetchurl, perl }: to {stdenv ? stdenv, fetchurl ? fetchurl, perl ? perl }: as it suggests
<lexconfused>
and got error: infinite recursion encountered, at /home/lex/Desktop/mystuff/nixexperiments/nixbox2/default.nix:3:11
<LnL>
lexconfused: expressions like that have to be called first, you can't build those directly
<gchristensen>
lexconfused: undo your ? stdenv, ?fetchurl, ... etc bits, then do: ./maintainers/scripts/nix-call-package ./yourpackage
<LnL>
do packages have some kind of metadata field that you use or does that happen differently
<lexconfused>
lex@nixos ~/D/m/n/nixbox2> nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}' these derivations will be built: /nix/store/c05ilq0r2fsr5bglnigakw984zfp65hk-hello-2.1.1.drv building path(s) ‘/nix/store/m246pm7rcpfgd4h0qnj9fkssraifw777-hello-2.1.1’ /nix/store/b4c9y6nx7sy04fyk1211l9bpvff80r77-builder.sh: line 3: 2: command not found builder for ‘/nix/store/c05ilq0r2fsr5bglnigakw984zfp65hk-hello-2.1.1.drv’
leotaku has joined #nixos
rauno has joined #nixos
<pmeunier>
LnL: carnix doesn't detect system dependencies, you have to use crateOverrides for that
<lexconfused>
I made mistake in my build.sh . how may I force nix to use build.sh in my current directory, instead of outdated /nix/store/b4c9y6nx7sy04fyk1211l9bpvff80r77-builder.sh ?
<pmeunier>
we could try to detect the presence of #[link(name=…)] by grepping the source code, but that's only one way to specify dependencies in Rust
<pmeunier>
there are others, and guessing the package name from that would be hard.
<leotaku>
after doing a nixos-rebuild --upgrade right now, it seems like NixOS is trying to redownload nearly all packages I have ever installed. is this expected behavior?
duckwho has quit [Quit: WeeChat 2.0.1]
<lexconfused>
oh , my fault, sorry, I fixed it, nvm.
<lexconfused>
leotaku , i beleive it is expected, because with '--upgrade' you upgraded all minor versions to fresh channel
* lexconfused
watched le NHK ni yokoso for last few days
stephenjudkins has joined #nixos
<leotaku>
lexconfused: could you explain to me what a "minor version" is?
<LnL>
pmeunier: ah interesting, going over a bunch of the generation tools to see how they deal with it
<gchristensen>
Mic92: mind stepping in to #nixos-borg?
<Mic92>
gchristensen: so many channels :)
<gchristensen>
:P
<lexconfused>
leotaku an package hello_world of version 1.01 have 1. as major, and .01 as minor. an upgrade could be made to hello_world 1.02 and so on
<leotaku>
lexconfused: ok that makes sense. I just found it strange how many packages there were/are(still going) to be fetched, as I just recently --upgraded my system.
hiroshi has quit [Ping timeout: 255 seconds]
<lexconfused>
LnL how I can pass /file/system/path/to/mytarball as SRC to stdenv.mkDerivation ?
Slabity has quit [Remote host closed the connection]
<coconnor>
src = /file/system/path;
<lexconfused>
sound too good and simple to work in NIX
<coconnor>
oh! didn't see the tarball part
<coconnor>
though... I think that will still work
<lexconfused>
why don't we have just API refference for functions like stdenv.mkDerivation, with a list of all possible input args, values
<NixOS_GitHub>
[nixpkgs] noqqe opened pull request #34753: Multiple users with hashedPassword is broken in mosquitto (master...master) https://git.io/vAkqU
NixOS_GitHub has left #nixos [#nixos]
ma27 has quit [Ping timeout: 260 seconds]
chreekat has joined #nixos
knupfer has quit [Ping timeout: 255 seconds]
griff_ has quit [Quit: griff_]
coot has joined #nixos
cz has joined #nixos
cz is now known as cz_
cz_ is now known as cz__
<leotaku>
so, since I first started upgrading my system with "nixos-rebuild switch --upgrade" 1-2 hours ago nix/NixOS has been compiling drivers from source.
rihards has quit [Quit: rihards]
<leotaku>
is this expected? Shouldn't it use precompiled binaries, or is that impossible for some drivers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus closed pull request #34126: init: kubectl at 1.7.9 (alias for kubernetes with only kubectl component) (master...kubectl) https://git.io/vN2KJ
sigmundv has quit [Remote host closed the connection]
Lisanna has joined #nixos
<Lisanna>
does nixUnstable change the format of binary caches at all?
<Lisanna>
I'm getting this really strange errors about paths not being valid when I try to copy from a local binary store (--from file://...)
<Lisanna>
only thing I can think is that the versions of nixUnstable that produced the binary cache and the version that reads from it might be different
sigmundv has joined #nixos
szicari has quit [Quit: szicari]
<Lisanna>
argh, no, that's not the issue, nevermind
chreekat has quit [Quit: quitting]
TonyTheLion has quit [Ping timeout: 260 seconds]
<dtz>
phew, that'd be unfortunate
<Lisanna>
still have no idea what the issue is though... for some paths it works, for other paths it says they're not valid (but never *why* they're not valid... arrgghhh)
<dtz>
(recently I've been reading the notes anyway and so forwarding ones related to draw latency / "lag" is not a problem)
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<dtz>
Lisanna: that's lame. And clear behavioral differences between nix versions used? Don't know anything about that but.. **sympathy**
<Lisanna>
that means the only remaining explanation is... oh god
mzan has joined #nixos
<Lisanna>
no, they're the same version
<andrew_dunham>
If anyone around here has experience building NixOS with a custom kernel, would you mind taking a look at my config? I'm trying to install NixOS on a currently-unsupported device (ODROID HC2), and I can't seem to get it to use my custom kernel: https://gist.github.com/andrew-d/d5cee00dd06b24097bdc12ae50520ce8
<LnL>
dtz: <3
<andrew_dunham>
The error message is essentially that it can't find the `odroidxu4_defconfig` target, which appears to be because my kernel override isn't applying everywhere
<andrew_dunham>
So I'm wondering if I'm making a dumb mistake and not overriding all the various things that I should be such that it's only using the specified kernel
<dtz>
andrew_dunham: try looking on nixpkgs for recent issues/PR's--there's been a flurry of work re:custom kernels particularly in context of embedded or cross-compilation. I haven't been tracking them all so don't have answers but it's likely someone has a PR that fixes all that for you O:)
stephenjudkins has joined #nixos
<LnL>
dtz: btw did you see shlevy's message?
<dtz>
damn I really miss an IRC client that I'm familiar with (irssi for years, server died, haven't restored my setup re:IRC and been limping on matrix)
<dtz>
right now I want a quick answer to "messages shlevy sent me in past day or two or three" so I can answer xD
<dtz>
in other words...maybe? what message? :D
<dtz>
(matrix has a search but it's so slow that I always regret attempts to use it :P)
<LnL>
if you're interested in having commit rights you should ask for it :)
lord| has joined #nixos
andrew_dunham has quit [Ping timeout: 260 seconds]
klntsky has quit [Ping timeout: 255 seconds]
<gchristensen>
dtz: you don't have commit bit?
<dtz>
:D okay. I.. have mixed feelings. I would love commit rights and hope it's not too bold to say I do think I've shown I'm worthy O:). But I've held back so far because it forces me to go through review which is nice :). But I suppose there's no reason I can't still ask for review on things or even post-commit review on the off-chance I make the inevitable mistake.
<dtz>
especially since with commit rights maybe I can help eliminate our PR backlog instead of only adding to it! :D
<dtz>
gchristensen: I do not! .. "yet"? :D
<gchristensen>
hrm. ping domenkozar?
* dtz
would like to officially request commit rights
klntsky has joined #nixos
<gchristensen>
I think earlier there was a misunderstanding around commit bit to _nix_ vs _nixpkgs_
<LnL>
yeah
nico202 has quit [Quit: Leaving]
<dtz>
anyone else find themselves wanting different "roles" for their account? haha, for people lke me than wear many hats
coot has quit [Quit: coot]
<gchristensen>
dtz: I wish github had _ANY_ form of access control levels at all
<dtz>
well to be fair I .. i did think shlevy was asking about nix commit rights specifically. And I think that would be very helpful since I keep fixing things and waiting for someone to notice and merge :)
<gchristensen>
oh I see, then there was a misunderstanding and it was mine :PP
<dtz>
but it also seems our fearless leader is (probably rather rightfully so) very much trying to keep nix itself from spiraling out of control
<gchristensen>
yes :)
<LnL>
oh, same but either way I feel like you should get nixpkgs if you want
<dtz>
a hard balance to strike, honestly :). Creative control when you don't have infinite time to scale to infinite community's needs
<dtz>
anyway
<dtz>
there I'd just rather the nix project was a bit more active re:community and less about ... whatever goals it has. Kinda don't want anything not reviewed there anyway :D
<dtz>
LnL: okay well thanks for the suggestion I'll do my bestest
<dtz>
(presumably Ggchristensens's mention above pinged the right person already?)
<gchristensen>
hrm... for the second time my laptop has run out of disk space...
<dtz>
hey re:"nixos-rebuild --build-host" -- this seems to need the ssh user to be "trusted" (re:signatures QQ), is that correct/expected? Is there a workaround?
<gchristensen>
you can do it as root?
[0x4A6F] has quit [Ping timeout: 240 seconds]
<dtz>
otherwise it seems like it's exactly the same as configuring buildMachines only I suppose nice to opt-in in an accessible manner
<dtz>
okay
<__monty__>
/wc
<__monty__>
Woops
__monty__ has left #nixos [#nixos]
<gchristensen>
45508 store paths deleted, 120082.12 MiB freed
<dtz>
:)
freeman42x[NixOS has quit [Ping timeout: 255 seconds]
<LnL>
still wonder why my vim-nix doesn't seem to suffer from that
<dtz>
my vim-nix gripe: visual-block insert gets interrupted/broken by some indent changes
<dtz>
don't think it's specific to my stack but have not attempted to isolate it.
<dtz>
I use that to comment out code often xD
spietz has quit [Ping timeout: 248 seconds]
<LnL>
please make an issue if you have something that's kind of reproducable
joshuaks has quit [Quit: WeeChat 1.9.1]
abathur has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 78a17f5 Tim Steinbach: helm: 2.7.2 -> 2.8.0
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAkCN
NixOS_GitHub has left #nixos [#nixos]
<Lisanna>
I'm thinking that my problems might be related to NFS madness. if anyone has any experience with using binary caches from weird filesystem mounts, please don't hesitate to spam me with information about it
iqubic has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Lisanna>
lexconfused is this a problem you're having with a Nix package?
<Lisanna>
or are you asking how Nix would help you avoid this problem?
andrew_dunham has joined #nixos
<dash>
lexconfused: write a nix expression for your project, configure whether to use gcc or clang in that
<throwup>
so I just updated my system and found out that I now have lots of packages installed multiple times in /nix/store these packages don't seem to go away, even after a "nix-collect-garbage", what should I do to remove them?
<dtz>
LnL: you motivated me to try to repro! Issue filed :)
<Lisanna>
throwup maybe they're referenced by previous generations?
<rardiol1>
I think there is a difference between "nix-collect-garbage", "nix-collect-garbage -d", "sudo nix-collect-garbage", "sudo nix-collect-garbage -d"?
<throwup>
Lisanna: I remove old generations with "sudo nix-env delete-generations old" correct?
klntsky has joined #nixos
yegortim1 has joined #nixos
<Lisanna>
throwup nix-env --delete-generations old
<LnL>
is this on nixos?
<throwup>
Lisanna: i did set the "--" in the actual command
<throwup>
LnL: Me? If so, yes I am on nixos
<LnL>
the last booted system is a gcroot so that won't get garbage collected
<LnL>
run nix-store -q --roots <path> so see why a path is alive
<clever>
rardiol1: "nix-collect-garbage" and "sudo nix-collect-garbage" are identical
<clever>
rardiol1: -d deletes all generations from the profiles it has access to, so root can matter
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<throwup>
Oh, It seems like the packages were kept alive by a result I created when playing around with nix.
asppsa[m] is now known as asp_
<throwup>
I removed that and now I could trash the old versions.
<throwup>
Thanks a bunch guys!
<LnL>
don't worry about running gc all the time if you have enough disk space
<dtz>
nix tool proposal: interactive "do you still need this root?" utility lol
* dtz
usually grep's "nix-store --gc --print-roots" a few times and removes things that were entirely not important or resolved
fragamus has joined #nixos
lexconfused has quit [Quit: Page closed]
<throwup>
LnL: yeah, but that update nearly doubled my used disk space.
<Lisanna>
does nixUnstable's nix have some level of verbose logging I can turn on? "'/nix/store/foo' is not a valid path" doesn't really tell me anything :/
xcmw has joined #nixos
<LnL>
you can use -vvvvv but I'm not sure how helpful that would be
chisui has quit [Ping timeout: 260 seconds]
andrew_dunham has quit [Ping timeout: 260 seconds]
yann-kaelig has quit []
<Lisanna>
LnL thanks, it decided to stop reproducing though x_x
mizu_no_oto has joined #nixos
alexteves has quit [Ping timeout: 265 seconds]
alexteves has joined #nixos
<Lisanna>
I'm so happy I don't have to debug this while also having to worry about things like LD_LIBRARY_PATH