<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxKXC
<{^_^}>
→ ac19072d by @ryantm: libbitcoin-network: 3.4.0 -> 3.5.0
<shlevy>
puffnfresh: I tested it by just replacing the daemon on my laptop and build server
<{^_^}>
→ 8a5c2812 by @matthewbauer: Merge pull request #37817 from ryantm/auto-update/libbitcoin-network
<shlevy>
But that's perhaps agressive :D
<shlevy>
puffnfresh: Actually generalizing SSHStore to DaemonCommandStore or whatever (IIRC this was your idea?) would also make it much easier to test in the testsuite
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxKXB
<{^_^}>
→ 85afb4e1 by @ryantm: petsc: 3.8.3 -> 3.8.4
<{^_^}>
→ 5090611d by @matthewbauer: Merge pull request #37973 from ryantm/auto-update/petsc
<shlevy>
puffnfresh: Hmmmm... I have that version of Nix running and working fine, so I know it works at least somewhat :D Did you update relevant daemons?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
endformationage has quit [Ping timeout: 268 seconds]
endformationage has joined #nixos
stepcut has quit [Ping timeout: 268 seconds]
acarrico has joined #nixos
johnw has quit [Ping timeout: 240 seconds]
otep has joined #nixos
{`-`} has joined #nixos
leothrix is now known as tylerjl
pxc has joined #nixos
Lisanna has quit [Quit: Lisanna]
pxc has quit [Ping timeout: 240 seconds]
tertle||eltret has quit [Quit: Connection closed for inactivity]
tylerjl is now known as leothrix
lambdamu has quit [Ping timeout: 264 seconds]
<monokrome>
Hey! Does anyone here have pyenv or n-install working in nix?
<dhess>
clever: around?
jtojnar has joined #nixos
endformationage has quit [Ping timeout: 256 seconds]
<clever>
dhess: yeah
<dhess>
clever: have you used your kexec stuff with a recent Nixpkgs? I'm getting this:
<dhess>
while evaluating the attribute 'text' of the derivation 'kexec-nixos' at /Users/dhess/git/nixpkgs-channels/pkgs/stdenv/generic/make-derivation.nix:148:11:
<dhess>
cannot coerce null to a string, at /Users/dhess/git/nix-tests/kexec/kexec.nix:15:14
<dhess>
samueldr: I'll just take it out of my list. I'm not building any ARM stuff at the moment anyway
<dhess>
thanks though!
<{^_^}>
[nixpkgs] @clacke opened pull request #38280 → libseccomp: only on Linux → https://git.io/vxKSe
<dhess>
I wondered why none of my Hydra builds were making any progress
<clever>
dhess: did you declare any features for your build slaves?
jperras has joined #nixos
<clever>
dhess: big-parallel is needed to build a kernel
<dhess>
clever: nah all of that works fine and has been for months. It's Dezgeg's mirror.
<dhess>
/mirror/binary cache/
<clever>
dhess: ah, if you removed a stuck mirror like that, youll want to restart hydra-queue-runner.service
<dhess>
clever: ok cool, thanks for the tip. Actually right now I'm just running around hand-editing all of the nix.conf files :( Because I can't even nixops deploy the new config
<dhess>
hmm that didn't work... where is it getting that from
<clever>
dhess: make sure you edit a file in /etc/nix, rather then the store entry the symlink points to
<clever>
dhess: and you may need to restart nix-daemon after editing it
<dhess>
oh yeahhhhh
<dhess>
restart nix-daemon, thanks
<samueldr>
dhess: what URL are you using for the binary cache?
<dhess>
clever: yeah I just rm'ed the symlink and hand-edited an actual file in /etc/nix
<dhess>
I'm getting redirects, but eventually a 503
<samueldr>
I'm thinking the cs.helsinki.fi url is stabler right now, I used it when I mirrored the whole cache today and haven't hit a snag
<monokrome>
Does anyone know where the python3 package is? I can't seem to find it in NixOS/nixpkgs... Thought it maybe would give an idea on what buildinputs to use for pyenv
<dhess>
samueldr: http or https?
<samueldr>
the helsinki.fi server redirects to https always
<clever>
monokrome: the package is called python3
<samueldr>
and as I said, I haven't used the canonical .me url when mirroring
<dhess>
samueldr: ok that might be my problem, then... maybe the http -> https redirects are breaking somewhere along the line
<samueldr>
only Dezgeg would know
schoppenhauer has quit [Ping timeout: 264 seconds]
schoppenhauer has joined #nixos
<dhess>
fixed yay!
<samueldr>
(restarting hydra after removing? using the non-canonical final urls?)
<dhess>
restarting nix-daemon after removing the /etc/nix/nix.conf symlink and replacing it with a hand-edited file that doesn't use the ARM cache
<vcunat>
rindolf-nixvm: you probably want `services.xserver.desktopManager.xfce.enable = true;`
<vcunat>
(in your configuration.nix for nixos)
<rindolf-nixvm>
vcunat, nix-env -iA nixos.xfce does not work
<vcunat>
well, xfce is not a package
<vcunat>
if you want to use it as a desktop environment, I reccomend the line I posted
<vcunat>
If you just want particular packages from it, you can install those, e.g. nix-env -iA nixos.xfce.thunar
<{^_^}>
[nixpkgs] @ElvishJerricco opened pull request #38287 → Haskell: free-4.12.4 for ghc-7.10.x → https://git.io/vxK5A
<{^_^}>
[nixpkgs] @ElvishJerricco opened pull request #38288 → Added ElvishJerricco to GHCJS maintainers → https://git.io/vxK5x
<rindolf-nixvm>
vcunat, what do i do after putting this line to make it take effect?
<MichaelRaskin>
I wonder if Lisanna's UEFI problem is actually just a disk corruption.
phry has quit [Remote host closed the connection]
phry has joined #nixos
<vcunat>
rindolf-nixvm: `sudo nixos-rebuild boot` and reboot
<rindolf-nixvm>
vcunat, i need to reboot for a new DE?
<vcunat>
not really
mkoenig has joined #nixos
<vcunat>
you can do `sudo nixos-rebuild switch` and restart X
<rindolf-nixvm>
vcunat, and that command failed with error: build of ‘/nix/store/1d0zxl3yx9da345kica7a99vn9rjzs5k-nixos-system-nixos-17.09.3205.12512f25e9e.drv’ failed
<vcunat>
it should most likely work
<vcunat>
can you see the actual error why it failed?
<__tA__>
Could someone who's using Home-Manager as a NixOS Module, or someone using BSPWM share their configs? Wanna see some working exmples try and figure stuff out
LnL has quit [Quit: exit 1]
rindolf-nixvm has quit [Quit: Leaving]
LnL has joined #nixos
rauno has quit [Remote host closed the connection]
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
thblt has quit [Read error: Connection reset by peer]
thblt has joined #nixos
__ta___ has joined #nixos
__ta___ has quit [Client Quit]
romildo has joined #nixos
rauno has joined #nixos
thblt has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 260 seconds]
<bkchr[m]>
Hi, when I want to setup a remote builder for my raspberry pi, does the remote builder also need to run aarch64? Or could I run x86_64 and the builder cross compiles everything?
thblt has joined #nixos
<clever>
bkchr[m]: it has to be able to execute aarch64 binaries to work
<{^_^}>
→ af041508 by R. RyanTM: linuxPackages.sysdig: 0.20.0 -> 0.21.0
<{^_^}>
→ 652bcb34 by @7c6f434c: Merge pull request #38281 from r-ryantm/auto-update/sysdig
<MichaelRaskin>
I am too lazy to write a full reply to this email, and just writing «we are not reinventing the wheel, we are putting the system on tractor tracks to navigate the real landscape» seems to cheap a shot without a reply around it.
<{^_^}>
→ 2cf5fe97 by R. RyanTM: bftpd: 4.8 -> 4.9
<{^_^}>
→ c75f689f by @7c6f434c: Merge pull request #38262 from r-ryantm/auto-update/bftpd
<gchristensen>
:)
drewr has quit [Ping timeout: 252 seconds]
<gchristensen>
I like the FHS so much, that is why I have thousands of them on my laptop
<LnL>
yeah, we kind of do follow FHS except for the root part
andromeda-galaxy has quit [Ping timeout: 264 seconds]
<MichaelRaskin>
Well, if in NixOS /usr was a symlink to /run/current-system, and the store was in /var/db (just because we don't care), we could argue we follow FHS on the system-scale level
<LnL>
I wish we could ret rid of /lib in the system profile tho
andromeda-galaxy has joined #nixos
<lejonet>
Hmm, what is the easiest way to append something to the kernel cmdline for the systemd-boot bootloader? I can't really find any relevant option that seems to give me the possibility to add boot.shell_on_fail as a default
<gchristensen>
boot.kernelParams I think?
<lejonet>
oh lol, I was just looking at boot.loader options... kindof feel stupid now
<lejonet>
Well, now my desktop is nixos, because it hardcrashed on my yesterday and thus I decided to take the plunge :P
<lejonet>
s/my/me/
<aristid1>
hmm, builtins.fetchgit seems to make a network roundtrip on every invocation, even if there is a "rev", and it is the same as in the cache
<infinisil>
lejonet: What did you have before?
<aristid1>
(just from reading the source :D)
<lejonet>
infinisil: gentoo
<infinisil>
Nice to see more NixOS machines \o/
<aristid1>
oh no
<lejonet>
infinisil: the goons over att gcc screwed something up so that I couldn't compile a kernel that actually booted (due to some changes in relocation related to PIE/PIC iirc, I never found the root cause)
<aristid1>
that was just the initial commit
<aristid1>
the current version is way fancier
<MichaelRaskin>
I have recently got my owned NixOS machine count to zero, mwahaha
<aristid1>
and of course not documented *sigh*
<lejonet>
Now to just get the entire system up and running the way I want it, again :P
<infinisil>
MichaelRaskin: Your machine is still Nix-based, right? That's acceptable :)
<lejonet>
Getting crypted startup was a... interesting journey (not due to nixos, but due to weird hardware encrypted USB...)
<infinisil>
lejonet: Took me quiet a bit of time, but now i got it set up decently for the most part
<MichaelRaskin>
Yes, the machine that got converted even runs an ofborg builder (right now).
<gchristensen>
aristid1: perhaps you can write up some notes of what you learn, and they could be added to the docs?
<lejonet>
infinisil: I pulled entire of /home with me, so I don't think it'll take too long to get it setup to where I was at gentoo atleast, then I'm going to have to start nixifying stuff :P
<aristid1>
gchristensen: i hope you don't expect me to also write the nix.man manpage, though? ;-)
aristid1 is now known as aristid
* LnL
copies link
<infinisil>
I can't believe my system config has grown so much in this year I've been using Nix now
<gchristensen>
aristid: if you do, great. if you don't, having notes to start from would be every helpful
<aristid>
gchristensen: well, the nix manual (as opposed to the nix manpage) does exist, so adding it there would be possible if i make a checkout of nix
<infinisil>
Hmm.. I'm updating pytest to fix a package, but now I realize that it would need to rebuild over 500 packages (because pytest duh). Should I change my base branch to staging then?
<infinisil>
I think that's what staging is for, probably FRidh[m] will know what to do
<stphrolland>
vcunat: thanks for the info (about 18.03 release candidate but not a release version). I just wanted to know, not that important. sorry for my late answer.
<infinisil>
LnL: Where do you see that number?
<LnL>
ofborg
jperras has quit [Ping timeout: 256 seconds]
<LnL>
press the green arrow next to the commit and then the ^.^ details
<LnL>
that's a gist with a list of all changed attributes
<infinisil>
Ahh
<infinisil>
Nice
<MichaelRaskin>
It's a checkmark, not an arrow
<LnL>
arrow? why did I say that :p
civodul has joined #nixos
lassulus has quit [Changing host]
lassulus has joined #nixos
<MichaelRaskin>
Because it could have been tha harpoon: ⇃
<gchristensen>
fish hook?
<MichaelRaskin>
But I know it is checkmark, because sometimes it is red cross-mark if eval check fails
<MichaelRaskin>
gchristensen: no, harpoon. Fishhook is a diacriticks like that: ʮ
<infinisil>
Ahhhh help
<infinisil>
I don't know how I can properly change the base branch
<infinisil>
But I don't know how to update my branch to use staging as base
<MichaelRaskin>
red cross mark, when eval fails — it _is_ rare, which is a _good_ thing
<LnL>
infinisil: rebase against staging
<MichaelRaskin>
A horrible mysterious git rebase command with --onto
<LnL>
I just do git rebase -i and remove the extra commits :p
<infinisil>
I just checked out staging, tracking upstream, then cherry-picked my commit onto that
<MichaelRaskin>
Removing all the extra w.r.t. master-staging difference sounds like pain
<LnL>
that also works
<infinisil>
But force pushing doesn't do anything
<LnL>
it's sequential
<MichaelRaskin>
Maybe you didn't force-push to the correct branch?
stphrolland has quit [Quit: leaving]
<infinisil>
Hmm.. When I do git push it says fatal: The current branch staging has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin staging
<infinisil>
Doing that with `git push -u origin fix/buku` I get Branch 'fix/buku' set up to track remote branch 'fix/buku' from 'origin'.
<LnL>
why are you pushing staging?
<infinisil>
Ohh
<infinisil>
Thanks yeah got it now
<infinisil>
And I thought my git skills were decent, hah, what a joke
<MichaelRaskin>
As often happens, technically I have guessed but using my guess was hard without more information…
robstr has quit [Ping timeout: 264 seconds]
NightTrain has joined #nixos
orivej has quit [Ping timeout: 255 seconds]
bind has quit [Ping timeout: 268 seconds]
vcunat has quit [Ping timeout: 264 seconds]
robstr has joined #nixos
ottidmes has joined #nixos
tgunb has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
<bkchr[m]>
Does someone know why installing ripgrep via configuration.nix on my raspberry pi, wants to compile rustc? I know that ripgrep depends on rustc, but I gone back to some commit in February which should already been build by hydra..
martinga_ has quit [Read error: Connection reset by peer]
phreedom has joined #nixos
martingale has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
johnw has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 246 seconds]
johnw has joined #nixos
fendor has joined #nixos
ma27 has joined #nixos
johnw has quit [Ping timeout: 248 seconds]
<pkill9>
out of interest, how safe would it be to bind-mount /gnu/store (Guix) to /nix/store?
<{^_^}>
[nixops] @AmineChikhaoui merged pull request #915 → Fix the deployment of machines with a large number of keys. → https://git.io/vxa26
<{^_^}>
[nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/vx6eD
<{^_^}>
→ 20ffd33d by @AmineChikhaoui: Fix the deployment of machines with a large number of keys.
<{^_^}>
→ da336200 by @AmineChikhaoui: Merge pull request #915 from AmineChikhaoui/copy-multiple-keys
<MichaelRaskin>
pkill9: but why?
<pkill9>
just curious
<MichaelRaskin>
I think Guix-built binaries _expect_ to be in /gnu/store anyway
<pkill9>
you can use bind-mounts to put the guix store in a different folder
<pkill9>
without needing to recompile everything
<pkill9>
same with nix
<MichaelRaskin>
How are you going to use that availability?
<MichaelRaskin>
You still need the real location to be available anyway
<MichaelRaskin>
And if you reference it in a Nix build — note that it is not valid from the Nix point of view — you need tricks that would still work if it were in /gnu/store
<pkill9>
i'm just curious if it would ever conflict
<pkill9>
like a package hash gets output the same for both but they're different packages
the has joined #nixos
the has quit [Changing host]
the has joined #nixos
<MichaelRaskin>
You want bind or union?
<MichaelRaskin>
I guess fixed-output derivations could collide (but with the same content)
<pkill9>
interesting i never heard of union mount
<MichaelRaskin>
That requires overlayfs
the has quit [Remote host closed the connection]
<MichaelRaskin>
(or one of the numerous FUSE unionfs variants)
<{^_^}>
[nixpkgs] @bjornfor pushed commit from R. RyanTM to master « byobu: 5.124 -> 5.125 »: https://git.io/vx6ej
<pkill9>
I want to run either GuixSD with nix package manager for all the extra packages, or just nixos heh
<gchristensen>
`the` is +o'd to handle spam waves fyi
<gchristensen>
I'll be AFK for the next several hours.
<pkill9>
what do you mean gchristensen?
<MichaelRaskin>
pkill9: there is some stupid spammer on nix-core. Was.
<pkill9>
ah, were they using pull requests to spam messages?
<gchristensen>
no, join #sparkfun to see it
<MichaelRaskin>
No. They were just IRC-level spamming
<pkill9>
heh, that channel is very active
the has quit [Remote host closed the connection]
<MichaelRaskin>
Is the a bot?
the has joined #nixos
the has quit [Changing host]
the has joined #nixos
knupfer has quit [Remote host closed the connection]
<gchristensen>
yes
<MichaelRaskin>
Ping too many people, get a boot?
<gchristensen>
much stupidere than that :P
Rusty1_ has joined #nixos
ilyaigpetrov has joined #nixos
xcmw has joined #nixos
jperras has joined #nixos
<monotux>
so...I've tried to google this. I'd like to override the version of hugo in 17.09 with the version from unstable, and if possible without editing my global configuration.nix. how would I do that?
<monotux>
I'd like to do it on two machines and have the new version survive rebuilds
<monotux>
the snippet elvishjerricco pasted above, how is it supposed to work? I've added it to my ~/.config/nixpkgs/config.nix and tried to install hugo, but it only lists hugo 0.29 twice
zybell has joined #nixos
<tilpner>
That one was supposed to go into your global configuration
<cx405>
tilpner: thanks! It should suffice. Btw: "your solution: 4 expected was: #writes hello world construct here#" Great that it still allows custom stuff. :) Thanks.
<cx405>
I entered 2*2 :)
<{^_^}>
[nixpkgs] @globin pushed to master « buildGoPackage: default to 1.10 (default go version) »: https://git.io/vx6UU
aarvar has joined #nixos
cx405 has quit [Quit: Konversation terminated!]
ma27 has quit [Ping timeout: 256 seconds]
<monotux>
https://hastebin.com/gunusalaxo.pas is what happens after adding a new, system-wide unstable channel, adding the package override from the nixos faq on how to do this, what is it that I don't understand? :)
Crypt0x has joined #nixos
<tilpner>
Ah, nixos-unstable might not evaluate with Nix < 2.0
ryanartecona has joined #nixos
<monotux>
ah
<tilpner>
Either upgrade your Nix, or use an older channel. I unfortunately don't know which still evaluate with Nix 1.*
mduggie has quit [Ping timeout: 256 seconds]
<monotux>
so how do I upgrade my nix without going over to stable?
<monotux>
considering that the issue is that I can't seem to install one newer package :D
<tilpner>
Installing might work better than searching (which has to evaluate much more of nixpkgs)
NightTrain has quit [Ping timeout: 256 seconds]
simukis has joined #nixos
<monotux>
ok, but how do I actually upgrade nix then? I can't seem to find any howto :/
<tilpner>
How did you install it? Are you on NixOS?
<monotux>
I'm on NixOS
mduggie has joined #nixos
<tilpner>
You can set nix.package = pkgs.nixUnstable;
<tilpner>
(Or nix.package = unstable.nixStable; for newer values of unstable)
ryanartecona has quit [Ping timeout: 240 seconds]
<monotux>
it still feels a bit strange that it is this complicated to use one package from unstable on stable, but I'm willing to try the new version
ryanartecona has joined #nixos
<tilpner>
It's not, you're just picky about the exact way of using it :)
<monotux>
lets disregard any wishes of not having to touch the system config then
<tilpner>
Add (import <unstable> {}).hugo to your systemPackages then
<tilpner>
(And later extract that (import <unstable> {}) into a let-binding, so you don't import nixpkgs too often)
<tilpner>
Like in the paste above
<monotux>
that elvishjerricco pasted?
<tilpner>
Yes
mbrgm has quit [Read error: Connection reset by peer]
mbrgm has joined #nixos
johnw has joined #nixos
<monotux>
ok, now I just have to figure out how to make normal packages in systemPackages work as expected
JosW has quit [Ping timeout: 256 seconds]
xy2_ has quit [Read error: Connection reset by peer]
<dhess>
Anyone around who's using encryption with ZFS?
johnw has quit [Ping timeout: 240 seconds]
<monotux>
tilpner oh I figured it out! thanks for all your help :)
<monotux>
(and patience)
knupfer has joined #nixos
<tilpner>
:)
johnw has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
nuncanada has joined #nixos
NightTrain has joined #nixos
fenedor has joined #nixos
jluttine has quit [Quit: WeeChat 2.0]
<petar>
is signed binary verification default since nix-2.0? (signed-binary-caches doesn't seem to work any more and nix-2 install/upgrade also doesn't report messages like "signed by ‘cache.nixos.org-1’"..)
<fnlkj>
...just reach someone who lives where their HQs are,.. tie a note about it on a rock and\ lob it through some fancy window.. noce a day .. prlly wont have to pay much. wait nad see,. likely does wonders in their attention to the matter..try
<fnlkj>
dropbox big ..i guess any major facility if not even multiple if can afford.. andn theyll feel the pressure
<tilpner>
Uhh
<tilpner>
Or... don't do that
zybell has quit [Ping timeout: 240 seconds]
spear2 has joined #nixos
<{^_^}>
[nixpkgs] @pbogdan opened pull request #38301 → buildGoPackage: use a separator when joining extraSrcPaths together → https://git.io/vx6t9
doyougnu has quit [Quit: WeeChat 1.9.1]
semilattice has joined #nixos
txp284 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<doyougnu>
hey quick question. I've setup weechat notifications via notify-send which requires libnotify. If I add libnotify to my environment in my configurations.nix file like so: environment.systemPackages = with pkgs; [... libnotify ], then my shell does not find notify-send. However if I add libnotify using nix-env -i libnotify, then it does. Is that intended behavior?
<{^_^}>
[nixpkgs] @Tmplt opened pull request #38305 → packettracer: init at 7.1.1 → https://git.io/vx6Ys
<ixxie>
I'm having trouble running checkPhase on a python module
<ixxie>
it seems to be unable to find modules included in the package I am packaging
doyougnu has quit [Quit: WeeChat 1.9.1]
mr_sm1th_ has quit [Ping timeout: 256 seconds]
lassulus has quit [Quit: WeeChat 2.0]
lord| has quit [Ping timeout: 260 seconds]
lassulus has joined #nixos
lord| has joined #nixos
i-am-the-slime has joined #nixos
dumbl3d0re has quit [Ping timeout: 256 seconds]
<i-am-the-slime>
There seems to be a fork of urxvt which can display unicode characters.
<i-am-the-slime>
It seems to be tied to archlinux somehow, though.
<MichaelRaskin>
rxvt-unicode already can display unicode characters
<i-am-the-slime>
It's supposed to, but apparently it can't display emoji and some wider characters.
vidbina has quit [Ping timeout: 260 seconds]
<MichaelRaskin>
Yes, it is a monospace terminal emulator. It _can_ display emoji, but they have to be narrow enough or scaled down.
AtnNn has joined #nixos
Neo-- has quit [Ping timeout: 256 seconds]
<i-am-the-slime>
I get some boxes with Pragmata Pro, maybe it's not monospace enough.
jrolfs has quit [Ping timeout: 268 seconds]
<i-am-the-slime>
I will just try in Konsole again, to have a reference.
<i-am-the-slime>
There they all are, hmm.
<i-am-the-slime>
The emoji font gets unable to calculate font width...
zybell_ has quit [Ping timeout: 248 seconds]
<i-am-the-slime>
MichaelRaskin: Maybe I can modify the font in such a way that xft will know its width?
<MichaelRaskin>
You can just add the font to the long list of fallback fonts and ask to scale it.
<i-am-the-slime>
I have it after the main font with a comma
<i-am-the-slime>
and then I have pixelsize=12:autohint=False:minspace=False
<i-am-the-slime>
urxvt: unable to calculate font width ... ignoring
<MichaelRaskin>
I think you can enforce width
<i-am-the-slime>
That would be cool
<MichaelRaskin>
Although to make emojis actually fit, you probably need smaller font size
<MichaelRaskin>
mlterm supports just declaring some characters double-width; urxvt follows Unicode (which doesn't declare emojis double-width, as far as I remember)
Fare has quit [Ping timeout: 256 seconds]
<i-am-the-slime>
mlterm
<i-am-the-slime>
I'm happy to use anything that works
<MichaelRaskin>
Emojis.
<MichaelRaskin>
They just don't work in anything reasonable
<MichaelRaskin>
mlterm shows them somehow, yes
<i-am-the-slime>
I guess I can also live without them. I didn't think it would be so difficult.
<i-am-the-slime>
urxvt at least resizes the text after window size changes.
<MichaelRaskin>
With mlterm it is not actually difficult to get emojis
<MichaelRaskin>
For small values of get
Fare has joined #nixos
blonkhart has joined #nixos
<i-am-the-slime>
Do you use it?
<MichaelRaskin>
Yes, for some of the things
zybell_ has joined #nixos
<i-am-the-slime>
Seems like st is also quite popular
<ottidmes>
Is there something in ZFS or Linux that allows me to have my Samba share not be read/writeable to all users? Due to the way it is configured I cannot get the permissions to be xx0, so I am hoping there is still some way around it via different means.
rauno has joined #nixos
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
doyougnu has joined #nixos
<zybell_>
Do you know about force-user/force-group?in samba
abrxs has joined #nixos
<ottidmes>
zybell_: Yeah, I used it, but it only works when you use UNIX permissions as the basis, we use the Windows ACLs, which break when you use force user/group
Ariakenom has joined #nixos
<i-am-the-slime>
MichaelRaskin: How do I force a width? I can't find anything
<ottidmes>
zybell_: I cannot set create mask either, since Samba seems to combine create mask settings with OR, and some extension I use sets it to be 666, so it cannot be set any lower than 6
<zybell_>
not really, you have to setup mappings, and for the extension check their config or confine it to a dir.
<MichaelRaskin>
Did you specify the non-monospace font as at least the second one in the list?
<MichaelRaskin>
width=20 means that all characters there are too wide to use
<i-am-the-slime>
Ah, I was just trying something :D
<i-am-the-slime>
But it doesn't care anyway
<i-am-the-slime>
It still says unable to calculate font width for ...
<i-am-the-slime>
Actually wait
<i-am-the-slime>
damn I wasn't really reloading Xresources
xcmw has joined #nixos
<ertes>
if someone uses nix on a different distribution, would they pick /channels/nixpkgs-unstable instead of /channels/nixos-unstable? is there even a difference?
<MichaelRaskin>
nixos-unstable runs NixOS tests
<MichaelRaskin>
Before bumping the channel
<MichaelRaskin>
I dunno, I just use a master checkout everywhere
<ertes>
is it otherwise equivalent?
<i-am-the-slime>
It actually still says unable to calculate font width for the Emoji
<MichaelRaskin>
Both are subsets of master
<ertes>
i'm asking because a friend of mine would like to switch to stable, but there is only nixos-17.09, no nixpkgs-17.09 (for x86/linux)
<ertes>
and they are currently on nixpkgs-unstable
<MichaelRaskin>
stable is always gated by NixOS tests
<bkchr[m]>
jtojnar: it builds for you? Ohh, I don't get it compiling ^^
<infinisil>
Hey, I'm trying to update a Rust package, but I'm getting "error: the lock file needs to be updated but --frozen was passed to prevent this"
<infinisil>
mkaito: Yeah I'm checking it out locally myself
<mkaito>
so how come this package has had multiple updates and nobody has put the binaries in the right place? how do they use it?
Mateon3 has joined #nixos
<infinisil>
Not sure
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<infinisil>
If you can't fix it yourself I suggest opening an issue and pinging the people who previously updated it
<mkaito>
I'll try pinging @abbradar
vcunat has joined #nixos
<zybell_>
nwspk:you need perl.h which should be in perl-src (and therefore should be in perl) but seems not to be installed. check buildscript of perl.
<{^_^}>
→ 4009338f by @zimbatm: terraform_0_11: 0.11.4 -> 0.11.5
<{^_^}>
→ 5f7cad19 by @zimbatm: terraform: update plugins
<nwspk>
zybell_: please excuse my stupid question, but where should I check this? the module is already defined in the perl-packages.nix-file
ryanartecona has quit [Quit: ryanartecona]
<dhess>
It seems with 18.03 that users can't 'journalctl' anymore. Is there a group I need to be in to do this without running sudo?
<zybell_>
there is defined how it is build. Either a development flag has to be added to cause copying of perl.h to $out or it is already copied, then you should search for/get from the correct search path/nix var to include a -I flag.
<nwspk>
after switching from master to release-17.09 the build went smoothly
<i-am-the-slime>
ah okay, I can also update the channel and then do another nixos-rebuild switch?
<clever>
you want this option
<bkchr[m]>
I think we just need the bootloader to copy the files
<clever>
the bootloader i just linked does exactly that
<bkchr[m]>
clever: bachp says that after enabling that, the pi does not boot anymore
<clever>
bachp: what files are in /boot now?
<i-am-the-slime>
Is anybody using purescript with a shell.nix here?
<bachp>
clever: The new firmware files are in boot now after I enabled the above option. However the pi didn't boot anymore. I had to reenable extlinux to make it boot again. However as long as extlinux loader is enabled the pi loader doesn't take effect.
<clever>
bachp: how does it fail to boot?
<bachp>
But now after rebuilding once with the pi loader the firmware in /boot stays updated.
<bachp>
clever: The system seems stuck after the starting kernel message. It never seems to load userspace
<clever>
bachp: screenshot?
<bachp>
clever: I need to reproduce the error first
<bachp>
clever: But for me it is not clear how the extlinux and the pi loader are related? As far as I can tell the pi loader only installs the firmware
<bkchr[m]>
maybe we could rewrite the raspberry pi bootloader to just wrap the extlinux bootloader
<bachp>
clever: From what I can tell there can only be one loader active. So if I set boot.loader.generic-extlinux-compatible then boot.loader.raspberryPi doesn't seem to be evaluated
<clever>
bachp: yeah, they all set the same field to manage the bootloader
<bachp>
clever: Makes sense. But would it be possible to use u-boot managed via nix? I mean the expression is already there.
<clever>
bachp: you would need to create a new bootloader, that does both tasks at once
<bachp>
Or is this too risky as it might not be possible to roll back.
<clever>
bachp: if you use u-boot correctly, you will have rollbacks working fully
<clever>
and either way, you can just make a .zip backup of the /boot partition to undo things
<bachp>
clever: But the rollback will not work if I break uboot
<clever>
manually undo the changes to /boot with another system
<bachp>
clever: Sure that would work. But I guess the rollback would never work if the bootloader gets messed up with any bootloader. So probably not really an issue.
<bachp>
bkchr: I think we need to come up with a new loader that updates u-boot and the rpifw as clever suggested. That would be the most Nix like way I think.
<bkchr[m]>
Okay
NightTrain has quit [Quit: leaving]
<bkchr[m]>
Should hopefully just copy pasting of whats already there
<clever>
and tweaking it some, so it runs u-boot instead
NightTrain has joined #nixos
<bkchr[m]>
clever: yeah
<bkchr[m]>
`sd-image-aarch64.nix` already does most of it
<bkchr[m]>
it copies the raspberry files and uboot
<i-am-the-slime>
error: value is a function while a set was expected, at /nix/store/g1czn5yacn9l0bnc2qjsxh4m02ciwl7f-nixos/nixos/pkgs/development/haskell-modules/lib.nix:37:28
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @globin pushed commit from R. RyanTM to master « ansifilter: 2.9 -> 2.10 »: https://git.io/vx64i
stepcut has quit []
justan0theruser has joined #nixos
<{^_^}>
[nixpkgs] @mkaito opened pull request #38313 → dwarf-fortress: Provide package with plugins → https://git.io/vx64M
drewofdoom has left #nixos ["User left"]
davidlt_ has quit [Ping timeout: 264 seconds]
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
xcmw has joined #nixos
xy2_ has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
dan_b has quit [Ping timeout: 260 seconds]
justan0theruser has quit [Ping timeout: 246 seconds]
i-am-the-slime has quit [Ping timeout: 256 seconds]
<freeman42x]NixOS>
are there any Nix/OS speecific programs to free space being used by Nix? something mentioning a package and its non-common dependencies used space
<fpletz>
freeman42x]NixOS: have you heard of nix-collect-garbage or are you looking for something else?
<freeman42x]NixOS>
fpletz, I am looking to remove programs that use space, not to GC
ennui has quit [Ping timeout: 260 seconds]
<freeman42x]NixOS>
soon the VM will run out of space and I can't increase its size
<clever>
freeman42x]NixOS: ncdu -x /nix/store/, then try to nix-store --delete and nix-store --query --roots any fat paths
<zybell_>
some uninstaller?
<freeman42x]NixOS>
clever, would that be the same as just seeing which occupy most space and remove the program from system packages, then nixos-rebuild switch and GC?
<clever>
freeman42x]NixOS: mostly
<clever>
freeman42x]NixOS: --query --roots lets you see why it cant be deleted, and --delete lets you delete just that, without having a GC randomly delete other un-rooted things
<freeman42x]NixOS>
apparently there are 4 versions of GHC all with different hashes
ericsagnes has quit [Ping timeout: 260 seconds]
<clever>
freeman42x]NixOS: run nix-store --query --roots on each one, and see what refers to them all
<freeman42x]NixOS>
ah, this is messy
ottidmes has quit [Ping timeout: 260 seconds]
<freeman42x]NixOS>
apparently old profiles are refering to it
<clever>
freeman42x]NixOS: by default, nix-collect-garbage wont delete old profiles
<freeman42x]NixOS>
oh, not even with -d ?
<clever>
-d will delete all unused generations for profiles you can write to
<freeman42x]NixOS>
got it, but I don't think I care about really old ones for now
<freeman42x]NixOS>
I just don't want to get out of space and stuck with Windows only
<freeman42x]NixOS>
yeah, it cleared 21 GB now, much better, although I doubt that the programs I installed should occupy so much space, this is Nix duplication issue
<clever>
oh, also, nix-store --optimize
<clever>
that will dedup things
<freeman42x]NixOS>
oh, never heard of that one
<freeman42x]NixOS>
but how can it de-dup? don't they have different hash
<clever>
it will hash every single file in the store, and hardlink the duplicates to eachother
<freeman42x]NixOS>
oh
<freeman42x]NixOS>
that is very nice
tomberek has joined #nixos
<freeman42x]NixOS>
quite curious how much space it would save
<clever>
depends heavily on how much duplicates you have in the files
<tomberek>
Howdy, I'm getting NixOS working on a TinkerBoard. At the moment I've got most things working (HDMI, console output, WiFi), still working on bluetooth. Some of this becomes a DTB rebuild all the time. Is there a faster way to ask NixOS to only rebuild the dtbs folder vice all of the kernel? At the moment I'm using the boot.kernelPatches to patch the dtb's.
<clever>
tomberek: you would need to make a custom derivation that builds only the dtb's, and then modify the area of nixos that copies them into /boot/