justanotheruser has quit [(Ping timeout: 260 seconds)]
<Infinisil>
Heh, /me says it's trivial as he sees the comment that mentiones a (small) mistake
<Infinisil>
Fixed it though
<dtzWill>
o_O got an error about "no space left on device" but my .... one and /only/ partition has 53GB free? hmm
<dtzWill>
oh! lmao it's /boot okay
<dtzWill>
i mean not great but that explains that--shouldn't be inode exhaustion or anything for *reasons* so..
<Infinisil>
Yeah, have had that happen too before
<globin>
Infinisil: why did you pull the sha up?
<Infinisil>
globin: I thought it's more idiomatic, I've seen this a number of times, the version and sha is then at the same place and you don't need to change stuff at multiple places when updating
<globin>
normally only when it is used in the name/version
<globin>
I personally don't like it
<Infinisil>
globin: Ah, right, the inherit doesn't look that nice
<Infinisil>
Hold on I'll fix it quickly
<Infinisil>
fixed
<clever>
dtzWill: btrfs?
<clever>
dtzWill: ah /boot, thats simpler
* dtzWill
runs sudo nix-collect-garbage --delete-older-than 90d and all is good
<Infinisil>
clever: what is the best way to solve that? What worked for me was nix-collect-garbage --older-than something, then /run/current-system/bin/switch-to-configuration boot
<dtzWill>
errr rem'd some bug report and re-ran nixos-rebuild and /then/ all is good :)
takle has joined #nixos
<Infinisil>
Just nix-collect-garbage didn't work for me for some reason
<dtzWill>
even running nixos-rebuild again? eep haven't re-run again and it cleared /boot space and assumed it did what was needed re:boot goodness
<dtzWill>
brb O:)
<dtzWill>
(seems okay O:))
<dtzWill>
maybe got lucky with what part ran out of space or something
<Infinisil>
No idea, I think I found some github issue back then that mentioned this switch-to-configuration thing
<dtzWill>
yeah, i kept that handy in case things went south, ty O:)
<dtzWill>
also relieved all is well haha, first time in a while a nixos-rebuild gave me something that caused concern :)
takle has quit [(Ping timeout: 260 seconds)]
<dtzWill>
also, good evening folks :)
<adisbladis>
Good morning :)
taktoa has quit [(Remote host closed the connection)]
<clever>
Infinisil: nix-collect-garbage only cleans up /nix/store
<Infinisil>
Probably I'll just make /boot like 1GB when I'm formatting my drive (gonna give nixos the full disk)
<clever>
Infinisil: the boot sub-command rebuilds the /boot contents, based on what generations still exist
ertes has joined #nixos
<clever>
Infinisil: grub also has a configurationLimit command to deal with this better
<Infinisil>
Gonna use grub from now on
<Infinisil>
But I'm gonna disable that splashImage heh
filterfish has joined #nixos
<dtzWill>
UGT woo
<dtzWill>
lol mine's 512MB, was just joking to GF I might just add a few GB to it and ignore the problem for a few years lol :P
<dtzWill>
orr 496M apparently, not sure how that happened but shrug
<dtzWill>
Infinisil: what else has the disk now?? O:)
* dtzWill
has a windows install around for some games he plays with extended family
<Infinisil>
dtzWill: Huh?? A 500MB disk??
<clever>
partition for /boot
<dtzWill>
clever: interesting, will check that option
zennist has joined #nixos
<Infinisil>
Ahh
<dtzWill>
500MB partition for /boot yeah
<clever>
and thats huge, my /boot is a 64mb usb stick
<clever>
for the NAS
<clever>
64mb total
<adisbladis>
I have had it at 1G for years
<adisbladis>
But I don't GC very often
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
<clever>
adisbladis: it also depends on how often you update your kernel
<dtzWill>
yeah I also had 100% kernels since I installed on this machine, and I mix things up a fair amount lol
<adisbladis>
clever: As often as possible
<clever>
lol
slack1256 has joined #nixos
<Infinisil>
Oh right, I actually wanted to test putting boot on a memo stick and fully encrypting the internal disk, maximum security (even though I don't need it really)
<dtzWill>
i do really like the idea of usb stick for things like my nixos config and perhaps /boot
<adisbladis>
clever: I'm on linuxPackages_latest and hardened_copperhead
<adisbladis>
They both update very often
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/v7aEr
<dtzWill>
adisbladis: how full is your /boot now, btw? O:)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to master: https://git.io/v7aEo
<NixOS_GitHub>
nixpkgs/master b794459 Franz Pletz: ldcpp: remove, old and abandoned...
<NixOS_GitHub>
nixpkgs/master c1ca5ac Robin Gloster: retroshare: 0.5.5c -> 0.6.2
NixOS_GitHub has left #nixos []
<dtzWill>
i swear I didn't scribble garbage to /boot for no reason :P lol
<Infinisil>
I only have a bunch of random, all half broken memo sticks, 4-8GB, probably all USB2.0. I might just buy a bunch of good ones for /boot and maybe configs
http_GK1wmSU has joined #nixos
<Infinisil>
Of course these were all gifts from event
<Infinisil>
s
http_GK1wmSU has left #nixos []
<dtzWill>
haha yeah most of my USB drives are from events
<dtzWill>
unfortunately various events seem uniquely able to source random low-capacity drives for things like conference proceedings haha
<dtzWill>
but got a few 32GB a while back for a few bucks apiece, should do the trick
<adisbladis>
Infinisil: Just put all the configs in git :)
<dtzWill>
I have them in git, but..
<Infinisil>
I have them in git
zennist has quit [(Ping timeout: 260 seconds)]
<dtzWill>
idk, having it with me seems.. .reassuring. :)
<Infinisil>
too of course, but my configs are really important, having another backup for on the go would be nice
<dtzWill>
anyway
<dtzWill>
would also make bootstrapping new machines super easy ;)
<Infinisil>
Yup. I should also put my install-nixos-with-a-decent-filesystem-config-on-a-new-disk-while-wiping-it-completely script there
<dtzWill>
clever: whatcha up to? :)
<clever>
dtzWill: not much at the moment
<adisbladis>
I would love on of those 512G usb sticks to make full snapshots of my laptop on
<adisbladis>
Expensive though...
<dtzWill>
:)
<clever>
heh
<Infinisil>
adisbladis: Are they as fast as a normal SSD?
<adisbladis>
Infinisil: Nope, but pretty damn fast for being usb sticks
<Infinisil>
Or is the only tradeoff the price?
<Infinisil>
Ahh
nh2 has quit [(Quit: Leaving.)]
<adisbladis>
Infinisil: But provided I do backups often enough I'm not so worried about the speed
<Infinisil>
I have a few random disks laying around as well, 1T, 640GB, 500GB and 256GB SSD
<Infinisil>
adisbladis: Yeah
NightTrain has quit [(Quit: Lost terminal)]
<Infinisil>
I'm not sure if I should just abandon Apple development, I really liked Swift, Metal and Xcode, but they're so far away from Nix, in mind and technology
<Infinisil>
Although I'd love to make Swift work well with Nix and make a Swift RFC to maintain this Nix package. Then it's not only limited to Apple + Ubuntu and all Linux distros can use Swift
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 13 new commits to master: https://git.io/v7aul
<NixOS_GitHub>
nixpkgs/master 82d4963 Robin Gloster: umurmur: 0.2.16a -> 0.2.17...
<NixOS_GitHub>
nixpkgs/master 07106fb Franz Pletz: mpv: bump waf version to 1.9.8...
<NixOS_GitHub>
nixpkgs/master a97d46e Robin Gloster: aws-sdk-cpp: 1.0.153 -> 1.1.7
NixOS_GitHub has left #nixos []
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
kiloreux has quit [(Ping timeout: 240 seconds)]
<mpcsh>
hey, anyone here dual boot nixos and windows?
<mpcsh>
(i know, kill me ;)
<clever>
mpcsh: yes
<clever>
i goes years between actually using it, lol
<clever>
win7 is fine being chainloaded via legacy
zeus_ has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
<mpcsh>
clever: oh dammit I'm uefi
<mpcsh>
clever: it appears nixos won't let you boot uefi unless you use systemd-boot
<clever>
i was able to just turn uefi off in my firmware
<mpcsh>
clever: why would you do that??
eacameron has quit [(Remote host closed the connection)]
<clever>
with uefi on, it 100% ignored the boot order i configured, and refused to load a legacy linux until i physically unplugged the windows drive
<mpcsh>
weird
<clever>
uefi has priority over legacy in this firmware
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
<Infinisil>
I recently discovered the grub.useOSProber option, which is supposed to detect other installed OS's and add them to the grub menu
hamishmack has quit [(Client Quit)]
<clever>
mpcsh: oh, grub also has an efi mode
<Infinisil>
Maybe I'll try that when I set up my dualboot Win10/NixOS
<mpcsh>
clever: yeah I know
<mpcsh>
clever: but nixos wouldn't let me install with it enabled
<clever>
why not?
<mpcsh>
clever: grub just failed
<clever>
with what error?
<Infinisil>
What's the error?
<mpcsh>
clever: and the manual says uefi users "must" use systemd-boot
<mpcsh>
I didn't gist it, sadly, and I'm on my installed system now :/
<mpcsh>
something about grub refusing to install
<mpcsh>
honestly the best would be refind, does anyone use refind on nixos?
<clever>
you can always set boot.loader.grub.enable = true; and efi enable = true;
<mpcsh>
clever: yeah that's what I had
<clever>
and it will try to add grub
zennist has joined #nixos
proteusguy has quit [(Ping timeout: 258 seconds)]
proteusguy has joined #nixos
zennist has quit [(Ping timeout: 260 seconds)]
<mpcsh>
clever: what do you have for boot.loader.grub.devices?
<mpcsh>
(or device)
<clever>
mpcsh: that is only for configuring legacy booting, it must be set to "nodev" for uefi
slack1256 has quit [(Remote host closed the connection)]
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
<mpcsh>
clever: ahhhhhhhhh
<mpcsh>
clever: device or devices?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc opened pull request #27923: nixos,nixpkgs: only build essentials on i686 (master...i686) https://git.io/v7auj
NixOS_GitHub has left #nixos []
<mpcsh>
clever: like is it grub.devices = [ "nodev" ] or grub.device = "nodev"?
<Infinisil>
I do grub.device = "nodev"
<clever>
device = "nodev";
justanotheruser has joined #nixos
<clever>
you can also setup both legacy and uefi if you want
<clever>
device = "/dev/sda"; and sda must contain a bios boot partition, 1mb, no fs, never mounted, in addition to the /boot partition
<mpcsh>
clever: nah I do uefi everything, works for me
<mpcsh>
thanks for the tip yall
<mpcsh>
that should be in the manual though for sure
<mpcsh>
brb, boutta see if this works :)
zennist has joined #nixos
zennist has quit [(Ping timeout: 248 seconds)]
catch22 has joined #nixos
hamishmack has joined #nixos
<mpcsh>
clever: got it working!
<mpcsh>
one question: my windows entry just says "chainloader (sdc, 2)+1", because my windows boot partition is on /dev/sdc2. however GRUB won't let me boot it - it says "disk not found"
<mpcsh>
am I formatting it wrong?
<clever>
yes
<clever>
refer to my gist, and also try the tab-completion in the grub repl, hit c at the boot menu
<mpcsh>
clever: yeah I think I found my answer on the gentoo wiki
<clever>
grub lets you tab complete drives, partitions, and file paths
<mpcsh>
clever: ok let's see if this works :)
eacameron has joined #nixos
zennist has joined #nixos
zeus_ has joined #nixos
shanemikel has joined #nixos
shanemikel has quit [(Client Quit)]
zennist has quit [(Ping timeout: 276 seconds)]
Rotaerk has joined #nixos
Infinisil has quit [(Quit: leaving)]
cpennington has quit [(Remote host closed the connection)]
catch22__ has quit [(Ping timeout: 248 seconds)]
<mpcsh>
clever: it worked!
sary has joined #nixos
contrapumpkin has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
reinzelmann has joined #nixos
catch22__ has joined #nixos
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] carlsverre opened pull request #27924: Enable BGSCAN for wpa_supplicant (master...wpa_supplicant_bgscan) https://git.io/v7aVS
NixOS_GitHub has left #nixos []
ebzzry__ has quit [(Ping timeout: 260 seconds)]
ebzzry__ has joined #nixos
inflames has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v7aw8
<NixOS_GitHub>
nixpkgs/master 6b62b56 Carl Sverre: wpa_supplicant: Enable BGSCAN module...
<NixOS_GitHub>
[nixpkgs] vbgl pushed 4 new commits to master: https://git.io/v7ao6
<NixOS_GitHub>
nixpkgs/master 2c6571f Vincent Laporte: ocamlPackages.git: 1.11.0 -> 1.11.1
<NixOS_GitHub>
nixpkgs/master da378ce Vincent Laporte: ocamlPackages.process: init at 0.2.1...
<NixOS_GitHub>
nixpkgs/master 90c9897 Vincent Laporte: ocamlPackages.ppx_deriving: mark as broken with OCaml ≥ 4.05
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v7aoF
<NixOS_GitHub>
nixpkgs/master ef7f980 Vincent Laporte: obelisk: init at 0.2.0...
NixOS_GitHub has left #nixos []
oida_ has joined #nixos
oida has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis opened pull request #27925: networkmanager service: use unbound if enabled (master...networkmanager_unbound) https://git.io/v7aKL
NixOS_GitHub has left #nixos []
endformationage has quit [(Quit: WeeChat 1.7)]
leat has quit [(Quit: leat)]
Ivanych has joined #nixos
<sphalerite>
Anybody who knows about ARM and/or Rust have some idea how to fix the build for rustc on arm? Currently looking like this (I've added the bootstrap URL to the expression) http://ix.io/ySI
FRidh has joined #nixos
zennist has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
zennist has quit [(Ping timeout: 255 seconds)]
rpifan has quit [(Ping timeout: 268 seconds)]
sauyon has quit [(Ping timeout: 260 seconds)]
nslqqq has quit [(Ping timeout: 240 seconds)]
nslqqq has joined #nixos
leat has joined #nixos
<hyper_ch>
so, still broken virtualbox on nixos-unstable channel
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to staging: https://git.io/v7a6u
<NixOS_GitHub>
nixpkgs/staging 2d64d1e Robin Gloster: fetchurlBoot: add name attr
<NixOS_GitHub>
nixpkgs/staging 0e18f28 Robin Gloster: binutils: patch bugs in 2.29...
<stranger__>
how to write "nix.nixPath = [ "nixpkgs=/home/stranger/tmp/nixpkgs" ] ++ nix.nixPath;" properly? i want to glue my value with default nixPath value
ZoomZoomZoom has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to staging: https://git.io/v7a5N
<NixOS_GitHub>
nixpkgs/staging 629becb Robert Helgesson: expat: 2.2.2 -> 2.2.3
NixOS_GitHub has left #nixos []
anelson has joined #nixos
Tucky has joined #nixos
bennofs1 has quit [(Quit: WeeChat 1.9)]
bennofs has joined #nixos
<ZoomZoomZoom>
Hi. 2 questions. 1 nix-env will print only the packages, installed imperatively, right? How can I get a derivation path of a package installed from my configuration.nix? 2. Which name (selector) does nix-env work on? The one I use to install a package, or the one 'nix-env -q' gives me?
zennist has joined #nixos
Wizek__ has joined #nixos
<symphorien>
nixos-option environment.systemPackages might be what you look for
<stranger__>
anyone to help with my question?
<LnL>
don't think there's a nice way to do that currently
zennist has quit [(Ping timeout: 240 seconds)]
<Infinisil>
ZoomZoomZoom: nix-env has the --profile option, but I don't know how to use it
<Infinisil>
stranger__: Gotta ask the question for us to help :)
<ZoomZoomZoom>
Infinisil, I tried using the --file option, feeding the path to my config, but it didn't help.
Wizek has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
mudri has joined #nixos
<Infinisil>
ZoomZoomZoom: Probably nixos-option works the best then, as said by symphorien
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/v7aFM
<NixOS_GitHub>
nixpkgs/openssl-1.1 406e983 Robin Gloster: phantomjs2: don't use bundled qt
NixOS_GitHub has left #nixos []
<ZoomZoomZoom>
Ok. Does anyone use php71Packages.apcu? I use it with the nextcloud and after recent upgrade my php-fpm fails to run.
<ZoomZoomZoom>
The offending line in the phpfpm.phpOptions is 'extension = ${pkgs.php71Packages.apcu}/lib/php/extensions/apcu.so'
simukis has joined #nixos
<Infinisil>
Ohhh, I figured it out how to display the systemPackages: nix-instantiate --eval --strict -E 'map (x: (builtins.parseDrvName x.name).name) (import <nixpkgs/nixos> {}).config.environment.systemPackages' (cc LnL symphorien )
joehh has joined #nixos
Wizek__ has quit [(Ping timeout: 260 seconds)]
<LnL>
that should work for the toplevel packages
jtojnar has quit [(Ping timeout: 248 seconds)]
<Infinisil>
Do you happen to know if there's a way to display nix-instantiate --eval's output nicely?
<stranger__>
Infinisil: the question is how to write something like "option = myValue ++ defaultOptionValue" in configuration.nix
<Infinisil>
stranger__: What are you trying to achieve with this? You mean if myValue is null then the default should be used?
<stranger__>
Infinisil: i want to add "nixpkgs=..." to nix.nixPath list
bennofs has quit [(Ping timeout: 255 seconds)]
justelex has quit [(Quit: Konversation terminated!)]
justelex_ has joined #nixos
<Infinisil>
stranger__: Ahhh, you don't need to do that, it gets added automatically
<Infinisil>
the module system knows how to merge multiple values
<Infinisil>
And I think this also works for nix.nixPath
<Infinisil>
But I haven't tried it
<Infinisil>
Ahh, yes it works, I just checked the soucre
justelex_ has quit [(Read error: Connection reset by peer)]
<Infinisil>
Ohh, well maybe not
* Infinisil
is testing it
<Infinisil>
brb
Infinisil has quit [(Quit: leaving)]
mguentner has joined #nixos
Infinisil has joined #nixos
<Infinisil>
I am ashamed it does indeed not work
<Infinisil>
I think I got it though, brb
Infinisil has quit [(Client Quit)]
Infinisil has joined #nixos
<Infinisil>
Okay it works: In the argument list at the beginning of the file, add "options, ". Then you can set nix.nixPath = [ "nixpkgs=blablabla" ] ++ options.nix.nixPath.default;
arximboldi has quit [(Quit: arximboldi)]
Wizek__ has joined #nixos
bear13yte has joined #nixos
<stranger__>
Infinisil: great! thank you much! :)
<Infinisil>
stranger__: Np, I actually needed to set this option for a long time, finally got around to do it :D
<stranger__>
:)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/v7aAq
<NixOS_GitHub>
nixpkgs/master dc50dcf zimbatm: terraform: keep the 0.9.x series as the default for now...
NixOS_GitHub has left #nixos []
mounty has quit [(Ping timeout: 240 seconds)]
Guanin has quit [(Quit: Leaving)]
arximboldi has joined #nixos
<chominist[m]>
Emacs cannot find monaco
<chominist[m]>
Urxvt loads monaco fine, but the graphical emacs cannot
leat has quit [(Quit: leat)]
mounty has joined #nixos
cpennington has joined #nixos
<LnL>
ikwildrpepper: do you guys still have internet issues? don't see any of the macs building
zennist has joined #nixos
leat has joined #nixos
justelex_ has joined #nixos
justelex_ has quit [(Client Quit)]
justelex has joined #nixos
reinzelmann has joined #nixos
python476 has joined #nixos
justelex has quit [(Client Quit)]
justelex has joined #nixos
erictapen has joined #nixos
gguy has quit [(Ping timeout: 260 seconds)]
justelex has quit [(Read error: Connection reset by peer)]
justelex has joined #nixos
ertes has quit [(Quit: Bye!)]
<adisbladis>
chominist[m]: Which channel are you using?
<adisbladis>
Oh wait, monaco is a font
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/v7apQ
<waldyrious>
Everything seems to match up, but the last two releases have mismatched dates on the manual/release-notes page vs. the actual git tags (I've marked them in red)
<waldyrious>
Any ideas on how to handle that discrepancy?
dywedir has quit [(Remote host closed the connection)]
<chominist[m]>
adisbladis (IRC): yeah the font monaco is giving me some problems
peacememories has quit [(Client Quit)]
reinzelmann has joined #nixos
peacememories has joined #nixos
<gchristensen>
wow waldyrious
<gchristensen>
waldyrious: when we make the tag for nixos releases, we make it before it is officially "stable", when the tag is made it becomes "beta" I think
<waldyrious>
gchristensen: procrastination does that xD
<gchristensen>
waldyrious: but globin or domenkozar could say more (please help waldyrious, globin or domenkozar :))
<waldyrious>
(speaking of the time I spent on the spreadsheet, to be clear)
<waldyrious>
ok, cool! Thanks, I'll wait around.
<gchristensen>
waldyrious: this is incredible digging you've done!
ertes-w has joined #nixos
<waldyrious>
I have dozens of such documents, unfortunately. I tend to get sucked into this kind of thing, which is not always good for myself (but at least I try to produce something useful :))
<gchristensen>
:) yes I have my not so good habits too... it is especially interesting because I don't know of anyone else doing a historian-like role
<waldyrious>
there are dozens of us :P but yeah it's common for this kind of work to be done in isolation. You find this pattern a lot among wikipedians
reinzelmann has quit [(Quit: Leaving)]
reinzelmann has joined #nixos
notdaniel has quit [(Quit: Leaving)]
<gchristensen>
waldyrious: I'm familiar :P my wife sometimes dreams of being a wikipedian
bear13yte has quit [(Ping timeout: 260 seconds)]
<waldyrious>
gchristensen: as in she edits so much she dreams about it, or wishes she was an editor?
<gchristensen>
she wishes :)
reinhardt has joined #nixos
reinhardt has quit [(Client Quit)]
<waldyrious>
but she knows anyone can edit, right?
reinzelmann has quit [(Ping timeout: 255 seconds)]
<waldyrious>
brb
waldyrious has quit [(Quit: Page closed)]
http_GK1wmSU has joined #nixos
http_GK1wmSU has left #nixos []
<cmcdragonkai>
Is there a way to access the mysql test framework using the mysql package on nixos?
waldyrious has joined #nixos
<cmcdragonkai>
Specifically where is the mysql-test-run.pl command?
reinzelmann has joined #nixos
waldyrious has quit [(Client Quit)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
roberth has joined #nixos
justelex_ has quit [(Ping timeout: 240 seconds)]
waldyrious has joined #nixos
erictapen has joined #nixos
CcxWrk has quit [(Ping timeout: 240 seconds)]
ThatDocsLady is now known as ThatDocsLady_lun
tokudan has joined #nixos
iyzsong has joined #nixos
eschnett has quit [(Quit: eschnett)]
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gnidorah opened pull request #27931: Fix some KDE applications (master...kde) https://git.io/v7VUV
NixOS_GitHub has left #nixos []
cpennington has quit [(Remote host closed the connection)]
<NixOS_GitHub>
nixpkgs/staging dd61dbf Thomas Tuegel: Merge commit 'refs/pull/27485/head' of github.com:NixOS/nixpkgs into staging...
NixOS_GitHub has left #nixos []
justelex_ has joined #nixos
arximboldi has joined #nixos
<ixxie>
I've been looking at doing some thing to make it easy to take certain packages from unstable while keeping nixos on stable, maybe: let unstable = import <nixos-unstable> {}; in ....
<ixxie>
I just have two questions: how does nixos know which of two channels is the primary one to use?
joepie91 has quit [(Ping timeout: 264 seconds)]
<ixxie>
and how can I propegate a 'let' statement to all my modules so I only have to write this once in my main configuration file?
<gchristensen>
strictly speaking you can't propagate the let statement, but you can do something else :)
<ixxie>
that's what I thought :P
<gchristensen>
use nixpkgs.config.packageOverrides to create a new package named unstablepkgs and set it to the value of the imported unstable nixpkgs
<gchristensen>
then in your other module you can do pkgs.unstablepkgs.whatever
<ixxie>
kewl
romildo has joined #nixos
pie_ has joined #nixos
eschnett has joined #nixos
nslqqq has quit [(Ping timeout: 246 seconds)]
<ixxie>
so wait - gchristensen - it could go like, nixpkgs.config.packageOverrides = pkgs: { unstable = import <nixpkgs-unstable> {}; };
cpennington has joined #nixos
<gchristensen>
yeah
<ixxie>
and my other question?
<ixxie>
does it normally just use the nixos channel?
<ixxie>
(since I need to have two channels simultaneously to make this work)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus closed pull request #26842: vivaldi: add support for proprietary codecs (master...vivaldi-ffmpeg-codecs) https://git.io/vQOxO
NixOS_GitHub has left #nixos []
cpennington has quit [(Remote host closed the connection)]
<gchristensen>
1. nixos-rebuild finds nixpkgs by `import <nixpkgs>` which is a specifically defined path in most NIX_PATHs: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
reinzelmann has quit [(Remote host closed the connection)]
Guest13065 has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/v7V48
<NixOS_GitHub>
nixpkgs/master 4f277bd Phil: nixos/networking/nat: add option for protocol...
NixOS_GitHub has left #nixos []
justelex_ has quit [(Quit: Konversation terminated!)]
justelex_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/v7V4a
<NixOS_GitHub>
nixpkgs/master 688f066 Robin Gloster: haskellPackages.servant: fix hash
NixOS_GitHub has left #nixos []
<ixxie>
so, I am tryin to understand how NIX_PATH lookup works; the default first searches through nixos/nixpkgs, then through my configuration.nix, and then through all my channel directories
Capprentice has joined #nixos
<ixxie>
now first I was confused because there is nixos/nixpkgs and nixos/pkgs
<ixxie>
and now I am absolutely baffled because every time I open nixpkgs I see the same folders, and its a fractal directory structure
<gchristensen>
ok it is way past time to document <> and NIX_PATH
ertes-w has quit [(Ping timeout: 240 seconds)]
contrapumpkin has joined #nixos
ebzzry__ has joined #nixos
<ixxie>
when someone does that, they should cross link to the channel section, with a word on how channels are searched :P
<ixxie>
but, woah, this is so trippy
<gchristensen>
channels are nothing special to nix
<gchristensen>
all they do is update paths in the NIX_PATh
<gchristensen>
NIX_PATH searching doesn't know about nixos/nixpkgs at all either, so this is all very confusing to you :P
<periklis>
Sonarpulse: i had a look on {build,host,target}Platform.libc. That's most the stuff introduced by system scan for localSystem (build) and given crossSystem (host & target).
<Sonarpulse>
periklis: indeed!
<Sonarpulse>
you can skip scan
<periklis>
Sonarpulse: how does these fit into my issue?
<Sonarpulse>
and specify localSystem exactly
<Sonarpulse>
periklis: I guess I was confused why you needed a new libsystem
<Sonarpulse>
libsystem is just for darwin
<periklis>
Sonarpulse: i've done that too, but libcCross for gccCrossStateStatic is choosen from crossSystem
<Sonarpulse>
gchristensen: your comment about LD= seems to have dissapeared!
<gchristensen>
wat
fre has joined #nixos
bkchr has joined #nixos
<Sonarpulse>
gchristensen: yeah
<Sonarpulse>
bummer
<bkchr>
Hi, can I keep the build directory of a failing nixos-rebuild?
<ixxie>
thanks gchristensen, that did it :) now I can have my stable cake and eat the occasional stable slice
<ixxie>
unstable*
<gchristensen>
:)
eschnett has quit [(Quit: eschnett)]
ixxie has quit [(Read error: Connection reset by peer)]
justelex_ has joined #nixos
goodwill has quit [(Quit: ...)]
<dash>
bkchr (IRC): -K
mudri has quit [(Ping timeout: 255 seconds)]
<dash>
(hmm, this matrix irc bridge is... suboptimal)
arximboldi has quit [(Quit: arximboldi)]
<bkchr>
dash: ahh that easy. Should have tried it before asking :(
<bkchr>
Thanks!
mguentner has quit [(Quit: WeeChat 1.9)]
<dash>
bkchr (IRC): i had to read the nixos-rebuild script to verify it passed args through to nix-build :)
eschnett has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 2 new commits to master: https://git.io/v7VaX
<NixOS_GitHub>
nixpkgs/master 2a9ef2f Vincent Laporte: ocamlPackages.cryptokit: 1.11 -> 1.13
<NixOS_GitHub>
nixpkgs/master 53bd6cf Vincent Laporte: ocamlPackages.ocamlnet: mark as broken with OCaml ≥ 4.05
NixOS_GitHub has left #nixos []
Filystyn has joined #nixos
<Sonarpulse>
gchristensen: do you have time to go over the cc-wrapper shellcheck PR?
goodwill has joined #nixos
<Sonarpulse>
in case there are other missing comments?
<gchristensen>
I did
<gchristensen>
but nothing major
<Sonarpulse>
gchristensen: err I mean I know you did review
<Sonarpulse>
thanks so much for that!
<gchristensen>
<3 :)
<gchristensen>
but I must stress I don't really know how cross compilation works... or even most compilation :P so I don't feel my experience there is highly relevant other than "does this bash look good?"
<Sonarpulse>
gchristensen: well the shellcheck one shouldn't affect that
<Sonarpulse>
or anything else
<Sonarpulse>
(I hope I can get away with *not* doing a rebuild the world before merging that :))
<Sonarpulse>
unlike later PRs, which will need that
thblt has joined #nixos
tokudan has quit [(Quit: Leaving)]
periklis has quit [(Ping timeout: 255 seconds)]
<Sonarpulse>
gchristensen: right so basically right now this is what I've picked up
<Sonarpulse>
1. add-flags note type
dbmikus has quit [(Ping timeout: 246 seconds)]
<Sonarpulse>
2. n+=1 seems ok --- otherwise no way stdenv would have built
<gchristensen>
fair :)
<Sonarpulse>
3. fix the "phase sepration" note
<Sonarpulse>
4. do something about LD=
lambdael has quit [(Quit: WeeChat 1.7.1)]
takle has quit [(Remote host closed the connection)]
<Sonarpulse>
gchristensen: ah if I go through every commit
Capprentice has quit [(Ping timeout: 240 seconds)]
dbmikus has joined #nixos
<bkchr>
Sonarpulse: I did not read everything of your conversation, but you said something about LD=. DO you mean a env variable that is applied while building? Was there a recent change?
http_GK1wmSU has joined #nixos
zennist has joined #nixos
dbmikus_ has joined #nixos
http_GK1wmSU has left #nixos []
dbmikus has quit [(Ping timeout: 240 seconds)]
<Sonarpulse>
bkchr: ah
<Sonarpulse>
ok there are two unrelated things
<Sonarpulse>
yay
<Sonarpulse>
1. LD is now defined in the setup-hook for cc-wrapper
<Sonarpulse>
which has caused some problems
<Sonarpulse>
but is needed for cross
<bkchr>
ahh
<Sonarpulse>
so want to keep that
<Sonarpulse>
and just fix individual packages
<bkchr>
I think that broke qt5.6
<Sonarpulse>
I think ttuegel fixed that
<Sonarpulse>
but point to thing if it
<bkchr>
yeah?
<Sonarpulse>
2. in the the wrappers in cc-wrapper for cc and ld
<Sonarpulse>
there are mysterious LD=....
takle has joined #nixos
<Sonarpulse>
which look wrong and unused
<Sonarpulse>
but I can
<Sonarpulse>
't be sure
<bkchr>
Do you have an example how to fix this LD thing?
<Sonarpulse>
bkchr: well, one can always just "unset LD"
<Sonarpulse>
or LD=$CC
zennist has quit [(Ping timeout: 260 seconds)]
<bkchr>
okay, I'm trying that
<bkchr>
Sometimes the package systems still feels like magic to me^^
<Sonarpulse>
yeah...
<Sonarpulse>
sorry about all the pain this has caused
<Sonarpulse>
but most build systems *advertise* they work with env vars like LD
<Sonarpulse>
smh
<bkchr>
I think I solved the bug
<Sonarpulse>
cool!
<bkchr>
I should have asked earlier :D
<Sonarpulse>
what did you do?
babic has quit [(Ping timeout: 268 seconds)]
<Sonarpulse>
was this an issue you tagged me in, btw?
swoorup has joined #nixos
<Sonarpulse>
I've gotten confused there's been so many
<swoorup>
how do i install popcorn time?
<bkchr>
Sonarpulse: export LD=$GCC in preConfigureFlags
<Sonarpulse>
ah ok
<Sonarpulse>
that is good fix
<Sonarpulse>
cause it will work on cross too
takle has quit [(Ping timeout: 276 seconds)]
zennist has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bkchr opened pull request #27940: QT5.6: Fixes compile error with wrong LD env variable (master...fix_qt56_ld) https://git.io/v7Vo4
<domenkozar>
Sonarpulse: how far is your macOS linker shitstorm fix? :)
justelex_ has quit [(Ping timeout: 248 seconds)]
<yurrriq>
Any Ruby users in here? I'm trying to bundle (via bundix) a gem with git/path dependencies and it's not working it out..
* gchristensen
raises the manveru siren
<yurrriq>
gchristensen: haha thanks
takle has quit [(Ping timeout: 260 seconds)]
justelex_ has joined #nixos
<manveru>
yurrriq: i can maybe help you later. you use latest bundix?
takle has joined #nixos
Capprentice has quit [(Ping timeout: 248 seconds)]
<thblt>
Quick question: I'm installing NixOS (again), is there a reason the non-graphical install ISO doesn't bundle some very common tools, like Emacs or Git? I know nix-env -i works there, but... it would be nice :)
<thblt>
A lot of people store their NixOs configs in git repos.
ixxie has joined #nixos
ambro718 has joined #nixos
<Sonarpulse>
domenkozar: I opened a company PR last night trying it
<Sonarpulse>
singletons failed during build prematurely closed FD in ghc
<yurrriq>
manveru: sounds good. Probably not. My Nix setup on my work machine is less than ideal as of now. I will try on my machine over the weekend
<Sonarpulse>
domenkozar: you can just wait for me to sort that out
<Sonarpulse>
or try it yourself
<domenkozar>
Sonarpulse: will this work with stack --nix?
<Sonarpulse>
perhaps?
<domenkozar>
basically by exposing the correct stdenv, right?
<domenkozar>
man this bug has been the most annoying of them all in last year
<swoorup>
popcorn anyone?
takle has quit [(Ping timeout: 260 seconds)]
<globin>
Sonarpulse: regarding the LD or STRIP or STRINGS: I've simply been setting makeFlags = [ "STRIP=" ]; that normally is enough
<Sonarpulse>
that works too
<Sonarpulse>
I would like to notiy the upstream packages
<Sonarpulse>
they usually claim to support this sort of thing
seanz has joined #nixos
seanz has quit [(Client Quit)]
v0|d has joined #nixos
<kiloreux>
How can I compile go binaries to create a nix package ?
bennofs has joined #nixos
<kiloreux>
Is using buildGoPackage the right way to go about it ?
drakonis has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #27942: 17.09 release-notes: New breaking change: cc-wrapper exports more env vars (master...breaking-changelog) https://git.io/v7VX5
NixOS_GitHub has left #nixos []
takle has joined #nixos
arximboldi has joined #nixos
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
ambro718 has quit [(Ping timeout: 276 seconds)]
takle has quit [(Ping timeout: 276 seconds)]
gnuhurd has quit [(Ping timeout: 276 seconds)]
<ixxie>
is it normal that sometimes nixos-rebuild --switch ends up in a black screen with the machine on
<ixxie>
happened to me several times in the last months
<tokudan>
ixxie, it's not normal, but it can happen if you're logged in through X and nixos-rebuild causes services to restart that shouldn't be restarted while you're logged in
sauyon has quit [(Ping timeout: 260 seconds)]
yegortimoshenko has joined #nixos
<ixxie>
tokudan: is there anything I can do about it?
<tokudan>
if you figure out what goes wrong (i.e. shouldn't be restarted, but is) during the switch: open an issue, so it can be fixed
<ixxie>
hmmm is there a place where rebuild logs go?
<tokudan>
stdout
<ixxie>
right :P
<tokudan>
you could try with script
<ixxie>
hmm maybe I will start adding a log thingy to my wrapper of nixos-rebuild
gnuhurd has joined #nixos
<yegortimoshenko>
hi. does `nix-build -E "with import <nixpkgs>; callPackage ./default.nix"` fetch dependencies? i'm trying to build bitwig-studio outside of nixpkgs tree and i get "error: anonymous function at /home/yegortimoshenko/bitwig-studio/default.nix:1:1 called without required argument ‘zenity’"
<avn>
callPackage ./default.nix {}
<yegortimoshenko>
avn: sorry, i actually run `nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"`
<avn>
boo. Haven't ideas then. in-tree bitwig-studiio have reference to just zenity, and possible it work (not tried)
<yegortimoshenko>
it seems that zenity is actually gnome3.zenity
earldoug1as has joined #nixos
earldouglas has quit [(Quit: leaving)]
bennofs1 has joined #nixos
earldoug1as is now known as earldouglas
endformationage has quit [(Quit: WeeChat 1.7)]
<yegortimoshenko>
i think it's why it fails to find zenity. is there a way to specify the full attribute name in derivation arguments?
<avn>
look to top-level/all-packages.nix in master
<yegortimoshenko>
avn: thank you!
<avn>
you are welcome ;)
alx741_ has joined #nixos
<yegortimoshenko>
:-)
bennofs has quit [(Ping timeout: 255 seconds)]
earldouglas has joined #nixos
alx741 has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] eschnett opened pull request #27943: New expression for Cactus build dependencies (release-17.03...eschnett/cactusdeps) https://git.io/v7VSd
NixOS_GitHub has left #nixos []
<kiloreux>
How is sha256 when using fetchgit ?
<kiloreux>
*calculated
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] eschnett closed pull request #27943: New expression for Cactus build dependencies (release-17.03...eschnett/cactusdeps) https://git.io/v7VSd
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 2 new commits to staging: https://git.io/v7V9n
<NixOS_GitHub>
nixpkgs/staging 6463fd3 John Ericson: cc-wrapper: Pass shellcheck and other cleanups...
<NixOS_GitHub>
nixpkgs/staging fdd07f6 John Ericson: Merge pull request #27879 from obsidiansystems/cc-wrapper-shellcheck...
NixOS_GitHub has left #nixos []
7JTABV6G1 has joined #nixos
<7JTABV6G1>
[nixpkgs] Ericson2314 closed pull request #27879: cc-wrapper: Pass shellcheck and other cleanups (staging...cc-wrapper-shellcheck) https://git.io/v7zWa
7JTABV6G1 has left #nixos []
bkchr has quit [(Quit: Konversation terminated!)]
takle has joined #nixos
justelex_ has quit [(Ping timeout: 240 seconds)]
<sphalerite>
kiloreux: I think it's the hash of the resulting directory
<sphalerite>
you can prefetch with nix-prefetch-git
<kiloreux>
I just tried using sha256
<kiloreux>
on linux
<kiloreux>
and it seems it doesn't support directories
<ToxicFrog>
kiloreux: yeah, nixos does something else
<ToxicFrog>
Use nix-prefetch-git or nix-prefetch-hg from the command line
<ToxicFrog>
Hmm. How do I generate a script on the fly in configuration.nix?
<seequ>
Or run it once with a random hash
<ToxicFrog>
I'm writing an xinetd config, but it needs to invoke something with arguments that I can't pass arguments to. So I need to generate a wrapper script that invokes the real program.
<seequ>
ToxicFrog: Like, a script installed to PATH?
justelex_ has joined #nixos
s33se has quit [(Ping timeout: 276 seconds)]
<ToxicFrog>
seequ: doesn
<ToxicFrog>
seequ: doesn't need to be in PATH (probably shouldn't be, actually)
<ToxicFrog>
I just need to be able to refer to it from stuff in configuration.nix
<seequ>
writeScriptBin
<ToxicFrog>
Where is it documented?
<seequ>
Or actually just writeScript if you don't need to install it
<bennofs1>
I also know that docker puts the term into raw mode
cement has quit [(Ping timeout: 246 seconds)]
<adelbertc>
anyone know where i can snag a vagrant image for NixOS?
cement has joined #nixos
swoorup has quit [(Ping timeout: 260 seconds)]
<sphalerite>
bennofs1: pipe into od?
yegortimoshenko has quit [(Ping timeout: 240 seconds)]
<bennofs1>
sphalerite: that does not show things like ioctl(TCSET) etc
<bennofs1>
sphalerite: I can already see what is written be looking at strace
<sphalerite>
Ah right
ixxie has quit [(Quit: Lost terminal)]
<bennofs1>
As I am not exactly sure what the interface between prog <-> term consits of (are there other things than ioctls and escape sequence) I was wondering if there was a tool to "trace them all"
<sphalerite>
I don't think there's anything that strace wouldn't catch if you take the filter off
* bennofs1
starts lecture of man pty, man man termios etc
<sphalerite>
But maybe setting the terminal to raw mode makes \n only go to the next line rather than returning it to the beginning of the line too?
<sphalerite>
What if you set the PS1 to #\r?
justelex_ has quit [(Read error: Connection reset by peer)]
<bennofs1>
sphalerite: does that tell you anything interesting?
<bennofs1>
(the cursor is always placed before the '#')
<bennofs1>
i am not sure wtf is going on here
<bennofs1>
why does it know correctly where the beginning of a line is with '\r' ?
<sphalerite>
Oh yeah it should be \r# rather than the other way
<sphalerite>
I guess it confirms my suspicion to some extent
<bennofs1>
sphalerite: argh... i missed that one message
<bennofs1>
sphalerite: that makes... some sense
ambro718 has joined #nixos
<sphalerite>
Knowing where the beginning of the line is is the terminal's job
<bennofs1>
sphalerite: thanks a lot, this observation is great
zennist has joined #nixos
<sphalerite>
Np. I have no idea where to go from there though :p
<bennofs1>
sphalerite: well, it looks like i need to teach whatever is running in the container that the correct sequence to use for line breaking is "\r\n" and not just "\n"
<sphalerite>
Or stop docker from setting the terminal to raw mode
<bennofs1>
sphalerite: note that the issue goes away if I run `tset` in the container, so it appears that some value is messed up
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
<seequ>
Hmh. Gotta try out if I can enlargeit without breaking Windows.
gnuhurd has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
<clever>
seequ: refising it can be rather tricky
<clever>
resizing*
gnuhurd has joined #nixos
<seequ>
Resizing anything is tricky when Windows is involved. :|
<gnuhurd>
Nix for Windows when
<clever>
nixos also gets upset when the uuid of /boot changes
<cement>
stupid graphics drivers only building for windows...
<clever>
systemd refuses to let you mount the wrong fs to /boot
<seequ>
yep
<clever>
so you cant mount the right one (because systemd'd uid is wrong)
<seequ>
clever: I can afford to reinstall nixos, so it's fine.
<seequ>
If I do the surgery from Windows, it'll (hopefully) fix itself
<clever>
seequ: nixos can still be fixed
<seequ>
It is honestly less effort to reinstall it.
<clever>
i think it was reformat /boot, "nixos-rebuild test" with the right uuid, and systemd will mount the right thing, then "nixos-rebuild boot" to update /boot
<clever>
and as always, you can just boot the installer, re-mount the root and /boot to /mnt and /mnt/boot, and run nixos-install to repair it
<seequ>
TIL
<clever>
nixos-install is just a script that runs nixos-rebuild under a chroot
bennofs1 has quit [(Ping timeout: 276 seconds)]
python47` has quit [(Remote host closed the connection)]
justelex_ has quit [(Ping timeout: 248 seconds)]
kiloreux has quit [(Ping timeout: 240 seconds)]
takle has quit [(Remote host closed the connection)]
stanibanani has joined #nixos
ted_ has joined #nixos
ted_ has quit [(Read error: Connection reset by peer)]
phinxy has quit [(Read error: Connection reset by peer)]
<bennofs1>
sphalerite: now, why is this commit in nixpkgs docker even though docker --version claims it to be 17.06.0 and this commit is only in 17.07.0???
thblt has quit [(Ping timeout: 240 seconds)]
et4te has quit [(Read error: Connection reset by peer)]
et4te has joined #nixos
<sphalerite>
bennofs1: or does that commit *fix* your issue maybe?
ison111 has joined #nixos
<bennofs1>
sphalerite: no, it produces it
<bennofs1>
sphalerite: you can try for yourself: nix-build '<nixpkgs>' -A docker.src
<bennofs1>
sphalerite: and check the contents of components/engine/pkg/term/termios_linux.go
<sphalerite>
meh, I'd rather not touch it if I don't need to :p
<dash>
garbas (or any pypi2nix users): any suggestions on how to use pypi2nix with pypi packages that don't want to build without patches for nix? i'm trying to build an environment with pyenchant, and it uses ctypes to load a library, I need to give it the store path for the C library
takle has quit [(Ping timeout: 240 seconds)]
<Infinisil>
mpcsh: I use neofetch
<bennofs1>
sphalerite: ah! that change is already in 17.06.0 it appears... git tag --contains lied to me (probably cherry-picked :/)
<sphalerite>
dash: add a postPatch for the library in requirements_override.nix using overrideAttrs? I think?
<bennofs1>
is there a git tag --contains that looks if the same diff appears somewhere else, not just the same commit?
<Infinisil>
mpcsh: You need to copy the default config file from ${pkgs.neofetch}/etc/neofetch/config to ~/.config/neofetch/config for it to work
<dash>
sphalerite: that sounds about right, unfortunately it won't even finish running pypi2nix's initial wheel build
<garbas>
dash: can you check the examples folder of pypi2nix... there are few options of pypi2nix used there
<dash>
OK thanks
<garbas>
dash: if you don't find it please create a ticket and I will look at it
Ivanych has quit [(Ping timeout: 246 seconds)]
<dash>
ah, so the overrides run before the initial wheel builds? I didn't understand that yet :)
takle has joined #nixos
lambdamu has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/v7wkF
<NixOS_GitHub>
nixpkgs/master bb6bbce Mark Cohen: material-icons-ttf: init at 3.0.1...
<NixOS_GitHub>
nixpkgs/master 5bf36ca Mark Cohen: material-icons-ttf -> material-icons
<Infinisil>
Ohh, actually maybe it was fixed on unstable, I'll have to check it out
<bennofs1>
the funny thing is, I just needed to fix docker because it was required for running the tests for another project where I wanted to fix a bug...
takle has quit [(Ping timeout: 260 seconds)]
<dash>
the proverbial yak stack
justelex_ has joined #nixos
takle has joined #nixos
bennofs1 has quit [(Quit: WeeChat 1.9)]
mkoenig has quit [(Remote host closed the connection)]
justelex_ has quit [(Client Quit)]
justelex has joined #nixos
bennofs has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
justelex has quit [(Ping timeout: 240 seconds)]
<sphalerite>
Docker for tests. Because it's okay for tests to depend heavily on the environment.
takle has joined #nixos
eschnett has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
<Infinisil>
And Docker works not only on Linux and Darwin..
ambro718 has quit [(Quit: Konversation terminated!)]
faffolter has joined #nixos
<dash>
Infinisil: haha
<sphalerite>
Unrelated, I don't know if it's a change I made in my installation or one in nixpkgs, but some gtk theming stuff seems to be broken now. I can't see my selection in firefox (except on pages where the stylesheet contains an alternate background colour for the selection) and the buttons and menus look weird in both firefox and nautilus.
<sphalerite>
Anyone know anything that might be helpful?
takle has joined #nixos
stanibanani has left #nixos []
zennist has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
iyzsong has joined #nixos
dywedir has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<ison111>
What does the stylesheet have anything to do with gtk theme? Are you referring to the theme you can actually change in firefox settings?
zennist has quit [(Ping timeout: 276 seconds)]
<ison111>
Well I'm confused by what you said about Firefox, but when it comes to gtk themes not applying as far as I know it's usually 2 possible things. One is that gtk2 and gtk3 have completely separate themes and have to be set separately. The other is that the way gtk3 reads themes was changed a while back I think and ended up breaking a lot of gtk3 themes that previously worked.
takle has joined #nixos
<ison111>
Oh also you usually have to restart gtk3 applications before the theme change takes effect.
zennist has joined #nixos
<ToxicFrog>
How do I add things to /run/current-system/sw/<foo>?
<sphalerite>
ison111: no, I haven't changed anything in firefox. The selection used to have a blue background, now the background colour doesn't change except on sites with stylesheets that adjust the colour (e.g. it's mint green on riot.im but invisible on wikipedia)
takle has quit [(Ping timeout: 246 seconds)]
<ToxicFrog>
I thought it was just a matter of having them in systemPackages, but that doesn't seem to be doing the trick.
<sphalerite>
ison111: at the same time as I started having these issues with firefox, I started having similar issues with nautilus. That's why I suspect gtk3.
<sphalerite>
ToxicFrog: not all subtrees of a package get linked into the environment
rpifan has joined #nixos
<ToxicFrog>
sphalerite: I'm guessing I need pathsToLink for that?
<ToxicFrog>
So something like:
<sphalerite>
Yeah, I think so
<ToxicFrog>
environment.systemPackages = with pkgs; [ doomrl doomrl-server ];
<ison111>
sphalerite: I might be able to help you in an hour or so. I had that problem with a gtk theme, apprently some gtk3 applications look for different names inside the theme
<sphalerite>
ison111: if all goes according to plan (i.e. I don't get stuck on the sofa), I'll be asleep in an hour… Maybe sometime this weekend, or you could PM me so I can have a look at it tomorrow?
hiratara has joined #nixos
<sphalerite>
FWIW I haven't touched any of the theming stuff, I just want the stuff to look like stock GNOME or whatever, and I'm using i3wm
<ToxicFrog>
Ok, yeah, that worked.
<ToxicFrog>
Awesome.
<adelbertc>
is there a way i can verify nix distributed build is working as expected? im on darwin and i think i've setup everything, ran a build for x86_64-linux and it worked. then i stopped the remote machine responsible for that build, ran a GC locally to make sure i didnt get cache hits, and ran the build again and it still works o_O
<ison111>
sphalerite: Yeah the culprit could be anything, because there should only be 1 name for the highlight color, but some applications read it differently. So its either the theme is outdated or the gtk3 software is looking for the old entry. You basically just need to add a line or two to the theme and it should work
<evangeline>
/tmp/vmis.PbXB1I/install/vmware-installer/vmware-installer: line 56: /tmp/vmis.PbXB1I/install/vmware-installer/vmis-launcher: No such file or directory
<clever>
evangeline: everything you download must be patched by a nix expression, or it will fail like that
<clever>
so its recomended to just use the package in nixpkgs if it exists
<clever>
evangeline: how different is virtualbox from vmware?
mounty has joined #nixos
<sphalerite>
evangeline: someone else was trying to get some vmware thing running on nixos a while back and encountered great difficulties. Not sure how far they got in the end
<evangeline>
clever: I'm using virtualbox/kvm now, but I would like to try out vmware for its embedded debugger functionality.
<sphalerite>
it was ndrei iirc
<evangeline>
can we summon him somehow? :)
ison111 has joined #nixos
kainospur[m] has joined #nixos
<sphalerite>
not that I know of
<kainospur[m]>
hi all, i'm trying to use the default auto builder of nix-build but for some reason when executing the command I it isn't finding my makefile. I'm working on OSX. Any ideas?
<clever>
xen emulates the cpu, and will proxy all IO requests to a cpu-less qemu
<clever>
and then qemu emulates the motherboard
<kainospur[m]>
well actually just uses a few more packages.
takle has quit [(Ping timeout: 260 seconds)]
<clever>
so you need a real xen hypervisor to use that
<maurer>
but yeah, back when I was trying my had at osdev, there were two reasons people reccomended bochs:
<clever>
what i'm doing is 100% self-contained to qemu, and can even be ran without root and kvm
<maurer>
1.) Nicer debugger if you don't have a linux-compatible set of exported debug info
<maurer>
2.) If you try to do anything "funny" that windows or linux doesn't do, especially with the MMU, bochs is more likely to do what a real machine would than qemu
<clever>
qemu has a gdb server, but the gdb as a client, gets rather upset when you switch between 16bit, 32bit, and 64bit modes, so its difficult to debug early boot stuff
<clever>
and my qemu/xen changes, are having trouble going from 16bit to 64bit mode
<kainospur[m]>
Infinisil: i also can't setup a nix shell because of some errors...
<Infinisil>
kainospur[m]: You probably intended to use nix-shell instead of nix-build, right?
<kainospur[m]>
bash: local: -n: invalid option
<clever>
kainospur[m]: darwin?
<kainospur[m]>
no i have a makefil in the directory
<kainospur[m]>
this is also my first time using nix at all... so i'm speedreading and hacking :). learning via trying it all out
<kainospur[m]>
but that wouldn't impact my build though right clever ?
<gchristensen>
kainospur[m]: welcome to the community! :D
<clever>
kainospur[m]: yeah, nix-build is much more isolated and wont care
<clever>
kainospur[m]: only nix-shell will have trouble
<kainospur[m]>
thanks gchristensen ! i'm just getting into reproducible builds environemnts awesomeness.
<kainospur[m]>
very powerful!
<gchristensen>
yes it is :)
taktoa has joined #nixos
<kainospur[m]>
so does nix-build automatically find the Makefile in the current directory?
<kainospur[m]>
I see: no Makefile, doing nothing
<gchristensen>
dev environment ramp-up time for new coworkers on my team at work is approximately 3 minutes while their `nix-shell` downloads dependencies.
<kainospur[m]>
do i have to put it somewhere?
<clever>
kainospur[m]: it will look at the directory specified by the src attribute
<kainospur[m]>
ah... so if it's not specified? then nothing exists...
<kainospur[m]>
i thought that might be the problem.
<kainospur[m]>
so if the src is in the location of the nix repo already...
<maurer>
nix-build will look for a file called "default.nix" if no path is specified
<clever>
kainospur[m]: if you gist your default.nix i can look at it
<kainospur[m]>
clever: never gisted before.
et4te has quit [(Read error: Connection reset by peer)]