<sdll>
simpson, unfortunately, I still have a trouble to understand how to write the necessary structure -- how can I create the directory subtree wicd/encryption/templates in /etc and then create a symbolic link to a template somewhere else?
<simpson>
sdll: Why would you make a symlink? Why not just have the file included verbatim in /etc?
<sdll>
I have one folder of dotfiles, so that I could manage them better
<simpson>
Hm. I know that some folks here have various recipes for dotfiles, but I don't know the details.
<sdll>
It seems that environment.etc supports that with the "source" field
ryantrinkle has quit [(Ping timeout: 268 seconds)]
[0x4A6F] has quit [(Ping timeout: 268 seconds)]
mudri has quit [(Quit: WeeChat 1.7)]
byteflame has quit [(Ping timeout: 260 seconds)]
Tipping_Fedora has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
[0x4A6F] has joined #nixos
<sdll>
Is it simpler to symlink straight into the package dir with {pkg.wicd} reference?
thetet has quit [(Quit: Leaving.)]
<simpson>
No, the Nix store really isn't meant to be altered, and indeed you've probably discovered that you can't just edit it directly.
<tilpner>
People prefer to see the question before offering blanket help, so just ask instead of asking to ask :)
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #25196: lib: Consolidate tests into one meta job (master...recursive-platform-tests) https://git.io/v9tGP
thc202 has quit [(Ping timeout: 260 seconds)]
Tipping_Fedora has joined #nixos
<simp__>
alright icetan . I installed i3-gaps and configured it according to their wiki for nixos
<simp__>
after rebooting, and logging in. there's nothing I can do
<simp__>
Like, can't do mod+d to open dmenu or mod+2 to change workspace
<simp__>
I'll post my config file. Also I'd appreciate general tips on good practices of configuration
<tilpner>
Did it give you the wizard to choose which mod key you would like, or did you bring your config?
<simp__>
I just installed the distro a few hours ago, so I'm not really sure if I'm doing things right
<simp__>
Haven't gotten around yet to reading much of the manual
<tilpner>
There's no nixos-env, you may mean nix-env. Try adding dmenu to your systemPackages
<simp__>
yes nix-env
<simp__>
Just "dmenu" right?
<tilpner>
Yes
<simp__>
Also, tilpner I noticed my layout is not set to portuguese when I'm able to type in i3
<tilpner>
(And triple-check you're using the correct Mod key and that key works inside the terminal)
<simp__>
I was expecting this to do it services.xserver.layout = "pt";
<simp__>
So it made me think it might be a keyboard issue
Sonarpulse has quit [(Ping timeout: 260 seconds)]
<simp__>
Also even without dmenu I should be able to do mod+enter
<simp__>
to open a terminal
<tilpner>
I don't see why your keyboard layout should shift your mod key around, but I don't know enough about X to say for sure. Did you try using another layout?
<tilpner>
Also paste your ~/.config/i3/config please. I think the default is xterm, do you have that installed?
<sdll>
simpson, would files added to /etc be read if I just create the whole subtree myself?
<simp__>
Oh, I just deleted that, tilpner
<tilpner>
The file or xterm?
<simp__>
will go through the wizard again and choose alt key
<simp__>
file
<simp__>
also added dmenu
<simp__>
will post in a second after rebooting
athan has joined #nixos
<tilpner>
You shouldn't need to reboot, just i3 after activating the new config
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<tilpner>
*just restart i3
<tilpner>
(Though dmenu suggestions can get broken...)
<simp__>
Well that worked for some reason
<simp__>
I was on a rollback tilpner
<tilpner>
... :D
<simp__>
Thanks though
<simp__>
Time to configure i3
<simp__>
Oh my layout is still messed
roconnor has joined #nixos
fnlkj has quit [(Disconnected by services)]
fnlkj_ has joined #nixos
fnlkj_ has quit [(Client Quit)]
vaibhavsagar has quit [(Ping timeout: 268 seconds)]
AllanEspinosa has joined #nixos
<timclassic>
Has anyone managed to get nixpkgs functioning within one of Linux "distributions" that can be run on an Android device?
roconnor has quit [(Ping timeout: 268 seconds)]
<timclassic>
I managed to get the nix tools built in GNURoot Debian, but the whole thing crashes as soon as I run [nix-env -f '<nixpkgs>' -iA hello]
<timclassic>
I'm not sure yet if Termux has enough tooling to support building the nix tools
sdll` has joined #nixos
sdll has quit [(Ping timeout: 260 seconds)]
vaibhavsagar has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
joepie91 has quit [(Ping timeout: 264 seconds)]
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
puffnfresh has quit [(Ping timeout: 258 seconds)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
<simp__>
Is there some "base-dev" package that install the standard dev tools?
AllanEspinosa has joined #nixos
simukis_ has quit [(Quit: simukis_)]
<mdash>
Yes, stdenv
<Tipping_Fedora>
hi guys, Im looking for a package that will provide lspci, but I cant find one, can I get some help please?
<simp__>
Cannot take screenshot! `scrot' not in $PATH
<simp__>
Something like this, do I fix it by manually adding it to $PATH or is some "nixos way" of doing it?
<simp__>
like in the configuration file
roconnor has joined #nixos
sdll`` has joined #nixos
sdll` has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has joined #nixos
<dash>
simp__: simplest way on an ad-hoc basis is 'nix-shell -p scrot'
<simpson>
simp__: I use scrot often enough that I did $(nix-env -i scrot)
sdll``` has joined #nixos
<dash>
you can also put it in systemPackages
sdll`` has quit [(Ping timeout: 240 seconds)]
<simp__>
I had done that though, simpson
<simp__>
how does that command differ, dash, from simpson's?
<simp__>
Still get the same error too
<dash>
simp__: it starts a shell with scrot in $PATH but doesn't permanently change any settings.
derjohn_mob has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
rcshm has joined #nixos
Supersonic112_ has joined #nixos
puffnfresh has joined #nixos
Supersonic112_ is now known as Supersonic112
newhoggy has quit [(Remote host closed the connection)]
<rcshm>
hi, if i like to include a pkgs override which is a file like pkgs.scala.override { jre = pkgs.oraclejdk8; }; for scala = (import ./scala); but that does not seem to be valid.
newhoggy has joined #nixos
<rcshm>
is there a way to define pkgs.override in a different file and include it in the main override file? thanks.
newhoggy has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
sigmundv has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<copumpkin>
.override returns a derivation
<copumpkin>
it's not going to modify anything
newhoggy has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
sellout- has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<aszlig>
rcshm: you can use something like packageOverrides = super: { scala = super.scala.override { jre = super.oraclejdk8; }; }
mizu_no_oto has joined #nixos
<aszlig>
rcshm: what do you mean with "main override file"? NIXPKGS_CONFIG maybe?
newhoggy has quit [(Remote host closed the connection)]
proteus-guy has quit [(Ping timeout: 260 seconds)]
byteflame has joined #nixos
proteus-guy has joined #nixos
<rcshm>
aszlig i mean i like to have the statement super.scala.override { jre = super.oraclejdk8; }; in another file. and read it into the main override file.
<rcshm>
by import ./scala
<rcshm>
it is more of how i like organize different override in different file individually.
<aszlig>
rcshm: well, there is nothing to stop you from doing scala = import ./scala super;
<rcshm>
it doesn't seem to work somehow.
<rcshm>
let me try again and i will get the error.
<aszlig>
like for example packageOverrides = super: import ./foo-overrides.nix super // import ./bar-overrides.nix super
byteflame has quit [(Ping timeout: 255 seconds)]
<aszlig>
or maybe even better: packageOverrides = super: fold (path: acc: acc // import path super) [ ./foo-overrides.nix ./bar-overrides.nix ]
<aszlig>
please add the missing {} here ;-)
<Tipping_Fedora>
How can I add my fedora install to NixOS's grub?
<initialPumpkin>
Has anyone enabled grsecurity on NixOS Ec2 instances?
ryantrinkle has joined #nixos
<aszlig>
rcshm: there is a ; at the end of the second file
<aszlig>
rcshm: the ; delimits attribute key/values in an attribute set, but in this case it's not an attribute set
<copumpkin>
initialPumpkin: yeah
<initialPumpkin>
copumpkin: I'm having a problem where if I enable grsecurity, ssh is not working?
<Tipping_Fedora>
aszlig, how would I go about using that?
<copumpkin>
initialPumpkin: I haven't seen that before; check the console log in the EC2 web console?
<copumpkin>
initialPumpkin: last time I tried turning it on in EC2 was a couple of releases ago though, so perhaps it's changed
<copumpkin>
initialPumpkin: are you using any of the RBAC stuff or just the kernel?
jmsb has quit [(Ping timeout: 240 seconds)]
<aszlig>
Tipping_Fedora: that depends how you want to load fedora... either via chainloading its bootloader or by directly providing the kernel/initrd
<Tipping_Fedora>
aszlig, id like to chainload, as that seems a bit easier for me
<rcshm>
i see.
<rcshm>
that got it thru.
<rcshm>
thanks so much aszlig.
<initialPumpkin>
copumpkin: Just the kernel for nix. Literally just added `security.grsecurity.enable = true;` to configuration.nix, nixos-rebuild boot, reboot.
<copumpkin>
initialPumpkin: you'll just have to look at the boot log, sorry :/
<copumpkin>
initialPumpkin: also, our nicks seem somewhat related :P
<initialPumpkin>
copumpkin: oh what a coincidence ;)
<aszlig>
Tipping_Fedora: oh, you're not using grub
<Tipping_Fedora>
what?
<Tipping_Fedora>
...
<Tipping_Fedora>
I thought I was...
<Tipping_Fedora>
can I switch to that?
<copumpkin>
initialPumpkin: I think so :(
<copumpkin>
initialPumpkin: you using 17.03 or a custom image?
<Tipping_Fedora>
(grub2 perfably)
<aszlig>
Tipping_Fedora: you could... but apart from that... are you using grub for fedora?
<Tipping_Fedora>
aszlig, I am
<initialPumpkin>
copumpkin: Was using custom image, but then switched to ami-0940c61f from here: https://nixos.org/nixos/download.html to ensure I'm not doing anything stupid.
<aszlig>
Tipping_Fedora: i suppose you're sharing the same efi boot partition with fedora, right?
<Tipping_Fedora>
no
<Tipping_Fedora>
totally seperate drives
<Tipping_Fedora>
fedora is totally unaware of nixOS
<Tipping_Fedora>
and Nix of fedora
<Tipping_Fedora>
if I could also remove grub from fedora and have NixOS handle it all that would be my preference
<aszlig>
Tipping_Fedora: i haven't much experience with grub and uefi, but there is an efiSupport option
<Tipping_Fedora>
ok?
<aszlig>
Tipping_Fedora: it might work by substituting systemd-boot with grub and add efiSupport = true
<Tipping_Fedora>
ok
hexagoxel has quit [(Ping timeout: 250 seconds)]
<aszlig>
Tipping_Fedora: but give me a sec, i'm testing this...
<Tipping_Fedora>
ok
<Tipping_Fedora>
also aszlig thank you for the help
<initialPumpkin>
copumpkin: Found the problem I think. "modprobe: FATAL: Module xen-blkfront not found in directory /lib/modules/4.9.20-grsec" and "modprobe: FATAL: Module xen-netfront not found in directory /lib/modules/4.9.20-grsec"
<copumpkin>
oh, that's annoying that it doesn't work by default
<copumpkin>
I think there's a xen-enabled kernel
<copumpkin>
I remember adding one a while back, but thought the default one would work too
<Tipping_Fedora>
aszlig, just for some context it is fedora 24
<aszlig>
Tipping_Fedora: might take a bit longer, because i'm extending the nixos tests because we don't have a test case for grub and uefi
<Tipping_Fedora>
ok
<copumpkin>
so `boot.kernelPackages = mkOverride 1 (pkgs.linuxPackagesFor pkgs.linux_grsec_server_xen);`
<copumpkin>
or something
<Tipping_Fedora>
aszlig, is it going to have results today?
<initialPumpkin>
copumpkin: Lower number == higher priority?
<copumpkin>
need to make that smoother
<copumpkin>
yeah
<Tipping_Fedora>
or is it a few day thing?
<aszlig>
Tipping_Fedora: nah
<Tipping_Fedora>
ok
<initialPumpkin>
copumpkin: Will try. Thanks for all the help. Is it worth sending in a PR to choose between the two grsec kernels?
<Tipping_Fedora>
I shall wait then
<copumpkin>
initialPumpkin: yeah, definitely
<Tipping_Fedora>
aszlig, also, both OS are install with UEFI support
<NixOS_GitHub>
[nixpkgs] copumpkin opened pull request #25197: azure-image: switch to use the common make-disk-image.nix (master...azure-image-common) https://git.io/v9t4K
<Svarog>
what do i need to add to the installed packages to stop nix-build/nix-shell from always downloading things like stdenv after i do nix-collect-garbage?
<Svarog>
i currently added stdenv and stdenv.bootstrapTools and that helped a bit, it no longer tries to download busybox as far as i can tell
<Svarog>
but it still downloads bash every time and i think it still also downloads stdenv, even though it shouldn't.
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/v9t4S
<NixOS_GitHub>
nixpkgs/master d4fb8cf John Ericson: linux-headers: Remove stray linux headers 3.18 nix file...
<NixOS_GitHub>
nixpkgs/master 3ae7f24 Daniel Peebles: Merge pull request #25187 from obsidiansystems/remove-stray-kernel-headers...
<copumpkin>
see the example right under that anchor
<aszlig>
copumpkin: that would GC it even for nix-shell
<copumpkin>
oh, I wasn't saying to copy the = false
<copumpkin>
just that those are the relevant options
<simp__>
hello was here earlier trying to fix this "[[ ! ]] Cannot take screenshot! `scrot' not in $PATH" but none of the solutions worked
<dash>
simp__: What did you do to get that message?
<simp__>
screenfetch -s
<dash>
simp__: where did 'screenfetch' come from?
<aszlig>
Svarog: you could use nix-store --add-root for that, but it might be a better idea to add for example stdenv to environment.systemPackages
<aszlig>
Tipping_Fedora: well, i'm waiting for the test to complete
<simp__>
screenFetch-2016-10-11
<Tipping_Fedora>
aszlig, oh, ok, how do you test that?
<simp__>
That's the name of the package
<dash>
simp__: ok, so a nix package you installed
<simp__>
yeah
<Svarog>
aszlig, yes i tried adding stdenv to a set of cached packaged that i have gc-roots to but that are not actually installed, for some reason it didn't work and it still gets downloaded - it did seem to work for stdenv.bootstrapTools though
<dash>
simp__: hmm
<aszlig>
Tipping_Fedora:
<aszlig>
boot.loader.grub.efiSupport = true;
<aszlig>
boot.loader.grub.device = "nodev";
<simp__>
If I just do "scrot" it seems to be working fine
<aszlig>
that should work for just grub with efi
<Tipping_Fedora>
aszlig, that the result or the test?
<dash>
simp__: yep, i see the problem
<simp__>
So I'm guessing it's screenfetch's fault
<simp__>
Ah
<simp__>
You have it too?
<dash>
simp__: screenfetch was not built by nix to have access to scrot
<aszlig>
Tipping_Fedora: you just need to add that chainload entry from before
<Svarog>
it seems i need gc-keep-outputs according to the link copumpkin pasted, if i'm reading that right
<dash>
simp__: so this would need to be fixed in nixpkgs
<dash>
simp__: should be pretty easy, a good introduction to contributing to nix :-)
<simp__>
Oh
<Tipping_Fedora>
ok building and will soon switch
<Tipping_Fedora>
brb
<aszlig>
Svarog: gc-keep-outputs only is relevant if you're rebuilding something that's a dependency of stdenv in your case
<simp__>
I would like to do that, but still pretty new to Nix
<Tipping_Fedora>
testing
<simp__>
Havent' started reading the manual yet, just stumbling around
<Svarog>
"In general, outputs must be registered as roots separately. However, even if the output of a derivation is registered as a root, the collector will still delete store paths that are used only at build time (e.g., the C compiler, or source tarballs downloaded from the network). To prevent it from doing so, set this option to true."
systemfault has joined #nixos
<Tipping_Fedora>
aszlig, It didnt work
<Svarog>
collector will still delete store paths that are used only at build time unless that setting is on
<aszlig>
Tipping_Fedora: you still have systemd-boot?
<Tipping_Fedora>
aszlig, commented out
<aszlig>
Tipping_Fedora: or just the chainload didn't work?
taktoa has joined #nixos
<Svarog>
and i think that's what's happening - when i run nix-shell or nix-build, it downloads a few things like busybox, bash, stdenv
<Tipping_Fedora>
I got the same menu as before
<Svarog>
then when i do nix-collect-garbage later, it gets rid of them so next invocation of either nix-shell or nix-build tries to download them again
<Svarog>
aszlig, i created a default.nix with buildEnv { paths = [ <stuff i want cached> ]; }, then run nix-build
<pxc>
how do I access the root of the nix store path from within a Nix package? I want to put /nix/var/nix/profiles/per-user/<username>/<somepath> in a text file output by a Nix package but I don't want to hardcode ‘/nix’ at the beginning of the path in case Nix was compiled with some other store path root
<aszlig>
Svarog: hm, try comparing the store paths of nix-store -qR on the build result with the ones that you get during nix-shell
<Tipping_Fedora>
well
<Tipping_Fedora>
I have grub now
<Tipping_Fedora>
but no fedora on it
<aszlig>
Svarog: a better way however would be using nix-shell with something like --indirect --add-root foobar
<aszlig>
Tipping_Fedora: okay, then we're at least one step further :-)
<Tipping_Fedora>
yes
<aszlig>
Tipping_Fedora: so the menu entry doesn't show up?
<Svarog>
just wondering how is it different?
<Tipping_Fedora>
correct
<aszlig>
Svarog: depends on the nix expressions
<Svarog>
what i wanted to do initially is cache a large set of packages without having them installed, and so far having these nix-build environments seems to work
<Svarog>
i haven't found a better way of doing that yet
<aszlig>
Svarog: are you on nixos?
<Svarog>
yes
<aszlig>
Svarog: there is an option called system.extraDependencies
<Svarog>
oh
<aszlig>
Svarog: these dependencies won't land in the system path
boxofrox has quit [(Quit: WeeChat 1.7)]
<Tipping_Fedora>
aszlig, any ideas?
<aszlig>
Tipping_Fedora: sec...
<Tipping_Fedora>
aszlig, k
<simp__>
NixOS just crashed on me. Is there any log files I can check to see what went wrong?
<Svarog>
aszlig, thanks for that, that looks exactly like what i wanted :)
<aszlig>
Tipping_Fedora: hm, menuentry might be case-sensitive, try making it lower-case
<pxc>
is there any variable in stdenv or anything that represents the Nix prefix (e.g., ‘/nix’)?
<Tipping_Fedora>
aszlig, then rebuild bootloader?
<aszlig>
pxc: there is $NIX_STORE
<aszlig>
Tipping_Fedora: no need to use NIXOS_INSTALL_BOOTLOADER this time, because it's already installed
<NixOS_GitHub>
[nixpkgs] nyarly opened pull request #25199: Quoting "$vars" in xsession (master...xsession_quoting) https://git.io/v9tRB
<Tipping_Fedora>
ok testing
<Svarog>
unrelated question, i currently have to do iwconfig <device> power off on every boot, i am guessing network manager possibly turns it on every time? what is the nixos way of disabling this on boot? normally i'd mess with stuff under /etc/NetworkManager/conf.d
<Svarog>
it's to disable power management for wifi
<Tipping_Fedora>
error invalid EFI file path
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<pxc>
aszlig: I need the path to the Nix default profile (e.g. /nix/var/nix/profiles/default). Should I just do some hack to take the first dir in $NIX_STORE or is there something more appropriate? (& thank you btw)
<aszlig>
Tipping_Fedora: i suppose it's the first partition on hd1, right?
<Tipping_Fedora>
replace what with that?
<aszlig>
Tipping_Fedora: the ESP partition i mean
<Tipping_Fedora>
aszlig, yea, and the fedora FS is partition 2 and swap is 3
<aszlig>
Tipping_Fedora: okay, do you know the path to the efi binary?
<Tipping_Fedora>
no...
<Tipping_Fedora>
I might be able to find it though
<aszlig>
Tipping_Fedora: fedora 25, right?
<Tipping_Fedora>
aszlig, yea
<Tipping_Fedora>
fresh install
<Tipping_Fedora>
I found an EFI folder on the boot partiton of fedora
<Tipping_Fedora>
is that what Im looking for?
<aszlig>
Tipping_Fedora: yeah
<Tipping_Fedora>
ok
<aszlig>
Tipping_Fedora: look for files ending with .efi
<Tipping_Fedora>
I see none
pxc has quit [(Quit: WeeChat 1.7)]
<Tipping_Fedora>
should I try the fedora FS?
<aszlig>
pxc: what are you trying to achieve in the first place?
<aszlig>
Tipping_Fedora: nah, it should be somewhere in the efi directory
<Tipping_Fedora>
thats empty
<aszlig>
oh
<Tipping_Fedora>
yea...
<Tipping_Fedora>
what next?
<aszlig>
Tipping_Fedora: can you paste an ls -laR of the ESP of the fedora disk?
<Tipping_Fedora>
aszlig, Thank you so much for the help
<Tipping_Fedora>
and for the love of god can we document this hell somewhere for future people
<aszlig>
Tipping_Fedora: cool
<aszlig>
Tipping_Fedora: i'll document this along with adding the test for grub-efi
<Tipping_Fedora>
good
<Tipping_Fedora>
cause geez
<Tipping_Fedora>
most people would have given up on nixos cause of this
* Tipping_Fedora
wont, and will enjoy even more now
<aszlig>
Tipping_Fedora: now i'm not quite sure whether it was the weird gcdx64 thingy or the set root=...
<Tipping_Fedora>
i think it was both
<aszlig>
Tipping_Fedora: can you please test this again by replacing gcdx64 with grubx64?
<Tipping_Fedora>
set root so it could find files at the least
<Tipping_Fedora>
sure
MercurialAlchemi has joined #nixos
<Tipping_Fedora>
test
<Tipping_Fedora>
aszlig, I can now confirm it seems to be both
<aszlig>
okay, so it really was the set root
<aszlig>
damn...
<Tipping_Fedora>
testing revert
<aszlig>
so i'll document this with grubx64.efi
Shados has quit [(Ping timeout: 260 seconds)]
<Tipping_Fedora>
and we work at revert
<Tipping_Fedora>
aszlig, once again thank you for the help
<Tipping_Fedora>
I shudder to think how long it would have taken me other wise
Shados has joined #nixos
<Tipping_Fedora>
welp off to go configure fedora
<Tipping_Fedora>
if you want/need me pm me and my znc client should catch it and then ill get it on desktop in the morning
marsel has joined #nixos
proteus-guy has quit [(Ping timeout: 260 seconds)]
justelex has joined #nixos
justelex has quit [(Excess Flood)]
justelex has joined #nixos
reinzelmann has joined #nixos
justelex has quit [(Client Quit)]
katyucha is now known as Guest21870
Guest21870 has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha has joined #nixos
katyucha_ has joined #nixos
moet has joined #nixos
kuznero has joined #nixos
<simp__>
How do I figure out the reason why NixOS is crashing?
<simp__>
I'll go on for an hour or so of using and then it crases
<simp__>
crashes*
<CMCDragonkai>
first place would be the logs
<CMCDragonkai>
journalctl --follow
<CMCDragonkai>
or kernel logs, and observe what you are doing when it crashed
<simp__>
journalctl --follow gives me the logs before the crash?
marsel has quit [(Ping timeout: 260 seconds)]
proteus-guy has joined #nixos
<phreedom>
copumpkin: yes :)
sdll``` has quit [(Ping timeout: 255 seconds)]
ogkloo has quit [(Ping timeout: 260 seconds)]
freusque has joined #nixos
rinwa has quit [(Quit: Leaving)]
<NixOS_GitHub>
[nixpkgs] ebzzry opened pull request #25201: Fix typo in trivial.nix (master...fix-typo) https://git.io/v9twq
justbeingglad has joined #nixos
delta__ has joined #nixos
sivteck has joined #nixos
<aszlig>
simp__: to get the logs for the previous boot try journalctl -b -1
<simp__>
thanks aszlig
<delta__>
I just installed python2.7 and python2.7-Jinja2 but I when I try 'from jinja2 import Template' I get 'ImportError: No module named jinja2'. Can anyone help?`
<NixOS_GitHub>
[nixpkgs] mt-caret opened pull request #25202: 3to2: init at 1.1.1 (master...3to2) https://git.io/v9two
<kuznero>
How to install single package from unstable channel and keep other packages from stable?
<kuznero>
as a system package I mean
<eacameron>
Anyone have an example of using NixOS acme stuff to set up HTTPS with apache?
<eacameron>
I have it with nginx but now I need apache
<kuznero>
Ah, it perhaps might be running `nix-env -i` as root ;)
<NixOS_GitHub>
[nixpkgs] aszlig pushed 1 new commit to master: https://git.io/v9twd
<NixOS_GitHub>
nixpkgs/master 72f2b50 aszlig: nixos/grub: Add another example for extraEntries...
<aszlig>
kuznero: of course you could also use channels for that
<kuznero>
aszlig: thanks! That is exactly what I was looking for. I can indeed use channels, but then as far as I know I will have to use unstable for all my systemPackages, right?
<aszlig>
kosmikus: no, you can just add another channel with a different name
<aszlig>
kosmikus: eg. nixos-unstable instead of nixos
<aszlig>
s/kosmikus/kuznero/
<aszlig>
kuznero: also, if you want to have consistency in overrides, it might also make sense to use it like this:
<aszlig>
(-I to nixos-rebuild, nix-build, nix-instantiate, whatnot)
<kuznero>
aszlig: thanks! will try to go with nix-expression
<aszlig>
np, will try to go to sleep :-)
k2s has joined #nixos
k2s has quit [(Client Quit)]
endformationage has quit [(Quit: WeeChat 1.7)]
vandenoever has quit [(Remote host closed the connection)]
byteflame has joined #nixos
ogkloo has joined #nixos
justbeingglad has left #nixos []
taktoa has joined #nixos
taktoa has quit [(Remote host closed the connection)]
byteflame has quit [(Ping timeout: 260 seconds)]
nil has joined #nixos
dcz has joined #nixos
kampfschlaefer has joined #nixos
ambro718 has joined #nixos
bennofs has joined #nixos
gilligan_ has joined #nixos
marsel has joined #nixos
sivteck has quit [(Read error: Connection reset by peer)]
DutchWolfie has joined #nixos
thc202 has joined #nixos
isHavvy has joined #nixos
michiel_l_ has joined #nixos
adarqui has joined #nixos
tommyangelo has quit [(Ping timeout: 260 seconds)]
earldoug1as has joined #nixos
goibhniu has joined #nixos
engblom_ has joined #nixos
tinkyhol1oway has joined #nixos
Havvy has quit [(Remote host closed the connection)]
tg has quit [(Quit: Leaving)]
tinkyholloway has quit [(Write error: Broken pipe)]
engblom has quit [(Write error: Broken pipe)]
adarqui_ has quit [(Write error: Broken pipe)]
michiel_l has quit [(Write error: Broken pipe)]
[0__0] has quit [(Remote host closed the connection)]
earldouglas has quit [(Remote host closed the connection)]
tnias has quit [(Remote host closed the connection)]
tnias has joined #nixos
tg has joined #nixos
Tucky has joined #nixos
vandenoever has joined #nixos
moet has quit [(Ping timeout: 255 seconds)]
<vandenoever>
i'd like to write some scripts to run tests on nix packages in a controlled environment, is there something for this?
<bennofs>
vandenoever: nixos has some infrastructure to run VM tests
<bennofs>
vandenoever: but i don't know how it works
<vandenoever>
is there something with containers too? would be faster then ramping up vms
<gchristensen>
what kind of tests? what kind of environment?
<gchristensen>
what kind of packages?
<vandenoever>
i'm trying for about a year to package kmail 5
<vandenoever>
it has tons of packages and complex dependencies
<vandenoever>
testing the packages is a lot of manual work and the packages interact with my environment
<vandenoever>
which is error prone, so i'd like to have script that makes a start env, runs a command and exits
derjohn_mob has quit [(Ping timeout: 255 seconds)]
<vandenoever>
the command could be anything. it should create some report
tommyangelo has joined #nixos
<gilligan_>
Hm.. so enableParallelBuilding obviously impacts parallel make builds - i am confused though that it seems to use build-cores and not build-max-jobs ? I would assume that if I have enableParallelBuilding enabled that it would call `make` with `-j ${build-max-jobs}` ?
<gilligan_>
that does not seem to be the case?
<Profpatsch>
vandenoever: Look at the VM tests section in the nixpkgs manual
<Profpatsch>
There’s also nixpkgs tests with no VM, but I haven’t pushed them yet.
<sphalerite>
vandenoever: you can probably also just write them as plain nix expressions. If you set $HOME to the build directory and write the test report to $out that might work, unless the tests need access to X or D-Bus.
<sphalerite>
vandenoever: but you should probably be able to spin up a D-Bus instance for it as well. Not sure about faking X though
<Profpatsch>
vandenoever: aye
thetet has joined #nixos
<vandenoever>
sphalerite: yes, they need dbus
<sphalerite>
you can probably use dbus-launch and set the appropriate environment variables to have that working too
<vandenoever>
using a nix expression is an interesting approach, there's 'fake' X clients too btw
<sphalerite>
Well it'd be a fake X server in this case
<sphalerite>
but yeah, I'm sure there is one out there
thetet has left #nixos []
<vandenoever>
and i can use some nix expression practice, after years of nix use, they still scare me
FRidh has joined #nixos
<sphalerite>
Anyway, as long as you keep everything inside the build directory it should not be affected by any outside factors — after all, the whole point of nix is to have package builds as pure as possible :)
ambro718 has quit [(Ping timeout: 260 seconds)]
<DutchWolfie>
Hello, perhaps a stupid question to ask in here but I would love to get some guidance
mudri has joined #nixos
<DutchWolfie>
Been using Linux distro's since 2006 and running one or more servers for different websites, using kvm vps
Itkovian has joined #nixos
<DutchWolfie>
New to containers and found Nixos when in search for filesystem versioning, nixos mentioned on the wike page for NILFS2
deepwater has joined #nixos
<DutchWolfie>
Need to study the technical stuff concerning containers but Nixos seems and feels as if it is somehow ahead of docker et all
<vandenoever>
using the nix build system to run tests is an elegant idea, are there tests like that already? otherwise, i'll just start with an expression that writes 'hello world'
<DutchWolfie>
Since there are only 24 hours a day, could you tell me what is the whise thing to do, dive into the container hype or spend time getting my head around Nix?
<srhb>
DutchWolfie: Do both, sleep too little, cry that containers suck and you're not allowed to use NixOS in production.
<srhb>
DutchWolfie: That's my approach at least.
sivteck has joined #nixos
__Sander__ has joined #nixos
JagaJaga has joined #nixos
<manveru>
srhb: my life in one line :P
<srhb>
manveru: I sympathize. :-)
jensens has joined #nixos
<manveru>
at least i can build those containers with nix...
<srhb>
manveru: I should try getting permission to do that at least...
<manveru>
though everyone is like "why is that image from 47 years ago?" :)
<gilligan_>
can someone confirm for me that enableParallelBuilding really only looks at the configured buildCores for what it passes on to `make -jN` ?
<srhb>
DutchWolfie: No idea. Probably not.
<bennofs>
vandenoever: not sure if that's documented :/
<manveru>
the package.json is a level higher, so you'd need to adjust the paths
<manveru>
Profpatsch: that's not related
<manveru>
err, bennofs
Ivanych has quit [(Quit: Leaving.)]
<manveru>
it's haskell, so nobody will ever understand it anyway ;)
Tucky has quit [(Quit: WeeChat 1.7.1)]
<bennofs>
manveru: does your yarn2nix have a derivation per node_module or only a derivation per app?
<manveru>
it's one derivation for the whole app
<vandenoever>
bennofs: unf, the first example already fails: nix-build '<nixpkgs/nixos/tests/login.nix>'
<vandenoever>
machine# ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
guillaum2 has quit [(Ping timeout: 240 seconds)]
<bennofs>
vandenoever: um sorry, i don't know anything about nixos tests at all, only that they exist :/
<vandenoever>
bennofs: ok, np, i think perhaps i should try when virtualbox is not running
<bennofs>
vandenoever: perhaps you need to setup libvirt as well?
<bennofs>
only a wild guess
<vandenoever>
'6 out of 6 tests succeeded' it was virtualbox running while i ran the tests
<bennofs>
oh nice
<vandenoever>
i guess there can be only one :-P
<gilligan_>
manveru, do you by any chance have some working example that you could share? that would be helpful ;)
<gilligan_>
Profpatsch, nice to see you also started some yarn2nix approach
<gilligan_>
Profpatsch, it would really, really help if you used qualified imports or at least only imported the functions you are using from the respective modules.
<manveru>
gilligan_: gimme a minute
Ivanych has joined #nixos
<gilligan_>
Profpatsch, feeling lost looking at FromYarnLock.hs
nslqqq has joined #nixos
simukis_ has joined #nixos
Wizek_ has joined #nixos
systemfault has quit [(Quit: Bye!)]
<DutchWolfie>
Nixos first it will be!
bennofs has quit [(Ping timeout: 260 seconds)]
nslqqq has quit [(Ping timeout: 252 seconds)]
<ben>
Is it possible for a derivation to specify that its source gotta be fetched through a specific http proxy?
<usoban>
how do I crate a package from binary which is on local filesystem? `src = /home/foobar/mybinary` does not seem to work (build directory stays empty)
makefu has quit [(Remote host closed the connection)]
makefu has joined #nixos
chakerbenhamed has joined #nixos
gilligan_ has joined #nixos
Mercuria1Alchemi has joined #nixos
<goibhniu1>
usoban: maybe this helps https://nixos.org/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F
goibhniu1 is now known as goibhniu
MercurialAlchemi has quit [(Ping timeout: 245 seconds)]
maikklein has joined #nixos
<chakerbenhamed>
I am trying to run mongodb instance inside of nix-shell. I installed it using nix-shell -p mongodb. When I try to run mongod I get "initAndListen: 29 Data directory /data/db not found., terminating". Even After creating the folder manually (wich I don't think is the right decision). I Get another error about lock.
<ben>
Is there a sensible way to express "if the path exists, import the file, otherwise use this default expression" in nix?
eacameron has quit [(Remote host closed the connection)]
<simukis_>
how do I use a custom nix package? Namely I’m interested in trying out 4.11-rc8. I’d expect it be something like me putting an appropriate `.nix` somewhere and specifying it somewhere in my configuration.nix
<simukis_>
trying out linux 4.11-rc8
<simukis_>
ideally stuff under linuxPackages(_4_11_rc8, or something) would still work fine
<steveeJ>
clever: what is the magic in "${./.}" as opposed to a plain ./.? what function is called that causes it to snapshot the path in the nix-store?
sivteck has quit [(Read error: Connection reset by peer)]
exarkun has joined #nixos
gilligan_ has quit [(Quit: Leaving)]
<maikklein>
makefu: I am super confused right now, should I have cloned the nixpgs repo to ~/ and then execute nix-env inside the repo? Is this documented somewhere?
<usoban>
goibhniu: thanks, followed the code in the link, but now I'm stuck at some other error: `/nix/store/zz7zy695h8lrhbqm4p587ixz84bqkzda-stdenv/setup: line 882: 1: command not found`
deepwater has quit [(Ping timeout: 255 seconds)]
<makefu>
maikklein: it was just for testing if the rev you are using right now contains teamspeak (which it does). i am not too fond with using channels, i explicitly pin the nixpkgs revision i use for all my machines. sorry for confusing you :)
<maikklein>
do you have you configuration file on github?
<maikklein>
or anywhere public?
<maikklein>
or know any public non trivial configuration files?
<goibhniu>
usoban: I'm afraid that's where it gets tricky, there's a helpful stackoverflow post about how to track down the missing libraries ... lemme see if I can find it
<makefu>
yes, sure. it is a bit more complicated but you surely can get the gist when looking into it
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/v9txZ
<NixOS_GitHub>
nixpkgs/master d25f7c9 Marius Bergmann: yarn: 0.22.0 -> 0.23.2 (#25189)
newhoggy has quit [(Remote host closed the connection)]
<sphalerite>
vandenoever: if you set unpackPhase to ":" it won't need an src
dcz has quit [(Ping timeout: 240 seconds)]
thineye has joined #nixos
<vandenoever>
sphalerite: thanks, i've found that setting builder also avoids the need for src
<sphalerite>
yeah, although then you lose most stdenv functionality
<vandenoever>
i've an expression now has only name and builder
<sphalerite>
but if that's all you need then you could also just use the derivation builtin rather than stdenv
<vandenoever>
sphalerite: i just want to run a script given a particular package
<vandenoever>
sphalerite: would that be simple s/mkDerivation/derivation?
CcxWrk has quit [(Ping timeout: 260 seconds)]
<vandenoever>
i also use nativeBuildInputs to get the package i want to test
<sphalerite>
don't think so, I think the set passed to derivation also needs a system attribute or something. Probably easier to just stick with stdenv
<jophish>
Are there any circumstances where `|| true` after a command wouldn't work?
<sphalerite>
jophish: to achieve what?
<jophish>
sphalerite: to ignore that command if it fails
<thineye>
hi, I am trying to set file attributes in postInstall (user.pax.flags), and if I test it with getfattr in postInstall, everything ist ok. But if I test it after everything finished manually with getfattr on the file in the store....there is no attribute
<sphalerite>
thineye: yeah, the store only supports a very limited set of filesystem attributes
<sphalerite>
I think execute permission is all there is
<sphalerite>
jophish: I don't think so, although you need to consider precedence if there's another || or an && somewhere in the command
<thineye>
sphalerite: thanks. Can I manipulate it somehow, somewhere, that the store will support it?
<copumpkin>
niksnut: in other news, I just tried builtins.fetchurl "s3://..." and it automatically used my IAM credentials and it was beautiful and I cried tears of joy
<copumpkin>
(so thanks for that :P)
<LnL>
oh! that works?
<copumpkin>
in 1.12 yup
<Tucky>
clever: when you do your install, after chown /nix to root, do you chown folders under /nix/var/nix/profiles/per-user/ to each users?
<LnL>
nice, so much good stuff in 1.12 :D
<clever>
Tucky: yeah
<Profpatsch>
clever: Oh, you might be lucky
<niksnut>
copumpkin: nice :-)
<Profpatsch>
parseNixTextLoc gives you an NExprLoc
<Tucky>
clever: with which right ?
<niksnut>
the repl is not built in yet
<Profpatsch>
Which is Fix (AnnF SrcSpan NExprF)
<clever>
Tucky: each user needs write to their own per-user folder, so they can manage their profile and channels
<Profpatsch>
And SrcSpan gives you the exact location of every sub-ast
<clever>
Tucky: i mostly just wait for permission errors to remind me about what i missed
<clever>
Profpatsch: ah, so there is only the issue of how it will serialize when i try to insert things in the middle
<Profpatsch>
Hm, that’s an interesting problem.
<copumpkin>
niksnut: cool, I just used nix-instantiate to test it :)
<Profpatsch>
You could also have a parser that saves the original string for each element.
MichaelRaskin has joined #nixos
<Profpatsch>
Or you pretty-print the parst of your source element that changed.
<clever>
yeah
<Profpatsch>
of course that might be too much of a text change.
<Profpatsch>
s/parst/ast/
<Profpatsch>
But it’s a hard problem.
<Profpatsch>
hnix is probably closer to a final solution than most implementations for most languages.
<niksnut>
ncurses should have a configure flag "only install terminfo files used in the 21st century"
<clever>
niksnut: but then how will i get my physical vt100 terminal to work?!
<MichaelRaskin>
clever: by not setting the flag?
<clever>
that works
<clever>
and screen was pretty glitchy even with all of them available
tommyangelo has quit [(Ping timeout: 240 seconds)]
<romildo>
After updating NixOS unstable to nixos-17.09pre106117.c90998d5cf nixos-rebuild fails at the test phase of perl-Module-Metadata-1.000027. Has anybody else seen this
<romildo>
?
<ben>
hmmm, i kinda wanted to use --name tho
newhoggy has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
<romildo>
or better, it is perl-version-0.9912 (a dependency of perl-Module-Metadata-1.000027) which fails.
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/v9qrG
<NixOS_GitHub>
nixpkgs/master 17b689c Robert Helgesson: perl-version: add meta section
newhoggy has quit [(Ping timeout: 258 seconds)]
<cmacrae>
Hey guys - I'm having a bit of trouble tirggering custom acpid events, I've chucked together a quick gist to explain it clearly. If people have a couple minutes, I'd really appreciate any pointers on it. If not, I'll likely raise an issue
<contrapumpkin>
lots of matrix users on here nowadays
<contrapumpkin>
(this is my non-matrix client)
xj9[m] has joined #nixos
indefini has joined #nixos
moonarch has joined #nixos
wak-work[m] has joined #nixos
jascot[m] has joined #nixos
teh[m] has joined #nixos
alain[m] has joined #nixos
herzmeister[m] has joined #nixos
primeos[m] has joined #nixos
jack[m]1 has joined #nixos
cornu[m] has joined #nixos
Yaniel has joined #nixos
bachp has joined #nixos
spacekitteh[m] has joined #nixos
MrAxilus[m] has joined #nixos
philipp[m] has joined #nixos
hendrik[m] has joined #nixos
M-liberdiko has joined #nixos
M-Rym has joined #nixos
sargon[m] has joined #nixos
edef[m] has joined #nixos
Exee7uvo[m] has joined #nixos
Khorne[m] has joined #nixos
mdash has joined #nixos
unlmtd[m] has joined #nixos
ArdaXi[m] has joined #nixos
aspiwack[m] has joined #nixos
bendlas has joined #nixos
offlinehacker[m] has joined #nixos
peterhoeg has joined #nixos
davidar has joined #nixos
timclassic has joined #nixos
mythmon- has joined #nixos
jyp[m] has joined #nixos
NickHu has joined #nixos
spawnthink[m] has joined #nixos
dtz has joined #nixos
saintaquinas[m] has joined #nixos
sziszi[m] has joined #nixos
zimbatm has joined #nixos
Magnap has joined #nixos
scott2 has joined #nixos
Ralith has joined #nixos
shanemikel[m] has joined #nixos
rdesfo[m] has joined #nixos
musicmatze[m] has joined #nixos
Oo[m] has joined #nixos
eqyiel[m] has joined #nixos
grahamc[m] has joined #nixos
icetan has joined #nixos
Dezgeg[m] has joined #nixos
M1000teslas[m] has joined #nixos
jlle[m] has joined #nixos
Criena[m] has joined #nixos
corngood has joined #nixos
qrilka[m] has joined #nixos
danielrf has joined #nixos
andrew[m] has joined #nixos
lfont[m] has joined #nixos
<clever>
and thats why i know what matrix is, lol
<contrapumpkin>
the [m] is the default nick modifier they apply
<contrapumpkin>
but you can change it
<clever>
thats harder to notice then the join-spam
<copumpkin>
should be pretty rare, at least :)
digitus has joined #nixos
therp has quit [(Remote host closed the connection)]
<dtzWill>
should have it treated like a netsplit
smw has joined #nixos
taktoa has joined #nixos
taktoa has quit [(Remote host closed the connection)]
vandenoever has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
* dtzWill
welcomes dtz back :P
thaega has quit [(Ping timeout: 252 seconds)]
newhoggy has joined #nixos
romildo has quit [(Quit: Leaving)]
dannyg has quit [(Quit: dannyg)]
nicknovi1 has joined #nixos
therp has joined #nixos
newhoggy has quit [(Ping timeout: 245 seconds)]
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
<therp>
was anyone successful in switching the truetype rendering engine to version 35/38 using the FREETYPE_PROPERTIES environment variable?
spinus has quit [(Ping timeout: 240 seconds)]
<Tipping_Fedora>
aszlig, hows that documentation?
chakerbenhamed has quit [(Ping timeout: 255 seconds)]
fresheyeball has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.03: https://git.io/v9qdT
<NixOS_GitHub>
nixpkgs/release-17.03 3c65e6c Tuomas Tynkkynen: Revert "rustc: don't build on i686"...
<fresheyeball>
is there a way to use ghcjs.override to add buildtools?
nicknovi1 has quit [(Ping timeout: 264 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
nicknovi1 has joined #nixos
stepcut has quit [(Remote host closed the connection)]
so has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Ping timeout: 258 seconds)]
sellout- has quit [(Quit: Leaving.)]
nicknovi1 has quit [(Ping timeout: 255 seconds)]
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
marsel has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
nil has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
newhoggy has quit [(Ping timeout: 245 seconds)]
tommyangelo_ has joined #nixos
ravloony has quit [(Remote host closed the connection)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
cpennington has quit [(Ping timeout: 260 seconds)]
<copumpkin>
niksnut: are you protective about nixUnstable versions in nixpkgs? or is it okay if I randomly bump that periodically to follow nix master?
<Yaniel>
is there an easy way to make nixos use wayland atm?
__Sander__ has quit [(Quit: Konversation terminated!)]
cpennington has joined #nixos
usoban has quit [(Ping timeout: 260 seconds)]
iyzsong has joined #nixos
newhoggy has joined #nixos
tv has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Ping timeout: 255 seconds)]
<dcz>
what's the best way to "freeze" a nixpkgs tree at a certain version, so that my environment is reproducible even if nixpkgs is updated?
iyzsong has quit [(Client Quit)]
<clever>
dcz: use something like fetchurl or fetchFromGithub to download that revision, and import the result of the fetch
sellout- has joined #nixos
<dcz>
clever: thanks
tv has joined #nixos
ambro718 has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
* hyper_ch
thinks clever is true to his/her/its chosen nickname
thetet has joined #nixos
<copumpkin>
singular "their" is widely accepted :)
<hyper_ch>
you think clever has a split personality? oO
<copumpkin>
singular
<copumpkin>
it's been used that way for centuries now
<hyper_ch>
but then, english is only my 4th language
<simpson>
English is terrible. Let's all use Lojban.
<Yaniel>
it's funny how many people feel the need to bitch about and invent new pronouns instead of just using singular they and moving on
<copumpkin>
anyway, didn't mean to derail :)
<copumpkin>
just figured I'd note for future efficiency
<Yaniel>
soo, wayland?
<copumpkin>
I think we need systemd to take over more things
<joepie91>
Yaniel: not really the same thing. usually 'custom' pronouns are meant to indicate a specific thing that isn't covered by another pronoun, whereas singular they is meant to indicate an *unspecified* thing (this is separate from my thoughts on the matter of custom pronouns in general, just pointing out the difference)
<Yaniel>
can I just replace services.xserver with services.wayland or something?
<MichaelRaskin>
Actually, without systemd running wayland is simpler
<joepie91>
and yeah, probably a bit offtopic for here :P
<copumpkin>
wayland could be waylan + d, and become part of systemd
siel has quit [(Ping timeout: 252 seconds)]
<copumpkin>
the borg will assimilate you too
<joepie91>
copumpkin: insert systemd_monster.gif here
<joepie91>
:)
<vandenoever>
simpson: xu do se glibau?
<copumpkin>
you know I'm right
<copumpkin>
it might not be this year
<joepie91>
copumpkin: the year of the systemd wayland?
<Yaniel>
at some point systemd developers will get an idea of modularizing things so that every part does only one thing, but does that one perfectly
<joepie91>
okay, okay, I'll stop making jokes and let the discussion get back on topic :D
<copumpkin>
:D
<joepie91>
there's some significant pun potential in here though
<Yaniel>
system-land
<simpson>
vandenoever: ui mi merko .i ku'i ma'a lojbo
<joepie91>
couldn't leave that *entirely* untapped
newhoggy has joined #nixos
siel has joined #nixos
newhoggy has quit [(Ping timeout: 245 seconds)]
fresheyeball has quit [(Quit: WeeChat 1.7)]
newhoggy has joined #nixos
tommyangelo_ has quit [(Ping timeout: 240 seconds)]
<joepie91>
so, suggestion for the Factorio mod management issue (where modifying mods results in a full rebuild of the game) -- have three different derivations: 1) a mod derivation (subject to config), 2) an 'engine' derivation containing the actual game, and 3) a combined derivation that depends on both of the former, and whose only content is a wrapper script that invokes Factorio (from the engine derivation) with some sort of configuration flag/variable that
<joepie91>
points at the current iteration of the mod dir
<joepie91>
this would mean that the game derivation remains unchanged and only the mod dir and the light-weight combined wrapper are rebuilt (when mods are changed)
<joepie91>
does anybody see any obvious issues with this approach?
<joepie91>
(I don't yet know how the mod dir can be set on runtime, I will have to investigate this)
byteflame has quit [(Ping timeout: 240 seconds)]
<joepie91>
cc clever in particular since you seem to know a lot about the weirder usecases :P
nschoe has quit [(Quit: Program. Terminated.)]
newhoggy has quit [(Ping timeout: 264 seconds)]
newhoggy has joined #nixos
<clever>
joepie91: in the case of teamspeak plugins, it tries to follow any symlinks and find the real ts binary, then look relative to that
<clever>
joepie91: so i had to copy the ts binary, and symlink everything that wasnt changing, just to put the plugins in a different derivation
<clever>
joepie91: for chromium, i believe it accepts a cli arg, and its simpler to put stuff elsewhere
aneeshusa has joined #nixos
<joepie91>
clever: right. but does the general approach sound sane to you?
<joepie91>
couldn't really have been any easier, heh
goibhniu has quit [(Ping timeout: 260 seconds)]
* joepie91
might take a shot at implementing this soon-ish
<Tipping_Fedora>
aszlig, you active? I may have another grub UEFI for us
<joepie91>
clever: also, do you have any particular suggestions for implementing mod management? part of the issue is that it's not really doable to manually manage a list of mods in nixpkgs
<joepie91>
but this is quite obviously not scalable :)
nicknovi1 has joined #nixos
dcz has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 264 seconds)]
<clever>
joepie91: i think the user would need to provide a list of either fetchurl's or ./modfoo.zip's
siel has quit [(Ping timeout: 245 seconds)]
<joepie91>
clever: hm. problem is that I think there's an auth wall for mod downloads
<clever>
maybe also make those entries attrsets
<clever>
so it can have deps
<clever>
ah yeah
siel has joined #nixos
<clever>
i also had to deal with the auth wall just for the game itself
<clever>
./modfoo.zip is one way around that
nevermind has joined #nixos
<joepie91>
clever: can you elaborate on what you mean with that?
reinzelmann has joined #nixos
newhoggy has joined #nixos
<clever>
if the user puts a set of mods into ~/.nixpkgs/ and then does factorio.override { mods = [ ./mod1.zip ./mod2.zip ./mod3.zip ]; } in config.nix
<joepie91>
hrm.
<NixOS_GitHub>
[nix] edolstra pushed 89 new commits to master: https://git.io/v9qjx
<NixOS_GitHub>
nix/master e905699 Eelco Dolstra: Initial version of nix-repl...
<NixOS_GitHub>
nix/master 287c88c Eelco Dolstra: Support adding variables to the scope...
<NixOS_GitHub>
nix/master 3202206 Eelco Dolstra: Add a command :t for showing the type of an expression
thetet has quit [(Ping timeout: 245 seconds)]
<joepie91>
clever: loosely related note... to install the Oracle JDK I need to nix-prefetch-url, but it appears that garbage collection automatically nukes the resulting file from the store and I have to re-add it every rebuild?
<joepie91>
is there a flag I'm forgetting here?
siel has quit [(Remote host closed the connection)]
<simukis_>
so I’m still unclear, and nobody’s answering my q for over a week now
<simukis_>
clever: does that work for *adding* entirely new packages?
newhoggy has quit [(Ping timeout: 240 seconds)]
<clever>
simukis_: yeah
<simukis_>
great! thank you
<joepie91>
clever: not sure I understand how that interacts with the situation I'm describing. say that I have /home/sven/Downloads/jdk.tar.gz, and I want to permanently add that to the store. what's the full sequence of commands I need to run to accomplish that?
<joepie91>
(such that it can be used by expressions that expect proprietary things)
<clever>
joepie91: after you do nix-prefetch-url you will get a storepath for it
<clever>
joepie91: then you run my cmd on the storepath, to create a symlink to it, that will become a gc root
newhoggy has joined #nixos
<joepie91>
clever: okay, but I don't understand the role of eg. /home/clever/jvm.root
<joepie91>
what does that path signify?
<clever>
joepie91: that is the output path, the same as nix-build -o
<clever>
joepie91: it will create an indirect root, that uses /home/clever/jvm.root
<joepie91>
now I'm even more confused. the output path of what? isn't the output path in the store?
<clever>
joepie91: indirect roots work by making a symlink chain from /nix/var/nix/gcroots/auto/ to <x> to /nix/store/<y>
<clever>
joepie91: nix-build -o and nix-store --add-root <x> --indirect both create that type
<joepie91>
right, but why can't you make a root directly to /nix/store/<y>?
<clever>
joepie91: and if you delete <x>, the chain is broken, and it can gc <y>
<clever>
but you dont need root to delete <x>
<clever>
the root must be in an area you have write permissions to
<clever>
as an example, say i have the storepath "/nix/store/jl72gxms9rg3czv3wj1rskw6n0h3k6gm-hello-2.10"
<clever>
i now have a symlink in my home dir, that points to the build of hello
<clever>
and as long as that symlink remains there, hello cant be GC'd
<joepie91>
clever: right. but:
<joepie91>
[19:08] <clever> the root must be in an area you have write permissions to
<joepie91>
why? this seems like an arbitrary requirement
<joepie91>
or is there a technical reason?
<clever>
mainly so you can delete it later
<clever>
and i dont think it allows it in the store at all
<joepie91>
clever: so is it a hard *requirement* to have that <x>, or is it just something you should do as a best practice?
<joepie91>
because the latter I can understand
<joepie91>
but the former remains unclear to me :P
<clever>
it can be put anywhere you can write to
<clever>
i just keep them in home
newhoggy has quit [(Ping timeout: 246 seconds)]
<joepie91>
right, but I just don't understand why having <x> would be a technical requirement at all :p
<joepie91>
it seems to serve no purpose other than "easier to delete"
<clever>
if you dont make it indirect, it will get lost within /nix/var/nix
<clever>
and youll never find it again
<clever>
and there are more complex rules on where it has to go
<joepie91>
right
newhoggy has joined #nixos
<joepie91>
clever: btw, I had the idea to write a simple daemon that scrapes the Factorio mod portal and generates a Nix expression tarball on-the-fly (over HTTP) as people request it, so that they can eg. just import the 'repository' into their nixpkgs config and obtain mods from there
<joepie91>
(I'd be hosting the daemon)
spinus has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<joepie91>
clever: does this sound like a sensible strategy to you?
<clever>
that does sound like it would help with things
<Tipping_Fedora>
clever, can you help me with my UEFI duel boot? I need help finding my UEFI file to boot on the 2nd drive
<joepie91>
clever: alright, thanks. your advice combined with that of somebody elsewhere has given me a useful path forward, I think :P
<clever>
Tipping_Fedora: ive never gotten uefi to actualy boot on any of my systems, and i havent heard anything about how to configure it to dual-boot
<Tipping_Fedora>
ehh
<clever>
Tipping_Fedora: i had to entirely disable uefi to even make linux boot on my system
<Tipping_Fedora>
me and aszlig got it to duel boot lastnight
<clever>
it just ignored the boot priority if uefi was on
<clever>
joepie91: also, all indirect roots land in here
<simukis_>
Tipping_Fedora: did you look in your "bios" config whether the boot order is correct there? both options should exist there and you should easily be able to pick whichever thing you want it to boot
<NixOS_GitHub>
[nix] edolstra pushed 2 new commits to master: https://git.io/v9mfH
<NixOS_GitHub>
nix/master 23aa161 Eelco Dolstra: Minor cleanup
<clever>
bennylb: if you set programs.man.enable = false;, it will omit man-db from the system packages, and skip the .man output of every package in the systemPackages
<clever>
idealy, man.nix would define a hook in a list, and system-pack.nix would run it
newhoggy has joined #nixos
<bennylb>
clever: thanks for the info. I'll take a look at the links and see what I come up with
<johnw>
LnL: I missed your earlier mention
<LnL>
ah just somebody that was talking about hnix and used the wrong nick
newhoggy has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
<Mic92>
mhm, File::Slurp (used in switch-to-configuration.pl) throws an ugly deprecation warning on unstable due a new version of perl
<Mic92>
one of the few bits still written in perl
newhoggy has quit [(Ping timeout: 240 seconds)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
newhoggy has joined #nixos
pbogdan has joined #nixos
newhoggy has quit [(Ping timeout: 245 seconds)]
zraexy1 has quit [(Quit: Leaving.)]
zraexy has joined #nixos
newhoggy has joined #nixos
johnsonav has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<joepie91>
clever: right :PP
<joepie91>
:P*
<clever>
joepie91: about?
<joepie91>
clever: your remark about all indirect roots
newhoggy has quit [(Ping timeout: 240 seconds)]
<joepie91>
(I have much less indirect roots it seems)
<clever>
ah
* joepie91
considers making a wrapper script for managing auto-added files
<bdimcheff>
is there some standard for packaging electron apps? I'm trying to package nylas mail by cargo culting from atom, vstudio, and slack but idk if there's a better way
<simpson>
bdimcheff: If you could figure out what they have in common, I bet that a `mkElectronApp` would be welcomed.
newhoggy has quit [(Ping timeout: 252 seconds)]
derjohn_mob has joined #nixos
newhoggy has joined #nixos
<bdimcheff>
it's too bad that they're so hard to build from source deterministically... it feels really dirty to use binaries for all of these things but electron is crazy
freusque has quit [(Quit: WeeChat 1.7)]
afics has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
<clever>
maikklein: i also have some experience attacking 3d rendering from an unusual direction
<clever>
maikklein: i have done that triangle example, with custom drivers
<copumpkin>
niksnut: I saw you added lsof but not sure you saw my comment on the commit there. Also any thoughts on the explicit tar/xz/gzip/bz2ip deps?
maikklein has quit [(Ping timeout: 260 seconds)]
cpennington has quit [(Ping timeout: 246 seconds)]
tommyangelo_ has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
<copumpkin>
no idea how I wrote bz2ip instead of bzip2 :)
maikklein has joined #nixos
<maikklein>
.
<clever>
copumpkin: right hand was a little too slow, i sometimes desync the hands when typing too fast
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
newhoggy has quit [(Ping timeout: 260 seconds)]
pbogdan has joined #nixos
thetet has joined #nixos
newhoggy has joined #nixos
tommyangelo_ has quit [(Ping timeout: 240 seconds)]
kahiru has joined #nixos
cpennington has joined #nixos
<maikklein>
clever: I still get "fatal error: xcb/xcb.h: No such file or directory", do you know why this happens? Do I need to specify something else? Although cmake tells me "Found xcb: /nix/store/hz0gy5hhflfziaravsqpn64sx8si1kk2-libxcb-1.12-dev/include" which seems correct?
<maikklein>
oh wait I think I still have libxcb in my global .nix file
ozer has joined #nixos
<Ralith>
bdimcheff: my understanding is that an electron app is just a dir of web crap that you point electron at, so you can download (or theoretically build) the former and then just emit a script that points the standard nixpkgs electron at it
<bdimcheff>
yeah i think the problem has a lot to do with node packages being not fully implemented in nix or something, idk i just have been marginally paying attention to various threads
newhoggy has quit [(Ping timeout: 258 seconds)]
<ozer>
how to install Intel MKL (Math Kernel Library) on Nix?
<clever>
bdimcheff: and xulrunner is pretty much the exact same thing, built on mozilla's JS engine
<clever>
bdimcheff: firefox is just a large xulrunner based app
<dash>
clever: or was, once
<dash>
xulrunner sort of stopped being its own thing around 2012
<MichaelRaskin>
dash: well, Firefox is still a xulrunner instance
<radvendii>
Does anyone have mopidy-spotify working? It was working for me a while ago and then stopped working without any explanation (I don't even think it was after a nixos upgrade)
<Infinisil>
(nope)
newhoggy has joined #nixos
thetet has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
newhoggy has quit [(Ping timeout: 268 seconds)]
reinzelmann has quit [(Quit: Leaving)]
ryanartecona has quit [(Quit: ryanartecona)]
Filystyn has quit [(Read error: Connection reset by peer)]
<benley>
Anyone know what could be wrong if nix-env is barfing with "error: illegal option name/value"? It looks like that could only happen if there's something bogus in /etc/nix/nix.conf but I can't find anything that would explain it on my system
<benley>
this is with nix 1.11.8, current nixpkgs-unstable on ubuntu 16.04, running with nix-ademon
<benley>
*nix-daemon
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #25217: csdp: fix darwin build (master...darwin-csdp) https://git.io/v9mgw
<alphor>
clever: huh I see salts in /etc/shadow but not passwd
<clever>
alphor: yeah, the point of shadow is to hide the hashes in /etc/shadow where only root can read them
<clever>
alphor: so a non-root user can map user<->uid in /etc/passwd but not get your hashes
<alphor>
oh neat
<clever>
alphor: but when you start using users.users.foo.initialPasswordHash in nixos, the hash is visible under /nix/store/, so you loose the protection shadow gave
<clever>
then a program like john the ripper can be used to brute-force the password
<clever>
so it will depend on how good a password it is
<Infinisil>
(pkgs.wrapFirefox (firefox-unwrapped.override { enableOfficialBranding = true; })) in my environment.systemPackages
<clever>
it does eval on my end
<Infinisil>
Ohh yes
<clever>
ah, your missing a {} at the end
<Infinisil>
thanks
<Infinisil>
Now it works :D, I hope one day I can be as knowledgable as clever about nix :o
cpennington has joined #nixos
mudri has joined #nixos
newhoggy has quit [(Ping timeout: 268 seconds)]
newhoggy has joined #nixos
<Infinisil>
I'm still amazed about nix's beauty, just amazing
<Infinisil>
Even though this firefox packaging seems pretty ugly
newhoggy has quit [(Ping timeout: 252 seconds)]
newhoggy has joined #nixos
nil has joined #nixos
<Infinisil>
Seems like it needs to recompile firefox for that, takes quite the time
newhoggy has quit [(Ping timeout: 260 seconds)]
<clever>
Infinisil: enableOfficialBranding is a compile-time thing
<clever>
Infinisil: the reason its split between the wrapper and firefox, is to avoid a recompile when changing plugin stuff
<clever>
Infinisil: for legal reasons, copies of firefox cant use the "firefox" name, so when the build-script messes up, it doesnt taint the brand-name
<clever>
only things built by mozilla can use the firefox name
<Infinisil>
Makes sense
<clever>
which reminds me, i need to update to 53
<Infinisil>
I'm still not sure what the best approach for a plugin infrastructure is
<Infinisil>
Firefox 53?
<clever>
yeah
<Infinisil>
Why need?
<clever>
i need to test my firefox extension on version 53, and put out an update
<Infinisil>
What's it do?
davidak has quit [(Quit: Leaving.)]
<MichaelRaskin>
Also, 53 — as usual — is a security update
<Infinisil>
clever: why channel update and not just use the specific package from unstable?
newhoggy has quit [(Ping timeout: 240 seconds)]
<clever>
Infinisil: i already run nixos-unstable, and it was firefox-52 before the update
jsgrant__ has joined #nixos
jsgrant has joined #nixos
<jophish>
Does anyone know which part of the code is responsible for putting the other outputs of a derivation into the rpath?
<jophish>
or, this might atually be an llvm only thing
deepwater has joined #nixos
dridus has joined #nixos
newhoggy has joined #nixos
<NickHu>
Does command-not-found work for anyone on nixos-unstable? I don't think it's been working for a while now, but I can't recall when it stopped...
<ben>
can you tell nix-prefetch-url to not write to stderr unless there's an error?
<jophish>
clever: hmm, I'm not sure that's exactly what I'm looking for
<NickHu>
clever: oh I see, so it wasn't just my imagination that it used to work - guess there's nothing to do about it for now other than wait, thanks
<jophish>
when I compile LLVM natively the .lib output is compiled into the RPATH for the binaries (before postInstall)
<clever>
NickHu: you can manualy run sqlite3 on an older programs.sqlite from a past channel
<jophish>
when I cross compile LLVM the .out output is used instead of the .lib output
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
<jophish>
NickHu: grahamc[m] organises some fancy security team you could sign up for
<jophish>
and I think there are issue triages every so often
<Infinisil>
(forefox is still compiling)
Jackneillll has joined #nixos
justelex has joined #nixos
<MichaelRaskin>
clever: lucky you, SlimerJS is somewhat partially broken by Firefox 53+
<NixOS_GitHub>
[nixpkgs] copumpkin closed pull request #25197: azure-image: switch to use the common make-disk-image.nix (master...azure-image-common) https://git.io/v9t4K
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/v9m9O
<NixOS_GitHub>
nixpkgs/master a185b12 Nick Hu: proselint: disable tests and put in correct scope
<NixOS_GitHub>
nixpkgs/master ba974d4 Michael Raskin: Merge pull request #24214 from NickHu/proselint...
<clever>
MichaelRaskin: my extension dates back to 2008, and i'm surprised it still works so well
<MichaelRaskin>
NickHu: well, you could try automating some new subset of updates…
<MichaelRaskin>
clever: maybe if all you want is evaluating some scripts in the context of the current page, it is simpler…
<clever>
MichaelRaskin: it currently has ~5 different eval contexts
<Infinisil>
Question: There is a configuration.nix where i put all the hardware independent stuff, there's hardware-configuration.nix which gets automatically generated, but where would you put stuff that's hardware dependent but not auto-generated?
<Infinisil>
Just another file which includes hardware-configuration.nix
<Infinisil>
?
simp__ has joined #nixos
<Infinisil>
Or is there some way to add a custom attribute to the generated hardware-configuration.nix?
<clever>
Infinisil: the 2 files are pretty much identical
<clever>
Infinisil: you can put config into either one
<clever>
Infinisil: the only special thing about hardware-configuration.nix, is that nixos-generate-config will overwrite it
<copumpkin>
niksnut: any idea when ikwildrpepper returns?
bennofs has joined #nixos
<Infinisil>
Yeah, I guess I'll just use a third file for hardware dependent stuff
<Infinisil>
Don't want my stuff to be overriden accidentally
<clever>
Infinisil: you can also just put everything into configuration.nix
<clever>
that never gets overwritten
<Infinisil>
Yeah but I want configuration.nix to be portable
<Sonarpulse>
jophish: ah
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
Infinisil: ah, i have things in the other direction
<Sonarpulse>
yeah what I really want to do is the eval part of combing through the attrset to find derivations
<Sonarpulse>
but that actions thing is only availible on a single job
<Infinisil>
How do you have it clever?
<clever>
Infinisil: i have a core.nix for stuff on every machine, then i have a router.nix, nas.nix, and laptop.nix, all of those have imports = [ ./core.nix ];
<clever>
Infinisil: and then configuration.nix purely has whats needed to boot, and imports [ ./nixcfg/laptop.nix ];
<clever>
then i can git clone all of nixcfg between machines
<jophish>
Sonarpulse: I think what you said (somewhere) about every compile being a cross compile is the right idea
<_Vi>
I'm using Nix as supplementary program source on Debian (on /nix) and it works well... except for OpenGL. How do I resolve "unable to load driver: i965_dri.so"?
<Sonarpulse>
jophish: right
<jophish>
anyway, I'm off to bed now, night all!
<Sonarpulse>
we'll need a mass rebuild for that :)
<Sonarpulse>
jophish: good night!
<clever>
jophish, Sonarpulse: i have found some of my own packages that where poorly made, and just assumed g++ and gcc worked
<clever>
and when i switched them to clangStdenv for testing stuff, they broke
<maurer>
simp__: If you've installed windows 10, it is most likely using a UEFI boot system
<maurer>
The windows 7 example should work fine if it's using a legacy MBR boot system
<clever>
if they havent made EFI required
<maurer>
It's not required, but I don't know that the legacy bootloader exists if the UEFI one was the installed one
<clever>
the wiki i linked says the uuid example works on 10
<clever>
i think the reason the ntldr module in grub is special, it that it replaces the job of the mbr stub
<clever>
it will open the ntfs filesystem and load the windows stage 2 loader
nicknovi1 has joined #nixos
andreas303 has quit [(Ping timeout: 240 seconds)]
<simp__>
grub tells me it hasnt found the device when I choose it Windows 10
<clever>
you can open a grub console with c, and then use tab-complete on the (hd argument
<clever>
and it should even show you files within the FS if you put a / after it
<clever>
and you can test the chainload in that console
andreas303 has joined #nixos
<clever>
then just guess and brute-force it until you find a solution
MichaelRaskin has quit [(Ping timeout: 240 seconds)]
<simp__>
okay will try that
<Infinisil>
Btw the nix.buildCores option sadly doesn't work for firefox, still uses only 1
seanparsons has quit [()]
<clever>
Infinisil: one min
<clever>
Infinisil: did you change configuration.nix's nix.buildCores in the same nixos-rebuild as firefox?
<clever>
Infinisil: changes like nix.buildCores dont take effect until after nixos-rebuild is done, so you would need to temporarily remove/undo firefox's change
sigmundv has quit [(Ping timeout: 260 seconds)]
seanparsons_ has joined #nixos
sigmundv has joined #nixos
ambro718 has quit [(Ping timeout: 246 seconds)]
anderslundstedt has quit [(Ping timeout: 264 seconds)]
nicknovi1 has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
anderslundstedt has joined #nixos
digitus has quit [(Quit: digitus)]
mkoenig has joined #nixos
<Infinisil>
clever: Alright, I'll remember that, I won't stop my compile once more though, I can only hope it doesn't take too much longer
<clever>
Infinisil: you can also use "--option build-cores 4" to override the value of that option
stepho has quit [(Ping timeout: 240 seconds)]
simukis_ has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Ping timeout: 258 seconds)]
<simp__>
hm I'm getting "/bootmgr is missing" but Im guessing this is unrelated to nixos
<clever>
simp__: double-check with tab completion to see what other files are on that partition
<clever>
and try looking in every drive and partition for a bootmgr file
<simp__>
I think maybe I just messed my windows installation
<clever>
you can also try using ntfs3g to try to mount the windows partitions under linux
<clever>
and look around to see what files are still there
<simp__>
Would running windows repair tool maybe mess with Nixos, clever?
<clever>
yeah
<simp__>
From a disk I mean
<simp__>
Yeah, thought so
<clever>
a lot of windows tools just hijack the MBR and break dual-booting
<clever>
are you currently in nixos?
<simp__>
Yes.
<clever>
can you gist the output of "blkid /dev/sd*"
<Yaniel>
simp__: did you upgrade to the newest windows 10 recently?
<simp__>
sudo blkid /dev/sd returns nnothing
<clever>
it needs the *
<simp__>
I'm not sure if I'm on the latest
<simp__>
@ Yaniel
<simp__>
Oh yes, didnt see it
<simp__>
I installed it very recently Yaniel
<simp__>
So im guessing it's the latest version
<Yaniel>
well, that update destroyed the nixos loaders on my efi partition so I had to regenerate them