<dramforever>
dhess: perhaps... can I have gchristensen's github username?
<dramforever>
I think this discussion should mainly go to that issue tbh
bobbypriambodo has joined #nixos
<joepie91>
dramforever: gchristensen is @grahamc on github, but iirc he has a lot on his plate already so make sure to only tag him if you need specifically him :)
<joepie91>
(as opposed to other nixos people)
<joepie91>
oh, I didn't realize that dhess suggested it
* joepie91
needs some sleep
erlandsona has joined #nixos
<erlandsona>
Hey all I've tried so many things now, starting to loose hope... lol trying to get 4k@60hz with NixOS and it's just not happening. When I try the services.xserver.videoDriver = [ "nvidia" ]; it'll build but reboot leads to http://nixpaste.lbr.uno/LwK0TOJm
<erlandsona>
anyone care to guide me in my tinkering?
<dramforever>
Hey
<dramforever>
Maybe you have display card auto-switching? Something like optimus?
<dramforever>
My previous laptop had that too. *None* of the nvidia drivers worked for me.
<dramforever>
Sigh...
<dramforever>
In the end I just used bumblebee, and ran graphics-heavy apps under iy
<dramforever>
*it
<erlandsona>
so I'm not familiar with bumblebee other than what I've read in the past few hours... does bumblebee work for 4k@60hz? That's the end goal with all this. Nouveau doesn't seem to support a 60hz refresh rate.
<dramforever>
That's what I don't know
<dramforever>
Sorry
<erlandsona>
It's alright, like I said, just tinkering.
joshuaks has quit [Ping timeout: 255 seconds]
<catern>
hmmmmm, what is the name of that fancy experimental language that hasn't actually been released yet, but had a really nice video demo for its editor, and said that it would calculate hashes of all expressions/functions "like Nix but for everything"
klntsky has joined #nixos
<erlandsona>
catern: are you talking about the lispy version of nix?
<catern>
no, not Guix
<erlandsona>
okay then I got nuthin.
<catern>
ah, unison
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vNkcy
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 546fa2e Peter Hoeg: browserpass: 2.0.7 -> 2.0.10
<samueldr>
no, project names clashes are bad! (unison file synchronizer tool)
klntsky has quit [Remote host closed the connection]
danl1240 has joined #nixos
<catern>
I can't find anything about Unison hashing all expressions, meh
pjan_ has joined #nixos
dramforever has quit [Ping timeout: 252 seconds]
jrolfs has joined #nixos
jrolfs__ has joined #nixos
dramforever has joined #nixos
dramforever has quit [Changing host]
dramforever has joined #nixos
iyzsong has joined #nixos
dramforever has quit [Client Quit]
<danl1240>
i see that nixpkgs/pkgs/applications/editors/atom exists in the github repo....... but "nix-env -qaP | grep -i atom" turns up nothing for me
<catern>
Basically, we have a language, and to evaluate an expression we: 1. Perform partial evaluation until we reach an expression in the pure subset of the language, 2. Recursively hash down the expression tree, attaching a Merkle hash to every subexpression, without evaluating it, 3. Evaluate the pure expression as normal, using the Nix store as a cache for expression results, indexed by the hash
<catern>
I think that's pretty accurate, right?
<catern>
(except in reality the first step is "evaluate the Nix language all the way until it turns into the pure low-level-derivation language"
<catern>
)
<joepie91>
danl1240: vscode *is* under an unfree license :P
<danl1240>
ah ok
<joepie91>
so that may be why it doesn't show up
<joepie91>
danl1240: (contrary to popular belief, the binary/official distribution of vs code is *not* actually open-source)
contrapumpkin has joined #nixos
<danl1240>
ok, I'll enable unfree.... where is my configuration.nix file ?
adc has joined #nixos
erlandsona has quit [Ping timeout: 260 seconds]
<danl1240>
do I have to create ~/.config/nixpkgs/config.nix just to set allowUnfree?
<nixy_>
Ummm, is anybody familiar with this issue? Whenever I try to run nix-env -qas, I get hundreds of lines of output saying that "download-from-binary-cache.pl: still waiting for 'https://cache.nixos.org/xxxxxx.narinfo' after 5 seconds ...".
<marlon_>
Hey, I am currently doing my first steps on Nodejs under nixos. Install packages/npm under nix-shell works. Is there a way to install packages Global or in a way so that I can call them by cli?
asuryawanshi has joined #nixos
capisce has quit [Ping timeout: 248 seconds]
alexteves has quit [Ping timeout: 265 seconds]
paraseba has quit [Ping timeout: 265 seconds]
capisce has joined #nixos
asuryawanshi has quit [Ping timeout: 268 seconds]
randomstrangerb has quit [Ping timeout: 248 seconds]
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrolfs__ has joined #nixos
alex`` has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh closed pull request #33528: wrapPythonPrograms: do not propagate disabling user site-packages to child-processes (staging...imp/pythonnousersite) https://git.io/vNTyV
NixOS_GitHub has left #nixos [#nixos]
pie__ has quit [Ping timeout: 255 seconds]
pie_ has quit [Ping timeout: 255 seconds]
jrolfs__ has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNk0K
<NixOS_GitHub>
nixpkgs/python-unstable dceec24 Frederik Rietdijk: python.pkgs.cytoolz: fix build
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vNkEZ
<NixOS_GitHub>
nixpkgs/staging 4bd2200 Frederik Rietdijk: Merge pull request #33557 from NixOS/python-unstable...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh deleted python-unstable at dceec24: https://git.io/vNkEn
NixOS_GitHub has left #nixos [#nixos]
simukis has joined #nixos
<chris|>
I'd like to turn a couple of shell script into a nixpkg, but I have (nor want to have) an upstream source. what is the appropriate way to declare this as a nix expression?
pjan_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNkEX
hgdcs55322 has quit [Read error: Connection reset by peer]
atopuzov[m] has joined #nixos
<chris|>
hyper_ch: is it possible to just omit the "src"? I'd prefer to just copy from ./filename to $out/bin
<hyper_ch>
no idea what you mean
musicmatze has quit [Remote host closed the connection]
hgdcs55322 has joined #nixos
jrolfs has quit [Ping timeout: 264 seconds]
i-am-the-slime has quit [Ping timeout: 252 seconds]
jrolfs__ has quit [Ping timeout: 256 seconds]
<chris|>
I mean I have the scripts in the same repo / directory as the nix expression file so I really have not need for a remote source
orivej has quit [Ping timeout: 265 seconds]
asuryawanshi has joined #nixos
<FRidh2>
chris|: have a look in pkgs/build-support/trivial-builders.nix The `runCommand` command is likely what you need. You may also be interested in `writeScriptBin`
<FRidh2>
hoverbear: maintenance morning ;)
<hoverbear>
:)
asuryawanshi has quit [Ping timeout: 264 seconds]
musicmatze has joined #nixos
coot has quit [Quit: coot]
la_putin has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vNkuL
<NixOS_GitHub>
nixpkgs/master f345f35 Frederik Rietdijk: python2.pkgs.ipython: 5.3.0 -> 5.5.0
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #33392: Use ncurses6 on all platforms (staging...update/darwin-ncurses6) https://git.io/vNecU
NixOS_GitHub has left #nixos [#nixos]
dbe_ has joined #nixos
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh created python-unstable (+2 new commits): https://git.io/vNkun
<NixOS_GitHub>
nixpkgs/python-unstable dec0c17 Frederik Rietdijk: python.pkgs.bleach: move expression
<NixOS_GitHub>
nixpkgs/python-unstable 331c44d Frederik Rietdijk: python.pkgs.ansicolors: 1.0.2 -> 1.1.8
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNkuC
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable 26f3f06 Frederik Rietdijk: python: bleach: 2.0.0 -> 2.1.2
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vNkuW
<NixOS_GitHub>
nixpkgs/release-17.09 2ed13cb Frederik Rietdijk: python: tornado: 4.5.2 -> 4.5.3...
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to release-17.09: https://git.io/vNkuV
<NixOS_GitHub>
nixpkgs/release-17.09 c574825 Frederik Rietdijk: python: typeguard: 2.1.3 -> 2.1.4...
NixOS_GitHub has left #nixos [#nixos]
<seanparsons>
mpickering: Ah, nuts.
a6a3uh has joined #nixos
vcunat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vNkuj
<NixOS_GitHub>
nixpkgs/staging e527eb0 Frederik Rietdijk: Revert "wrapPythonPrograms: do not propagate disabling user site-packages to child-processes"...
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Itkovian has joined #nixos
hotfuzz_ has joined #nixos
zarel has joined #nixos
Itkovian has quit [Client Quit]
orivej has joined #nixos
hotfuzz has quit [Ping timeout: 265 seconds]
amfl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vNkz2
<NixOS_GitHub>
nixpkgs/staging edd5be9 Jan Tojnar: meson: set checkPhase in setup hook
<NixOS_GitHub>
nixpkgs/staging d75f95d Jan Tojnar: packages using meson: remove unnecessary checkPhase
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/staging 49a45fb Vladimír Čunát: Merge #33311: meson: set checkPhase in setup hook
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat closed pull request #33311: meson: set checkPhase in setup hook (staging...meson-checkphase) https://git.io/vbpsK
NixOS_GitHub has left #nixos [#nixos]
jrolfs has joined #nixos
jrolfs__ has joined #nixos
Neo-- has joined #nixos
rihards has joined #nixos
a_lebedev has quit [Quit: leaving]
flox has joined #nixos
<flox>
hi guys, I have a couple of questions regarding nixops
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master ef04754 Vladimír Čunát: pdftk: fix build...
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vNkgf
NixOS_GitHub has left #nixos [#nixos]
<flox>
first, is it possible to use nixops to deploy servers that by themselves have no internet access, ie. download binary cache files etc. to the machine running nixops and copy it to the target?
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vcunat>
I assume you'll lose most (or all) advantages of nixops, and can use just nixos directly.
jensens has joined #nixos
pjan_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] mnacamura opened pull request #33561: Add skim 0.3.1 and its vim plugin (master...skim) https://git.io/vNkgG
NixOS_GitHub has left #nixos [#nixos]
a6a3uh has quit [Quit: Bye]
<vcunat>
(But I know almost nothing about nixops directly; I've been just using nixos for now.)
a6a3uh has joined #nixos
<hyper_ch>
vcunat: thank you
<jluttine[m]>
One of my disks isn't found at boot time. I made that disk an LV with LUKS inside it. I updated hardware configuration automatically. Is there something else I need to do. Seems like a bug?
<vcunat>
hyper_ch: what for? :-)
<arianvp>
How can I use a nixpkgs overlay in my nixos configuration?
<hyper_ch>
vcunat: fixing pdftk
<vcunat>
ah, the commenters before me solved it
a6a3uh has quit [Client Quit]
<arianvp>
I want to use a custom linux kernel on nixos
<Orbstheorem>
Hello, I'm configuring a remote server with nixos and an encrypted rootfs (not /boot). But GRUB is taking an insane amount of time to show up. I takes about 1 minute between GRUB Loading and Welcome to GRUB. it's been already about 10 minutes that it is stuck there. I Assume that eventually it's going to boot since I rebooted it yesterday just before going to bed and it was up this morning.
<Orbstheorem>
Do you have any idea on what could be causing such immense lag?
<flox>
vcunat: nixops still provides a lot of useful features imo, and since you need to only download/build a configuration once for identical machines, a deployment bastion host seems like a valid idea
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andir opened pull request #33563: Debian ucode update for CVE-2017-5715 (Spectre) (master...debian-ucode) https://git.io/vNkgH
NixOS_GitHub has left #nixos [#nixos]
<Orbstheorem>
IIRC it's a KVM Qemu-based server (liteserver.nl) and the nixos-17.03 minimal image boots normally. I can give you the config once it decides to boot up >.<
thc202 has joined #nixos
justanotheruser has quit [Ping timeout: 252 seconds]
jrolfs has quit [Ping timeout: 265 seconds]
jrolfs__ has quit [Ping timeout: 248 seconds]
<makefu>
hyper_ch: regarding default route, multiple interfaces are no problem as long as you explicitly set routes to the endpoints
<hyper_ch>
makefu: you're sure?
ma27 has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master c46523e Miguel Madrid Mencía: fpp: 0.7.1 -> 0.7.2
<hyper_ch>
makefu: my approach is to figure out what current default gateway and interface is and use to that for new default and then when powering down restore again
ma27 has joined #nixos
<hyper_ch>
so it should work on all interfaces etc....
<makefu>
hyper_ch: for some reason, openwrt does the right thing and explicitly sets routes to the gateways
<hyper_ch>
makefu: don't know :)
FRidh2 has quit [Quit: Konversation terminated!]
<hyper_ch>
what also would be awesome if you could push from the server config
<NixOS_GitHub>
nixpkgs/release-17.09 b77ee43 André-Patrick Bubel: pythonPackages.jsonrpclib-pelix: init at 0.3.1...
NixOS_GitHub has left #nixos [#nixos]
<fearlessKim[m]>
like there is 'stripHash' is there a 'stripVersion' ?
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 265 seconds]
ma27 has quit [Ping timeout: 255 seconds]
ma27 has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jluttine has joined #nixos
anon9999 has joined #nixos
<anon9999>
hello
<anon9999>
I cannot seem to login into GNOME via GDM when I have my user added via configuration.nix, yet when I use adduser I can. how can I resolve this?
jrolfs__ has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 248 seconds]
phreedom has joined #nixos
<vcunat>
fearlessKim[m]: on nix level you have builtins.parseDrvName
macslayer has quit [Quit: Konversation terminated!]
pkill9 has joined #nixos
jrolfs__ has quit [Ping timeout: 248 seconds]
XgpcX_ has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
<globin>
srhb: ack
XgpcX_ has quit [Remote host closed the connection]
macslayer has joined #nixos
hamishmack has quit [Ping timeout: 265 seconds]
markus1189 has joined #nixos
<Aleksejs>
andi-: if you mean networkmanager_dmenu then I use it, but it doesn't offer to add any connection. It can open nmtui which doesn't offer to add a VPN
Czen has joined #nixos
<andi->
Aleksejs: via the nm-applet (gtk frontend) I am able to add PPTP connections (no idea if they would work). Via nmtui I can't..
<andi->
probably not supported by the plugi
<andi->
n
i-am-the-slime has quit [Ping timeout: 265 seconds]
<jluttine>
can i somehow build a package in nixpkgs? i tried `nix-build -A somepackage` but it complained i don't have default.nix.. well, i just want to build the package in nixpkgs as it is
i-am-the-slime has quit [Ping timeout: 255 seconds]
_c_ has quit [Remote host closed the connection]
_c_ has joined #nixos
dupndrop_ has joined #nixos
<vaibhavsagar>
mpickering: same thing as last time, trying to link with a different version of ld
<vaibhavsagar>
mpickering: actually that's wrong, I want to compile with a gcc that has crtbeginT.o replaced with crtbeginS.o
<vaibhavsagar>
I thought I had gotten it working, but I was wrong
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
Baughn has joined #nixos
<imagio>
I'm having trouble mounting a cifs share as read/write for anybody but root. I have tried setting uid, dir_mode, file_mode options but nothing seems to change the permissions when mounted. Here is the relevant bit of my configuration.nix https://gist.github.com/anonymous/98dc0abcc997262b1e47f6a7bb0acb36
<imagio>
The mount always seems to belong to uid 109 and gid 1000 neither of which exist
<hoverbear>
Hmmm, running random binaries on nixos is harder than I expected
jrolfs__ has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
<mpickering>
bgamari: I still don't see at what stage it goes wrong precisely?
<mpickering>
vaibhavsagar: ok, and does that override work properly?
<tilpner>
hoverbear - Look at steam-run, for a way to run unpatched binaries
<hoverbear>
Hmmm okay
<hoverbear>
Thanks
<Li[m]>
I guess there couldnt be device files in the nix store. right?
<hoverbear>
tilpner: I was playing with FHS but only getting segfaults :(
<mojjo>
I'm using fetchgit, which gives me a derivation containig files from a github repo. The repo includes some source files and a default.nix, which conatins a function that produces a derivation. How can I build the package from inside a configuration.nix file? If the file was local I'd just use callPackage ./project/default.nix {}; But how does this work in this case?
<tilpner>
hoverbear - What are you trying to run? It shouldn't be a problem, and if steam-run is missing deps, you can add them too
michaelpj_ has joined #nixos
<hoverbear>
tilpner: I've got a random indie game I'm trying to fire up :-P I am waiting for steam-run to install now
<tilpner>
hoverbear - I'm just mentioning steam-run as a quick way to get an FHS, you don't need specifically steam-run
paraseba has joined #nixos
<tilpner>
hoverbear - But for a game, steam-run is perfect. It already includes game-specific libraries
orivej has joined #nixos
Lisanna has quit [Ping timeout: 260 seconds]
<hoverbear>
Perfect thank you :-)
<hoverbear>
Still getting my sea legs with nixos
srid1 is now known as srid_
srid_ is now known as srid__
<tilpner>
mojjo - (let repo = fetchFromGitHub { ... }; in import repo <args to that function here>)
i-am-the-slime has joined #nixos
sellout- has joined #nixos
<tilpner>
mojjo - You can also use callPackage here, but I would need to know what function/repo it is, to tell if it'll be able to provide all arguments by itself
orivej has quit [Ping timeout: 240 seconds]
<mojjo>
tilpner: thx, that seems to work!
<bgamari>
mpickering, the problem is that doJailbreak appears to lift the setup-depends bounds as well as build-depends
jensens has quit [Ping timeout: 240 seconds]
alexteves has joined #nixos
mojjo has quit [Ping timeout: 265 seconds]
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sellout- has quit [Quit: Leaving.]
bfrog_ has joined #nixos
i-am-the-slime has quit [Ping timeout: 255 seconds]
jrolfs__ has joined #nixos
jrolfs has joined #nixos
<pkill9>
hmm got an address boundary error with transmission-gtk
<pkill9>
which crashes it
pie__ has joined #nixos
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko pushed 1 new commit to master: https://git.io/vNk9E
<NixOS_GitHub>
nixpkgs/master 27459e2 Yegor Timoshenko: pidgin: build with cyrus_sasl for SASL in IRC and XMPP...
NixOS_GitHub has left #nixos [#nixos]
michaelpj_ has quit [Read error: Connection reset by peer]
brodul has quit [Ping timeout: 240 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
macslayer has quit [Remote host closed the connection]
macslayer has joined #nixos
CrazedProgrammer has quit [Ping timeout: 240 seconds]
CrazedProgrammer has joined #nixos
orivej has joined #nixos
<AlanPearce[m]>
I can't seem to get nixops to make even a trivial deployment using the "none" backend. I end up with many lines like `trivial> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 3: use: command not found` when I run nixops deploy, which would imply that `switch-to-configuration` is being executed as a shell script instead of a perl file. Any ideas why this might be happening? I've tried nixops 1.5.2 and
<AlanPearce[m]>
1.6pre2276_9203440
michaelpj_ has joined #nixos
brodul has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<hoverbear>
tilpner: Got a lot farther with steam-run, but it can't seem to find my libGL driver :(
<hoverbear>
tilpner: Initial test shows it doesn't help :
pie_ has quit [Ping timeout: 265 seconds]
pie__ has quit [Ping timeout: 265 seconds]
<tilpner>
hoverbear - If you want, I could try running that game locally. It's a little easier to debug when it's not over IRC
<hoverbear>
tilpner: Can't really share it :(
Arcaelyx has joined #nixos
<tilpner>
Aww
<hoverbear>
I wish I could lol
jrolfs__ has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 248 seconds]
sigmundv__ has joined #nixos
jrolfs__ has joined #nixos
jrolfs has joined #nixos
dan_b has joined #nixos
macslayer has quit [Ping timeout: 256 seconds]
jrolfs__ has quit [Ping timeout: 260 seconds]
jrolfs has quit [Ping timeout: 265 seconds]
zarel has quit [Quit: Leaving]
<sphalerite>
hoverbear: I've had that issue with some steam games, let me know if you get anywhere
klntsky has quit [Remote host closed the connection]
rogue_koder has quit [Quit: Konversation terminated!]
dan_b has quit [Ping timeout: 260 seconds]
klntsky has joined #nixos
<hyper_ch>
anyone using GateOne on nixos?
rogue_koder has joined #nixos
<hoverbear>
sphalerite: Hmmm *nods* I see some issues related to nvidia cars but I'm intel
<infinisil>
nvidia makes cars now :OO
a6a3uh has quit [Quit: Bye]
i-am-the-slime has joined #nixos
hiroshi has quit [Read error: Connection reset by peer]
alex`` has quit [Ping timeout: 252 seconds]
m0rphism has joined #nixos
<sphalerite>
infinisil: full-on cars? Not just entertainment systems for cars?
alex`` has joined #nixos
<infinisil>
sphalerite: (haha it was a joke, read hoverbear's msg closely :))
<sphalerite>
Ooooh
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<Dezgeg>
bgamari: I guess not, but I think it should since it's like, the entire point of 'make check' to run the testsuite of the program that was just compiled
<sphalerite>
But according to the internet they are working on self-driving cars
<infinisil>
OHh rly
<Czen>
self-immolating cars
hgdcs55322 has quit [Read error: Connection reset by peer]
<NixOS_GitHub>
[nixpkgs] yegortimoshenko pushed 1 new commit to release-17.09: https://git.io/vNk5H
<hoverbear>
sphalerite: Do your games have wrappers? Turns out mine had a bash script that was screwing up some env vars
joshuaks has quit [Ping timeout: 265 seconds]
bfrog_ has quit [Ping timeout: 252 seconds]
dywedir has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Ping timeout: 248 seconds]
i-am-the-slime has quit [Ping timeout: 255 seconds]
asuryawanshi has quit [Ping timeout: 252 seconds]
zzamboni has joined #nixos
a6a3uh has joined #nixos
jrolfs__ has quit [Ping timeout: 252 seconds]
jrolfs has quit [Ping timeout: 260 seconds]
crucialrhyme has joined #nixos
<sphalerite>
hoverbear: I'll check, thanks for the suggestion!
<hoverbear>
Solution was to just run the darn thing directly
<crucialrhyme>
if i want to take a .nix file from nixpkgs, make some changes (for a new version) and then build and install the new version, what's the best way to do that?
hiroshi has joined #nixos
alexteves has quit [Remote host closed the connection]
justanotheruser has joined #nixos
alexteves has joined #nixos
<tilpner>
crucialrhyme - With the right overlay, it's just cp ~/dev/nixpkgs/pkgs/.../default.nix /cfg/nixos/pkgs/name.nix, and now "name" is replaced with the new version everywhere on my system
<tilpner>
Now I can make changes to name.nix, and use nix-build and nix-shell to test them
<tilpner>
(This could be automated more with setting EDITOR for nix edit)
<crucialrhyme>
tilpner: what do you mean by "with the right overlay?"
<tilpner>
Do you know what an overlay is in this context?
<crucialrhyme>
i know mozilla has one for rust. that is the extent of overlay knowledge
<tilpner>
You can have an overlay that imports every file under ./pkgs as its own package. If it has the same name as an existing package, it is "overlayed"/shadowed/replaced by the new package
<crucialrhyme>
is there an example of how to do that?
i-am-the-slime has joined #nixos
<tilpner>
I'm not aware of one, but I can help you with it
<crucialrhyme>
or, alternately, could i (in this example) just override a bunch of the stuff in the default.nix for the package i'm interested in (which is Mathematica)
<tilpner>
But where is that default.nix?
<tilpner>
Most people use channels, so default.nix is read-only somewhere in /nix/store
<tilpner>
No, I know where the repo is, but where is it on your local machine?
<crucialrhyme>
so (as in the manual page you sent me) if i can change the "version" field to "11.3.0_Prerelease2"
<crucialrhyme>
and the src field to a new installer that i can add to my nix-store
ryanartecona has joined #nixos
<tilpner>
Then others use a local checkout of the entire nixpkgs repo, but that requires you to maintain that clone, pull periodically, etc.
<crucialrhyme>
i think... that would do it? are there problems here i'm not anaticipating?
Tobba has quit [Quit: Leaving]
Tobba has joined #nixos
<crucialrhyme>
in other words the way they override boost on that manual page, i could do like mathematica = super.mathematica.override { version = "11.3.0_Prerelease2" ... } and so on?
macslayer has joined #nixos
<tilpner>
That's not what you asked for. Overriding is not editing the default.nix. If you just want a different version (or different attrs), overriding is good though, you don't need to edit default.nix
flox has quit [Quit: Page closed]
<crucialrhyme>
thank you! that is indeed an important distinction.
<tilpner>
Oh, but mathematic doesn't download it for you, from what I can tell
<tilpner>
Do you already have another mathematica version installed?
<crucialrhyme>
i have the installer and can add it to the nix store
<crucialrhyme>
and get the hash etc
<tilpner>
Okay, do that
<crucialrhyme>
so the thing to do here is just override, and circa 2018 the right way to override is by doing it in an overlay?
<tilpner>
Correct
<crucialrhyme>
thank you!
<tilpner>
Then you want mathematica = super.mathematica.overrideAttrs (old: { src = requireFile { ... sha256 = "..."; }; });
<tilpner>
Alternatively, .overrideAttrs (old: { src = ./Mathematica_..._LINUX.sh; }) should work too
<alexteves>
what's the bare minimum to use virtualbox in my nixos for local testing? added "environment.systemPackages = [ virtualbox ];" and "services.virtualbox.host = { enable = true };" but I get a popup with this error: https://pastebin.com/E2YKH111
<crucialrhyme>
tilpner: what does the "old" parameter do?
<crucialrhyme>
or, i guess, why does overrideAttrs expect a function?
<tilpner>
crucialrhyme - Nothing in this case. It contains the previous attributes. The new attributes will be old // { ... }, where { ... } is the attrset you return from that function
<tilpner>
crucialrhyme - You could e.g. add a nativeBuildInput that way. .overrideAttrs (old: { nativeBuildInputs = old.nativeBuildInputs ++ [ foo ]; })
<crucialrhyme>
is there a difference between that and the override function shown in the boost example from the manual? are they intended for different purposes?
<tilpner>
Yes, .override doesn't change attributes of a derivation at all
<tilpner>
.override instead allows you to undo a function call, then redo it with altered arguments
<tilpner>
(It doesn't undo anything, I guess)
ThatDocsLady has quit [Ping timeout: 265 seconds]
<crucialrhyme>
i see. so .override is for things that would be passed in, like all the dependencies that are arguments
<crucialrhyme>
overrideAttrs is for the "hardcoded" variables, so to speak
hotfuzz_ is now known as hotfuzz
zzamboni has quit [Quit: Leaving.]
<tilpner>
E.g. if you have f = makeOverridable ({x, y}: { result = x + y; })
<tilpner>
Then (f { x = 20; y = 2; }).result will be 22
<tilpner>
And ((f { x = 20; y = 2; }).override { x = 40; }).result will be 42
danl1240 has joined #nixos
<bpa>
hello alexteves, I don't think you need virtualbox in systemPackages, i don't have it and it works
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<dhess>
LnL: hi. I see references and links in Google searches here and there to a "tail-reload" functionality for log tails, but I don't see it in any of my Hydra's log pages. Is that supposed to work?
<LnL>
hmm, I do remember that the nixos.org instance used to reload the log automatically
<LnL>
maybe that broke with the s3 log changes
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #33580: binutils: support custom ld (master...feature/binutils-custom-ld) https://git.io/vNkhg
<gchristensen>
it wouldn't be so different than the one I have now :$
Guest97552 has joined #nixos
<infinisil>
I'd like these generations to be named after my commit messages
<andi->
o.O I accumulate around 100GB of stuff in /nix/store eaech week o.O
<infinisil>
it's not very useful to have 200 generations to boot from, each named 1, 2, etc.
<LnL>
gchristensen did add the nixpkgs revision and nixos version in 17.09
<gchristensen>
infinisil: I think you can get extra data in there...
<LnL>
(in the boot menu)
<infinisil>
Ah yeah
<infinisil>
Where is this specified?
<adisbladis>
andi-: Maybe you are running off master?
<Guest97552>
What software is there in nixpkgs that one can use as an alternative to Google Drive? (To sync and backup files across devices)
<andi->
adisbladis: yes
<adisbladis>
I find that running off master + running a lot of nox-reviews makes /nix/store pile up quickly
<LnL>
perhaps we could do something similar in a nixos-* command, since there's currently nothing for that except for nix-env -p /nix/var/nix/profiles/system
asuryawanshi has quit [Ping timeout: 246 seconds]
<infinisil>
Guest97552: I hear a lot of people using Syncthing
<Guest97552>
Thanks!
<infinisil>
LnL: nixos-rebuild has the --profile-name argument
<LnL>
yes, but it can't list generations, right?
<infinisil>
can't you list them with nix-env too?
<LnL>
yes, if you pass that confusing -p flag
randomstrangerb has quit [Ping timeout: 268 seconds]
<LnL>
nixos-generations or whatever could do that for you and add some nice info like the kernel version etc. to the profile listing
<infinisil>
Ah there we go: sudo nix-env --list-generations -p /nix/var/nix/profiles/system
randomstrangerb has joined #nixos
<gchristensen>
adisbladis, andi- I don't do that :)
<dhess>
LnL: ugh that blows
stepcut has joined #nixos
<gchristensen>
infinisil: system.nixosLabel
<infinisil>
Oh sweet
<gchristensen>
that is where "17.09" comes from in the bootloader menu
<dhess>
I hate when commits don't mention something that was changed/removed/added
<dhess>
which is orthogonal to what the commit message says was the intent of the commit
<infinisil>
Now I only need some nix function to parse commit subjects.. :/
<dhess>
It doesn't have to be in the one-liner, but at least put it below the fold.
<gchristensen>
set that to /!\ /!\ pseudo-code ahead /!\ /!\ builtins.readFile pkgs.runCommand "hi" {} "cd {./}; ${pkgs.git}/bin/git show HEAD"
<infinisil>
ohhh right
<dhess>
I don't understand the obsession with one-line commit messages.
<Philonous>
I added "firefox" to my environment.systemPackages and ended up with a nightly build, how do I change to the stable branch?
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
<adisbladis>
Philonous: It is the stable release. Just not with official branding.
<adisbladis>
We are not allowed to build Firefox from source and keep the Firefox branding.
<Philonous>
Ah, but calling it "Nightly" us confusing.
<Philonous>
is*
<Philonous>
But anyway, it's supposed to be called "Nightly" then?
Guest97552 has quit [Quit: leaving]
<rnhmjoj[m]>
Philonous: you can build it yourself though. firefox.override { enableOfficialBranding = true; }
<Philonous>
No, that's fine. I don't care about the name. I was just confused.
<adisbladis>
Philonous: Yes. Iirc thats always the default branding when building from source.
<Philonous>
OK thanks
<adisbladis>
Philonous: We also have firefox-bin which are the official firefox builds from mozilla
<Philonous>
Good to know
reinzelmann has joined #nixos
<gchristensen>
it'll be soon called just "firefox" soon for our source builds :)
<AntonLatukha[m]>
SInce even Debian moved from Iceweasel browser branding to Firefox. I don't know if this branding question is still justified. Issue happened more than 10 years ago.
<gchristensen>
it is, AntonLatukha[m], Debian got explicit approval to name it Firefox.
<dhess>
LnL: do any of these new cacert things you're pusing making it possible to add certs to the bundle via a function argument?
<dhess>
I whipped something up to do that but it involves overriding the installPhase attribute. It works, but it would be nice if it were less fragile.
vcunat has quit [Quit: Leaving.]
MinceR has quit [Ping timeout: 264 seconds]
<LnL>
no, cacert now sets the variable for you if you include it as a buildInput
johbo_ has quit [Ping timeout: 260 seconds]
jrolfs has quit [Ping timeout: 248 seconds]
jrolfs__ has quit [Ping timeout: 248 seconds]
knupfer has quit [Ping timeout: 246 seconds]
bfrog_ has joined #nixos
MinceR has joined #nixos
johbo has joined #nixos
<LnL>
mainly to fix nix-shell -p cacert, but it also makes using it a bit nicer
<dhess>
it would be nice to be able to pass a list of additional certs to add to the bundle, a bit like you can blacklist certain certs.
<dhess>
Maybe I will work on a patch for that
nithor has joined #nixos
<LnL>
do you know about the nixos options?
<dhess>
LnL: Maybe? I recall trying to look for a way to do this and not being satisfied with whatever was there
<LnL>
nixos-option security.pki.certificateFiles
<dhess>
dimly remember something like, it worked in some cases but not others
<LnL>
and friends
<dhess>
yeah I think that was it
<LnL>
ofcorse that won't work within a build, for obvious reasons
<dhess>
I currently use this for 2 things: 1) to override fetchgit so that it will not complain when I fetchgit against a private server that uses my own CA
hamishmack has joined #nixos
actress has joined #nixos
<dhess>
and 2) on my Macs, to whitelist my Hydra binary cache (the Hydra also uses a cert from my own CA)
<dhess>
I haven't tried the security.pki.certificateFiles thing with the Macs (probably won't work as it's NixOS?) and it did not work with fetchgit on NixOS if I recall correctly. I guess because it is during the build.
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<dhess>
anyway I have a little overlay function that I use for this purpose and that works, but it's fragile as it assumes that cacert.installPhase works a certain way
nithor has quit [Ping timeout: 265 seconds]
<dhess>
easy enough to put together a PR with the change to make it official
reinzelmann has quit [Quit: Leaving]
hamishmack has quit [Client Quit]
hamishmack has joined #nixos
<srhb>
Sounds interesting!
i-am-the-slime has joined #nixos
<dhess>
I mentioned the other day that sometimes nix-prefetch-url gives me a different hash than nix-build expects, and someone here said, "Do you have any examples?" I have one now but can't recall who it was who asked
<samueldr>
that's why fetchfromgithub hashes the extracted contents (IIRC)
zzamboni has quit [Quit: Leaving.]
<dhess>
samueldr: oh well that would explain it
<samueldr>
I know for a fact that those generated archives changes
<dhess>
so it would be nice to have a nix-prefetch-fromgithub or equivalent from the command line then
<samueldr>
but not often
<LnL>
yes, fetchurl != fetchzip
<LnL>
dhess: nix-prefetch-url -A is also a thing IIRC
<dhess>
samueldr: in my experience it happens fairly often
<dhess>
LnL: that flag isn't in the man page, anyway
<samueldr>
maybe it changed in the past years
<dhess>
well anyway when I evaluate this tarball in the actual build I get the hash 07hdv2h12gsgafxsqqr7b0fir10rv9k66riklpjba2cg6x0p2nr4
zzamboni has joined #nixos
<dhess>
so that's an example of where they don't match up
<dhess>
LnL: I expect the nix-build hash to show the latter but let me do that now
jrolfs__ has quit [Ping timeout: 252 seconds]
<LnL>
since it's a fetchzip you'll want nix-prefetch-url --unpack
<dhess>
well that's good to know
<LnL>
nix-build --hash uses the expression so that will do the correct thing
jrolfs has quit [Ping timeout: 265 seconds]
<dhess>
that should be documented somewhere that you should use that with things you're fetchFromGitHub'ing :)
<dhess>
let me try that now
malteof[m] has joined #nixos
themistocle[m]2 has joined #nixos
rihardsk[m] has joined #nixos
corngood has joined #nixos
mirlur[m] has joined #nixos
tokudan[m] has joined #nixos
paperdigits[m] has joined #nixos
grahamc has joined #nixos
Pneumaticat has joined #nixos
spacekitteh[m] has joined #nixos
Yaniel has joined #nixos
<dhess>
so like, 'nix-prefetch-from-github' could be an easy 1-line script/alias
nithor has quit [Ping timeout: 265 seconds]
<dhess>
LnL: perfect, that produced the right hash
<dhess>
I will add a script to my nix environment :)
Ralith_ has joined #nixos
<dhess>
samueldr: so now I must retract my statement that the hashes on Github tarballs change "fairly often." The problem I was having was due to not knowing that fetchFromGitHub was hashing the unpacked product.
<LnL>
this stuff is the reason I really don't like nix-prefetch-url, you won't notice the hash is completely incorrect unless you run nix-build -A foo.src --check or when stuff breaks
LiuWeiHua[m] has joined #nixos
feepo has joined #nixos
kiliankoe has joined #nixos
pcarrier has joined #nixos
bobvanderlinden_ has joined #nixos
M-berdario has joined #nixos
seif_madc[m] has joined #nixos
danielrf has joined #nixos
sa1 has joined #nixos
regnat[m] has joined #nixos
Elephant454[m] has joined #nixos
Vincenzo[m] has joined #nixos
sargon[m] has joined #nixos
dtulig has joined #nixos
Singularity[m] has joined #nixos
grenade has joined #nixos
ycy[m] has joined #nixos
fgaz[m] has joined #nixos
Dezgeg[m] has joined #nixos
spawnthink[m] has joined #nixos
tobim[m] has joined #nixos
<dhess>
LnL: but what is the alternative? Waiting for a build to break and then re-committing to git with the proper hash sucks.
LiuWeiHua[m] has quit [Changing host]
LiuWeiHua[m] has joined #nixos
<dhess>
not to mention needing to re-download the tarball or whatever.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/release-17.09 b5624a5 Peter Hoeg: syncthing: 0.14.41 -> 0.14.42...
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 2 new commits to release-17.09: https://git.io/vNIJ6
<NixOS_GitHub>
nixpkgs/release-17.09 d64ac35 Peter Hoeg: syncthing: 0.14.40 -> 0.14.41...
NixOS_GitHub has left #nixos [#nixos]
i-am-the-slime has quit [Ping timeout: 252 seconds]
<LnL>
I've found a bunch of issues with packages because of that
bfrog_ has quit [Ping timeout: 240 seconds]
qewzee has quit [Ping timeout: 240 seconds]
layus has quit [Ping timeout: 240 seconds]
actress has quit [Quit: WeeChat 2.0]
spietz has quit [Ping timeout: 252 seconds]
qewzee has joined #nixos
layus has joined #nixos
i-am-the-slime has joined #nixos
nithor has joined #nixos
a6a3uh has joined #nixos
actress has joined #nixos
<actress>
I think I screwed up my SSL configuration somehow. any tips for getting out of this mess besides rolling back?
zzamboni has quit [Quit: Leaving.]
<actress>
curl isn't able to make requests to nixos.org, but I can with httpie. since nixos-rebuild is going to use cURL to fetch the channel info, I can't upgrade. :(
<actress>
this is when I make a request to nixos.org. most SSL sites have the same behaviour, but not all.
zzamboni has joined #nixos
<LnL>
find a ca-bundle.crt in your previous profiles and set SSL_CERT_FILE
zzamboni has quit [Client Quit]
<actress>
thanks, I'll try that!
i-am-the-slime has quit [Ping timeout: 255 seconds]
zzamboni has joined #nixos
rogue_koder has quit [Read error: Connection reset by peer]
rogue_koder has joined #nixos
rogue_koder has quit [Client Quit]
jrolfs__ has joined #nixos
<LnL>
something like /nix/var/nix/profiles/system-XXX-link/etc/ssl/certs/ca-bundle.crt
jrolfs has joined #nixos
rogue_koder has joined #nixos
rogue_koder has quit [Client Quit]
rogue_koder has joined #nixos
joshuaks has quit [Ping timeout: 255 seconds]
i-am-the-slime has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
<actress>
didn't help, but I really expected it to :|
jrolfs has quit [Ping timeout: 256 seconds]
<actress>
other sites, like github, hang during the handshake without even getting to error. does that still indicate the same problem?
jrolfs__ has quit [Ping timeout: 264 seconds]
nithor has joined #nixos
bfrog_ has joined #nixos
thaega has joined #nixos
m0rphism has quit [Quit: WeeChat 1.9.1]
zzamboni has quit [Quit: Leaving.]
<samueldr>
actress: I wouldn't think it's the issue, but is the date/time right on the device? (it does cause issues when the date/time is awfully wrong)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vNITe
<NixOS_GitHub>
nixpkgs/master 5491aaa Michael Raskin: pythonPackages.marionette_driver: 2.3.0 -> 2.5.0
NixOS_GitHub has left #nixos [#nixos]
<actress>
great idea, but the clock is correct
<actress>
is there another way for me to build a known-working ca-bundle.crt?
i-am-the-slime has quit [Ping timeout: 265 seconds]
<infinisil>
Um, is there no way to have an --arg to nixops?
<infinisil>
Ah I see, nixops#692 mentions nixops set-args
<NixOS_GitHub>
nixpkgs/master 00cf3ad adisbladis: Merge pull request #33582 from rnhmjoj/electron...
<Orbstheorem>
I solved my problem with hell slow grub, I set boot.loader.grub.splashImage to null. Probably not a real solution, but since this is a server I don't care about the logo ¯\_(ツ)_/¯
phreedom has joined #nixos
sellout- has quit [Quit: Leaving.]
<dhess>
LnL: do you test nix-darwin with the nixpkgs-17.09-darwin channel?
<LnL>
yes, I do
<dhess>
excellent.
<dhess>
thanks, btw, for the overlays support! Perfect timing :)
joelpet has quit [Ping timeout: 265 seconds]
<LnL>
heh, I should have added that a long time ago
Itkovian has joined #nixos
jrolfs has quit [Ping timeout: 264 seconds]
jrolfs__ has quit [Ping timeout: 264 seconds]
joshuaks has joined #nixos
nithor has joined #nixos
Turion has left #nixos [#nixos]
<LnL>
feel free to bug me with questions, it's a good motivation to fix/improve things :)
<infinisil>
Oh man, this is so much nicer now with a proper nixosLabel set
<dhess>
LnL: the user creation thing on 10.13.2 would be the place to start :)
<dhess>
could be, I think that got skipped in my case because I'd already installed nix
<dhess>
in multi-user mode
<dhess>
Anyway I'm about to try this again on my Hydra remote builder. I'll just skip the user creation stuff for now as I've created one by hand
joshuaks has quit [Ping timeout: 265 seconds]
<samueldr>
infinisil: what's the label looking like?
isidore has quit [Quit: WeeChat 2.0.1]
<infinisil>
samueldr: If my config is non-dirty: `9e5e190-nixpkgs-mozilla-update` where the number is the prefix of the commit hash and the other is the (truncated) subject line
<infinisil>
If it's dirty: 2h7i3db-dirty-350d172-improved-nixosLabel-and-nix, where the first number is a truncated hash of my config directory
<rnhmjoj[m]>
is there a IN_NIX_SHELL equivalent for the new `nix run` command?
<samueldr>
srid__: you're looking to host where exactly?
fyuuri has quit [Ping timeout: 240 seconds]
dupndrop_ has quit [Read error: Connection reset by peer]
dupndrop_ has joined #nixos
alexteves_ has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
jrolfs__ has joined #nixos
nextloop has left #nixos ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
jrolfs has joined #nixos
<infinisil>
nixpkgs#32969 is blocking me from upgrading because ghc-mod, which I'm using for my emacs Haskell autocompletion, depends on cabal-helper :(