<gchristensen>
so very soon, your Nix install will just automatically be 2.0
<taohansen>
gchristensen: ah we are waiting for distribution?
<gchristensen>
in the meantime, you can add nix.package = pkgs.nixUnstable; and get it now
dan_b has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<taohansen>
excellent! thank you clever and gchristensen
kitemikaze has quit [Ping timeout: 265 seconds]
kelleyNif has quit [Quit: Leaving.]
<skrzyp>
Hmmm… even when I've got myself somehow familiar with basics of the Manual before installing, I'm still not sure if I can "enjoy" NixOS fully without understanding that whole theory of monads and graphs and other things which Haskell people usually do
<skrzyp>
I'm just a simple sysadmin, even when I understand the point of "evaluating system as a function" I'm still unsure about learning functional programming language just to configure the OS
<samueldr>
pretty anecdotal, but I think I don't know monads, and not so much of graph theory, I'm still having a blast with NixOS!
<taohansen>
skrzyp: Nix people have told me that they're really nothing alike and in practice, it's really "nothing more" than defining how you want your system to be with attribute sets.
<taohansen>
I'm just learning but that's my two cents anyway
<samueldr>
until you need to dwelve deep into the bowels of nix and nixpkgs, even writing derivations is pretty declarative, and configuring the system is almost only declarative
<skrzyp>
taohansen: but what if I want to define my own behavior not previously described by anyone else?
<simpson>
skrzyp: Nix is its own language. It isn't Haskell.
<taohansen>
skrzyp: Can you give me a specific example?
gillmanash has quit [Remote host closed the connection]
<taohansen>
As a fellow sysadmin (sitting right next to my beloved developer as we speak!) I can tell you knowing the state of your system absolutely is a godsend.
lambdamu has quit [Ping timeout: 255 seconds]
lambdamu has joined #nixos
<skrzyp>
taohansen: like, hm, is there already an option to declare home directories? Last time I checked it was a todo, but it would be nice to declare $HOME depending on machine state and so on
<ottidmes>
skrzyp: You should check out home-manager
<taohansen>
skrzyp: users.users.<name?>.home is the nixos option to set your home directory
<skrzyp>
taohansen: I didn't meant the passwd entry of home directory, but declaration of the user environment inside it, not only the env vars, but other per-user configuration too
<taohansen>
skrzyp: oh yea then see ottidmes suggestion. that'll do you
<taohansen>
Declare all the things
<skrzyp>
is it day-to-day stable, despite that warning in README?
himmAllRight17 has quit [Remote host closed the connection]
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] xeji opened pull request #35369: epoxy: add mesa to libepoxy runpath as fallback (master...epoxy-runpath) https://git.io/vA2cI
NixOS_GitHub has left #nixos [#nixos]
himmAllRight has joined #nixos
<manveru>
never heard of it, thanks
<skrzyp>
you need an invite to comment and post though, but it's not a magical invite system like on private torrent trackers, just a public tree of trust, so I can invite you by your email address
<skrzyp>
and you can invite others too
acarrico has quit [Ping timeout: 264 seconds]
<skrzyp>
let me know your email if you want to be invited
<skrzyp>
https://lobste.rs/u - public user tree, moderation log is also visible for transparency
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 23ea377 Tim Steinbach: linux: 4.4.116 -> 4.4.117
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 4 new commits to master: https://git.io/vA2cz
<NixOS_GitHub>
nixpkgs/master 3715954 Tim Steinbach: linux: 4.14.20 -> 4.14.21
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 9b55ac2 Tim Steinbach: linux: 4.9.82 -> 4.9.83
<gchristensen>
"And for what it's worth, the #nixos community is one of the kindest, most helpful communities I've ever encountered. Stop by and ask your questions!" taohansen you're going to make me cry!
<manveru>
either way, i think this is good publicity and an opportunity to get more feedback about what we still need to focus on
<gchristensen>
I really wish we had organized at least a little bit of fanfair around the release
<manveru>
gchristensen: so... can i use builtins.fetchGit now for yarn2nix? :D
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 3 new commits to release-17.09: https://git.io/vA2c2
<NixOS_GitHub>
nixpkgs/release-17.09 24438c1 Tim Steinbach: linux: 4.4.116 -> 4.4.117...
<NixOS_GitHub>
nixpkgs/release-17.09 b39cd1e Tim Steinbach: linux: 4.14.20 -> 4.14.21...
<NixOS_GitHub>
nixpkgs/release-17.09 4238d79 Tim Steinbach: linux: 4.9.82 -> 4.9.83...
NixOS_GitHub has left #nixos [#nixos]
himmAllRight has joined #nixos
pierrebeaucamp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/release-17.09 8b720a2 Tim Steinbach: linux: 4.15.1 -> 4.15.2...
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 5 new commits to release-17.09: https://git.io/vA2c9
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/release-17.09 30b0f08 Tim Steinbach: linux: 4.15 -> 4.15.1...
<NixOS_GitHub>
nixpkgs/release-17.09 1f57bfc Tim Steinbach: linux: 4.15.2 -> 4.15.3...
<dtz>
Whoa lots of nix 2 goodness I didn't know about
<dtz>
"placeholder"?! Haha wooo
<pierrebeaucamp>
Hey everyone. I have a question about debugging a failure during the stage 2 boot process. Basically the error message tells me to run `systemctl status` on the failing service, but I have no idea how to open a shell
<manveru>
pierrebeaucamp: do you have a second tty?
<manveru>
specified via `boot.extraTTYs = ["tty2"];` for example
<pierrebeaucamp>
well I'm going to try that and report back. Thank god for the rollback boot entries
ryantrinkle has quit [Ping timeout: 256 seconds]
<skrzyp>
I've added the Nix 2.0 release notes link on Lobsters, so if you have an account here, could you leave some warm comments there? https://lobste.rs/s/nodrls/nix_2_0_released
davidak has joined #nixos
<gchristensen>
yay!
pierrebeaucamp has quit [Remote host closed the connection]
<skrzyp>
If you want an account (must be invited by existing user w/o any restrictions), just let me know
<NixOS_GitHub>
[nixpkgs] jtojnar opened pull request #35370: texlive.bin: fix compatibility with poppler 0.62 (staging...texlive-poppler-fix) https://git.io/vA2Ch
NixOS_GitHub has left #nixos [#nixos]
silver has quit [Read error: Connection reset by peer]
ryanartecona has joined #nixos
pierrebeaucamp has joined #nixos
<pierrebeaucamp>
So unfortunately setting multiple ttys didn't help me
<pierrebeaucamp>
let me explain my problem a bit more in detail:
<joepie91>
ah, Nix 1.12 was 2.0-ified?
davidak has quit [Ping timeout: 256 seconds]
<pierrebeaucamp>
I'm running an encrypted zfs disk. It is able to mount '/' (i.e. the main zfs pool) after I enter my decryption key. It then starts the first few services until mounting `/home` fails (which is in the same zfs pool).
jtojnar_ has joined #nixos
<pierrebeaucamp>
Error is simply `Failed to mount /home`
<pierrebeaucamp>
and that I just check `systemctl status home.mount`
<pierrebeaucamp>
Followed by a message that dependencies failed for the local file system
<pierrebeaucamp>
it keeps on booting for a while until it just stops at one point
Arcaelyx has joined #nixos
<pierrebeaucamp>
then, the only thing I could successfully do is trigger a reboot using ctrl+alt+del
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
Neo-- has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 255 seconds]
<pierrebeaucamp>
(sorry if I spam or disrupt any discussion btw - Nix 2.0 looks awesome)
<manveru>
hehe
mbrgm has joined #nixos
<manveru>
well, what's the difference between your old/new config?
d4g_ has quit [Ping timeout: 268 seconds]
<pierrebeaucamp>
(I'm somewhat ashamed to say that). I just did a nix-channel --update and rebuild running on nixos-unstable
<manveru>
i can't really find a service called home.mount on my machine
<skrzyp>
gchristensen: thanks for your comment, seems like that actually raised the discussion with some following ones
<pierrebeaucamp>
I mean that service should just mount my home folder
<clever>
a small OS built with nix and using runit
Supersonic has quit [Disconnected by services]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<manveru>
yeah, but like, in nixpkgs?
Supersonic112 has joined #nixos
mrkgnao has joined #nixos
<manveru>
if we'd make stage-2 more configurable that should be possible
Supersonic112 is now known as Supersonic
<clever>
mrkgnao: thats systemd only
<mrkgnao>
er, perhaps you meant someone else
<clever>
oops
<mrkgnao>
:)
<clever>
the irc client doesnt always tab-complete in a predictable way
d4g has joined #nixos
uptime has joined #nixos
<catern>
FRidh: have you ever attempted to run Jupyter notebook with Nix? is it... possible?
nuncanada has quit [Quit: Leaving]
pierrebeaucamp has joined #nixos
<hodapp>
"A new version of Nerves bootstrap is available(0.8.1 < 1.0.0-rc.0), please update with `mix local.nerves`"
<catern>
I guess I mean in a simple way - I mean, it seems possible if I use python36.withPackages (ps: [ps.notebook])
<catern>
but something easier...
<hodapp>
ahh, of course, an error because someone's little toy build system had to ship with a package manager manager manager manager manager manager manager
<pierrebeaucamp>
back again with my boot problems. Increasing the log level printed more info, but nothing useful
<NixOS_GitHub>
[nixpkgs] volth opened pull request #35372: libtoxcore: add libconfig to buildInputs (master...patch-102) https://git.io/vA282
NixOS_GitHub has left #nixos [#nixos]
<wervenyt[m]>
does anyone know how to get pulseaudio-gconf set up on nixos?
markus1189 has joined #nixos
<hank_>
Gave up with the last RPI3 aarch64 image from dezgeg (many months ago), because i was getting symptoms of the low power issues despite having correct hardware. Just tonight installed the latest from the server and everything I need works except audio. Couldn't find anything by searching, anyone have luck with the 1/8in out or a specific usb soundcard?
<hank_>
I've got a crappy usb card plugged in, but usbutils & /proc* say it is some obscure realtek device & literally no information exists on the internet about it
<fpletz>
hank_: you probably want the rpi-specific kernel, that should have all the drivers
<pierrebeaucamp>
manveru: just saw your message about postBootCommands, will try that
markus1199 has quit [Ping timeout: 260 seconds]
pierrebeaucamp has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
<fpletz>
hank_: the aarch64 image is multiplatform, it can also be run on other boards but does not include all custom kernel patches from the vendors
<hodapp>
does anyone with nixpkgs handy have the slightest clue how I'd go about overriding erlang to erlangR20 in elixir_1_5?
<hodapp>
it is going through so many layers I have no idea how anything works
<samueldr>
hank_: does it work with NixOS (or another distro) on a more conventional x86_64 computer?
<hank_>
@samuel, I actually haven't tried that, good idea
<hank_>
@fpletz, trying that now
pierrebeaucamp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vA28N
<NixOS_GitHub>
nixpkgs/master 61c1a30 volth: libtoxcore: add libconfig to buildInputs...
<NixOS_GitHub>
nixpkgs/master 33c8ec8 Franz Pletz: Merge pull request #35372 from volth/patch-102...
NixOS_GitHub has left #nixos [#nixos]
<hodapp>
elixir_1_5 = lib.callElixir ../interpreters/elixir/1.5.nix { inherit rebar erlang; debugInfo = true; }; but doing something like 'erlang = pkgs.erlangR20;' and removing 'erlang' from inherit is complaining that 'erlang' is an unexpected argument...
Attero[m] has joined #nixos
<pierrebeaucamp>
manveru: Reporting back about `postBootCommands`: It just printed after 30 seconds how it can't find `systemctl` and `journalctl`
<pierrebeaucamp>
I think I'll try rebuilding my system from a local nixpkgs clone and just do a bunch of git bisect
<samueldr>
pierrebeaucamp: using ${pkgs.systemd}/bin/journalctl (and the same for systemctl) may nudge the postboot command in the right direction
<pierrebeaucamp>
hm, maybe I'll try that modified postboot command again
<buhman>
is there a standard way to have configuration.nix managed in VCS, and have CI handle deploying it?
<pierrebeaucamp>
Somewhat related question: Without running `nix-collect-garbage` is there any danger of my working generation just going away?
<pierrebeaucamp>
just because I'm doing a ton of rebuild switch
<gchristensen>
pierrebeaucamp: nix will never delete your working generation
<pierrebeaucamp>
thanks
<pierrebeaucamp>
good to know
<gchristensen>
it will also never delete a running program
<hodapp>
the { inherit rebar blahblahblah } there in my example is a set, correct?
pierrebeaucamp has quit [Remote host closed the connection]
<hodapp>
what is making no sense to me is why { inherit rebat erlang; ... } is fine, but { inherit rebar; erlang = pkgs.erlangR20; ... } causes "error: anonymous function at ... called with unexpected argument 'erlang' at ..."
<NixOS_GitHub>
nixpkgs/master edb83e6 Franz Pletz: Merge pull request #35368 from leenaars/leapsnw...
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vA24S
Faster-Fanboi_ has quit [Quit: ZNC 1.7.x-git-876-42939c9 - https://znc.in]
<hodapp>
pkgs/development/beam-modules/lib.nix says "Arguments passed to the generic-builder are overridable." but I haven't the slightest idea how this is possible, as pkgs.elixir_1_5.override { } just keeps giving that same error when I try to override 'erlang'
<pierrebeaucamp>
manveru: samueldr: Thanks, that modified postboot command helped a lot. I actually got a proper error message this time
<samueldr>
:D, got it fixed then :)
aristid has quit [Ping timeout: 255 seconds]
<pierrebeaucamp>
well, not quiet yet :D
<pierrebeaucamp>
but enough to debug further
<pierrebeaucamp>
I'm really glad I don't have to do bisect on 6000 commits
<pierrebeaucamp>
(yet)
Faster-Fanboi has joined #nixos
<hodapp>
or am I just completely misinterpreting what "makeOverridable" means?
<hodapp>
but I have no idea how else I'm to refer to the erlang dependency without just editing things in nixpkgs
day|flip has joined #nixos
Attero[m] is now known as Attero[m]1
<hank_>
sorry not sure I could help further on that
aristid has joined #nixos
<hodapp>
Ankhers: github says this is your commits; any hints on how exactly one would go about overriding the Erlang version in Elixir, since it says "Arguments passed to the generic-builder are overridable." but none of my normal incantations are working?
pierrebeaucamp has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] volth opened pull request #35373: nixos/tox-bootstrapd: new command line format (master...patch-103) https://git.io/vA2By
NixOS_GitHub has left #nixos [#nixos]
sdkfjhsdkj has joined #nixos
sdkfjhsdkj has quit [Client Quit]
<wervenyt[m]>
anyone run into a nixos-rebuild failing because of a preexisting symbolic link?
<NixOS_GitHub>
[nixpkgs] yrashk opened pull request #35377: build-support/rust: make use of abandoned cargoUpdateHook (master...rust-cargoUpdateHook) https://git.io/vA2uJ
NixOS_GitHub has left #nixos [#nixos]
rogue_koder has quit [Remote host closed the connection]
tertle||eltret has quit [Quit: Connection closed for inactivity]
griff_ has joined #nixos
<day|flip>
i did not notice 4.14. i been using 4.15 ^.^
* dtz
answers his own question.... answer is "starvation" lol, they really haven't made much progress have they :(
<day|flip>
thing have been stable for me
griff_ has quit [Ping timeout: 240 seconds]
matyd has joined #nixos
matyd has left #nixos ["Leaving"]
woffs has joined #nixos
pie_ has quit [Ping timeout: 264 seconds]
<Olgierd>
hi, I've packaged http://ftp.math.utah.edu/pub/texpretty/. Is such an ancient (and seemingly abandoned) software worth PRing to nixpkgs? (and it's not particularly tricky to package, too)
<Olgierd>
and btw latexindent it broken due to missing perl modules, a bugreport is on its way
<infinisil>
Olgierd: sure! Packaging it at least once for nixpkgs is nice because you know it'll allow people even in the distant future to use it
woffs has quit [Quit: Gateway shutdown]
day|flip has quit [Remote host closed the connection]
woffs has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [Ping timeout: 256 seconds]
vidbina has joined #nixos
edwtjo has quit [Ping timeout: 240 seconds]
kim0 has quit [*.net *.split]
BlessJah has quit [*.net *.split]
Mic92 has quit [*.net *.split]
alfie has quit [*.net *.split]
Unode has quit [*.net *.split]
jophish has quit [*.net *.split]
aszlig_ has quit [*.net *.split]
prooftechnique_ has quit [*.net *.split]
hamishmack has quit [*.net *.split]
shabius has quit [*.net *.split]
joncfoo has quit [*.net *.split]
the_real_plumps has quit [*.net *.split]
dtulig has quit [*.net *.split]
Izorkin has quit [*.net *.split]
aanderse has quit [*.net *.split]
mood has quit [*.net *.split]
berot3[m] has quit [*.net *.split]
genesis has quit [*.net *.split]
admin[m]4 has quit [*.net *.split]
abcadr[m] has quit [*.net *.split]
Vincenzo[m] has quit [*.net *.split]
fogbugzz[m] has quit [*.net *.split]
Adev[m] has quit [*.net *.split]
Khorne[m] has quit [*.net *.split]
kitten[m] has quit [*.net *.split]
discontent[m] has quit [*.net *.split]
badamson[m] has quit [*.net *.split]
moredread[m] has quit [*.net *.split]
abbafei[m] has quit [*.net *.split]
fogbugz23[m] has quit [*.net *.split]
wak-work has quit [*.net *.split]
sudoreboot[m] has quit [*.net *.split]
davidar has quit [*.net *.split]
oscarduignan has quit [*.net *.split]
mg- has quit [*.net *.split]
datakurre has quit [*.net *.split]
andi- has quit [*.net *.split]
anton__ has quit [*.net *.split]
alphor has quit [*.net *.split]
petar has quit [*.net *.split]
suvash_away has quit [*.net *.split]
fgaz has quit [*.net *.split]
alex`` has quit [*.net *.split]
mkoenig has quit [*.net *.split]
leothrix has quit [*.net *.split]
lpsmith has quit [*.net *.split]
schoppenhauer has quit [*.net *.split]
uptime has quit [*.net *.split]
Lisanna has quit [*.net *.split]
kgz has quit [*.net *.split]
raynold has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
the-kenny has quit [*.net *.split]
cstrahan has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
hydraz has quit [*.net *.split]
seanparsons has quit [*.net *.split]
razzy has quit [*.net *.split]
dredozubov has quit [*.net *.split]
ncl28 has quit [*.net *.split]
max3raza has quit [*.net *.split]
deanman has quit [*.net *.split]
hoverbear has quit [*.net *.split]
balsoft[m] has quit [*.net *.split]
das-g[m] has quit [*.net *.split]
dpc has quit [*.net *.split]
bhipple[m] has quit [*.net *.split]
dmitry-zen[m] has quit [*.net *.split]
codyopel has quit [*.net *.split]
AntonLatukha[m] has quit [*.net *.split]
ison[m] has quit [*.net *.split]
zhavypath[m] has quit [*.net *.split]
adisbladis[m] has quit [*.net *.split]
nocent has quit [*.net *.split]
davidak[m] has quit [*.net *.split]
WilliamHamilton has quit [*.net *.split]
YuFanLovezYou[m] has quit [*.net *.split]
benkolera has quit [*.net *.split]
wilornel has quit [*.net *.split]
primeos[m] has quit [*.net *.split]
offlinehacker[m] has quit [*.net *.split]
taohansen has quit [*.net *.split]
necronian has quit [*.net *.split]
aspiwack[m] has quit [*.net *.split]
mankyKitty[m] has quit [*.net *.split]
adelbertc has quit [*.net *.split]
xplat|work has quit [*.net *.split]
christiaanb has quit [*.net *.split]
lluchs has quit [*.net *.split]
symphorien has quit [*.net *.split]
jonafato has quit [*.net *.split]
shachaf has quit [*.net *.split]
ashkitten has quit [*.net *.split]
fpletz has quit [*.net *.split]
grumble has quit [*.net *.split]
flokli has quit [*.net *.split]
uptime has joined #nixos
andi- has joined #nixos
raynold has joined #nixos
asuryawanshi has joined #nixos
sdhand has quit [Ping timeout: 260 seconds]
LnL has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
LnL has joined #nixos
sdhand has joined #nixos
sdhand is now known as Guest27527
Mic92 has joined #nixos
mrkgnao has quit [Ping timeout: 248 seconds]
<palo>
did somebody got steam and firejail to work ?
<palo>
For me it says there where blacklistviolations and I should look in the syslog, but I can't find any messages using `journalctl`
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #35377: build-support/rust: make use of abandoned cargoUpdateHook (master...rust-cargoUpdateHook) https://git.io/vA2uJ
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has quit [Remote host closed the connection]
<sphalerite_>
Yes! although it's less expensive and wasteful, and if there are components used both in the old car and in the new car the two cars share them. Which totally still makes sense in a car analogy :D
seanparsons has joined #nixos
aminechikhaoui has joined #nixos
hoverbear has joined #nixos
ncl28 has joined #nixos
xplat|work has joined #nixos
shachaf has joined #nixos
Lisanna has joined #nixos
leothrix has joined #nixos
symphorien has joined #nixos
jonafato has joined #nixos
<infinisil>
true
mkoenig has joined #nixos
lpsmith has joined #nixos
dredozubov has joined #nixos
fpletz has joined #nixos
the-kenny has joined #nixos
cstrahan has joined #nixos
grumble has joined #nixos
lluchs has joined #nixos
max3raza has joined #nixos
alex`` has joined #nixos
flokli has joined #nixos
<infinisil>
well you do pay the price to do the nix evaluation every time you build a new one
adelbertc has joined #nixos
christiaanb has joined #nixos
<Lisanna>
NixOS is giving me some trouble ): I can deploy my configuration to it just fine, but as soon as I try to reboot it gets stuck at "A start job is running for Create Volatile Files and Directories"
<Lisanna>
any likely potential causes that I should go look at first?
<Lisanna>
I'm not really sure what that message means :/
ashkitten has joined #nixos
deanman has joined #nixos
<infinisil>
Lisanna: systemd was told it needed to start some service at startup, but it seems to have hanged
<Lisanna>
infinisil so if I have custom systemd services that I've written I should go investigate them?
<infinisil>
systemctl and journalctl should be helpful, maybe -b, -x, -e flags of journalctl, and listing all units with just `systemctl` and check out the failed ones
<Lisanna>
well... I mean, it doesn't boot
<Lisanna>
so not really sure how I'm going to run those
vidbina has quit [Ping timeout: 264 seconds]
<infinisil>
Lisanna: yeah.. maybe wait to see if it does eventually boot? I think that worked before for me. Otherwise boot into a previous system maybe
<sphalerite_>
Lisanna: typically it has a timeout on that sort of thing of 1m30s or 3m or something
schoppenhauer has joined #nixos
<Lisanna>
mine has no timeout set, and it was stuck for at least 5 mins
tubman_804 has quit [Remote host closed the connection]
<Lisanna>
wtf
<sphalerite_>
hey, that wasn't too bad :P
<Lisanna>
maybe it's a secret message
<infinisil>
suuuure, it spells S P A M
gspia has quit [Quit: Leaving]
<Lisanna>
anyways, I do have a systemd service that sometimes (usaully) fails to start when I try to rebuild switch,
<Lisanna>
I usually have to try several times before it starts, I need to go and fix it...
<sphalerite_>
Lisanna: so boot into an older gen, journalctl --list-boots to find out the number of the boot, and check the journal for it? (journalctl -b $n)
<sphalerite_>
ah, that could also help :D
<infinisil>
Lisanna: why is it run at boot though?
<Lisanna>
I have no idae
<infinisil>
Lisanna: can you show its declaration?
Mateon3 has joined #nixos
<Lisanna>
not easily, I'd have to scrub it quite a bit
<Lisanna>
it's just a wantedBy = [ "multi-user.target" ]; service, so that wouldn't put it into the boot, right?
<infinisil>
I would've thought it wouldn't
Mateon1 has quit [Ping timeout: 265 seconds]
Mateon3 is now known as Mateon1
datakurre has joined #nixos
fgaz has joined #nixos
aszlig has joined #nixos
mood has joined #nixos
hydraz has joined #nixos
hydraz has quit [Changing host]
hydraz has joined #nixos
BlessJah has joined #nixos
petar has joined #nixos
<Lisanna>
what does journalctl -b $n do?
joncfoo has joined #nixos
kim0 has joined #nixos
genesis has joined #nixos
jophish has joined #nixos
dtulig has joined #nixos
oscarduignan has joined #nixos
prooftechnique has joined #nixos
<Lisanna>
what do I set for $n?
shabius has joined #nixos
aanderse has joined #nixos
fgaz is now known as Guest11846
<sphalerite_>
Lisanna: shows the log for boot number $n
alphor has joined #nixos
mg- has joined #nixos
Izorkin has joined #nixos
Unode has joined #nixos
hamishmack has joined #nixos
<sphalerite_>
Lisanna: use journalctl --list-boots to find n
the_real_plumps has joined #nixos
anton__ has joined #nixos
<Lisanna>
so, if the last boot failed, and I rebooted and selected an older generation, then it should be -1?
alfie has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
ericsagnes has quit [Ping timeout: 260 seconds]
<infinisil>
Lisanna: man journalctl has all your answers :) (I wouldn't know it without looking up)
knupfer has joined #nixos
<Lisanna>
okay, thanks for the initial references
<Lisanna>
thank god I have nixops working...
<sphalerite_>
yeah should be
<sphalerite_>
heh, just saw the spam in another channel. They managed to send the ascii art successfully but it still wasn't readable
<sphalerite_>
The spammers just suck at ascii art :p
dimensionless has joined #nixos
<dimensionless>
hello?
<dimensionless>
anyone around
<johnw>
they didn't count on my propotional font
andymandias has joined #nixos
griff_ has quit [Quit: griff_]
<dimensionless>
First time nixos user here, i just finished installing, nixos seems to boot fine but upon getting to the terminal login screen my monitor goes blank, any ideas? (nvidia 970)
<dimensionless>
i tried disabling vesa in my configuration.nix but to no avail
<etu>
dimensionless: You're trying to use the free nvidia driver?
<etu>
I assume
<dimensionless>
i currently dont have any driver installed as i just finished with the live disk
<dimensionless>
but i shouldn't need one for tty should i?
<etu>
Well, then you get nouveau
<infinisil>
sphalerite_: same
<dimensionless>
hmm cursed nouveau,
<etu>
dimensionless: I have experience with nvidia-cards that only black-screen with the nouveau driver, regardless of X or not.
<dimensionless>
i bet it dislikes my 4k monitor
r5d has quit [Quit: WeeChat 1.9.1]
<etu>
dimensionless: And all these cards have been in the 9XX and 10XX series.
<dimensionless>
can the non free driver be installed from the live disk ?
<Lisanna>
sphalerite_ the thing I quoted is from boot.consoleLogLevel
<sphalerite_>
yeah looks wrong to me
<Lisanna>
so, I should be *increasing* this number to get more logging info
<sphalerite_>
yes
<Lisanna>
bleh, ok
aminechikhaoui has quit [Ping timeout: 240 seconds]
<sphalerite_>
also I'm having a bit of trouble with importing a store path from another machine — it's too big and nix-store --import complains with out of memory
<sphalerite_>
is there any way I can get around this?
aminechi1haoui has quit [Ping timeout: 264 seconds]
<manveru>
have you tried `nix copy`?
<sphalerite_>
yes, same problem
goibhniu has joined #nixos
<sphalerite_>
chugs along for a while then complains "out of memory" at 960MB
<Lisanna>
sphalerite_ print the closure of the path you're trying to copy, then run nix copy on each one one at a time, non-recursively
<Lisanna>
that's the workaround I use
<sphalerite_>
Lisanna: it's just the one path
<Lisanna>
oh... the path by itself is huge?
<sphalerite_>
yes
<Lisanna>
oh
<Lisanna>
lol
<sphalerite_>
ghc binary :)
<Lisanna>
yeah you might be screwed then
<Lisanna>
someone needs to go add a memory limit to nix copy
<joko>
Hello, is it possible to override easily a Linux kernel version? I've tried with linux_4_9.overrideAttrs(), but it seems that kernel config was lost (lots of failed assertions like "CONFIG_DEVTMPFS is not enabled!")
<sphalerite_>
oh this is nasty but I could shut down the chromebook, stick its root fs in a 64-bit intel machine, and use nix-store --import on there where there's glorious amount of address space
yegortim1 has quit [Remote host closed the connection]
<manveru>
seems strange that it tries to load the binaries itself into memroy
<sphalerite_>
joko: override how? What arey ou trying to change?
<joko>
sphalerite_: just the version
hask_bee_3 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andrew-d opened pull request #35388: pythonPackages.magic-wormhole: patch the call to 'locale' (master...adunham/magic-wormhole-locale) https://git.io/vA2Md
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3>
When deploying my NixOS server, I want to turn a mere nginx configuration *template file* into an actual nginx configuration file. Is there a good way to do this? Do there exist any templating languages / formats out there I can use?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] clefru opened pull request #35389: oath-toolkit: Switch over to git branch (GCC7 fix) (master...oath-fix) https://git.io/vA2Mp
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_>
hask_bee_3: nix is great for templating!
<sphalerite_>
hask_bee_3: does the existing nginx nixos module not meet your requirements?
aminechi2haoui has quit [Ping timeout: 256 seconds]
Guest11846 is now known as fgaz
<LnL>
Havvy: I am, in case you didn't see my message :)
<Havvy>
LnL: Ah, yeah, I'm trying to catch up on the twenty+ things that happened today. Any idea on how to proceed with mdbook?
<LnL>
Havvy: not immediately, looks like an issue because we have an old version of CoreFoundation, apple has not released the sources since 10.10 :(
<Lisanna>
infinisil journalctl -b -1 isn't really showing anything that seems too bad.... most egreious thing I can see is that /boot isn't empty and that it's mounting over it anyways, that I might be vulnerable to spectre, and that specified group "kvm" unknown from systemd-udevd
<Lisanna>
...actually I'm not sure about that last one, that might be trouble, not sure
<Lisanna>
it prints it in red ):
<Havvy>
LnL: Should we just not provide the package for Darwin in the interim?
<LnL>
we can mark it as broken for now
stites[m] has joined #nixos
cornu[m] has joined #nixos
hexkey[m] has joined #nixos
Diagonal[m] has joined #nixos
M-dpetranek has joined #nixos
mirlur[m] has joined #nixos
ArdaXi[m] has joined #nixos
atopuzov[m] has joined #nixos
nixo[m] has joined #nixos
jluttine[m] has joined #nixos
badamson[m] has joined #nixos
bennofs[m] has joined #nixos
baconicsynergy[m has joined #nixos
rnhmjoj[m] has joined #nixos
briansteffens[m] has joined #nixos
AlanPearce[m] has joined #nixos
jgl[m] has joined #nixos
grahamc has joined #nixos
leons has joined #nixos
abbafei[m] has joined #nixos
moredhel has joined #nixos
indefini has joined #nixos
mankyKitty[m] has joined #nixos
WilliamHamilton has joined #nixos
AllanDaemon has joined #nixos
iohidtbhfam[m] has joined #nixos
primeos[m] has joined #nixos
y0no[m] has joined #nixos
lycium[m] has joined #nixos
DIzFer[m] has joined #nixos
aspiwack[m] has joined #nixos
peterhoeg has joined #nixos
bachp has joined #nixos
andyjscott[m] has joined #nixos
rihardsk[m] has joined #nixos
mith[m] has joined #nixos
ConorCurry[m] has joined #nixos
timclassic has joined #nixos
davidar has joined #nixos
<hask_bee_3>
sphalerite_ manveru this is great i will look at both!
zoya-kosova[m] has joined #nixos
hendrik[m] has joined #nixos
Naughtmare[m] has joined #nixos
the_m4ur1[m] has joined #nixos
M-liberdiko has joined #nixos
adisbladis[m] has joined #nixos
wzy8L-B2[m] has joined #nixos
wervenyt[m] has joined #nixos
moredread[m] has joined #nixos
Kallegro[m] has joined #nixos
demyan[m] has joined #nixos
LiuWeiHua[m] has joined #nixos
wak-work has joined #nixos
nmikhailov[m] has joined #nixos
nh2[m] has joined #nixos
xnaveira[m] has joined #nixos
octalsrc[m] has joined #nixos
sudoreboot[m] has joined #nixos
rycee has joined #nixos
matrixkrav has joined #nixos
teh[m] has joined #nixos
wilornel has joined #nixos
zhavypath[m] has joined #nixos
Dirt[m] has joined #nixos
olejorgenb[m] has joined #nixos
trikl[m] has joined #nixos
Elephant454[m] has joined #nixos
hl has joined #nixos
Li[m] has joined #nixos
itorres has joined #nixos
noctuid has joined #nixos
copumpkin has joined #nixos
robinbb[m] has joined #nixos
mudri[m] has joined #nixos
davidak[m] has joined #nixos
midchildan[m] has joined #nixos
jbarthelmes[m] has joined #nixos
das-g[m] has joined #nixos
bobvanderlinden_ has joined #nixos
jmorriss[m] has joined #nixos
kevincox has joined #nixos
happyente[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
codyopel has joined #nixos
ison[m] has joined #nixos
ajmccluskey[m] has joined #nixos
koalaeagle[m] has joined #nixos
herzmeister[m] has joined #nixos
reactormonk[m] has joined #nixos
spacekitteh[m] has joined #nixos
stuh84[m] has joined #nixos
swayf[m] has joined #nixos
imbigbrother[m] has joined #nixos
magnap has joined #nixos
dpc has joined #nixos
florianjacob has joined #nixos
Orbstheorem[m] has joined #nixos
danielrf has joined #nixos
revoltmedia[m] has joined #nixos
asp_ has joined #nixos
randomenduser[m] has joined #nixos
sargon[m] has joined #nixos
fogbugz23[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
necronian has joined #nixos
ayyjayess[m] has joined #nixos
spawnthink[m] has joined #nixos
Wysteriary[m] has joined #nixos
offlinehacker[m] has joined #nixos
edef[m] has joined #nixos
berot3[m] has joined #nixos
Obscurity[m] has joined #nixos
benkolera has joined #nixos
apurvapavaskar[m has joined #nixos
vise890[m] has joined #nixos
bdimcheff has joined #nixos
thunker[m] has joined #nixos
nocent has joined #nixos
wmertens[m] has joined #nixos
freeman42x has joined #nixos
aniketd[m] has joined #nixos
bhipple[m] has joined #nixos
fearlessKim[m] has joined #nixos
TimePath has joined #nixos
wizek[m] has joined #nixos
dtz has joined #nixos
admin[m]4 has joined #nixos
johnazoidberg has joined #nixos
pstn has joined #nixos
Dezgeg[m] has joined #nixos
yochai[m] has joined #nixos
Minijackson[m] has joined #nixos
NickHu has joined #nixos
corngood has joined #nixos
peel[m] has joined #nixos
puffnfresh has joined #nixos
kitten[m] has joined #nixos
thra11[m] has joined #nixos
AdamSlack[m] has joined #nixos
equalunique[m] has joined #nixos
pvn[m] has joined #nixos
wchresta[m] has joined #nixos
chominist[m] has joined #nixos
Phil[m]3 has joined #nixos
dkellner[m] has joined #nixos
crystalgamma[m] has joined #nixos
Rick[29SMPittsbu has joined #nixos
Pneumaticat has joined #nixos
dmitry-zen[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
paperdigits[m] has joined #nixos
techtangents[m] has joined #nixos
fgaz[m] has joined #nixos
Singularity[m] has joined #nixos
AntonLatukha[m] has joined #nixos
castordamon has joined #nixos
bendlas has joined #nixos
musicmatze[m] has joined #nixos
rardiol[m] has joined #nixos
regnat[m] has joined #nixos
Drakonis[m] has joined #nixos
taohansen has joined #nixos
malteof[m] has joined #nixos
steshaw[m] has joined #nixos
h30[m] has joined #nixos
scott1 has joined #nixos
sphalerite has joined #nixos
Ralith has joined #nixos
kainospur[m] has joined #nixos
ycy[m] has joined #nixos
* Havvy
waits for everybody to join.
M-berdario has joined #nixos
bugabinga[m] has joined #nixos
dibblego[m] has joined #nixos
Barnabas[m] has joined #nixos
hedning[m] has joined #nixos
seif_madc[m] has joined #nixos
Vincenzo[m] has joined #nixos
gridaphobe[m] has joined #nixos
pkill9 has joined #nixos
benasse has joined #nixos
dash has joined #nixos
dywedir[m] has joined #nixos
blahblah has joined #nixos
EuAndreh[m] has joined #nixos
r3mfKm[m] has joined #nixos
joh[m] has joined #nixos
EB[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
dalaing has joined #nixos
attero has joined #nixos
Wieke[m] has joined #nixos
m4rv33n[m] has joined #nixos
Khorne[m] has joined #nixos
coffeeshot has joined #nixos
M-fishy has joined #nixos
M-Dan has joined #nixos
tobim[m] has joined #nixos
tokudan[m] has joined #nixos
aaronc[m] has joined #nixos
abcadr[m] has joined #nixos
gudea[m] has joined #nixos
Hook[m]1 has joined #nixos
themistocle1 has joined #nixos
icetan has joined #nixos
mhsjlw[m] has joined #nixos
fogbugs[m] has joined #nixos
mrdaak[m] has joined #nixos
smbarte2[m] has joined #nixos
voobscout[m] has joined #nixos
retrry[m] has joined #nixos
Deleh[m] has joined #nixos
srid[m] has joined #nixos
Adev[m] has joined #nixos
petersjt014[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
efx[m] has joined #nixos
fogbugzz[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
jack[m] has joined #nixos
discontent[m] has joined #nixos
<Lisanna>
:|
johnazoidberg[m] has joined #nixos
balsoft[m] has joined #nixos
xurxo[m] has joined #nixos
adva[m] has joined #nixos
Manish[m] has joined #nixos
<Havvy>
That was amazing. But anyways, LnL: How do we mark it broken, and would it only be marked for one platform?
<Lisanna>
...I take it that NixOS didn't just double in popularity instantly
<sphalerite_>
All hail the reliability of the matrix bridge!
<Havvy>
Lisanna: Look like a Matrix bridge went down earlier and is now back up.
<sphalerite_>
Havvy: set meta.platforms and it will be considered broken on any not listed
aarvar has quit [Read error: Connection reset by peer]
<LnL>
yeah, but I prefer broken = stdenv.isDarwin; for cases where the upstream package supports darwin
<LnL>
meta.broken that is
knupfer1 has joined #nixos
<Havvy>
Is there an issue for updating CoreFramework I can subscribe to?
<LnL>
not sure
knupfer has quit [Read error: Connection reset by peer]
knupfer1 is now known as knupfer
<Havvy>
Should one be filed?
<LnL>
I desperately check opensource.apple.com every so often :)
aarvar has joined #nixos
FRidh has quit [Remote host closed the connection]
akaWolf has joined #nixos
<LnL>
well we can't really do much about it
FRidh has joined #nixos
<Havvy>
LnL: Want to file an issue and state you're doing so, so that when and if Apple decides to actually release it I can unmark the broken field for mdbook?
<Havvy>
(Or anybody else who has broken packages because of it)
<LnL>
I could probably get the package working by linking against the impure version, but that's a little messy
<Havvy>
How messy would it be?
Neo-- has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<Lisanna>
does nixops use "nixpkgs" or "nixos" for deployments?
aminechikhaoui has joined #nixos
<Lisanna>
I've always been fuzzy on that
<__Sander__>
Lisanne: what do you exactly mean with that question?
<__Sander__>
whether it uses them from the NIX_PATH ?
<Lisanna>
__Sander__ referring to channels
<__Sander__>
yes it does
<Lisanna>
err
<__Sander__>
so it takes the values from NIX_PATH
<Lisanna>
which one though
<__Sander__>
by default, they refer to the expression set that are delivered by the channels
<__Sander__>
both
<Lisanna>
x_x
<__Sander__>
the Nix expressions in the NixOps code have <nixpkgs/...> and <nixos/...> references
<Lisanna>
oh...
<Lisanna>
well, I don't have a "nixos" channel added... so which would it use?
<Lisanna>
I just have nixpkgs
<__Sander__>
this what my NIX_PATH environment variable refers to: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<__Sander__>
I'm not sure if you are using NixOS
<__Sander__>
or Nix on a non-NixOS distro
<Lisanna>
I deploy from darwin
<__Sander__>
ah
<__Sander__>
then you'll probably run into another challenge
<__Sander__>
Nix needs to build packages for Linux
<Lisanna>
I have nixpkgs, nixpkgs-unstable
<__Sander__>
on darwin
<Lisanna>
yeah, I solve all of that with remote building
<LnL>
nixops doesn't have <nixos> references I hope
<LnL>
except if maybe the default NIX_PATH won't work anymore
<Lisanna>
...I'm becoming increasingly bothered by that "specified group 'kvm' unknown" error in my journalctl
<Lisanna>
although I see it on successful boots as well, so maybe it doesn't matter
<Havvy>
LnL: I'm going to just mark it as broken for now. If you want to change it to use the impure version later, you can.
<LnL>
yeah that's fine
<sphalerite_>
So the tmux module is kind of broken — if no XDG_RUNTIME_DIR is set, it will try to use /run/user/$(id -u) as its tmpdir. That's a literal $(id -u), not the actual uid…
<sphalerite_>
Since tmux doesn't actually require nixos config of any description — everything the tmux module does can be done by a wrapper script — maybe it shouldn't be a module at all?
<Lisanna>
__Sander__ although, getting the remote building to work with nixops was a tremendous pain
vidbina has joined #nixos
<__Sander__>
Lisanna: yes I can believe that
<Havvy>
And new commit sent.
<Lisanna>
by pure luck I found that "--option system x86_64-linux" to nixops commands forces it to try remote building
<__Sander__>
some years ago it was not even possible
<__Sander__>
because of filesystem issues, HFS is case insensitive
<__Sander__>
so it could not store for example some linux kernel header files properly
<__Sander__>
luckily that has now been solved
<Lisanna>
I keep my filesystems case sensitive :)
<__Sander__>
ah
goibhniu has quit [Ping timeout: 252 seconds]
<Lisanna>
I hate case insensitive filesystems
<angerman>
can I get nix-build to produce some graph of it's build plan?
<sphalerite_>
angerman: you can use nix-store -q --graph on a derivation
<sphalerite_>
angerman: but that doesn't take into account stuff that's already been built, or available on binary caches :/
<angerman>
sphalerite_: ok, bu tthat helps
reinzelmann has joined #nixos
<angerman>
sphalerite_: so basically just feed that into dot, and be done with it?
<sphalerite_>
Lisanna: I'm not opposed to the idea of case-insensitive filesystems, in fact I'd probably prefer one that's case insensitive. As long as it doens't store case information at all and just normalises everything to lowercase
<sphalerite_>
angerman: yep
<etu>
sphalerite_: What's lowercase?
<sphalerite_>
etu: lowercase letters. As opposed to UPPERCASE LETTERS.
goibhniu has joined #nixos
<etu>
sphalerite_: Yes, but if I give you: ☃
<etu>
Is that lowercase or uppercase?
<sphalerite_>
it's not a letter, so it doesn't have case.
<Lisanna>
or any non-roman language
<Lisanna>
case insensitivity in filesystems is gross
<sphalerite_>
IMHO uppercase letters in filenames are gross :p
rindvieh has joined #nixos
<etu>
That's your opinion :p
<sphalerite_>
hence IMHO :)
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vA29v
<etu>
imo letters that doesn't match a-z0-9_\-\. in filenames are gross
<Lisanna>
tomorrow's lecture topic will be "Case-insensitive filesystems: convenient for users or evil tool of western colonialism?"
<sphalerite_>
etu: if they're english filenames, agreed. But some people don't speak english :)
<etu>
Even though I in my daily life use letters outside of that range
<etu>
sphalerite_: Yeah, I go out of my way to not have åäö in my filenames.
<sphalerite_>
aa/ae/oe?
<etu>
Depends on situation :)
<etu>
Spaces in filenames are also gross
<sphalerite_>
yes. they're the worst.
<etu>
But people want that
<etu>
sphalerite_: The worst are newlines
mkoenig has quit [Ping timeout: 240 seconds]
<sphalerite_>
does anybody actually use those though?
<Lisanna>
No. The worst is the '*' character
<etu>
- at start is a classing annoyance :)
<Lisanna>
>all shells immediately btfo
<sphalerite_>
Lisanna: that's what tab completion is for! :p
aminechikhaoui has quit [Read error: Connection reset by peer]
mkoenig has joined #nixos
<Yaniel>
is sddm/plasma broken for anyone else on nixos-unstable?
<Lisanna>
the best character is the bell character though
aminechikhaoui has joined #nixos
<sphalerite_>
hahaha
<Lisanna>
it makes certain shell commands beep
<etu>
Lisanna: "ls" *beep* "goddamnit"?
<Lisanna>
ls actually is immune, but find isn't :)
<etu>
:D
<Lisanna>
at least, according to my own testing
<goibhniu>
lol
* sphalerite_
feels tempted to run rename '' $'\a' * on some shared machine
<sphalerite_>
not sure that will even work
ottidmes has joined #nixos
<sphalerite_>
I imagine this would be great fun with the osx terminal which iirc makes a "bonk" noise on bell. And won't start the next one until the current one is finished.
<sphalerite_>
Bonks for days!
nschoe has joined #nixos
<etu>
sphalerite_: Put one in all your shared git-repos
logotags_ has quit [Read error: Connection reset by peer]
<hask_bee_3>
Let's say I'm not using NixOS but just Nix. Could it be worthwhile to package my webapp, including a corresponding nginx configuration template, into a Nix package and use the substituteAll method you suggested when deploying the Nix package?
sigmundv has joined #nixos
<sphalerite_>
hask_bee_3: probably nicer to generate the config file from nix liek the nixos module does
<sphalerite_>
rather than using build-time substitution
<hask_bee_3>
sphalerite_ yep but there we're assuming i'm using nixos. i was thinking more of a webapp that I package with Nix that I can deploy on any Linux server...
<hask_bee_3>
(Although definitely I want to use NixOS at some point. That would be ideal.)
<sphalerite_>
hask_bee_3: no, I'm not :)
<hask_bee_3>
hmm oh
TonyTheLion has joined #nixos
<sphalerite_>
hask_bee_3: something like let configFile = pkgs.writeText "nginx.conf" ''server {listen 80; foo bar baz;}''; in pkgs.writeScriptBin "run-app" ''${pkgs.nginx}/bin/nginx -c ${configFile}''
<TonyTheLion>
how would I tell nix or cmake to look for exported libs/include headers from another package in the nix-store?
knupfer has quit [Ping timeout: 268 seconds]
<Lisanna>
TonyTheLion add them to the buildInputs of your derivation?
<hask_bee_3>
sphalerite_ Nicer in the sense I get a lot of stuff for free that I'd otherwise have to code myself?
TweyII is now known as Guest73803
<Yaniel>
nicer in the sense that people don't have to manually go through a potentially incomplete list of dependencies, install them and try again
<TonyTheLion>
I can't do buildInputs = [ $mypackage/libs ] cause it doens't expect a $
<TonyTheLion>
or even with curly braces
<goibhniu>
TonyTheLion: you need the attribute path for the dependency
Wizzard has quit [Quit: Leaving]
<sphalerite_>
hask_bee_3: nicer in the sense that you get fully specified dependencies, keep older versions in case you need to roll back, and have a powerful functional templating language
<Lisanna>
TonyTheLion don't you have "mypackage" as a symbol somewhere in your nix expression?
<TonyTheLion>
yes I do
<goibhniu>
TonyTheLion: if you're learning how to create packages, you might be able to find another one in nixpkgs with similar dependencies a good place to start
<Lisanna>
buildInputs = [ mypackage ]
<Lisanna>
what is inside /nix/store/asldkfhasliudfh-mypackage ?
<TonyTheLion>
'/lib' and '/include'
<Lisanna>
yeah, buildInputs = [ mypackage ]; is all you should need
<TonyTheLion>
cool it found the includes in the other packes :)
shabius has quit [Quit: Leaving]
shabius has joined #nixos
knupfer has quit [Quit: knupfer]
mrkgnao has quit [Ping timeout: 252 seconds]
<shlevy>
dtz: Still completely stalled :( Bumping the build shares now
<ottidmes>
Is there an easy way to get insights why a package is being build from source? I made a clean nixpkgs checkout, I made disabled my overlays, my nixpkgs config is just allowUnfree = true; yet it still tries to build some unexpected packages from source.
<manveru>
hask_bee_3: well, i can help you getting a package for nginx going if you need it :)
<hask_bee_3>
sphalerite_ that's true... ok i'm sold :)
<ottidmes>
Like maybe, list the diff between build inputs with their sha256s and do the same for your local package being build from source, and probably recurse, so you get to see why it has a different hash compared to hydra
<Lisanna>
ottidmes does it try every time?
<Lisanna>
omg boot.cleanTmpDir is completely broken
<manveru>
can you try that then? might be worth adding it to nixpkgs
cmacrae has quit [Remote host closed the connection]
<Lisanna>
manveru will try now
goibhniu has quit [Ping timeout: 248 seconds]
cmacrae has joined #nixos
<Lisanna>
and for the record, I'm on 17.09.3037.883a4ebe7ee
<Lisanna>
which should be very new
<ottidmes>
Lisanna: Sorry, my checkout is at commit d09e425aea3e09b6cec5c7b05cc0603f6853748b Tue Feb 20 17:16:16 2018 +0100
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vA25K
<NixOS_GitHub>
nixpkgs/master cb025f2 Shea Levy: linux_riscv: Move patches to my Linux fork....
NixOS_GitHub has left #nixos [#nixos]
<ottidmes>
But surely there is some tool out there that can give me insights into how my build differs from the prebuilt package, so I can fix that if that was not supposed to be different (like I really do not want to build chromium locally)
<Lisanna>
manveru that does not fix it
<Lisanna>
):
<Lisanna>
can I subscribe to older versions of the 17.09 channel?
<Lisanna>
to see if this was a regression introduced recently
<zimbatm>
I haven't really used it since our hack works most of the case
<zimbatm>
it looks like it could be more robust
<zimbatm>
on the other hand it makes more sense to me to use node for that piece
<manveru>
i haven't, but i also haven't had any issues with our yarn2nix for ages now, so i'm confident in adding it
periklis has joined #nixos
<zimbatm>
what is your question about meta?
<manveru>
well, two questions :)
<manveru>
one is, we still have that TODO to (i think) extract meta info from package.json
<zimbatm>
we could do something smart but it's not required
<zimbatm>
yeah
<zimbatm>
we could do that
<manveru>
i think that would be nice, but not sure how to handle the license or maintainers field
<zimbatm>
exactly, it's going to introduce more failure cases
MP2E has quit [Remote host closed the connection]
<sud0x3>
I am trying to build a python package for nix. So far I have cloned the nixpkg repo, created an additional file nixpkgs/pkgs/tools/X11/autokey/default.nix working of another application
<zimbatm>
the user can fill his own meta for now
<manveru>
the other one is the meta for yarn2nix itself, which is also missing i think
<sud0x3>
When attempting to build i get the error, error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
grumble has quit [Quit: and I keep telling myself it's all in my head]
<zimbatm>
right
tmaekawa has joined #nixos
<manveru>
sud0x3: do you build it with `nix build -f . autokey`?
<manveru>
sud0x3: for that, you need to add it to pkgs/top-level/all-packages.nix
tmaekawa has quit [Client Quit]
<zimbatm>
manveru: ok we have a meta for yarn2nix now
<manveru>
once that's in i can finally make the patchwork PR ready
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
<cmacrae>
Sup people o/ I'm toying with the idea of making a Joyent lx-brand image builder for NixOS, so I can use it to deploy services on my private Triton install at home. Take their Alpine builder for instance: https://github.com/joyent/alpine-lx-brand-image-builder
<cmacrae>
In short, initially I'll need a means of generating a tarball that represents the root filesystem of a NixOS install (if there are not some readily available) that I can chroot into and perform some initial bootstrapping actions to prepare the image.
<cmacrae>
Are there any existing tarballs to this effect, or are there tools readily available to generate them?
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
<hask_bee_3>
sphalerite, hey still around? :)
<hask_bee_3>
sphalerite_
<sud0x3>
manveru: I tried adding autokey = callPackage ../tools/x11/autokey { }; but still getting the error
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
<manveru>
sud0x3: what command do you use to build?
<sphalerite_>
hask_bee_3: yep
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
<sphalerite_>
cmacrae: look into make-system-tarball.nix in nixpkgs/nixos/lib iirc
<cmacrae>
sphalerite_: excellent, thank you!
<hask_bee_3>
sphalerite_ Based on our earlier conversation, this is how I'm currently planning on deploying my webapp - a webapp that's packaged with Nix and deployable on any Linux server. Do these steps make sense to you? https://pastebin.com/aasVx6Ng
<Lisanna>
manveru tbh most of the time is just downloading all the binaries
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
<sphalerite_>
hask_bee_3: mostly, yes. Although if you're using a profile (profiles are managed using nix-env) you only need to create the symlinks once
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
<sud0x3>
manveru: nix-build -f . autokey, from within the aformentioned directory
<sphalerite_>
hask_bee_3: I'd probably create a dedicated profile for it — so use nix-env -p /nix/var/nix/profiles/my-great-webapp — and then symlink to /nix/var/nix/profiles/my-great-webapp/nginx.conf, etc
<manveru>
sud0x3: can you make a PR to nixpkgs so i can try it?
<sphalerite_>
hask_bee_3: and use nix-env's --set rather than -i
shoogz has joined #nixos
shoogz has quit [Max SendQ exceeded]
shoogz has joined #nixos
<genesis>
i need to write a new 'flavor' of sdcc, naming zsdcc, should i write the derivation in sdcc or in a new zdcc directory ?
<sud0x3>
LnL: Will look into it once i am able to build with what i have. was building earlier but failed on python-dbus so i changed some stuff and broke something and i cant seem to figure out what
Thra11 has quit [Quit: IRC for Sailfish 0.9]
<Lisanna>
ugh, no, it's not nixops
<Lisanna>
boot.cleanTmpDir just flat out does not work on my machine
chocopuff has joined #nixos
<Lisanna>
the only difference between my machine and everyone else's with a working boot.cleanTmpDir is EFI
<ottidmes>
Lisanna: Like I said, I have boot.cleanTmpDir with EFI
<Lisanna>
ottidmes oh, right, sorry, forgot
<Lisanna>
ottidmes could you gist your hardware-configuration.nix?
<Lisanna>
ottidmes and sorry for what might be a dumb question, but when was the last time you rebooted?
<ottidmes>
Lisanna: Pff, the downside of making your config too modular, is that I cannot simply copy paste the whole thing, but I will see what I can do
<ottidmes>
Lisanna: Like, yesterday?
<Lisanna>
oh, your hardware-configuration is customized? :p
<ottidmes>
Lisanna: Yep, I only use the generated one to copy some things from
<avn_>
infinisil: yep, I just found it and experimenting
<ottidmes>
Lisanna: Is your machine Intel or AMD based? I have both
<Lisanna>
ottidmes Intel
<ottidmes>
Lisanna: Then I will get you that ones config
<Lisanna>
and I use LVM
Guest27527 is now known as sdhand
<ottidmes>
Lisanna: I do not
sdhand has quit [Changing host]
sdhand has joined #nixos
<Lisanna>
OK... anyone use boot.cleanTmpDir + LVM?
<Lisanna>
wonder if systemd boot does anything special for LVM
<Lisanna>
or, better question: is there anyone with LVM willing to try enabling boot.cleanTmpDir to see what happens?
<avn_>
That works `(firefox-esr.override { nameSuffix="-esr"; })`
<avn_>
complains on clashing icon/firefox.png and desktop file, but I feel I can ignore it atm
<infinisil>
avn_: Nice
<ottidmes>
Lisanna: Probably a stupid suggestion, but could it have to do with your boot.supportedFilesystems
<Lisanna>
I don't have that set,
<Lisanna>
I've stripped my config down to the most minimal that I can
<ottidmes>
Lisanna: Maybe that is your problem, I could imagine it needs to have support for the file system /tmp is mounted on, some similiar setting that your minimalistic config is missing
<Lisanna>
ottidmes /tmp is /, which is ext4
<avn_>
tmpOnTmpfs or likewise, is it what you want?
<ottidmes>
Lisanna: I have boot.supportedFilesystems = [ "exfat" "ext" "ntfs" "vfat" ]; in my default config together with my boot.cleanTmpDir
<etu>
Hmm, ubuntu decided to run 4.15 in their next LTS
<Drakonis>
gotta have amd support out of the box
<etu>
And 4.14 is the LTS kernel from upstream
<etu>
Yeah, I see why they would want 4.15. But all that maintenance
<Drakonis>
its also a completely normal thing for ubuntu to do that
<etu>
I guess they have the resources...
<Drakonis>
ubuntu for some reason goes with the lts + 1 version
<Drakonis>
they're no red hat though
<Lisanna>
ottidmes didn't work, thanks for the suggestion though
<Lisanna>
well, I've reached the end of my ability to debug this, aside from turning off LVM, which I'm not really interested in doing
<joko>
genesis: just use overrideAttrs
coot has joined #nixos
<Lisanna>
if someone with LVM is willing to try this, that'd be really helpful, otherwise I don't really have anything useful to file as a bug report... since I'm apparently the only one who experiences this
<etu>
oath-toolkit doesn't build for me on latest nixos-unstable :/
Drakonis has quit [Read error: Connection reset by peer]
<Mic92>
etu: there was pr merged some hours before.
<ottidmes>
Lisanna: I have the same option on my desktop with LVM, but it uses BIOS, and for what it is worth, I vaguely remember having seen it crashing on your issue as well (not sure on what machine, hence vaguely), but it was always temporary of nature, not sure what I did then to fix it, so I am sorry I cannot help your more
<Lisanna>
huh, ok
<Lisanna>
well, I've complained enough about it in the IRC that if someone else *does* run into it and searches for it, they'll likely come across my messages, and then I guess we can go from there
<Lisanna>
until then I'm going to ignore it and just turn it off
<genesis>
pb with my patch is not relative to a rev ... ho i miss it
<joko>
genesis: indeed, it's on master
<joko>
Just replace master with a rev
<genesis>
oki let's go.
<genesis>
and i've to rewrite install to mv sdcc -> zsdcc, so both sdcc and zsdcc .
rindvieh has quit [Remote host closed the connection]
kelleyNif has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAaJL
<NixOS_GitHub>
nixpkgs/master e74b61e Vladimír Čunát: knot-resolver: 2.1.0 -> 2.1.1 (bugfix)...
NixOS_GitHub has left #nixos [#nixos]
sigmundv_ has joined #nixos
<ottidmes>
Huh? I have a different .drv hash compared to hydra, but the out hash is the same, so it downloads from the cache. Is this normal? I created a clean checkout checkout the exact same nixpkgs commit, yet got a different hash for the .drv, so I thought something was still amiss
robstr has quit [Remote host closed the connection]
<Lisanna>
Okay, I'm an idiot. It was just taking a long time since I hadn't rebooted in like a month, and my /tmp was probably really full.
<ottidmes>
Lisanna: That then explains how I solved it when I got it as well :P it just disappeared on its own :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vAaJE
<elvishjerricco>
What's the right way to make xscreensaver activate when I do `systemctl start suspend.target`?
cmacrae has joined #nixos
nuncanada has quit [Quit: Leaving]
pie_ has joined #nixos
<infinisil>
elvishjerricco: I'm pretty sure the suspend target is meant for actually suspending it, not something else
<elvishjerricco>
infinisil: Right. But right now if I suspend my machine, pressing a key brings it back up and does not prompt for a password. I guess that's the actual problem I want to solve
<infinisil>
elvishjerricco: are you using a display-manager?
<elvishjerricco>
Just xmonad with xscreensaver running all the time
<hask_bee_3>
sphalerite_ Just one more question (for now): To pass in the arguments for my nginx conf (and other things), I'll be using --arg or --argstr of Nix, right?
<hask_bee_3>
Just wanted to make sure
<infinisil>
elvishjerricco: ah, check out the physlock service
cmacrae has quit [Remote host closed the connection]
<infinisil>
elvishjerricco: maybe it's not exactly what you want, but it activates when i suspend, so probably you could have a look on how it works
Synthetica has joined #nixos
<infinisil>
elvishjerricco: Ah, it uses wantedBy = [ "suspend.target" ]; and before = [ "systemd-suspend.service" ]; That looks like what you want
<elvishjerricco>
infinisil: interesting. Thanks
<sphalerite_>
hask_bee_3: that's one way, or you could write a separate expression that passes more complex arguments in
<hask_bee_3>
sphalerite_ you mean like a shell script written in Nix expression language that I just execute (without arguments, since the arguments are in the "script")?
<sphalerite_>
FRidh: while I don't really have enough to justify a reply-all on the mailing list, a big +1 on the hydra tarball availability check job
rindvieh has joined #nixos
<sphalerite_>
(how's that for a long chain of nouns…)
chocopuff has quit [Read error: No route to host]
chocopuff has joined #nixos
nh2 has joined #nixos
ckauhaus has joined #nixos
ckauhaus has quit [Client Quit]
ckauhaus has joined #nixos
<sphalerite_>
hask_bee_3: sort of. So you have your expression that builds the config files, and it takes some parameters like port and database connection string, and you call that expression service.nix { port, db, pkgs ? import <nixpkgs> {} }: let nginxConfig = …; systemd-unit-file = …; in …
<sphalerite_>
hask_bee_3: then you can either call that directly using nix-build service.nix --arg port 80 --argstr db sqlite:///:memory:
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ctheune opened pull request #35396: Security update for libtiff (master...ctheune-17.09-update-libtiff) https://git.io/vAaqv
NixOS_GitHub has left #nixos [#nixos]
drewr has quit [Remote host closed the connection]
<sphalerite_>
hask_bee_3: or you can write a service-configured.nix looking like (import ./service.nix) { port = 80; db = "sqlite:///:memory:"; }
<sphalerite_>
and just nix-build that without args.
<sphalerite_>
Lots of options really
<hask_bee_3>
sweet!!
<hask_bee_3>
this is excellent
<hask_bee_3>
thank you
robstr has joined #nixos
Lisanna has quit [Quit: Lisanna]
szicari has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
magnetophon has quit [Remote host closed the connection]
<hodapp>
hmm, is there an 'elegant' way of dealing with scripts that hard-code /bin/bash?
<sphalerite_>
hodapp: typically patchShebangs it if you're using it in a build
<sphalerite_>
You could also make a derivation for it
<hodapp>
it's not exactly a build, more like a dev environment at this point, but for something that is pulling in other stuff
<sphalerite_>
If you just want to run it in-place, change it to /usr/bin/env bash and get upstream to change it too :)
coot has quit [Ping timeout: 260 seconds]
FRidh has quit [Remote host closed the connection]
<genesis>
patch: **** Only garbage was found in the patch input. , i've a valid patch /nix/store/kja9gjx83af7sjfrqskdsm24m23411ha-source/sdcc-z88dk.patch
<etu>
genesis: I'm not sure you do. I want to override nixpkgs.php to be nixpkgs.php70 :p
<sphalerite_>
etu: using an overlay, or just modifying your checkout of nixpkgs
<sphalerite_>
etu: the overlay would look like self: super: {php = self.php70;}
chreekat has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
sigmundv_ has joined #nixos
detran has joined #nixos
<etu>
sphalerite_: I was hoping for a single line in the config :/
UltraPhil has left #nixos ["Leaving"]
Guest73803 has quit [Changing host]
Guest73803 has joined #nixos
Guest73803 is now known as TweyII
<TweyII>
Nix 2.0 has the nix command, but nix --help says: Note: this program is EXPERIMENTAL and subject to change.
<TweyII>
Do we want that there?
<chreekat>
I'm having trouble switching my default browser on nixos 17.09. I had been using firefox. I decided to use chromium for a while. Clicking 'set as default' from within chromium does nothing. Setting it through kde settings affects some things, but not all: Thunderbird still uses Firefox. Plus, chromium still complains each startup
evhan has quit [Ping timeout: 248 seconds]
<Taneb>
TweyII: the Nix manual also says it's subject to change
<sphalerite_>
TweyII: yeah, the stable interface is still nix-* for now
ckauhaus_ has joined #nixos
ckauhaus has quit [Read error: Connection reset by peer]
<sphalerite_>
TweyII: I wouldn't hesitate to use it interactively, just not write scripts that use it and expect them to continue working in the long-term future.
<sphalerite_>
(or in the short-term future for that matter).
<chocopuff>
needless to say, I'm def intrigued by the concept
<sphalerite_>
so I've got some trouble with a part of stdenv, but I'm not sure where in nixpkgs the code corresponding to it is. Is there a way to trace all the derivation instantiations in a run?
wchresta has quit [Remote host closed the connection]
wchresta has joined #nixos
<sphalerite_>
chocopuff: /usr doesn't properly exist at all on nixos
<sphalerite_>
it wouldn't exist at all if we didn't need to have /usr/bin/env there for compatibility purposes, but that's all there is
FRidh has quit [Remote host closed the connection]
<chocopuff>
am i understanding the essence correctly?
<chocopuff>
a problem I realize I often run into, when using tools is not really understanding their intent / reasoning
<sphalerite_>
I think so, but there is a lot to get your head around with nix
<chocopuff>
i'm wondering though, the ideas seem solid. Is it just people not being used to / comfortable with functional abstraction that's preventing people from picking it up
aminechikhaoui has joined #nixos
<chocopuff>
i guess and it's new. the thesis is quite a fun read so far
cinimod` has joined #nixos
FRidh has joined #nixos
jensens has quit [Ping timeout: 260 seconds]
vidbina has quit [Ping timeout: 264 seconds]
Mercuria1Alchemi has quit [Ping timeout: 256 seconds]
<cinimod`>
I'd like to have a version of gsl which turns on the DEBUG flag
<cinimod`>
Is there some magic that nix does to build gsl? I think I would normally do something like autoconf, configure, make but there is nothing in the default.nix to suggest that this is actually happening
aarvar has quit [Quit: Leaving.]
wchresta has quit [Ping timeout: 264 seconds]
cement has joined #nixos
<sphalerite_>
chocopuff: yes, some people are scared of functional programming. Another major issue with nix is compatibility — it breaks a lot of assumptions that other software (wrongfully ;) ) makes. This can be simple (automatable for stuff like shebangs pointing to the wrong paths), complicated (requiring source patches to get software to behave sensibly), or almost impossible (nonfree software that only the authors
<sphalerite_>
can fix) to fix.
<sphalerite_>
chocopuff: other than that I think what's holding nix back a bit is that not enough people know about it :D
<NixOS_GitHub>
nixpkgs/release-17.09 ea0c4b5 Franz Pletz: libtiff: 4.0.8 -> 4.0.9...
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vAaCR
<gchristensen>
chocopuff: at least one of our long time NixOS community members came to NixOS via Gentoo GSOC.... better be careful, you might get sucked in here
ckauhaus has joined #nixos
<sphalerite_>
I think nix was discussed on the debian mailing list once or twice, and there was plenty of "fear of the unknown" causing people to dismiss it off the bat
<sphalerite_>
"We can't possibly go without the FHS!!"
<genesis>
on #gentoo-qt : <mgorny> genesis: you're on the wrong channel
<chreekat>
cinimod`: Indeed, your normal procedure is the default. Reading https://nixos.org/nixpkgs/manual/#chap-stdenv, you'll probably figure out where to add your DEBUG flag. But you might also want to use nix-shell for doing local development if you're gonna be debugging....
<genesis>
one time i promoted nixos...
<wervenyt[m]>
I do think that if nix is going to 'succeed', it needs more upstream devs to support it
<infinisil>
Nix needs primarily better docs imo..
<genesis>
it already need, look number of opened PR ;)
<infinisil>
Did you see the recent HN thread about nix? It's filled with docs and easy of use complaints
<chreekat>
I do wish Nix had just used /opt/nix instead of /nix. Boom, FHS compliance. Easy
<wervenyt[m]>
only technically, lol
<gchristensen>
wervenyt[m]: nix has been steadily growing for 15 years, things are great!
* infinisil
feels the urge to start the xml discussion again, but refrains from it because he doesn't have the time to work on it himself
<sphalerite_>
lluchs: was it my openclonk nix PR that led you to try it out, or did you already know about nix?
<wervenyt[m]>
fair, I meant a larger level of success
chreekat has quit [Quit: quitting]
<wervenyt[m]>
it's not like I'm using it because I think it's an abject failure
<sphalerite_>
:D
* goibhniu
has noticed default.nix files appearing in random projects in the wild lately,
mkoenig has quit [Ping timeout: 276 seconds]
mkoenig has joined #nixos
<wervenyt[m]>
it'll be interesting what the future of operating systems will be. it'd be nice if it was in the vein of nixos/guixsd, but who knows
<lluchs>
sphalerite_: I think I had already heard about nix before, but I decided to install it after talking to you on IRC about using it
<gchristensen>
wervenyt[m]: The Nix community has more than doubled in size over the past two years, and continues to grow. We now merge ~500 PRs a week. I think we're on our way!
<sphalerite_>
lluchs: :D
<lluchs>
I was sceptical before that it was actually viable as a desktop distribution. It looked more like a research project
<sphalerite_>
wervenyt[m]: see this is how you get upstreams interested in nix, just make PRs to their repos :D
<wervenyt[m]>
notice that I didn't say the project was doing anything wrong
<lluchs>
But I'm typing this now on my NixOS laptop, so it works well enough for me to stick with it :)
<chocopuff>
gchristensen: ah glad to hear! I was worried if I misunderstood the philosophy slightly
<chocopuff>
wervenyt[m]: yup, in fact, I even first heard of nixOS irl, from someone using it
<sphalerite_>
wooo!
<gchristensen>
wervenyt[m]: I hear that :)
<chocopuff>
gchristensen: hmm.... actually surprise / coincidence? he switched from Gentoo
<sphalerite_>
chocopuff: yeah nix seems to attract a lot of former gentoo and arch users
<wervenyt[m]>
a big part of my moving to nixos lies in the protections built in for my irrational need for rolling release
<Taneb>
I just think it's neat
<sphalerite_>
gchristensen: that also :D
<chocopuff>
sphalerite_: oh I just realized I got a response to my mailing list response. and well indeed, the concern was "but what about the FHS!!"
cinimod` has quit [Ping timeout: 264 seconds]
jmeredith has joined #nixos
<wervenyt[m]>
weren't debian the ones that invented /run/?
<TweyII>
Taneb, sphalerite_: Oh, alright. I thought the release of 2.0 implied it had been stabilized, but I guess not. Thanks!
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 2267553 Ryan Mulligan: mattermost: 4.7.0 -> 4.7.2
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vAa88
NixOS_GitHub has left #nixos [#nixos]
<genesis>
wervenyt[m] : to me too + like to use plenty of software (music etc), and not always easy on same OS than professional (need stability)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to nix-2.0: https://git.io/vAa8g
<NixOS_GitHub>
nixpkgs/nix-2.0 776a5e6 Eelco Dolstra: makeInitrd: Use closureInfo
NixOS_GitHub has left #nixos [#nixos]
pie_ has quit [Ping timeout: 264 seconds]
<ottidmes>
I am cleaning up my config and wanted to be sure the from source builds where not due to some misconfiguration and found out it just had to do with my GPU driver forcing some older versions, which in turn required those from source builds. In the spirit of automation I would love never having to hunt down such things in the future, since all the information should be present to determine this automatically.
<ottidmes>
Has there been any work done on this? That you can just supply some command line tool with /nix/store/<...>.drv and it tells you what dependencies of it changed compared to the prebuilt package causing it to build from source?
17WAATI46 has joined #nixos
<17WAATI46>
nixpkgs/master cf4c077 Nikolay Amiantov: cups service: fix client sockets...
<07IACJ6RX>
[nixpkgs] abbradar closed pull request #35390: Fix CUPS socket path to be default /var/run/cups/cups.sock (master...cups-socket) https://git.io/vA2NT
<17WAATI46>
nixpkgs/master 34a37c5 Nikolay Amiantov: cups: fix path to socket and run directory...
<17WAATI46>
[nixpkgs] abbradar pushed 2 new commits to master: https://git.io/vAa86
17WAATI46 has left #nixos [#nixos]
07IACJ6RX has joined #nixos
07IACJ6RX has left #nixos [#nixos]
Sonarpulse has joined #nixos
robstr has quit [Remote host closed the connection]
<sphalerite_>
ottidmes: nix-diff by Gabriel Gonzalez
jtojnar_ has joined #nixos
ckauhaus has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
johnsonav has quit [Ping timeout: 256 seconds]
<ottidmes>
sphalerite_: Thanks!
pkill9_ has joined #nixos
<wervenyt[m]>
what's with all the git-tracking bots?
<gchristensen>
they're all GitHub
<gchristensen>
but sometimes they fail to become the proper NixOS_GitHub nickname
cinimod` has joined #nixos
pkill9 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 3 new commits to staging: https://git.io/vAa44
<NixOS_GitHub>
nixpkgs/staging 998fdfd Nikolay Amiantov: cups: fix path to socket and run directory...
<NixOS_GitHub>
nixpkgs/staging a984be4 Nikolay Amiantov: Merge branch 'master' into staging
<NixOS_GitHub>
nixpkgs/staging 9c1c424 Nikolay Amiantov: cups service: fix client sockets...
NixOS_GitHub has left #nixos [#nixos]
<gchristensen>
I sort of suspect we're getting a bit too big for what their IRC notification service can support
<wervenyt[m]>
ah
<wervenyt[m]>
that explains it
<LnL>
once in a while it has an identity crisis
<fpletz>
gchristensen: I suspect they connect to the irc server for every change, and in parallel :/
<avn_>
gchristensen: I just curious, if it possible to suppress join/leave for notifications
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vAa4g
<NixOS_GitHub>
nixpkgs/master 36b0efc Robin Gloster: python.pkgs.send2trash: fix on darwin
NixOS_GitHub has left #nixos [#nixos]
<gchristensen>
fpletz: hehehe yeah probably!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] makefu opened pull request #35401: cups-zj-58: init at 2018-02-22 (master...pkgs/cups-zj-58/init) https://git.io/vAa4V
NixOS_GitHub has left #nixos [#nixos]
<gchristensen>
avn_: tragically not, because of spam problems. they must join to send messages, and they don't have an option to always be present
<fpletz>
avn_: hm, good point, does freenode have notice masks?
ryanartecona has joined #nixos
<gchristensen>
if someone wants to write a thing which handles github webhook events and convert them to IRC messages based on some nice rules, I can hook that up to {^_^}
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #35402: closureInfo: Report the total closure size. (nix-2.0...closure-info-total-size) https://git.io/vAa46
NixOS_GitHub has left #nixos [#nixos]
coot has quit [Ping timeout: 256 seconds]
rgc has joined #nixos
pkill9 has joined #nixos
coot has joined #nixos
Arcaelyx has joined #nixos
pkill9_ has quit [Ping timeout: 248 seconds]
<alanz>
is it possible to run nixops using nix only? On a debian machine
cinimod` has quit [Remote host closed the connection]
<aminechikhaoui>
alanz: I think it should be possible
cinimod` has joined #nixos
<alanz>
because it is complaining about nixosRelease not being set
<ottidmes>
Is there any way to download a .drv from hydra? If I want to compare the two .drv files, I still need to have both of them, the local one I have, but the cache-hit version I do not. I tried running nix-instantiate, but the resulting .drv file has a different hash from what is being reported by hydra or nix-store -q --deriver /nix/store/<cached_package>
pkill9_ has joined #nixos
<alanz>
I am getting: error: attribute ‘nixosVersion’ missing, at /nix/store/20bgvmh4chc5ks31ppwkwy7gp6n77y7w-nixops-1.5.2/share/nix/nixops/eval-machine-info.nix:284:107
<gchristensen>
ottidmes: nix-store -r <the-drv>
pkill9 has quit [Ping timeout: 240 seconds]
avn_ has quit [Read error: Connection reset by peer]
<aminechikhaoui>
alanz: I guess that's something that it gets from the nixpkgs specified in the search path
avn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra closed pull request #35402: closureInfo: Report the total closure size. (nix-2.0...closure-info-total-size) https://git.io/vAa46
NixOS_GitHub has left #nixos [#nixos]
<alanz>
Maybe I can just specify it in the deployment. I will fiddle some more. Diving in at the deep end
coot has quit [Quit: coot]
<ottidmes>
gchristensen: When I run that on the .drv reported by --deriver and hydra I get "don't know how to build these paths"
patron has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] timokau opened pull request #35404: sage: explicitly use gfortran6 (master...sage-fortran) https://git.io/vAaBx
<aminechikhaoui>
alanz: yeah seems it has been renamed from config.system.nixosRelease to config.system.nixos.release
alexteves_ has joined #nixos
archaeron has joined #nixos
<aminechikhaoui>
same for nixosVersion
<aminechikhaoui>
probably just switch to 17.09 channel
vidbina has joined #nixos
<alanz>
And will it have a value for running under nixpgs only?
<aminechikhaoui>
yeah
<alanz>
i.e. I am not running nixos.
<ottidmes>
gchristensen: Thanks anyway, I had to delve into these commands when I started out with NixOS, but haven't since, so I am rather unexperienced with these commands. Unfortunately without the .drv there is nothing to compare on, so I really need it
<alanz>
Ok, will do that
<archaeron>
hello. I'm a bit confused: when I run "nix-env -qaP | rg vscode" i get a line "nixpkgs-unstable.vscode-with-extensions" but then when I try to install that via "nix-env -iP nixpkgs-unstable.vscode-with-extenstions" I get: "error: selector ‘nixpkgs-unstable.vscode-with-extenstions’ matches no derivations". What am I doing wrong? :)
cinimod` has quit [Ping timeout: 264 seconds]
ckauhaus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill pushed 3 new commits to staging: https://git.io/vAaRd
<NixOS_GitHub>
nixpkgs/staging df9ebaf Will Dietz: nginx/modules: use eustas' brotli module, google one is abandoned...
<NixOS_GitHub>
nixpkgs/staging 22b5aeb Will Dietz: Merge pull request #34943 from dtzWill/feature/ngx_brotli-eustas...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/staging 40b1410 Will Dietz: nginx/modules: brotli: no-op bump to latest that uses 1.0.2 as submodule...
roberth has quit [Ping timeout: 264 seconds]
<ottidmes>
archaeron: Not sure, but should it not be: nix-env -iAP nixpkgs-unstable.vscode-with-extenstions
pkill9_ is now known as pkill9
<archaeron>
ottidmes: same error.
alex`` has joined #nixos
<archaeron>
I haven't yet figured out when i need P or A
asuryawanshi has quit [Remote host closed the connection]
brachiel has joined #nixos
<samueldr>
archaeron: in your particular case, vscode is available in nixpkgs, but you will need to configure it to allow unfree packages
<samueldr>
(if you're curious, while vscode itself is open source, the binary build packaged in nixpkgs has an EULA making it unfree)
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/staging a0d91e1 Will Dietz: texlive: don't remove luatex from packages that require it....
<NixOS_GitHub>
nixpkgs/staging b42b1c8 Will Dietz: Merge pull request #33698 from dtzWill/fix/texlive-luatex...
<NixOS_GitHub>
[nixpkgs] dtzWill pushed 2 new commits to staging: https://git.io/vAaEY
NixOS_GitHub has left #nixos [#nixos]
drewr has joined #nixos
<archaeron>
samueldr: is it possible to build vscode but still keep the extensions functionality?
<samueldr>
I don't know!
<archaeron>
okay. thanks :)
<samueldr>
n/p others may know, but AFAIUI, electron apps are a hard nut to crack generally
<ottidmes>
archaeron: What do you mean exactly? If your question is whether extensions work with the prebuilt vscode, they do, I am using it right now, but you might be talking about something else
<archaeron>
ottidmes: it's working great, thanks. I was just wondering how it is legally. But not so important.
<samueldr>
if nixpkgs were to have a custom-built vscode, it's almost certain that extensions functionality (though nixpkgs) would work, I mean, they made it work with the binary build after all :) (knowing nothing of how it works underneath)
ckauhaus has quit [Remote host closed the connection]
<roconnor>
Sometime I have content-addressable copies of directories when invoking custom expressions that make references to the file system. I have instances where I get two different store entries even though the contents of the directories are identical and the associated name is also identical.
<wervenyt[m]>
so this `result` directory was generated in my ~, is there a reason for that?
<roconnor>
What can cause two identical content stores to have different hashes?
<roconnor>
more specifically I'm using src = lib.sourceByRegex ./. [...]
<roconnor>
does the hash for src generated by lib.sourceByRegex ./. depend on the contents of ./. rather than the contents of the files post-filtering?
pkill9 has joined #nixos
ckauhaus has joined #nixos
mkoenig has quit [Ping timeout: 248 seconds]
zombified has joined #nixos
mkoenig has joined #nixos
Tucky has quit [Quit: WeeChat 2.0.1]
MichaelRaskin has joined #nixos
<jtojnar>
roconnor: I would guess so
<jtojnar>
I think first ./. will get copied to /nix/store
<goibhniu>
wervenyt[m]: did you run nix-build?
<jtojnar>
roconnor: and the hash of the expression will be actually the hash of the expression `lib.sourceByRegex /nix/store/xxxxx`
<mpickering>
How do I upgrade to nixos 2.0? Pull nixpkgs like normal and nixos-rebuild switch?
<Yaniel>
* nix 2.0
<Yaniel>
nixos is still safely at version -18.03
<mpickering>
ok I see
<mpickering>
So how do I upgrade?
<Yaniel>
just like normal, once it hits the update channels
cinimod` has joined #nixos
<alp>
mpickering, if you're on the unstable channel, 2.0 should be the default there now
<alp>
probably not on the stable one just yet though.
<mpickering>
I am running from master so is that 2.0?
<wervenyt[m]>
goibhniu: yeah, did do. is that its behaviour?
<Yaniel>
hm, I just did a full upgrade today but nix-env --version still says 1.11.16
<alp>
yes if you've refreshed in the last 2 days I think the default is 2.0
<mpickering>
If I try running "nix"
<mpickering>
it says that I need to install nixos.nixUnstable
<mpickering>
There are a lot of references to old commands like "nix-shell" in the manual still, but I shouldn't use those in 2.0?
<goibhniu>
wervenyt[m]: yep, that's the "result" from nix-build ... you can inspect/run the stuff in there. It's a garbage collection root too, so you should delete "result" when you're done
<samueldr>
the `nix` command's API isn't stable yet, these commands may change in the near future
<Yaniel>
btw is there some variable either already or in 2.0 that lets me pass the working directory to cmakeFlags?
<alp>
mpickering, I think they're still around for now
<samueldr>
(though it's stable neough for use, what isn
<alp>
you better check though
<Yaniel>
as in the build dir (not $out)
<samueldr>
what isn't stable is if used e.g. in scripts, where a specific behaviour may change)
<wervenyt[m]>
goibhniu: just remove the symlink, right?
knupfer has quit [Remote host closed the connection]
<goibhniu>
wervenyt[m]: yep
<roconnor>
jtojnar: Hmm. I'm trying to make a minimal example, but I'm actually not able to tickle it.
<wervenyt[m]>
thanks, friend
<goibhniu>
np!
<alp>
mpickering, right they're still around, just checked.
<wervenyt[m]>
I hate that "thanks a lot" is basically assumed to be sarcastic 99% of the time
<alp>
mpickering, but I do suspect your copy of nixpkgs is out of date.
<goibhniu>
wervenyt[m]: hah
<mpickering>
I am at commit c2fbd472a4ebaae739257a3df93aef25f19dd04f which is from today
ckauhaus has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 9 new commits to master: https://git.io/vAa2m
<NixOS_GitHub>
nixpkgs/master a6b30cb Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub>
nixpkgs/master d87fcc7 Peter Simons: haskell-reflect: fix build with GHC 7.10.x
<NixOS_GitHub>
nixpkgs/master d544c45 Peter Simons: LTS Haskell 10.6
NixOS_GitHub has left #nixos [#nixos]
digitus has joined #nixos
<alp>
mpickering, hmm looks like it's not the default yet indeed, weird. 'nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/c2fbd472a4ebaae739257a3df93aef25f19dd04f.tar.gz -p nix --pure --run nix' reports "command not found"
the_real_plumps has quit [Remote host closed the connection]
<mpickering>
I'm not worrying too much about upgrading just thought I would try it
<symphorien>
you can still "nix-shell -p nixUnstable"
the_real_plumps has joined #nixos
ckauhaus has joined #nixos
<roconnor>
jtojnar: So turn out it does work. My two directories were different one had a .swp file in it that "meld" was filtering out for me when comparing directories. So in fact they were not identical eventhough meld said they were.
<roconnor>
to be fair "meld" did warn me that filters were in use; I just didn't read it carefully.
<mpickering>
I'm trying to understand what the release means if I can't upgrade
<jtojnar>
packaging it in distributions is a separate matter
<jtojnar>
Firefox being released also does not mean it will immediately appear in nixpkgs
<gchristensen>
we can't just flip a switch to have it be released to channels, it takes time to go through the standard channel process
<gchristensen>
a tragedy that even we cannot cheat the system :)
<samueldr>
s/tragedy/precious feature/
throwup has joined #nixos
<mpickering>
I am not using a channel. I just have a checkout of nixpkgs. So I'm trying to workout how to select the right commit to so that I can upgrade.
<mpickering>
It seems master is not the correct commit though?
<throwup>
Since my last update I have no longer been able to install neovim. It complains about files in the ruby environment. I can, however install neovim-unwrapped correctly what could I do to fix this problem?
<wervenyt[m]>
what's the best route for flashplayer in firefox, if any of you guys know?
<alp>
if nixpkgs hasn't flipped the switch then what we've seen is expected mpickering
<aminechikhaoui>
mpickering: you can still use nixpkgs.config.packageOverrides to use the latest
<mpickering>
right thanks jtojnar this is the info I was looking for
<throwup>
does anyone here know what could cause this? Interestingly I can also install the nixpkgs variant just fine, the nixos package seems to be the cause of the problem
vidbina has quit [Ping timeout: 265 seconds]
<wervenyt[m]>
cause what?
<throwup>
wervenyt[m]: I can not install the nixos.neovim package on my machine after the last upgrade I did.
<MichaelRaskin>
Well, I do know what I actually depend on, that can help.
vidbina has quit [Ping timeout: 240 seconds]
<clever>
lejonet: youll also want to double-check that it still works on older nixpkgs
<skrzyp>
> Nix no longer depends on Perl and all Perl components have been rewritten in C++ or removed.
<skrzyp>
haha :D
<lejonet>
clever: I'm thinking of doing a checkout of the 17.09 tag when I'm done this deploy :)
<lejonet>
I guess I could also try 17.03 but iirc 17.09 is the stable channel right?
<clever>
yeah
sigmundv_ has joined #nixos
reinzelmann has joined #nixos
MichaelRaskin has quit [Ping timeout: 248 seconds]
throwup has quit [Ping timeout: 264 seconds]
dnovosel has joined #nixos
dnovosel has quit [Remote host closed the connection]
dnovosel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 2b838f3 Franz Pletz: Merge pull request #35405 from tomberek/tinc_chown_invitations...
<NixOS_GitHub>
nixpkgs/master 034d3fa Tom Bereknyei: tinc: enable invitations
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vAaPi
ckauhaus has joined #nixos
<hyper_ch>
hmmm, I have a very strange tmux behaviours.... I start tmux, start multiple terminales in there... I close the tab in Konsole for that server... I reconnect to it but tmux has also crashed
<skrzyp>
maybe Konsole sends some weird escape codes on exit?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 844ad2e Franz Pletz: Merge pull request #35406 from xeji/wireguard...
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vAaP9
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch>
skrzyp: it just happened ssince I run last upgrade on unstable small
<skrzyp>
on server?
<ldlework>
I have python-2.7.14 and python2.7-jedi-0.11.1 installed. But when I run the nix python, I cannot import jedi. sys.path is full of nix stuff, but no sign of jedi. What gives?
<hyper_ch>
skrzyp: yes, no server
<hyper_ch>
zu upgraded now and checking again
<clever>
lejonet: you need to use python.withPackages
<hyper_ch>
skrzyp: still same problem
kelleyNif has quit [Quit: Leaving.]
<ldlework>
clever I see
Oo[m] has joined #nixos
i-am-the-slime has quit [Ping timeout: 240 seconds]
sigmundv_ has quit [Remote host closed the connection]
Aexoden has joined #nixos
hamishmack_ has joined #nixos
oscarduignan_ has joined #nixos
ckauhaus has quit [Remote host closed the connection]
scode_ has joined #nixos
<lejonet>
clever: you're thinking in my ceph-python-env branch?
nand0p_ has joined #nixos
pauldub_ has joined #nixos
ghuntley_ has joined #nixos
philips_ has joined #nixos
<clever>
lejonet: oops, that was meant for ldlework
aanderse_ has joined #nixos
sigmundv_ has joined #nixos
<Baughn>
So now that Nix 2.0 has been released...
<lejonet>
clever: :P
<Baughn>
How long until it's in nixos-unstable? :P
taktoa has quit [Remote host closed the connection]
<lejonet>
clever: would seem like my patch to nixops worked even on 17.09, it whines on stuff in my nixops deployment instead of missing the var (because the ceph module doesn't exist in 17.09 :P )
LangeO_ortjes has joined #nixos
TrentP- has joined #nixos
alfiepates has joined #nixos
prooftechnique_ has joined #nixos
coot has joined #nixos
andymandias_ has joined #nixos
silver_hook_ has joined #nixos
jack[m] has quit [*.net *.split]
discontent[m] has quit [*.net *.split]
themistocle1 has quit [*.net *.split]
icetan has quit [*.net *.split]
Khorne[m] has quit [*.net *.split]
EB[m] has quit [*.net *.split]
johnazoidberg has quit [*.net *.split]
admin[m]4 has quit [*.net *.split]
yochai[m] has quit [*.net *.split]
das-g[m] has quit [*.net *.split]
retrry[m] has quit [*.net *.split]
r3mfKm[m] has quit [*.net *.split]
peterhoeg has quit [*.net *.split]
dpc has quit [*.net *.split]
wchresta[m] has quit [*.net *.split]
abbafei[m] has quit [*.net *.split]
joh[m] has quit [*.net *.split]
dibblego[m] has quit [*.net *.split]
wervenyt[m] has quit [*.net *.split]
attero has quit [*.net *.split]
jluttine[m] has quit [*.net *.split]
Drakonis[m] has quit [*.net *.split]
demyan[m] has quit [*.net *.split]
itorres has quit [*.net *.split]
primeos[m] has quit [*.net *.split]
necronian has quit [*.net *.split]
Li[m] has quit [*.net *.split]
dywedir[m] has quit [*.net *.split]
spacekitteh[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
andymandias has quit [*.net *.split]
elasticdog has quit [*.net *.split]
mg- has quit [*.net *.split]
aanderse has quit [*.net *.split]
hamishmack has quit [*.net *.split]
prooftechnique has quit [*.net *.split]
dtulig has quit [*.net *.split]
oscarduignan has quit [*.net *.split]
alfie has quit [*.net *.split]
petar has quit [*.net *.split]
BlessJah has quit [*.net *.split]
pSub has quit [*.net *.split]
hiratara has quit [*.net *.split]
teej has quit [*.net *.split]
ghuntley has quit [*.net *.split]
alpha_sh has quit [*.net *.split]
anton__ has quit [*.net *.split]
TrentP has quit [*.net *.split]
mt_caret_ has quit [*.net *.split]
LangeOortjes has quit [*.net *.split]
philips has quit [*.net *.split]
nand0p has quit [*.net *.split]
pauldub has quit [*.net *.split]
scode has quit [*.net *.split]
ok2 has quit [*.net *.split]
buhman has quit [*.net *.split]
siel has quit [*.net *.split]
hexa- has quit [*.net *.split]
henk has quit [*.net *.split]
sphalerite_ has quit [*.net *.split]
ahmedtd has quit [*.net *.split]
redfish64 has quit [*.net *.split]
silver_hook has quit [*.net *.split]
hiratara_ is now known as hiratara
scode_ is now known as scode
hamishmack_ is now known as hamishmack
pauldub_ is now known as pauldub
ghuntley_ is now known as ghuntley
oscarduignan_ is now known as oscarduignan
nand0p_ is now known as nand0p
philips_ is now known as philips
alfiepates is now known as alfie
siel_ has quit [Changing host]
siel_ has joined #nixos
siel_ is now known as siel
dnovosel has quit [Remote host closed the connection]
<NixOS_GitHub>
[nixpkgs] flokli opened pull request #35414: mupdf: apply patch for CVE-2018-6544 (master...CVE-2018-6544) https://git.io/vAaDo
NixOS_GitHub has left #nixos [#nixos]
cinimod` has joined #nixos
hexa- has joined #nixos
kgz has joined #nixos
mkoenig has quit [Ping timeout: 256 seconds]
<TweyII>
Is there a better way to write this? let f = { a ? "foo" }: a; g = { a ? null }: f (if a == null then { } else { inherit a; }); in g { }
<TweyII>
Oh, null counts as not present
<LnL>
hyper_ch: euh
<hyper_ch>
LnL: ?
<LnL>
that shouldn't happen
<hyper_ch>
when I try it on a non-nixos server, it works
chocopuff has quit [Ping timeout: 268 seconds]
<hyper_ch>
it just started to act like this on nixos a little while ago
<LnL>
unstable?
<hyper_ch>
unstable small
ckauhaus has joined #nixos
sepp_ has joined #nixos
<LnL>
let me run a build-vm
<hyper_ch>
LnL: :)
<hyper_ch>
LnL: same behaviour on second server
kitemikaze has quit [Remote host closed the connection]
<TweyII>
Oh wait, no, null does not count as not present, I was doing a stupid
kitemikaze has joined #nixos
<LnL>
I would hope so if it's inconsistent that's even worse!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] volth opened pull request #35416: nixos/programs.chromium: write policies for google-chrome too (master...patch-106) https://git.io/vAayn
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch>
LnL: same on noather nixos server
ckauhaus has quit [Ping timeout: 248 seconds]
<hyper_ch>
so, on the thrid server it works as it should
<LnL>
technical difficulties, I started tmux in tmux :p
ckauhaus has joined #nixos
<cransom>
the dungeon collapses, you die.
<hyper_ch>
that's a great thing to do
i-am-the-slime has quit [Client Quit]
<hyper_ch>
one ca never have enough tmuxes open
<clever>
i prefer screen
<dottedmag>
Is there a parser for Nix expressions, save the one in Nix itself? Or a way to dump an AST from Nix?
nocoolnametom has joined #nixos
pikajude has joined #nixos
<clever>
dottedmag: the closest thing i can think of is hnix, a haskell project
<LnL>
ok looks like I need to go over ssh
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #35416: nixos/programs.chromium: write policies for google-chrome too (master...patch-106) https://git.io/vAayn
NixOS_GitHub has left #nixos [#nixos]
shachaf has joined #nixos
ckauhaus has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] flokli opened pull request #35417: mupdf: bump to 1.12.0, apply CVE patch, add darwin support (release-17.09...CVE-2018-6544-17.09) https://git.io/vAaSj
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vAa9L
<NixOS_GitHub>
nixpkgs/master cda0f9f Joachim F: Merge pull request #35414 from flokli/CVE-2018-6544...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 998b1ef Florian Klink: mupdf: apply patch for CVE-2018-6544
<skrzyp>
Nice, I've got NixOS 17.03 installed in less than 30 mins, I thought I completely forgot all of that
<linus1>
skrzyp: 17.03? That's no longer supported and has unpatched security issues
<skrzyp>
wow, 17.09
<skrzyp>
sorry
<lejonet>
Mic92: it would seem like wrapPythonPrograms and such are stuff that the buildPythonPackage has, and as ceph isn't a python package but have python components, its whining at me, saying that wrapPythonPrograms and wrapPythonProgramsIn don't exist
<linus1>
oh ok all good then :D
<linus1>
although 18.03 is coming out soon too
<skrzyp>
yes, but should I upgrade to unstable?
<skrzyp>
I don't think so
<hyper_ch>
unstable is generally quite stable
<hyper_ch>
except when it's not
linus1 is now known as sphalerite_
<sphalerite_>
x)
<lejonet>
Mic92: maybe I should just use makeWrapper to add PYTHONPATH and be done with it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 4 new commits to release-17.09: https://git.io/vAaQD
<NixOS_GitHub>
nixpkgs/release-17.09 7b3dfe0 Miguel Madrid Mencía: mupdf: 1.11 -> 1.12.0...
<NixOS_GitHub>
nixpkgs/release-17.09 159602b Florian Klink: mupdf: apply patch for CVE-2018-6544...
<NixOS_GitHub>
nixpkgs/release-17.09 39e65bd Dmitry Kalinkin: mupdf: enable on darwin...
NixOS_GitHub has left #nixos [#nixos]
<LnL>
hyper_ch: weird it dies when the ssh connection closes, but the process hierarchy looks normal
<skrzyp>
btw. on majority of systems, enabling libinput as X.org input driver enables the possibility to scroll with TrackPoint and middle button. On NixOS, I can't manage that even when 'services.xserver.libinput.enable' is 'true'.
<skrzyp>
I suppose that many people here use Thinkpads, so what's the problem in this case?
<NixOS_GitHub>
[nixpkgs] Kaali opened pull request #35419: Support mopidy on Darwin (master...master) https://git.io/vAa7r
NixOS_GitHub has left #nixos [#nixos]
shammas has joined #nixos
shammas is now known as Georgyo
Georgyo has quit [Changing host]
Georgyo has joined #nixos
<LnL>
hyper_ch: do you have a good commit? bisecting this is pretty easy
<elvishjerricco>
Anyone here use `nixos-rebuild build-vm` very frequently? It's a lot slower than I expected
<LnL>
howso?
<gchristensen>
elvishjerricco: building the VM, or running the VM, or both? can you describe more?
<elvishjerricco>
The VM is just super slow
<elvishjerricco>
running
<hyper_ch>
LnL: the third one is still god
coot has quit [Quit: coot]
<LnL>
oh, maybe check if you have VT-x enabled
<gchristensen>
are you running the VM on a VM, like in EC2 or DigitalOcean? or on bare metal?
<hyper_ch>
LnL: weird, I detached the session then restarted my notebook... I sshed again into the server - no tmux session to attach
Georgyo has quit [Client Quit]
<clever>
elvishjerricco: does /dev/kvm exist?
coot has joined #nixos
lfam has left #nixos ["Leaving"]
Georgyo has joined #nixos
Georgyo is now known as Guest14732
<elvishjerricco>
LnL: What is VT-x? gchristensen: It's running on bare metal (my desktop). clever: /dev/kvm does exist
pie_ has joined #nixos
<clever>
elvishjerricco: while the VM is running, do "ps aux | grep qemu" on the host, and check its args, is kvm listed?
<wervenyt[m]>
do you have kvm modules loaded?
<duncan_>
elvishjerricco: VT-x is hardware-accelerated virtualization on Intel platforms.
<elvishjerricco>
clever: Yea. `-enable-kvm` and `-cpu kvm64`
<clever>
wervenyt[m]: /dev/kvm only exists if the modules are loaded and its enabled in the bios
<elvishjerricco>
I'm on an AMD cpu, FWIW
<clever>
elvishjerricco: then its already using kvm, what about the ram within the guest, what does free -m report?
<LnL>
evangeline: amd has a similar thing but with a different name
<LnL>
elvishjerricco: ^
<clever>
LnL: the amd variant is handled by the kvm_amd kernel module
<lejonet>
the AMD cpuflag is called svm :)
<elvishjerricco>
clever: Plenty of free RAM. I made sure it has 8GB.
<clever>
elvishjerricco: and does the host also have at least 8gig?
<elvishjerricco>
64GB :P
<clever>
then it should just be working fine
mizu_no__ has joined #nixos
<elvishjerricco>
It is pretty slow though :/
<gchristensen>
sounds like you have a case of ETOOMUCHRAM, please take some out, mail it me, and see how it performs then
<elvishjerricco>
Hah :)
<lejonet>
Haha
<clever>
gchristensen: i found a pair of 8gig sticks, still in their original packaging
<clever>
i need to try those in my NAS, its been performing pretty poorly
mizu_no__ has quit [Client Quit]
* lejonet
has 2x16GB just laying around...
cinimod` has quit [Ping timeout: 248 seconds]
<gchristensen>
tbh I'm sick of the hardware I have laying around, the warmth it provides is nice, but it is very noisy when there are a lot of builds going on
<clever>
gchristensen: i put most of that kind of hardware in the spare bedroom
<elvishjerricco>
Do you guys use graphics in the VM? Or do you disable that and just use the terminal UI?
<LnL>
I have been thinking about filling up the other 32G in my desktop
<lejonet>
elvishjerricco: TUI ftw :)
<lejonet>
gchristensen: whatcha runnin'?
<gchristensen>
aye, we should probably focus on getting elvishjerricco sorted for now :) we can always chat later!
<elvishjerricco>
I was just experimenting since I found out `home-manager` can be used as a nixos-module, and found it exciting that I can specify literally everything I care about as a `configuration.nix` :P Thought booting into a VM would be a fun way to test it.
<elvishjerricco>
So I'm not actually in need
<gchristensen>
ah. fwiw I don't use build-vm much. when I do, typically, indeed, I'll disable the GUI stuff
<LnL>
I usually test stuff over ssh so I disable it unless I need that
<gchristensen>
but I don't have 64G of ram... :)
<lejonet>
gchristensen: weakness disgust me! ;)
<elvishjerricco>
though I have used this previously to try and experiment with Hydra, which went terribly since compressing nars slowed the whole thing down tremendously
<gchristensen>
lejonet: I run a builder @grahamcofborg and an evaluator, both in a rack in my office, on a 6-core AMD phenom and 16g of ram
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 89162cd Timo Kaufmann: sage: explicitly use gfortran6...
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vAadM
<NixOS_GitHub>
nixpkgs/master 296fa60 Vladimír Čunát: Merge #35404: sage: explicitly use gfortran6
NixOS_GitHub has left #nixos [#nixos]
<lejonet>
gchristensen: :P and I just ordered a single socket epyc system with 64GB RAM, 16c/32t ^^
<gchristensen>
and by "rack" I don't mean a 19" rack, but like a hardware store utility set of metal shelves =)
<gchristensen>
lejonet: let me know if you want to mail me any hardware, I'm happy to play with it
<clever>
gchristensen: my router is meant to be on a rack, but its on a set of plastic shelving units, lol
<clever>
extra wobbly
<lejonet>
gchristensen: those are the best kind of racks, like a colleague that has a "rack" which is just a stepladder that he's shoved a rack into, diagonally xD
<gchristensen>
LOL
<lejonet>
Its the best rack ever!
<lejonet>
gchristensen: haha ^^ I could maybe fix you a shell on it, so you can play a little bit atleast :P
[0x4A6F] has joined #nixos
M-bbigras has joined #nixos
<gchristensen>
people romanticize 19" racks as being more than just some fairly crappy shelves, for the home user :)
<lejonet>
gchristensen: or maybe you want my old magny cours server which the epyc is replacing? (serious question actually)
<samueldr>
when came time to build a new computer, last year, found out that buying a used/refurbished workstation was much cheaper; 2012-era E5 CPU around on-par with a then-contemprary i7, 64GB of ECC-ram, which only that would have cost as much as the full machine
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nixos
ixxie has joined #nixos
patron has quit [Quit: Konversation terminated!]
aborsu has joined #nixos
detran has quit [Ping timeout: 276 seconds]
ramses_ has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
coot has joined #nixos
<M-bbigras>
If I install packages as a user. Is there a config file like configuration.nix that would allow me to re-install all the packages with a single command on a new computer?
<brachiel>
How can I find all the hidden package-bundles like haskellPackages and nodePackages? Not the derivations in them but the bundles themselves?
coot has quit [Read error: Connection reset by peer]
ixxie has quit [Ping timeout: 240 seconds]
k0001 has quit [Ping timeout: 268 seconds]
<clever>
brachiel: i generally just tab-complete things inside `nix-repl '<nixpkgs>'`
<sphalerite_>
and I use nix-zsh-completions's completion
<NixOS_GitHub>
[nixpkgs] sifmelcara opened pull request #35420: glm: fix gcc 7.3 support (master...fix/slop) https://git.io/vAabQ
NixOS_GitHub has left #nixos [#nixos]
<brachiel>
clever, sphalerite_: Ah very nice, thanks
<skrzyp>
How can I keep NixOS configuration.nix and users' declarative nixpkgs environment together, as many people do on their Github profiles?
<sphalerite_>
brachiel: alternatively you can disable the hiding (although it makes nix-env -qa significantly slower) by putting something like self: super: {haskellPackages = super.recurseIntoAttrs super.haskellPackages; nodePackages = super.recurseIntoAttrs super.nodePackages; } in ~/.config/nixpkgs/overlays/unhide.nix
<sphalerite_>
skrzyp: symlinks?
<sphalerite_>
skrzyp: not sure what you mean by keeping them together
<tokudan[m]>
Bruno: short answer: no. long answer: it's something you'd have to write yourself
<brachiel>
sphalerite_: Yeah but then I would have to need to know about haskellPackages. My problem was to find the naming of nodePackages for version 8.
<clever>
brachiel: node<tab><tab> in nix-repl
<M-bbigras>
tokudan: fair enough. thanks!
<brachiel>
sphalerite_: Which turned out to be in nodePackages_8_x; but there was no way to find the name since it is hidden
<brachiel>
clever: Yes, found it that way, thank you :)
<M-bbigras>
I'm also wondering if there's something like Arch's AUR to have packages that are not included in the main packages repository. Like community packages.
<clever>
M-bbigras: overlays
<sphalerite_>
brachiel: fair enough
coot has joined #nixos
MichaelRaskin has joined #nixos
<LnL>
wtf, git bisect points me to a merge commit
<clever>
LnL: the problem might be caused by the combination of 2 other commits?, or a sloppy merge conflict fix?
<MichaelRaskin>
Well, given that merge conflict resolution can be arbitrary horror…
<LnL>
the merge commit is empty so I don't think there where any conflicts
<clever>
LnL: manualy test the 3 commits around it (one below, 2 above)
shabius has quit [Quit: Leaving]
coot has quit [Read error: Connection reset by peer]
<hyper_ch>
LnL: were you able to reproduce the issue?
<LnL>
maybe I'm looking at this wrong
<aminb>
quick question: user-manager kde app was just added to nixpkgs today, and is only present on master. However, I'm running nixos stable 17.09. Is there an idiomatic way for me to install user-manager on my stable setup?
<aminb>
clever: ty! that solved that issue. this time fetching the packages and the build did actually start but ultimately ended with a few errors, like "variable $src or $srcs should point to the source
<aminb>
and two "dependencies couldn't be built" errors
<clever>
aminb: i looked closer at the plasma stuff, and it deals with srcs in a bit of an odd way
<thoughtpolice>
ldlework: oh, urgh, my example on my laptop uses runCommand. This is actually covered in the nix-shell manpage for me at least... It's also how the -p flag works internally
<thoughtpolice>
When you say '-p foo', nix-shell evaluates something like
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andir pushed 1 new commit to release-17.09: https://git.io/vAVf9
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/release-17.09 ae0da40 Andreas Rammhold: mupdf: apply patch for CVE-2018-6544 (part 2)...
<thoughtpolice>
*That* expression is what results in the proper shell derivation. That is what you want. Then 'nix-shell -i python27 shell.nix' should work.
<thoughtpolice>
Alternatively this might be a Nix 2.0 feature, but I don't think so? Check the man page
<thoughtpolice>
nix-shell --help, at the end of "USE AS #!-INTERPRETER" section
Itkovian has joined #nixos
<symphorien>
ldlework: python instead of python27 works
<symphorien>
or python2.7
<ldlework>
I literally just found that too!
<ldlework>
niiice
<gchristensen>
ofborg's linuxs builders are having trouble right now, I'm resolving the situation now: http://nix.ci/status
ckauhaus has joined #nixos
Guest14732 is now known as Georgyo
Georgyo has quit [Changing host]
Georgyo has joined #nixos
Georgyo has quit [Changing host]
Georgyo has joined #nixos
<detran`>
when I ssh into my nixos box, pressing backspace doesn't actually move the cursor backwards
<detran`>
though it does appear to actually delete the character, the display just moves the cursor forwards as if I had pressed SPC
<symphorien>
export TERM=linux should help you temporarily
cinimod` has joined #nixos
ckauhaus has quit [Ping timeout: 252 seconds]
<detran`>
symphorien: what does that do? it doesn't appear to be doing anything with my quick check
<symphorien>
then export TERM=vt100 iirc
<detran`>
that did it!
Lisanna has joined #nixos
<pingveno>
I have a default.nix put together for nix-shell. It works fine, but the files that it depends on keep getting garbage collected. That includes some Oracle files that have to be manually added to the store. Is there a way to add the environment as a root or something of that nature?
<clever>
pingveno: i believe thats the right syntax to add a root
<symphorien>
to interpret special keys (backspace, Fn etc. whose implementation details depend on the terminal emulator) ncurses and co look for so called terminfo files describing each terminal emulator
<symphorien>
which terminal emulator you use is declared by the TERM variable
spear2 has quit [Remote host closed the connection]
<ldlework>
Can anyone help me install a python package from a private index?
szicari has quit [Quit: szicari]
Guest16700 is now known as pop
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] xeji opened pull request #35425: kubernetes: patch broken go version check (master...kubernetes-go-version) https://git.io/vAVT6
NixOS_GitHub has left #nixos [#nixos]
k0001 has joined #nixos
ottidmes has quit [Quit: WeeChat 1.9.1]
strobelight has quit [Ping timeout: 265 seconds]
<ldlework>
When pip installing from inside nix-shell: ValueError: ZIP does not support timestamps before 1980
<ldlework>
on every package
<ldlework>
lol
<ldlework>
smh
pie__ has quit [Ping timeout: 264 seconds]
BlessJah_ is now known as BlessJah
ckauhaus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master e349ccc Aristid Breitkreuz: nixos/alsa: Do not make sound.enable conditional on stateVersion....
<NixOS_GitHub>
[nixpkgs] aristidb pushed 1 new commit to master: https://git.io/vAVkH
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pxc has joined #nixos
ckauhaus has quit [Ping timeout: 240 seconds]
dnovosel has quit [Ping timeout: 255 seconds]
<srid>
I'm on nixos-unstable and today's channel update is b0rked. Is there a way to revert to the previous channel?
<jtojnar>
srid: nix-channel --rollback
<ldlework>
If I'm using nix-shell, and in my shell.nix package, I want to say, create a folder with a file in it, where does that go?
<ldlework>
how do I make things like that available to me once I'm in the shell?
<srid>
jtojnar: thanks.
<ldlework>
hm
<Acou_Bass>
srid: hows it b0rked? (mostly asking because mine seems to be too) xD
<skrzyp>
but I assume the Nixpkgs are updated only to the general release of XFCE and don't mind these changes yet
<samueldr>
Acou_Bass: assuming sddm hangs, if you switch vt and restart display-manager.service, does it start?
<skrzyp>
anyways, there are still many GTK2 applications out of the wild, so even when I use "gtk3-centric" environment, do I still need to face with these issues?
hiratara has joined #nixos
<skrzyp>
also, icon cache isn't dependent on any GUI toolkit, but it's not generated after installing the icons
<samueldr>
I'm having an intermittent issue with sddm on different computers where it will seemingly hang at boot, but restarting it works, no clue how to actually debug, though I think I should dump logs next time and at least track the issue, at least another user had the same issue
alex`` has quit [Ping timeout: 256 seconds]
<Acou_Bass>
samueldr: no i tried that
<ldlework>
OK I got all my dependencies and stuff running in nix-shell
<samueldr>
ah, then probably another issue :/
<ldlework>
but now my process breaks because of an IOERror broken pipe
<ldlework>
is there something special about nix-shell and networking...?
<Acou_Bass>
samueldr: yeah rolling back fixes it so maybe just a buggy sddm version
cinimod` has joined #nixos
<Acou_Bass>
or maybe gfx drivers/kernel? duno
<samueldr>
oh, forgot to mention, my issues are on 17.09, but still intermittent and only on two of my machines with shared config
<Acou_Bass>
ah im on nixos-unstable
<Acou_Bass>
its in the name i guess :D
<samueldr>
though, from memory, I had a similar issue using 17.03 and lightdm, which makes me think it isn't the DM which causes issues, *grumbles*
<skrzyp>
symphorien: I've updated the nixpkgs #13537 issue about that, which I've initially made ~2 years ago
deepfire has quit [Ping timeout: 260 seconds]
<skrzyp>
it's interesting how much effort you put into managing the font rendering declaratively (which is amazing, as most otr Linux distro don't give a crap), while other appearance-related stuff is still broken
Drakonis has quit [Read error: Connection reset by peer]
pkill9 has quit [Ping timeout: 240 seconds]
<taohansen>
Okay so I've managed to coerce fetchgitPrivate into fetching from my private repo and now have it available as a .drv: `(import ./sister.nix)` in `systemPackages`. is it also possible to install this derivation declaratively?
deepfire has joined #nixos
pkill9 has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]