michalrus has quit [(Quit: leaving)]
b100d has quit [(Quit: leaving)]
filterfish has joined #nixos
michalrus has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #21110: tigervnc: fix missing Xvnc (xauth) (master...tigervnc) https://git.io/v1idb
LnL has quit [(Read error: Connection reset by peer)]
LnL has joined #nixos
isHavvyGhosting is now known as Havvy
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #21111: goBuildPackage: remove go version from name (master...go-plain-name) https://git.io/v1iFH
goibhniu has quit [(Ping timeout: 245 seconds)]
markus1199 has joined #nixos
erasmas has quit [(Quit: leaving)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sheenobu has quit [(Ping timeout: 252 seconds)]
sdothum has joined #nixos
markus1189 has quit [(Ping timeout: 256 seconds)]
viric_ has joined #nixos
viric has quit [(Ping timeout: 240 seconds)]
digitus has quit [(Quit: digitus)]
jmeredith has quit [(Quit: Connection closed for inactivity)]
viric_ has quit [(Ping timeout: 246 seconds)]
MinceR has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
eacamero_ has quit [(Ping timeout: 250 seconds)]
viric has joined #nixos
acowley is now known as acowley_away
acowley_away is now known as acowley
systemfault has quit [(Quit: Bye!)]
[0x4A6F] has quit [(Ping timeout: 246 seconds)]
[0x4A6F] has joined #nixos
sheenobu has joined #nixos
himmAllRight has joined #nixos
<himmAllRight> Hi everyone! does anybody know the format I need for boot.loader.grub.extraEntries? I am trying to dual boot with an already installed ubuntu mate instance
Shou has quit [(Ping timeout: 258 seconds)]
MinceR has joined #nixos
<AtnNn> himmAllRight: my `extraEntries' just contains a grub menuentry
<himmAllRight> AtnNn: just as a string?
viric_ has joined #nixos
<himmAllRight> Thanks
viric has quit [(Ping timeout: 265 seconds)]
xwvvvvwx has quit [(Ping timeout: 250 seconds)]
Rotaerk has joined #nixos
viric has joined #nixos
viric_ has quit [(Ping timeout: 250 seconds)]
viric_ has joined #nixos
viric has quit [(Ping timeout: 268 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
eacameron has quit [(Remote host closed the connection)]
sdothum has joined #nixos
eacameron has joined #nixos
redmq has quit [(Ping timeout: 250 seconds)]
Wizek has joined #nixos
Wizek_ has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
systemfault has joined #nixos
eacameron has joined #nixos
filterfish has quit [(Ping timeout: 250 seconds)]
nh2_ has quit [(Ping timeout: 256 seconds)]
echo-area has joined #nixos
jazzencat has joined #nixos
modulistic has quit [(Ping timeout: 250 seconds)]
thc202 has quit [(Ping timeout: 268 seconds)]
<jazzencat> If I get NixOS successfully installed on a VM, can I then take that configuration and clone the setup to a physical machine?
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<simpson> jazzencat: You can take the configuration.nix and use that to build your NixOS environment on a physical machine.
<simpson> jazzencat: Taking the *exact* expression from your VM is not the best idea, because your VM might have e.g. the wrong kernel or wrong networking configuration.
<angerman> how would I create a shell with postgresql in it? Ideally spinning up postgres upon entering the shell and shitting it down upon exiting.
rardiol has quit [(Ping timeout: 258 seconds)]
<AtnNn> angerman: you can use nixos-container instead of nix-shell for that
modulistic has joined #nixos
<angerman> AtnNn well, I'm not on nixos.
<jazzencat> Well, last attempt to install it on this laptop didn't work out so I was going to try running a Xen hypervisor on the thing and install NixOS to that and then clone it.
herzmeister has quit [(Quit: Leaving)]
sdothum has joined #nixos
herzmeister has joined #nixos
<simpson> jazzencat: You *can*, but I have zero idea how well it will work. I also don't know what didn't work last time; it might not be tractable to fix it this way.
<jazzencat> Okay. If I can install NixOS using a full-featured live environment I could have IRC running during the process.
<jazzencat> The NixOS LiveCD is rudimentary.
<shlevy> jazzencat: nix-env -i irssi :)
<shlevy> (from the livecd)
<jazzencat> Ah.
<simpson> Yeah, the livecd's nix-env is fully operational.
<simpson> Well, hm. You might not be able to run e.g. a Docker daemon. I'm not sure. But yeah, an IRC client should be available.
<shlevy> Should be able to run a docker daemon
<shlevy> You can do nixos-rebuild switch
<shlevy> and edit /etc/nixos/configuration.nix
Ralith__ is now known as Ralith_
<AtnNn> angerman: you could use `shellHook' to start `postgres -D ... &' and `trap EXIT' to kill it
jazzencat has quit [(Ping timeout: 250 seconds)]
Wizek_ has quit [(Read error: Connection reset by peer)]
Wizek_ has joined #nixos
<angerman> AtnNn thanks, I'll give this a shot.
<eacameron> Is there a way to point "nixpkgs=..." to a channel for 16.09 (i.e. it will get updated with security updates, etc.)?
mbrgm has quit [(Ping timeout: 250 seconds)]
redmq has joined #nixos
mbrgm has joined #nixos
filterfish has joined #nixos
glines has quit [(Ping timeout: 258 seconds)]
aj__ has joined #nixos
acowley is now known as acowley_away
<bendlas> is packagekit failing to build for anybody else on master?
derjohn_mobi has quit [(Ping timeout: 265 seconds)]
Wizek_ has quit [(Ping timeout: 264 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
matthewbauer has joined #nixos
evck has quit [(Ping timeout: 265 seconds)]
PragCyph1 has joined #nixos
PragCyphr has quit [(Ping timeout: 264 seconds)]
alesguzik has joined #nixos
hexagoxel has quit [(Ping timeout: 264 seconds)]
<alesguzik> Hi. I try to use rbenv to install ruby and some gems, and ruby build fails because it can't compile openssl, readline and zlib extensions. I've added openssl, readline and zlib to environment.systemPackages in /etc/nixos/configuration.nix, but that doesn't work
<alesguzik> also `pkg-config --list-all` doesn't show openssl, readline and zlib
hexagoxel has joined #nixos
<alesguzik> anyone?
<alesguzik> general question is just how would you compile c code that uses dynamic libraries in nixos without using nix?
ebzzry has quit [(Ping timeout: 250 seconds)]
mguentner has quit [(Quit: WeeChat 1.6)]
<AtnNn> alesguzik: if you have the libraries installed locally, you can sometimes get awway with `export LIBRARY_PATH=~/.nix-profile/lib'
jazzencat has joined #nixos
<jazzencat> Here's the partition scheme I have set up: 400MB ext4 for boot, 16GB swap (so I can suspend to disk) and the rest as btrfs for /nixos
mguentner has joined #nixos
<jazzencat> If I have a separate boot partition do I need to mount it as well and do anything special for the install process that isn't listed in the manual?
alesguzik has quit [(Quit: alesguzik)]
alesguzik has joined #nixos
Wizek_ has joined #nixos
alesguzik has quit [(Ping timeout: 265 seconds)]
<AtnNn> jazzencat: I believe it should be mounted at `/mnt/boot' before the hardware scan
<jazzencat> Thanks, that probably explains the fail message when trying to install GRUB 2
systemfault has quit [(Quit: Bye!)]
viric has joined #nixos
ebzzry has joined #nixos
viric_ has quit [(Ping timeout: 245 seconds)]
<jazzencat> Okay GRUB 2 fails to install. Warning file system ext2 doesn't support embedding (/boot is formatted as ext3). Then error: will not proceed with blocklists. Installation of GRUB on /dev/sda1 failed.
<jazzencat> Should I just go with two partitions: swap and /?
jazzencat has quit [(Quit: Lost terminal)]
stig has quit [(Ping timeout: 240 seconds)]
stig has joined #nixos
<AtnNn> jazzencat: you should install grub onto your disk, not your partition (e.g. `/dev/sda', not `/dev/sda1')
<AtnNn> `/boot' contains the grub config, not grub itself
uralbash has joined #nixos
ebzzry has quit [(Ping timeout: 258 seconds)]
jazzencat has joined #nixos
ebzzry has joined #nixos
deepwater has quit [(Remote host closed the connection)]
ebzzry has quit [(Ping timeout: 240 seconds)]
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 245 seconds)]
glines has joined #nixos
<jazzencat> What groups should I add my user to?
<jazzencat> I'm thinking of replacing NetworkManager with connman since I want to use Enlightenment Desktop.
tinkyholloway has quit [(Ping timeout: 260 seconds)]
tinkyholloway has joined #nixos
<jazzencat> Hm... how do I tell nix to install a package to the mounted root partition?
<jazzencat> And I want my system to make use of connman for network connections.
jazzencat has quit [(Quit: Lost terminal)]
jazzencat has joined #nixos
<jazzencat> Okay, NixOS isn't booting up after installing. Install finished without error.
lverns has quit [(Ping timeout: 240 seconds)]
glines has quit [(Remote host closed the connection)]
alesguzik has joined #nixos
alesguzik has quit [(Client Quit)]
amarsman has quit [(Quit: amarsman)]
amarsman has joined #nixos
ebzzry has joined #nixos
pi3r has joined #nixos
amarsman has quit [(Ping timeout: 258 seconds)]
tikhon has quit [(Ping timeout: 250 seconds)]
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
phreedom has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
jgrasser has quit [(Remote host closed the connection)]
jgrasser has joined #nixos
jazzencat has quit [(Quit: Lost terminal)]
ebzzry has quit [(Ping timeout: 265 seconds)]
justanotheruser has quit [(Ping timeout: 264 seconds)]
<eacameron> Can someone remind me what the difference between the -small and the not "-small" channels is?
ebzzry has joined #nixos
<Rotaerk> IIRC, small passes tests, non-small is also built?
<Rotaerk> err binaries are cached
pi3r has joined #nixos
amarsman has joined #nixos
<eacameron> Rotaerk: Hmm...might be
<eacameron> Oh my goodness...so when do caches get built for macOS users? I just updated my channel and I'm rebuilding the entire OSS community from source.
jacob_ has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
jacob_ is now known as Guest57953
herzmeister has quit [(Read error: Connection reset by peer)]
<Mic92> Can somebody retrigger the build for chromium?
reinzelmann has joined #nixos
Mercuria1Alchemi has joined #nixos
notdaniel has joined #nixos
herzmeister has joined #nixos
matthewbauer has quit [(Ping timeout: 250 seconds)]
<NixOS_GitHub> [nixpkgs] pSub closed pull request #21105: zsh: 5.2 -> 5.3 (master...zsh_5_3) https://git.io/v1iMV
edvorg has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
<LnL> eacameron: what channel are you using?
<eacameron> LnL: nixos-unstable
zraexy has quit [(Ping timeout: 268 seconds)]
<LnL> that's probably why then, you should not have that wirh nixpkgs-unstable
i_rony has quit [(Ping timeout: 252 seconds)]
viric_ has joined #nixos
<eacameron> LnL: ?
<eacameron> LnL: Oh really?
<LnL> not sure, I thought that is also built from master
viric has quit [(Ping timeout: 265 seconds)]
viric has joined #nixos
viric_ has quit [(Ping timeout: 268 seconds)]
<LnL> eacameron: the jobset that includes the build for the nixos-unstable channel only builds linux packages
johann__ has joined #nixos
<eacameron> LnL: Good to know!
<LnL> I guess the latest build was started from a revision with darwin rebuilds that where skipped over by the trunk jobset
aj__ has quit [(Remote host closed the connection)]
jazzencat has joined #nixos
derjohn_mob has joined #nixos
<eacameron> I somehow botched my nix env such that it can't verify any downloads...
way218 has joined #nixos
<eacameron> That is...the TLS certificates
<clever> eacameron: which channel are you on?
<clever> eacameron: ah, LnL already thought the same thing
<eacameron> clever: Hahah
<eacameron> Yep.
<eacameron> clever: Well I'll bet this time it's just my fault
<eacameron> clever: I've had issues before where I somehow (maybe?) remove the certificates that nix uses?
<LnL> eacameron: did you remove cacert?
<eacameron> LnL: hmmm...YES!
<clever> nix-env --rollback should be able to undo that
<clever> then you can just manualy redo the steps you wanted to keep
i_rony has joined #nixos
<eacameron> clever: Hahaha chicken and the egg...now of course I can't install it again. But wow rollback is awesome
nekroze has joined #nixos
<eacameron> clever: LnL: Oh my...you guys have saved me once again.
<eacameron> clever: LnL: I was in for a very painful night
<jazzencat> How would I tell if my computer's BIOS uses EFI or not?
<nekroze> How do you import a module that is nested in a module, I mean like "{externalIP}:\n{config,...}:{}" I am sure I have seen it somewhere in nixpkgs and I wrote one but I can't find the usage for an example.
ebzzry has quit [(Ping timeout: 250 seconds)]
<jazzencat> The HD I have is unformatted so df /boot/efi doesn't show up
<jazzencat> And neither do /boot or /efi
<nekroze> or module nested in a function or whatever the "correct" terminology is :P
<clever> jazzencat: if you boot the installer ISO in efi mode, you should see something efi related in "mount"
<simpson> Hey, is there a convenience function somewhere for rolling up propagatedNativeBuildInputs?
<jazzencat> What should I be looking for in the mount list?
<simpson> I have my list of inputs but I need to walk the tree of transitive inputs in order to find some paths to feed to a program loader later.
<nekroze> jazzencat: Generally its a good indicator if you have a bios settings for CSM or some compatability boot mode. When enabled it will support BIOS and UEFI when disabled UEFI only... generally... for consumer gear
<clever> simpson: i think you can NIX_DEBUG = true; and then nix-build it
<simpson> clever: I need the paths *in* the builder.
<simpson> I need to emit the build input paths into an artifact when I'm building these packages.
<jazzencat> If my computer isn't using EFI can I configure it to use the EFI? I would like to use rEFInd as my bootloader, I have had it on other systems and I liked how it worked.
<simpson> Right now, I'm about 90% to a concatMap victory. I just realized that maybe there's a builtin or a tool somewhere.
<eacameron> clever: LnL: :( It still wants to build ncurses, zlib, etc.
<clever> eacameron: the binary cache cache may have been poisoned, try deleting /nix/var/nix/binary-cache-v3.sqlite*
<eacameron> clever: LnL: I'm using the GitHub nixpkgs-channel archive download...would that matter?
<simpson> clever: Oho, how bad would it be for me to write $out/nix-support/setup-hook? Could I make it export env vars?
<clever> simpson: you can
<clever> simpson: some things like qt do fairly complex stuff in there
<simpson> clever: You are corrupting me, I can tell.
<clever> eacameron: which branch did you download?
<eacameron> clever: nixpkgs-unstable
<eacameron> clever: I deleted those binary cache files...no luck
<clever> eacameron: out of ideas for that then
<eacameron> clever: Weird...maybe it's just too new?
<LnL> eacameron: you can use http://cach.nixos.org as your binary cache to install cacert
<eacameron> LnL: Oh good to know.
<LnL> or do you have it now?
<simpson> clever: Huh, do I also have to do the write to $out/nix-support/propagated-build-inputs, or is that just a flag somewhere?
<jazzencat> Okay, I'm going to try to get a basic NixOS install working and then see if I can get rEFInd working.
<eacameron> clever: Just for the record, I'm running this: `NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/497e6d2f1d149f5fbe004e15fe8c384eed993943.zip nix-shell -p nixops
<eacameron> clever: maybe I need a newer nix-shell! :P
<clever> eacameron: yep, that should have been built: http://howoldis.herokuapp.com/
Nycatelos has quit [(Ping timeout: 248 seconds)]
<eacameron> clever: for macOS too?
<clever> eacameron: the nixpkgs-unstable builds for x86 and mac
Itkovian has joined #nixos
<LnL> eacameron: are you still having cert problems or just stuff that's rebuilding?
hotfuzz_ has joined #nixos
teknico has joined #nixos
<eacameron> LnL: I did what clever suggested and ran nix-env --rollback to get the certs back
hotfuzz has quit [(Ping timeout: 258 seconds)]
<eacameron> LnL: Now it just wants to rebuild everything
<nekroze> How do you import a module file like this "{externalIP}:\n{config,...}:\n{}" for my nixos configuration.nix?
<LnL> you might have to start a new shell to make it set SSL_CERT_FILE
ncl28 has quit [(Ping timeout: 248 seconds)]
<clever> nekroze: you will need to import it, call it with an IP, then put the resulting value into the imports list
ncl28 has joined #nixos
<eacameron> LnL: Yah I did that actually...
<eacameron> clever: I'm very close to just reinstalling nix...
<LnL> strange both the unstable channel and master should br cached
<clever> clever@c2d ~ $ echo $SSL_CERT_FILE
<clever> /etc/ssl/certs/ca-certificates.crt
<clever> eacameron: what is it set to on your end?
<LnL> eacameron: do you have something special in ~/.nixpkgs/config.nix
rly has joined #nixos
Nycatelos has joined #nixos
<eacameron> echo $SSL_CERT_FILE
<eacameron> /Users/elliot/.nix-profile/etc/ssl/certs/ca-bundle.crt
<eacameron> clever:
<simpson> clever: Nice, looks like it's working. Thanks!
<clever> eacameron: looks like it should be valid, assuming that file now exists
<eacameron> clever: yah it does
<eacameron> LnL: allowFree = true is all I have in there
pi3r has joined #nixos
<LnL> eacameron: can you update your channel
<eacameron> LnL: Well I'm doing it via NIX_PATH=nixpkgs...
<eacameron> in the command
<eacameron> it's in a script
<LnL> ah right
<clever> and i confirmed the commit in that url is the latest nixpkgs-unstable
<LnL> not sure then
<eacameron> LnL: clever: ok so I just reinstalled nix and it's behaving the exact same way
<clever> yep, thats the goal of nix
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1PWi
<NixOS_GitHub> nixpkgs/master fa613c7 Vladimír Čunát: gnome3*.devhelp: add missing gschemas...
<clever> to do the same thing every time, even if wiped and reinstalled
<LnL> clever: heh
<eacameron> clever: LnL: The default channel for a new install however does work just fine without recompiling
<LnL> that should be equivalent to using the nixpkgs commit that the channel was built from
<eacameron> LnL: One would think!
<LnL> I wonder if fetchTarball was caching something invalid
<eacameron> clever: LnL: actually I was using the zip file from GitHub.
<eacameron> LnL: Sure enough this works fine as well NIX_PATH=nixpkgs=https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-17.03pre96825.497e6d2/nixexprs.tar.xz nix-shell -p nixops
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/v1Plk
<NixOS_GitHub> nixpkgs/release-16.09 77b32b3 Vladimír Čunát: gnome3*.devhelp: add missing gschemas...
<clever> eacameron: try fetching the url that works, and the url that doesnt, then unpack both to different directories
<clever> eacameron: and diff -r them
<eacameron> clever: ok will do here in a second
Itkovian has quit [(Ping timeout: 245 seconds)]
<jazzencat> Okay, I can't seem to get the install working with a dedicated boot partition for NixOS
<clever> jazzencat: for EFI to work correctly, the boot partition must be fat32, with the right type, on GPT, and the path to the bootloader has to be set in a firmware variable
<clever> jazzencat: boot.loader.grub.efiInstallAsRemovable = true; lets you skip the last requirement, to modify the firmware variables
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #21097: haskell: export `haskellBuildInputs` (master...haskell-export-haskelldeps) https://git.io/v1KNs
<clever> eacameron: looks like .git* was removed, and 2 files where added so nixpkgs knows which commit it came from
<clever> eacameron: they should be identical as far as nix is concerned
<eacameron> clever: "should"
ambro718 has joined #nixos
cfricke has joined #nixos
jgertm_ has joined #nixos
FRidh has joined #nixos
<jazzencat> I wonder if Lenovo b575 are EFI by default
<jazzencat> gdisk lists GPT as present and MBR protective
<clever> gpt on its own isnt an indicator of the firmware support
<clever> i have gpt on all of my recent non-efi systems
<jazzencat> Some install tutorials for NixOS with LUKS say I need a 1MB partition before /boot with type ef02...
<jazzencat> I really need a way to verify if the Lenovo is an EFI or not.
<jazzencat> What does MBR protective mean?
<clever> in addition to gpt tables, it has an MBR table claiming the entire disk is in use
<clever> so tools that cant handle gpt will still say the disk has something
<clever> without that, an MBR only tool may think its a blank disk, and will offer to format it
<eacameron> clever: LnL: Thanks for your diligent help. We still don't know what it was...but we know (at least macOS users) should use links directly from channels
ambro718 has quit [(Ping timeout: 265 seconds)]
<LnL> I just use master :D
eacameron has quit [(Remote host closed the connection)]
<clever> jazzencat: i think ef02 is the bios boot partition, that is for booting GPT drives on non-efi machines
<32NAAUI44> [nixpkgs] LnL7 closed pull request #21089: openjdk-darwin: Fix libfreetype path (master...openjdk-freetype-fix) https://git.io/v1KT8
<14WAAQVC4> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v1P40
<14WAAQVC4> nixpkgs/master fd2cf18 Matthew Justin Bauer: openjdk-darwin: Fix libfreetype path (#21089)...
ixxie has joined #nixos
<ixxie> I wanna install eclipse with several subattributes
<ixxie> how would I succinctly install both eclipses.eclipse-platform and eclipses.eclipse-scala-sdk-40
<ixxie> (in configuration.nix that is)
latk has joined #nixos
nekroze has quit [(Quit: Lost terminal)]
jensens has joined #nixos
viric_ has joined #nixos
thc202 has joined #nixos
jazzencat has quit [(Quit: Leaving)]
anelson has quit [(Ping timeout: 245 seconds)]
herzmeister has quit [(Quit: Leaving)]
anelson has joined #nixos
herzmeister has joined #nixos
viric has quit [(Ping timeout: 256 seconds)]
notdaniel has left #nixos ["Leaving"]
nh2_ has joined #nixos
goibhniu has joined #nixos
viric_ has quit [(Ping timeout: 245 seconds)]
viric has joined #nixos
derjohn_mob has quit [(Ping timeout: 252 seconds)]
Wizek_ has quit [(Ping timeout: 258 seconds)]
Wizek has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/v1PR7
<NixOS_GitHub> nixops/master f60ee22 Rob Vermaas: Small fix for generate-ec2-properties.py
Itkovian has joined #nixos
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/v1P0r
<NixOS_GitHub> nixops/master 2bb6205 Rob Vermaas: Add --keep-days to clean-backups command. Fixes #216.
fritschy has joined #nixos
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/v1P0X
<NixOS_GitHub> nixops/master 8b4a1f1 Rob Vermaas: D'oh...
c0bw3b has joined #nixos
ThatDocsLady has joined #nixos
<NixOS_GitHub> [nixops] rbvermaa closed pull request #566: Move has_really_fast_connection() to Nix (deployment.hasFastConnection) (master...deployment.hasFastConnection) https://git.io/v1o4z
jazzencat has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #20868: sisco.lv2: init at 0.7.0 (master...pkgs/sisco.lv2) https://git.io/v1C6e
eacameron has joined #nixos
<jazzencat> New puzzle: I make my partition scheme mount /dev/disk/by-label/nixos /mnt, then mkdir /mnt/boot then mount /dev/disk/by-label/boot /mnt/boot
<jazzencat> Running the nixos-generate-config gives me a message saying that the existing configuration.nix won’t be overwritten
<clever> jazzencat: you want nixos-generate-config --root /mnt
<jazzencat> D’oh!!
eacameron has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixops] rbvermaa closed pull request #508: nix/ssh-tunnel: Prevent IPv6 address generation (master...fix-ssh-tunnels-with-kernel-4.5) https://git.io/vi7oA
latk has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v1Pgk
<NixOS_GitHub> nixpkgs/master 50466c2 Fernando J Pando: buildbot: 0.9.0rc4 -> 0.9.0.post1...
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #19759: buildbot: 0.9.0rc4 -> 0.9.0.post1 (master...buildbot-0.9.0.post1) https://git.io/vPFvK
johann__ has quit [(Quit: Leaving.)]
jazzencat has quit [(Quit: jazzencat)]
ckauhaus has joined #nixos
latk has joined #nixos
cfricke has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixops] domenkozar pushed 4 new commits to master: https://git.io/v1Pgj
<NixOS_GitHub> nixops/master 68e7664 Ryan Artecona: Delay chown of keys until user/group both exist...
<NixOS_GitHub> nixops/master 5308d26 Ryan Artecona: Add service per key to track key dependencies...
<NixOS_GitHub> nixops/master d7081e5 Ryan Artecona: Document `deployment.keys` and friends everywhere
jazzencat has joined #nixos
roconnor has quit [(Ping timeout: 245 seconds)]
<domenkozar> nixops getting lots of love lately :)
nekroze has joined #nixos
<nekroze> With nixos I found you can reference another machine in the deployment with `resources.machines.host1` but this is a set, how can I get an IP address from that?
RchrdB has joined #nixos
<nekroze> with nixops sorry
<LnL> I think the ips are dynamic
Wizek has joined #nixos
Wizek_ has joined #nixos
<jazzencat> GRUB bootloader installation keeps failing
<clever> jazzencat: if your using GPT and legacy booting, you need a dedicated 1m bios boot partition, https://en.wikipedia.org/wiki/BIOS_boot_partition
<nekroze> LnL: I thought that would be the point of it though. why else be able to reference another machine?
<LnL> domenkozar: do you know who I should ask about the hydra jobset?
<ikwildrpepper> nekroze: resources.machines.host1.networking.publicIPv4 , I believe
<LnL> is that available when using dhcp?
<ikwildrpepper> LnL: if the nixops backend implements it, yes
<LnL> should probably ask what provider you are using
<LnL> oh
obadz has quit [(Ping timeout: 246 seconds)]
<ikwildrpepper> networking.publicIPv4 is an option set by nixops
<nekroze> LnL: well nixops is reporting on its IP address when doing a nixops info
viric_ has joined #nixos
<nekroze> LnL: I guess that is coming from the execution phase of the deployment not the build...
<LnL> ikwildrpepper: perhaps I should ask you, I was wondering if I could perhaps get a darwin jobset to test some stdenv changes (like copumpkins)
<nekroze> ikwildrpepper: I'll try that config
<LnL> I'm trying to get openssl out of our stdenv, but I'm not sure what impact removing system libraries from cmake has
<ikwildrpepper> nekroze: needs to be resources.machines.config.host1.networking.publicIPv4
viric has quit [(Ping timeout: 245 seconds)]
<nekroze> ikwildrpepper: its not defined. Looking at the source code of nixops it pulls the machines .config into resources.machines.<name> so you would have been right with the first example but it is not defined sadly.
mexisme has joined #nixos
<ikwildrpepper> nekroze: what nixops backend is your machine using?
<nekroze> container on a remote host
<ikwildrpepper> ah
<LnL> oh
<nekroze> a metal host, as in none
<nekroze> wait did I do something stupid again
<ikwildrpepper> don't know much about container backend unfortunately, never use it
<LnL> nekroze: I'm pretty sure you can get the ip from a container
<nekroze> LnL: Maybe I should be looking more for container examples then nixops examples... but usually with normal containers you define localAddress... I wonder if nixops does
<ikwildrpepper> LnL: you mean like copumpkin-wip?
<domenkozar> LnL: what's the question again?
<domenkozar> ikwildrpepper: we also have resources.machines and nodes
<domenkozar> is that the same thing?
<ikwildrpepper> think so
<ikwildrpepper> :)
<ikwildrpepper> I think nodes was still from the time we only had machine resources
<nekroze> wait I think nodes is above config which is what machines is
<LnL> ikwildrpepper: yes, I'd like to see what breaks and I don't just want to put it on staging
<ikwildrpepper> but a lot of code out there still depends on it, so rather not remove it :D
<ikwildrpepper> LnL: what name should it have?
<LnL> ikwildrpepper: I put the changes here https://github.com/LnL7/nixpkgs/tree/lnl7-wip
viric has joined #nixos
<ikwildrpepper> LnL: i've set it to eval every day
<ikwildrpepper> every 24h
<LnL> ikwildrpepper: thanks!
<ikwildrpepper> we'll see if it will need less checking or more, depending on load on darwin machines
<LnL> every day is probably fine
Biappi has quit [(Ping timeout: 258 seconds)]
viric_ has quit [(Ping timeout: 264 seconds)]
hotfuzz_ is now known as hotfuzz
<nekroze> there doesn't even seem to be a way to use the normal container options with nixops like bind mounts and disabling the private network.
obadz has joined #nixos
<jazzencat> Bah, I give up.
<clever> jazzencat: can you pastebin the output of fdisk -l /dev/sda and your configuration.nix?
matthewbauer has joined #nixos
zugzug has quit [(Remote host closed the connection)]
amarsman has quit [(Ping timeout: 250 seconds)]
<jazzencat> Not at the moment
matthewbauer has quit [(Ping timeout: 248 seconds)]
viric_ has joined #nixos
jazzencat has quit [(Quit: jazzencat)]
viric has quit [(Ping timeout: 248 seconds)]
c0bw3b has left #nixos []
Biappi has joined #nixos
<NixOS_GitHub> [nixpkgs] luispedro opened pull request #21114: pythonPackages.natbib: fix for Python 3.5 (master...pathlib_python35m) https://git.io/v1Prx
renka has joined #nixos
renka has left #nixos []
<ixxie> if I have a bunch of packages a, b, c that are attributes of package x (i.e. x.a, x.b and x.c) how can I express them with the x factored out?
<ixxie> I wanna modularize my config
<clever> ixxie: inherit (x) a b c; ?
jazzencat has joined #nixos
iyzsong has joined #nixos
dgn has quit [(Quit: dgn)]
dgn has joined #nixos
<ixxie> clever: I guess this is wrong in this context: http://nixpaste.lbr.uno/G_sw9YPQ?nix
<thomassgn> is it possible to add exceptions to the nixpkgs.unFree rule on a per package basis?
<clever> ixxie: for that, you want with pkgs; with eclipses; [ ..... ];
nekroze has quit [(Quit: Lost terminal)]
<ikwildrpepper> thomassgn: allowUnfreePredicate
<ixxie> clever, is there away to put the eclipses inside the brackets though?
<ikwildrpepper> thomassgn: ./pkgs/stdenv/generic/default.nix: # allowUnfreePredicate = (x: pkgs.lib.hasPrefix "flashplayer-" x.name);
<clever> ixxie: with eclipses; [ eclipse-platform eclipse-scala-sdk-40 ];
<ixxie> if you meant this http://nixpaste.lbr.uno/61qW6aQp?nix it doesn't seem to like the with inside the brackets
iyzsong has quit [(Ping timeout: 246 seconds)]
<clever> ixxie: you need to put it outside, you can also use ++ to concat the 2 lists
<clever> (with eclipses; [ eclipse-platform eclipse-scala-sdk-40 ]) ++ (with pkgs; [ other stuff ]);
<ixxie> I see
<ixxie> thats disappointing syntactically
<clever> ixxie: you can also do with eclipses; with pkgs; [ eclipse-platform eclipse-scala-sdk-40 other stuff ];
<ixxie> yeah like you suggested at first
<ixxie> i went that way
<clever> ixxie: yet another option, make 2 modules, one with envionment.systemPackages = with eclipses; [ eclipse-platform eclipse-scala-sdk-40 ];, one with the other
<clever> ixxie: and then add both of those to imports
<clever> nixos will concat each instance of systemPackages for you
uralbash has quit [(Ping timeout: 245 seconds)]
<ixxie> I guess what I was hoping for is a hierarchical declaration for ease of legibility
<NixOS_GitHub> [nixpkgs] mdaiter opened pull request #21116: opencv3: pull patches only if necessary (master...cudaOpenCVIf) https://git.io/v1P6V
<ixxie> so I would rather just go with your original suggestion of having a double with
<ixxie> I suppose I can always organize the package list under comment headers
<jazzencat> where do i find the install log?
msd has joined #nixos
<msd> viric_: Could I please have your thoughts on this? https://github.com/NixOS/nixpkgs/pull/21116 <- think it's a better format for patching OpenCV 3, as we should try to minimise the total numbers of patches pulled
<clever> jazzencat: most of the log isnt saved, it just goes to stdout
uralbash has joined #nixos
derjohn_mob has joined #nixos
iyzsong has joined #nixos
<ixxie> anyway, thanks clever
<thomassgn> ikwildrpepper: awesome, thanks
ixxie has quit [(Remote host closed the connection)]
<msd> cc joachifm
<jazzencat> That's the issue. /dev/sda1 is swap, /dev/sda2 is root with ext4 format
<clever> /nix/store/0pfy69722ghxdbfnyfsv9arhbgz09ala-grub-2.x-2015-11-16/sbin/grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
<clever> jazzencat: i said that you need a dedicated bios boot partition
<jazzencat> If this keeps up I'll just go back to using openSUSE as annoying as FHS
<clever> jazzencat: the problem has nothing to do with nixos, its because you used GPT and skipped the bios boot partition
<clever> jazzencat: you need a 1mb partition, with the correct type code, https://en.wikipedia.org/wiki/BIOS_boot_partition
matthewbauer has joined #nixos
<jazzencat> The hell with this laptop.
<jazzencat> It's going for parts at this point.
matthewbauer has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #21111: buildGoPackage: remove go version from name (master...go-plain-name) https://git.io/v1iFH
<gchristensen> speaking of hydra, 16.09 has almost 220 failing jobs
eacameron has joined #nixos
echo-area has quit [(Read error: Connection reset by peer)]
edvorg has quit [(Ping timeout: 264 seconds)]
msd has quit [(Remote host closed the connection)]
<gchristensen> "rsapubkey-asn1.h: No such file or directory" :|
jazzencat has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
ok2`````` has quit [(Quit: Terminated with extreme prejudice - dircproxy 1.2.0)]
dockerized has joined #nixos
<dockerized> hello guys, i will develop an application which will read a yaml config and then convert them into a nix expressions file. I couldn't choose a language for this purpose. I want to learn new language beside this so i chouldnt make a choice between Haskell and Go. Which one do you think would be better ?
<joachifm> better to learn or better for that task?
<dockerized> both actually :D
<sphalerite> Why do we have nix-collect-garbage? I just realised that nix-store --gc is actually shorter to type...
<dockerized> but ofc better for task comes first
<sphalerite> Better to learn, Haskell :p
<ArdaXi[m]> Personal preference, really. I don't think either is specifically better suited
<sphalerite> Better for the task, I think possibly haskell as well? Not sure, but it's a transformation of data and Haskell's pretty good at it
<dockerized> the only thing i concern is, this project will not be a magical thing so Haskell is a huge package to install etc.. for end user.
<dockerized> ahh okey.
<ArdaXi[m]> Nix users are going to be Haskell inclined I imagine
<sphalerite> ^
<ArdaXi[m]> I prefer Haskell personally but Go is easier to work with people and to use professionally and so on
<sphalerite> Haskell doesn't have any special runtime dependencies though so if you compile it it'll work even if an end-user doesn't have haskell installed
<dockerized> sphalerite: good to know that, ty.
<sphalerite> For the actual transformation I'd use haskell, but if you're going to write a GUI on top of it it's probably better to use a different language
<ArdaXi[m]> The actual transformation isn't really going to be hugely tricky in either language I think
<dockerized> this will be just a CLI application.
<gchristensen> dockerized: really it comes down to use whatever you want to use
<qknight> i want to use a single package from a different nixpkgs checkout and i totally forgot how to do that. looks something like: hydra = (import <nixpkgs> {}).fetchgit { url,rev,sha }; but i can't recall
<qknight> anyone can point me to the docs?
<dockerized> okey guys, thank you for your answers. appreciated
<gchristensen> qknight: fetchTarball I think?
amarsman has joined #nixos
Itkovian has quit [(Ping timeout: 250 seconds)]
<qknight> but i rather want fetchgit
<gchristensen> qknight: why do you want fetchgit?
<gchristensen> is that your end goal?
matthewbauer has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #21117: nixpkgs manual: Remove obsolete warning (master...master) https://git.io/v1P9E
<qknight> rustcNightly = newpkgs.rustcNightlyBin.rustc;
<qknight> newpkgs = import (fetchgit {
<qknight> rev = "1f811a67274e340d9e13987801fe726308e748ab";
<qknight> sha256 = "0dy20iimgfqpknyzs8rv78sm1yqpsxav2w3cbxf3r219wcwg417g";
<qknight> }) {};
<qknight> gchristensen: think that will do it
<qknight> thanks1
matthewbauer has quit [(Ping timeout: 260 seconds)]
<gchristensen> qknight: fwiw that won't work I think if you have sandboxing on
<gchristensen> qknight: instead, (fetchTarball https://github.com/NixOS/nixpkgs/archive/1f811a67274e.tar.gz)
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #21118: linux_{4_8,grsec_nixos}: patch to fix build failure (master...fix-rsa-build-failure) https://git.io/v1PHc
<gchristensen> fpletz, if you're around ^
Itkovian has joined #nixos
anelson has quit [(Ping timeout: 246 seconds)]
anelson has joined #nixos
viric has joined #nixos
<FRidh> gchristensen: if I am saying this correct. Sandboxing is only relevant for building; you don't want to be able to access other paths during building. In this case we're look at evaluation, and there you want to be able to refer and import other nix files, and so you can use fetch*. However, here you will need to do the fetching during evaluation time, and Hydra won't permit this with restricted evaluation, unless you use fetchTarball, which is
<FRidh> an exception.
<sphalerite> How can I debug scripts like nixpkgs/pkgs/build-support/setup-hooks/multiple-outputs.sh? I tried just adding set -x to the top, but because so many things depend on that file it wanted to rebuild everything at that point
<gchristensen> FRidh: I thought turning on sandboxing turned on the restricted evaluation, too?
viric_ has quit [(Ping timeout: 246 seconds)]
<qknight> gchristensen: i'm not in a sandbox but good remark! thanks
filterfish_ has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
<FRidh> gchristensen: no, it does not (it's the `restrict-eval` Nix option)
<gchristensen> ahh I thought it was sandboxing because hydra's nixos-org-configurations don't turn anything else on
<gchristensen> but instead it is set in the hydra code: https://github.com/NixOS/hydra/blob/master/src/hydra-eval-jobs/hydra-eval-jobs.cc#L246 thank you for setting me straight, FRidh :)
ebzzry has joined #nixos
ok2 has joined #nixos
msd has joined #nixos
msd has quit [(Remote host closed the connection)]
msd has joined #nixos
meyermagic has quit [(Ping timeout: 265 seconds)]
proteusguy has joined #nixos
roconnor has joined #nixos
filterfish_ has quit [(Ping timeout: 258 seconds)]
justanotheruser has joined #nixos
sdothum has joined #nixos
matthewbauer has joined #nixos
<aloiscochard> hi all, how should one usually goes about adding an extra kernel modules? I'm trying to add v4l2loopack, so I did add it in my system packages (`linuxPackages.v4l2loopback`), but after that doing a modprobe does not works.
<aloiscochard> I did also tried to add "v4l2loopback" in the "boot.kernelModules" but it does not seems to have any affect
<aloiscochard> what am I missing?
<aloiscochard> (I also tried adding in `boot.initrd.kernelModules`, same)
filterfish_ has joined #nixos
filterfish_ has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 248 seconds)]
<joepie91> aloiscochard: have you tried specifying linuxPackages.v4l2loopback (reference to the package, not as a string) to kernelModules?
<clever> joepie91: i have gotten loopback to work before, one sec
<joepie91> note that I don't know whether this will actually work
<clever> joepie91: boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
<clever> thats all it needs
<aloiscochard> what joepie91 suggested did not works, let me try that now clever, thanks folks
<clever> and it will always use the kernel you picked in configuration.nix
<aloiscochard> mmm I see, I thought I was missin something, neat!
<joepie91> clever: noted, thanks :P
<aloiscochard> works like a charm now, thanks so much clever!
viric_ has joined #nixos
viric has quit [(Ping timeout: 260 seconds)]
lverns has joined #nixos
viric has joined #nixos
msd has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #21120: buildPythonPackage: install builds reproducibly (master...tmpbuild) https://git.io/v1Pbx
viric_ has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] viric pushed 2 new commits to master: https://git.io/v1PNY
<NixOS_GitHub> nixpkgs/master d6f1081 Matthew Daiter: opencv3: pull patches only if necessary
<NixOS_GitHub> nixpkgs/master b1c20ad viric: Merge pull request #21116 from mdaiter/cudaOpenCVIf...
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] goetzst opened pull request #21122: youtube-dl: 2016.12.01 -> 2016.12.12 (master...youtube-dl) https://git.io/v1PNN
viric_ has joined #nixos
anelson has quit [(Remote host closed the connection)]
anelson has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v1PxC
<NixOS_GitHub> nixpkgs/master 2bcd41b Frederik Rietdijk: buildPythonPackage: install builds reproducibly...
viric has quit [(Ping timeout: 250 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21120: buildPythonPackage: install builds reproducibly (master...tmpbuild) https://git.io/v1Pbx
msd has joined #nixos
ok2 has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
dockerized has quit [(Ping timeout: 245 seconds)]
ok2` has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #21122: youtube-dl: 2016.12.01 -> 2016.12.12 (master...youtube-dl) https://git.io/v1PNN
ok2`` has joined #nixos
ok2` has quit [(Ping timeout: 252 seconds)]
viric has joined #nixos
viric_ has quit [(Ping timeout: 265 seconds)]
viric has quit [(Ping timeout: 258 seconds)]
viric has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
cpennington has joined #nixos
matthewbauer has joined #nixos
johann__ has joined #nixos
dockerized has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 4 new commits to master: https://git.io/v1Pjs
<NixOS_GitHub> nixpkgs/master 64a64c6 Joachim Fasting: grsecurity test: refactoring
<NixOS_GitHub> nixpkgs/master 33088ac Joachim Fasting: terraria service: fix tmux output...
<NixOS_GitHub> nixpkgs/master d893c86 Joachim Fasting: terraria service: fixup worldPath option type...
* gchristensen pokes joachifm
ok2`` has quit [(Read error: Connection reset by peer)]
matthewbauer has quit [(Ping timeout: 268 seconds)]
<joachifm> gchristensen: about the kernel thing? +1 from me, if it works
ok2``` has joined #nixos
<gchristensen> it builds for me
<gchristensen> haven't booted it, but it builds
<joachifm> sounds good
msd has quit [(Remote host closed the connection)]
bgamari has quit [(Ping timeout: 244 seconds)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21118: linux_{4_8,grsec_nixos}: patch to fix build failure (master...fix-rsa-build-failure) https://git.io/v1PHc
<gchristensen> thanks! :)
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/v1Pj7
<NixOS_GitHub> nixpkgs/release-16.09 f38c537 Graham Christensen: linux_{4_8,grsec_nixos}: patch to fix build failure...
<joachifm> gchristensen: great to have it fixed :)
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/v1Pj5
<NixOS_GitHub> nixpkgs/master 7a813d3 Graham Christensen: linux_{4_8,grsec_nixos}: patch to fix build failure...
<NixOS_GitHub> nixpkgs/master 01d022e Graham Christensen: Merge pull request #21118 from grahamc/fix-rsa-build-failure...
<gchristensen> yeah, these unstable builds have been killing me
<joachifm> gchristensen: wonder what happened upstream for this to recur
<gchristensen> me too
proteusguy has quit [(Ping timeout: 256 seconds)]
ok2``` has quit [(Read error: Connection reset by peer)]
ok2``` has joined #nixos
bgamari has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
ok2```` has joined #nixos
ok2``` has quit [(Ping timeout: 252 seconds)]
msd_ has joined #nixos
<NixOS_GitHub> [nixpkgs] moretea opened pull request #21125: kubernetes: 1.4.6 -> 1.5.0 (master...update-k8s-to-1.5) https://git.io/v1Xvg
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1XfU
<NixOS_GitHub> nixpkgs/master df07922 Vladimír Čunát: knot-dns: init at 2.3.3...
Entroacceptor has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/v1Xft
<NixOS_GitHub> nixpkgs/release-16.09 4c7fb96 Vladimír Čunát: knot-dns: init at 2.3.3...
ok2```` has quit [(Read error: Connection reset by peer)]
cpennington has quit [(Ping timeout: 258 seconds)]
<clever> gchristensen: http://imgur.com/a/uxYR8 i can now list partitions, and create a partition table
<gchristensen> ... dude!
<clever> gchristensen: and it works entirely over http, so i could open the port and give you control
<avn> clever: what you try to implement? web driven partitioner?
iyzsong has quit [(Read error: Connection reset by peer)]
<clever> avn: partitioning, and nixos-install
<clever> avn: http://ext.earthtools.ca/docroot/ is the UI i have for editing configuration.nix
<avn> clever: will it support install from specific branch? (as well as pull pre-build git with configs?)
<clever> avn: thats also in my plans
peti_ has joined #nixos
<clever> avn: so you could input a url for the channel and a url for the configuration.nix tar
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<avn> ;) not ideal, but should work for me ;)
<clever> avn: https://github.com/cleverca22/nixos-installer is the project page
<NixOS_GitHub> [nix] shlevy pushed 2 new commits to master: https://git.io/v1XJP
<NixOS_GitHub> nix/master 818aad3 Vladimír Čunát: Detect and disallow base32 hash overflow...
<NixOS_GitHub> nix/master f867f09 Shea Levy: Merge branch 'base32-overflow' of git://github.com/vcunat/nix
cpennington has joined #nixos
fadenb has quit [(Quit: WeeChat 1.6)]
fadenb has joined #nixos
<NixOS_GitHub> [nixpkgs] kamilchm opened pull request #21126: ponyc: 0.9.0 -> 0.10.0 (master...ponyc) https://git.io/v1XJH
jekor has joined #nixos
<avn> clever: input for local cache/key also would be great
peti has quit [(Ping timeout: 258 seconds)]
<clever> avn: what kind of local cache?
<jekor> Is anyone building a C/C++ program using Nix without autotools or can point me to an example?
<avn> clever: local nix-serve
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #20922: urbit: 2016-06-02 -> 0.4 (master...urbit) https://git.io/v18uh
fadenb has quit [(Client Quit)]
<clever> avn: ah, but how would it get the nix expression?
fadenb has joined #nixos
<clever> jekor: does it get any simpler then this? https://github.com/edolstra/nix-repl/blob/master/default.nix#L11
<clever> jekor: i have also done things with just bare make: https://github.com/cleverca22/fusenar/blob/master/Makefile
fadenb has quit [(Client Quit)]
fadenb has joined #nixos
estewei has joined #nixos
<clever> gchristensen: as you can see in that screenshot, i'm a bit rusty at making a good UI
<gchristensen> lol
<clever> how does this framework look?, i have done things with in it the past
<gchristensen> I am the _last_ person to ask about this stuff, haha
<clever> gchristensen: between the imgur and the last link, which would you prefer?
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/v1XUy
<NixOS_GitHub> nixpkgs/master 8d92626 Susan Potter: inform7: init at 6M62
<NixOS_GitHub> nixpkgs/master d43dc3d Vladimír Čunát: Merge #20908: inform7: init at 6M62
<gchristensen> 2nd
<clever> it even has a window manager, check the window tab
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #20908: inform7: init at 6M62 (master...init-inform7) https://git.io/v1l1d
Rotaerk has quit [(Read error: Connection reset by peer)]
<gchristensen> omg
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #20923: jid: init at 0.6.1 (master...jid) https://git.io/v18gl
<jekor> clever: Thanks.
<clever> gchristensen: yeah, i have previously played a game that used this framework, it was a solid 6mb of javascript after minification
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #20819: minikube: init at 0.12.2 (master...pkgs/minikube/init) https://git.io/v1383
<gchristensen> ok I like the first one bette.r
<clever> that was after all of the game logic was added
<clever> this is a fairly flexible framework
<clever> it will dynamicaly inspect the code to see which classes you use
<clever> similar to the gcc linker just deleting unused code
<clever> gchristensen: and it has a minor problem, they implement c++ destructors, on javascript objects, and to do that, all objects are kept in a global array
<clever> so you must delete things when your done with them
<gchristensen> :/
<clever> the game i saw it used on, didnt, and leaked memory like nuts
* gchristensen isn't feeling good about this
<clever> the minification got in the way of me fixing that
<clever> but unminified, you can track down the leaks and make it run great
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<clever> i did some pretty crazy things against that codebase, without server access
<goibhniu> clever: would something like elm + material design lite be a fun alternative? https://debois.github.io/elm-mdl/
<clever> goibhniu: possibly
c0bw3b has joined #nixos
peti_ has quit [(Ping timeout: 250 seconds)]
itorres has joined #nixos
peti_ has joined #nixos
peti_ is now known as peti
matthewbauer has joined #nixos
danharaj has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 258 seconds)]
matthewbauer has quit [(Ping timeout: 248 seconds)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 250 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
lverns has quit [(Ping timeout: 245 seconds)]
IITaudio has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/v1XtK
<NixOS_GitHub> nixpkgs/master 1d0fb40 Michael Raskin: abcl: init at 1.4.0
<IITaudio> Hi, how do I login with multiple uses on NixOS + i3wm?
eacameron has quit [(Remote host closed the connection)]
<toogley> IITaudio: switch to another tty by typing alt + f1 or sth. log into the console with the different user an then start i3wm there.
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #20787: rPackages.DescTools does not require X (master...DescTools-does-not-require-X) https://git.io/v1qmF
<clever> gchristensen: a basic QX app with 1 button compiles down to 739kb, including the images for its themes
<IITaudio> toogley: cannot open display
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/v1Xm4
<NixOS_GitHub> nixpkgs/master 360234d John Wiegley: coq_8_6: new package, based on Coq 8.6rc1
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/v1Xmu
<NixOS_GitHub> nixpkgs/master 69ce9a9 Graham Christensen: watchman: 4.5.0 -> 4.7.0
filterfish has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
jensens has quit [(Remote host closed the connection)]
<toogley> IITaudio: then you have to set the display variable inside that shell. i think that should be "set DISPLAY=:1"
jensens has joined #nixos
ryanartecona has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
<IITaudio> tooley: nope, already tried ..
uralbash has quit [(Quit: Leaving.)]
<Shell> how would I swap caps lock and esc on nixos?
<NixOS_GitHub> [nixpkgs] wizeman closed pull request #21126: ponyc: 0.9.0 -> 0.10.0 (master...ponyc) https://git.io/v1XJH
<Shell> I've finally found a modal text editor which isn't user-hostile, so trying to learn it. :p
JonReed has joined #nixos
<JonReed> Hi, how to use --set-flag priority?
<JonReed> For example, I have a conflict between man in busybox and man that I try to install using "nix-env -iA nixos.man"
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<JonReed> When I try to install "nix-env -iA nixos.man" it complains that there is a collision
<Shell> is there a reason you have busybox installed in your environment?
<JonReed> No, there is no reason. I have no idea why it's there and it already caused a lot of unessesary pain.
CMCDragonkai has left #nixos []
<srhb> Just get rid of it. It's easier than figuring out how --set-flag works
<srhb> Getting the argument right is myserious.
CMCDragonkai has joined #nixos
<JonReed> How to get rid of it?
IITaudio has quit [(Remote host closed the connection)]
<srhb> JonReed: If it's in your user profile, nix-env -e busybox
<JonReed> It's not anywhere in configuration.nix
IITaudio has joined #nixos
<IITaudio> Shell: maybe we can consider setting busybox priority to lowest. If it's installed lots of programs complain about a collision
<Nafai> Shell: I use the services.xserver.xkbOptions option, like this: https://gitlab.com/travisbhartwell/local-nix/blob/master/common/desktop.nix#L100
<clever> JonReed: configuration.nix doesnt manage nix-env
<Nafai> Shell: It doesn't swap them though, it just maps Caps to ESC
<Shell> Nafai: tak!
erasmas has joined #nixos
* Shell nods.
<Shell> that's reasonable.
<Nafai> Shell: Which editor, might I ask?
<Shell> Nafai: kakoune. it's in nixpkgs. :)
<Nafai> Ah, I just saw the reference to that this morning on HN, looks interesting.
<Nafai> It would be hard to give up Spacemacs though :)
<gchristensen> woohoo, already +47 passing jobs
<JonReed> srhb: Thanks!
eacameron has joined #nixos
lverns has joined #nixos
matthewbauer has joined #nixos
<Shell> Nafai: the only downside is I'll need to learn to type properly. :p
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<Profpatsch> Hydra Reproducible Build Testing!
<Profpatsch> Praise the Sun!
matthewbauer has quit [(Ping timeout: 248 seconds)]
<Profpatsch> This is a major milestone for repreducability in general, since we have the full automatibility.
<gchristensen> lol
<gchristensen> yes!
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/v1Xnw
<NixOS_GitHub> nixpkgs/master 6293402 John Wiegley: coq_HEAD: Update to the latest commit as of 2016-12-13
pi3r has quit [(Ping timeout: 258 seconds)]
<sternenseemann> Is anyone here on OS X and can figure out, how to get gopher to work on Darwin?
<sternenseemann> otherwise, I'll just disable it in the pkgs
<sternenseemann> (I mean pkgs.gopher)
JonReed has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<sternenseemann> this is the build failure: https://hydra.nixos.org/build/44755523
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
alx741 has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
alx741_ has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Ping timeout: 258 seconds)]
<LnL> might be because of clang
<LnL> sternenseemann: you should create an issue on github
<sternenseemann> LnL: i think regex is different on OS X
<sternenseemann> LnL: yeah, just thought it might be a trivial issue
JagaJaga has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21110: tigervnc: fix missing Xvnc (xauth) (master...tigervnc) https://git.io/v1idb
FRidh has quit [(Ping timeout: 268 seconds)]
fritschy has quit [(Quit: Leaving.)]
reinzelmann has quit [(Quit: Leaving)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
johann__ has quit [(Quit: Leaving.)]
JagaJaga has quit [(Quit: WeeChat 1.6)]
Shou has joined #nixos
ryanartecona has joined #nixos
<clever> gchristensen: http://www.qooxdoo.org/5.0.1/demobrowser/#widget~Tree.html
rly has quit [(Ping timeout: 246 seconds)]
acowley_away is now known as acowley
pi3r has joined #nixos
ryantrinkle has joined #nixos
IITaudio has quit [(Ping timeout: 258 seconds)]
seanz has joined #nixos
c0bw3b has left #nixos []
Itkovian has joined #nixos
<sphalerite> I tried switching the cpu frequency scaling governor to ondemand by running echo ondemand | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor, but it came back with "invalid argument". "powersave" and "performance" work fine. Why would ondemand not work?
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<clever> sphalerite: you probably need to "modprobe cpufreq_ondemand" first
<sphalerite> Hm, it loads the module fine but still says Invalid argument
<clever> sphalerite: try doing it without tee, just "sudo -i" and echo normaly
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #21072: neko: 2.0.0 -> 2.1.0 (master...neko-2.1.0) https://git.io/v1oz1
<clever> [root@laptop:~]# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
<clever> sphalerite: and check to see which ones are available
<sphalerite> the same with just sudo -i and echo
<sphalerite> huh, only performance and powersave
<clever> what is in the list of available governors?
matthewbauer has joined #nixos
<clever> the drivers might not support it, though ive never run into that myself
<clever> before ondemand was a thing, i had to run powernowd, which did things in userland via the userspace governor
<sphalerite> Surely the drivers shouldn't have any influence on which governors are available, only on the actual availability of scaling?
<sphalerite> hm, the available governors seem to be entirely independent of which modules are loaded. powersave is available even if I rmmod cpufreq_powersave
<sphalerite> I can't rmmod cpufreq_performance though: rmmod: ERROR: Module cpufreq_performance is builtin.
teknico has left #nixos []
jfroche has quit [(Ping timeout: 245 seconds)]
<Entroacceptor> do you have the intel_pstate driver?
<Entroacceptor> that can't do ondemand
<sphalerite> not loaded
matthewbauer has quit [(Ping timeout: 248 seconds)]
<sphalerite> nope, the module's not even there
<clever> [root@laptop:~]# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
<sphalerite> oh but yeah /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver contains intel_pstate
<clever> sphalerite: what does this say?
<clever> heh
<sphalerite> right, that explains it
<clever> it sounds like that driver ignores all governors, and implements its own
<clever> my laptop is using acpi-cpufreq
<clever> and the first laptop i had with cpufreq, would lock up for 700ms, every time the freq changes
<clever> and "ls -ltrh" was enough to make it bump up to a higher speed
<sphalerite> ouch
<clever> then it would drop keyboard events while it tries to make up its mind
<Entroacceptor> but the pstate driver should give better power saving anyway
<clever> sometimes, it would drop key release events, and think i was holding a key
<Entroacceptor> ouch, indeed
<clever> then key repeat does its job
<sphalerite> intel_pstate offers only two governors, powersave and performance. Intel claims that the intel_pstate "powersave" is faster than the generic acpi governor with "performance"
<sphalerite> apparently
<sphalerite> So I'll just use powersave
<clever> sounds like they put ondemand into the hardware?
<clever> and powersave just tells the chip to do whatever it wants?
Itkovian has quit [(Ping timeout: 246 seconds)]
<sphalerite> probably something like that
rly has joined #nixos
<sphalerite> I do seem to be getting lower frequencies with powersave than with performance (based on eyeballing 2s-interval samples)
ryantrinkle has quit [(Ping timeout: 265 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<sphalerite> and it scales up just fine when I get it to compile stuff. So all is well. Thanks for the pointers!
jgertm_ has quit [(Ping timeout: 250 seconds)]
<gchristensen> anyone using composer + nix?
<gchristensen> ie: have a composer2nix or something
anelson has quit [(Remote host closed the connection)]
anelson has joined #nixos
JagaJaga has joined #nixos
rly has quit [(Ping timeout: 265 seconds)]
acowley is now known as acowley_away
<clever> gchristensen: http://imgur.com/a/Fi9VC
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<gchristensen> domenkozar / ikwildrpepper: for some reason, kernel builds are timing out on hydra now. is something going wrong? see the latest build of 4.8, 3.12, 3.14: https://hydra.nixos.org/build/44769425
<eacameron> It'll be a nixos build server :D
lverns has quit [(Ping timeout: 258 seconds)]
<gchristensen> eacameron: nice :P
<gchristensen> the HD speed will bite you, HD speed is important (nix writes lots of '.drv' files) and also single-core performance (for nix-instantiate)
rly has joined #nixos
<eacameron> gchristensen: Yah that's the one thing I don't like about this...but for $800 I can afford to put in an SSD I think
<gchristensen> but 2.9ghz is pretty great for that, and SSDs are cehap
<eacameron> gchristensen: Oh it's only $600 USD it looks like
<gchristensen> offlinehacker / offlinehacker[m]: https://gist.github.com/offlinehacker/b45735e7dc1bf0d3d568 do you have something to consume this? https://gist.github.com/offlinehacker/b45735e7dc1bf0d3d568 (composer2nix)
mexisme has quit [(Read error: Connection reset by peer)]
<eacameron> gchristensen: Yah...not to mention 72GB ram
<eacameron> pretty sure that'll be enough :P
mexisme has joined #nixos
<NixOS_GitHub> [nixpkgs] boronine opened pull request #21127: haxe: enable darwin platform (master...haxe-enable-darwin) https://git.io/v1Xgb
mexisme has quit [(Read error: Connection reset by peer)]
mexisme has joined #nixos
<gchristensen> avn: 8 cores... 9GB of ram per core ... you'll have more than enough, for sure
<toogley> what should i do to resolve the problem described here? https://github.com/NixOS/nixpkgs/issues/21084 i already did the stuff in here http://nixos.org/nixos/manual/#sec-upgrading and hp-print still results in the same error message.
qryantm has quit [(Remote host closed the connection)]
<avn> gchristensen: btw, will it works faster if will NOT write .drvs, but recalculate it each time?
<gchristensen> avn: I have no idea
<roconnor> toogley: are you using the unstable channel?
<gchristensen> avn: I was just disappointed when I got a 48-core server, 256 gb of ram, and the bottlenecks were HD and single-core performance :P
<toogley> roconnor: no. nixos https://nixos.org/channels/nixos-16.09
<toogley> roconnor: should i use it?
<roconnor> If I understood what was written on the issue tracker correctly, using the unstable channel will solve your problem. That said, you will end up on the unstable channel.
<roconnor> I use the unstable channel; it usually isn't a problem.
<roconnor> toogley: actually maybe I misunderstood
<roconnor> toogley: maybe using the 16.09 channel is supposed to work.
clever has quit [(Ping timeout: 246 seconds)]
filterfish has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
<sphalerite> Hah, I quit firefox and now the cpu frequency is consistently below 1GHz (it was exceptionally below 1GHz with firefox running)
dockerized is now known as dcz__
rly has quit [(Ping timeout: 265 seconds)]
<roconnor> toogley: what does ls -l ~/.nix-defexpr/channels_root/nixos say?
fpletz has quit [(Ping timeout: 245 seconds)]
Entroacceptor has quit [(Ping timeout: 258 seconds)]
<roconnor> toogley: and maybe aslo echo $NIX_PATH
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<toogley> roconnor: its a link to /nix/store/vjhd4lzsx42plkpj8x2fhh31z99gkavi-nixos-16.09.1229.f52eaf4/nixos
fpletz has joined #nixos
<toogley> roconnor: path "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"
<roconnor> hmm, that seems all normal.
<roconnor> and you say you still get the same error?
acowley_away is now known as acowley
<toogley> roconnor: yes
matthewbauer has joined #nixos
<roconnor> toogley: I would reopen the bug and say you still have the error in 16.09.1229.f5eaf4 which is the latest release of 16.09.
<toogley> roconnor: okay, thanks
jmeredith has joined #nixos
Wizek__ has joined #nixos
matthewbauer has quit [(Ping timeout: 252 seconds)]
Wizek has quit [(Ping timeout: 260 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
ambro718 has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
Wizek__ has quit [(Ping timeout: 260 seconds)]
msd_ has quit [()]
dgn has quit [(Ping timeout: 245 seconds)]
josdotso has joined #nixos
cpennington has quit [(Ping timeout: 258 seconds)]
cybrian has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 250 seconds)]
c0bw3b has joined #nixos
cpennington has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #21127: haxe: enable darwin platform (master...haxe-enable-darwin) https://git.io/v1Xgb
filterfish has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
derjohn_mob has quit [(Ping timeout: 264 seconds)]
<buttbutter> Is there any sort of Haskell base install?
<buttbutter> Or do I really have to manually specify every package I want to use?
<LnL> what do you mean by that?
<buttbutter> I just want Xmonad to work with my xmonad.hs file ;_;
<buttbutter> But it can't find any of the libraries.
<buttbutter> And I don't really know what I'm doing :)
filterfish has joined #nixos
ThatDocsLady has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
matthewbauer has joined #nixos
ThatDocsLady has quit [(Client Quit)]
<sheenobu> buttbutter you probably want 'services.xserver.windowManager.xmonad.extraPackages'
<sheenobu> finding haskell libraries... that i don't know
clever has joined #nixos
<sheenobu> searching github for that string will also show you how other people do it https://github.com/search?q=services.xserver.windowManager.xmonad.extraPackages&type=Code&utf8=%E2%9C%93
matthewbauer has quit [(Ping timeout: 268 seconds)]
<buttbutter> sheenobu: I did that already
<buttbutter> But I think I just got it to work. :)
<buttbutter> Didn't realize I had to restart X =/
<sheenobu> aha. yes
<sheenobu> i've been chewing on some sort of layer between the display-manager unit and the actual invocation of chosen window or desktop manager. that way you can bounce and upgrade your window manager without restart X
<buttbutter> Isn't it kind of stupid that you can run xmonad by just setting xmonad.enable = true; but in reality it's totally broken since it won't be able to read your xmonad.hs file?
rly has joined #nixos
<buttbutter> sheenobu: And that sounds great :D
Wizek_ has joined #nixos
Wizek__ has joined #nixos
<sheenobu> buttbutter, I don't use xmonad so I don't know how one would fix that. I think in i3, you can specify the config in your nixos config
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<sheenobu> might try to boot up xmonad...
<sheenobu> buttbutter, can you post your xmonad.hs?
redmq has quit [(Quit: leaving)]
ryantrinkle has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
<Cypi> What is the clean way to have the headers from a package (say, gmp) available to compile some other stuff?
<buttbutter> sheenobu: It's a total piece of shit, but sure
<Cypi> "nix-env -iA nixos.gmp" doesn't seem to cut it. It does install the headers in .nix-profile/include, but they are not seen by gcc automatically
<clever> Cypi: put that package into your pckages buildInputs list
<Cypi> The thing I want to compile after is not a nix package
<clever> Cypi: you should never install things on nixos just to get the headers
<clever> Cypi: then use nix-shell -p gmp
<buttbutter> sheenobu: http://lpaste.net/349881
<Cypi> Oh. That did it. For some reason, I thought that if it didn't work with "nix-env -iA", it wouldn't with "nix-shell -p"
<Cypi> thanks
<clever> Cypi: nix-shell sets up special env variables needed by gcc
ok2 has joined #nixos
<Cypi> The other stuff I want to compile is actually managed by another package manager. I guess that means I'll have to do "nix-shell -p" everytime I want to upgrade the stuff managed by this other package manager?
<clever> Cypi: or write a proper package for it
qryantm has joined #nixos
<Cypi> For the other package manager you mean? (otherwise, it would break its management of dependencies)
<Cypi> I guess it'd be doable
<clever> Cypi: things like stack and npm are already covered in nixpkgs
matthewbauer has quit [(Ping timeout: 268 seconds)]
fpletz has quit [(Ping timeout: 246 seconds)]
fpletz has joined #nixos
cpennington has quit [(Ping timeout: 256 seconds)]
MichaelRaskin has joined #nixos
derjohn_mob has joined #nixos
mexisme2 has joined #nixos
Havvy has quit [(Quit: Leaving)]
filterfish has joined #nixos
Havvy has joined #nixos
filterfish has quit [(Remote host closed the connection)]
Havvy has quit [(Client Quit)]
Havvy has joined #nixos
alx741 has quit [(Quit: alx741)]
mexisme has quit [(Ping timeout: 268 seconds)]
<toogley> what is the recommended way to run a custom systemd service? use a ~/.config/systemd/ dir?
justbeingglad has joined #nixos
<c0bw3b> you can define your own units directly in your configuration.nix with the systemd.services.<name>.* options
justbeingglad has left #nixos []
<toogley> c0bw3b: ah, nice to know. thanks. and where should i put my custom services then? i mean the unit files.
<c0bw3b> toogley : nowhere nixos-rebuild would write them for you :)
ok2` has joined #nixos
<toogley> c0bw3b: really? well, thats great. :D
<c0bw3b> toogley: see https://nixos.org/nixos/options.html and search for systemd.services and systemd.targets and systemd.sockets and systemd.timers
<c0bw3b> toogley: yep it is! the power of declarative config
cpennington has joined #nixos
ok2 has quit [(Ping timeout: 252 seconds)]
<toogley> c0bw3b: so, does that mean, its expected that units in ~/.config/systemd/user fail with "Failed to start mail.service: Unit mail.service not found." when i start them with "systemctl --user start mail" ?
<c0bw3b> humm no you should still be able to write them manually
<c0bw3b> maybe it's a rights issue
<c0bw3b> see logs in journalctl -u mail.service
<LnL> ikwildrpepper: my jobset seems to be stuck in the queue, trunk builds fine so I don't think it's the machines
reinzelmann has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
filterfish has joined #nixos
anelson_ has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<toogley> c0bw3b: ah, okay. (btw. journalctl --user-unit mail.service shows nothing; i recently found an open issue on the nixpks github repo, but i can't find it now)
<c0bw3b> toogley: never tried to use a user unit TBH... are you sure your user is in the systemd-journal group ?
<c0bw3b> otherwise you don't have the right to use journalctl
<toogley> c0bw3b: ah, that might it be.
<gchristensen> toogley c0bw3b what about journalctl --user --unit
ryantrinkle has quit [(Ping timeout: 256 seconds)]
<gchristensen> you don't need to be in systemd-journal to use `--user`
<toogley> gchristensen: no entries
anelson has quit [(Ping timeout: 258 seconds)]
<c0bw3b> gchristensen: yheah ok seems right ^^
acowley is now known as acowley_away
<gchristensen> ikwildrpepper: any thoughts on why hydra's kernel builds are timing out?
derjohn_mob has quit [(Ping timeout: 256 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
mexisme2 has quit [(Read error: Connection reset by peer)]
mexisme has joined #nixos
digitalmentat has joined #nixos
JonReed has joined #nixos
JonReed has quit [(Changing host)]
JonReed has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/v1XA8
<NixOS_GitHub> nixpkgs/master 78ffee7 Aristid Breitkreuz: kakoune: update 2016-07-26 -> 2016-12-10
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
AllanEspinosa has joined #nixos
<digitalmentat> why would `nixos-rebuild boot && reboot` not correctly update the systemd unit files?
<digitalmentat> `nixos-rebuild switch` appears to do so, (I'm having other problems with that though, like it hanging)
AllanEspinosa has quit [(Ping timeout: 245 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
seanz has quit [(Quit: Leaving.)]
JonReed has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
m` has joined #nixos
m` is now known as hoNO
<simpson> Hi! I've written a tiny pkg collection, and it doesn't work right. The expression evaluates fine with nix-build, but my Hydra complains of infinite recursion.
<simpson> I suspect that it's this line, but I'm not sure what I'm doing wrong: https://github.com/monte-language/mtpkgs/blob/master/default.nix#L38
<hoNO> hi! Does anybody know, if nixops deployment works with a vServer account?
digitalmentat has quit [(Quit: Leaving)]
Itkovian has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<pSub> hoNO: it works for me at netcup
<clever> gchristensen: http://imgur.com/a/HV4s1
<gchristensen> O.o
<clever> gchristensen: that UI is running fully in a browser
<hoNO> pSub: In the nixops manual I only find instructions for amazon, google, microsoft, hetzner, libvirtd. I havn't heard of netcups. Which section of the manual did you follow?
ryanartecona has joined #nixos
<gchristensen> hoNO: you can also specify "none" and the IP address
<pSub> yes I did what gchristensen said
<clever> hoNO: if the type is set to "none" then it will expect nixos to already be on the machine, and it will use nix-copy-closure to deploy to it
<pSub> I had a preinstalled NixOS on the vserver and with that everything is smooth
<pSub> hoNO: fyi: netcup is a small provider located in Germany
<LnL> does anybody know what the difference is between mapAttrsToList and mapAttrsFlatten?
jensens has joined #nixos
alx741 has joined #nixos
filterfish has joined #nixos
AllanEspinosa has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<hoNO> pSub: someone recommended 'in-berlin' to me, maybe even smaller than netcups: http://in-berlin.de/provider/vserver.html
seanz has joined #nixos
<c0bw3b> LnL: seems mapAttrsFlatten is deprecated >> https://github.com/NixOS/nixpkgs/blob/master/lib/deprecated.nix
<pSub> hoNO: I don't have experience with in-berlin. I have my vserver at netcup for a couple of years now (~6) and I am pretty happy with the cost-benefit ratio
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
derjohn_mob has joined #nixos
<offlinehacker[m]> gchristensen: I could take a look, I used it for media wiki extensions
<gchristensen> offlinehacker[m]: I'd really appreciate it if you found something :)
m0rphism has quit [(Quit: WeeChat 1.4)]
m0rphism has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] schneefux opened pull request #21128: nextcloud: 10.0.2 -> 11.0.0 (master...pkg.nextcloud) https://git.io/v11TO
<eacameron> I've had issues in a runCommand where it seems I can't "mv" or "rm"...Is that user error or is that really how it is?
<eacameron> I'm mv'ing and rm'ing all within the $out directory
<clever> eacameron: those commands should be available
<clever> gcc is something that recently got moved around though
<eacameron> clever: Could it be that I need to `cd $out` and run them with relative paths?
<clever> nope
<eacameron> clever: odd...I'm copying all the files from another derivation and then tweaking them...
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/v11TX
<NixOS_GitHub> nixpkgs/master d3be9a5 Franz Pletz: nginxMainline: 1.11.6 -> 1.11.7
<NixOS_GitHub> nixpkgs/master 762d902 Franz Pletz: php71: init at 7.1.0
<NixOS_GitHub> nixpkgs/master 2ec1990 Franz Pletz: php56: 5.6.28 -> 5.6.29
<clever> eacameron: can you gist your expression?
<eacameron> clever: Yah let me try it again
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-16.09: https://git.io/v11kJ
<NixOS_GitHub> nixpkgs/release-16.09 34b6d7d Franz Pletz: php56: 5.6.28 -> 5.6.29...
<NixOS_GitHub> nixpkgs/release-16.09 813e63e Franz Pletz: php70: 7.0.13 -> 7.0.14...
<hoNO> does somebody know why I'm getting this error on rebuilding: ''error: cannot coerce a set to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/strings.nix:442:44'' . I just added the attribute 'boot' to the pkgs list in the config.nix
jedai has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
deepwater has joined #nixos
filterfish has quit [(Remote host closed the connection)]
fpletz[m] has joined #nixos
deepwater has quit [(Client Quit)]
cpennington has quit [(Remote host closed the connection)]
deepwater has joined #nixos
evck has joined #nixos
Itkovian has joined #nixos
Guest57953 has quit [(Quit: Lost terminal)]
<eacameron> clever: I'm copying the contents of an unzip into $out and then trying to copy a folder from another deriv into $out/craft...but it says permission denied :/
<clever> eacameron: the $out/craft you copied came from the nix store, so its read-only
<clever> eacameron: which means you cany add things to it on line 34 until you +w it
<clever> cant*
<eacameron> clever: ahhh...so when I copy from the nix store I have to chmod that to make it writeable...?
<clever> eacameron: yeah
<eacameron> clever: Ah...well that explains a lot of my issues
<clever> eacameron: also, you dont need to inherit src;, you can also cp -r ${src}/* $out/ as another way of doing it
<eacameron> clever: cool...great. I'd rather that
<clever> eacameron: oh, and find has a -delete
<clever> so you dont need xargs there
<eacameron> clever: Wow! Awesome!
<eacameron> clever: Tell me more! ;)
<clever> and that xargs command would have failed if there was spaces in the path, i always use find -print0 | xargs -0 to fix that
<clever> it seperates the files with \0
<clever> but -delete saves a couple processes
<eacameron> clever: oh my...I think I've actually run into that before and ended up at -print0...but definitely -delete is much easier
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/v11mb
<NixOS_GitHub> nixpkgs/master 00f5ed6 Pascal Wittmann: libfilezilla: 0.8.0 -> 0.9.0
<NixOS_GitHub> nixpkgs/master 1bb96c2 Pascal Wittmann: filezilla: 3.22.2.2 -> 3.23.0.2
roundhouse has joined #nixos
hoNO has quit [(Ping timeout: 260 seconds)]
k2s has joined #nixos
goibhniu has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Read error: No route to host)]
ckauhaus has quit [(Quit: Leaving.)]
roundhouse has left #nixos []
k2s has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] miniBill opened pull request #21129: Fix typo in configuration-hackage2nix.yaml (master...patch-1) https://git.io/v11Y7
amarsman has quit [(Quit: amarsman)]
mk-fg has quit [(Ping timeout: 250 seconds)]
k2s has joined #nixos
miniBill has joined #nixos
<miniBill> hello, I'm the "maintainer" for an hackage package. how can I convince hydra to try a newer version of the package I uploaded some days ago?
k2s has quit [(Client Quit)]
<LnL> the haskell packges are buit from the latest stackage TLS
<LnL> any specific reason you would want to override it?
digitalmentat has joined #nixos
<digitalmentat> `nixos-rebuild boot` correctly builds my system configuration, but reboots appear to boot up into a rather old config - I verified that /etc/grub/grub.cfg is correct, so I'm very confused
<digitalmentat> has anyone run into this before?
<clever> digitalmentat: is /boot mounted correctly?
<clever> digitalmentat: double-check to see if you have a 2nd /boot filesystem thats not mounted?
<digitalmentat> I'll double check but this was working fine a few days ago
filterfish has joined #nixos
<evck> curious, anyone running nix on a MBP? sort of considering dual booting one...
filterfish has quit [(Remote host closed the connection)]
<gchristensen> evck: I am, several people are
<evck> gchristensen: how does battery life work out? i've read a bit about linux not taking advantage of some mac specific power saving features...
<gchristensen> it is true that macOS is the industry leader in system and power contrrol
<gchristensen> nobody else manages power like macOS does. I get probably 2-2 hours on battery on my 11,3 where-as I would get at least 2x that on macOS
<NixOS_GitHub> [nixpkgs] tohl opened pull request #21130: small fixes (master...master) https://git.io/v1132
<gchristensen> part of the issue is the discrete GPU is always on in linux, vs. switching in macOS
<gchristensen> evck: you might find https://lwn.net/Articles/707616/ informative
<digitalmentat> yeah /boot is mounted correctly and there's no secondary mounted, this is really weird
<evck> makes sense... i'm going to have to get ready switch away from macOS, can't deal with these new configurations of MBPs :(
<gchristensen> same
<evck> sadly I don't see embedded dev tools going USB-C any time soon ;)
<gchristensen> hah yeah, well
<dash> i switched last year to a lenovo x1 carbon and it's been better in nearly every way
mexisme2 has joined #nixos
<dash> running ubuntu not nixos atm though
<gchristensen> evck: https://medium.com/broken-window/my-search-for-a-macbook-pro-alternative-e549ea2b2dee#.bl3osks8r I found this informative too :)
<evck> dash: yeah, that looks like quite a nice laptop...
<miniBill> LnL: oh, ok. the reason is that the latest LTS bears a broken version of the package, but I guess I can wait for the next LTS
<dash> i might reinstall this week, sat down with garbas and he talked me into it :)
<evck> right now I have Nix running on an old Lenovo x120e, which actually makes a decent 3rd screen with synergy
<gchristensen> evck: I'm also interested in the surface book thing
mexisme has quit [(Ping timeout: 268 seconds)]
<evck> it's a pretty machine, never seen anything but Windows on it though.
<evck> some of these newer chromebooks also look decent
<c0bw3b> hp spectre x360 and dell xps 13 dev edition are also good machines
<LnL> miniBill: allright, in that case I would just change it in the generated hackage-packages.nix file
wkennington has joined #nixos
hiratara has quit [(Ping timeout: 245 seconds)]
<mpickering> I want to add fast-tags to my env, on a normal system I would say "cabal install fast-tags", what is the nix equivalent?
<miniBill> LnL: I can definatively wait for the next LTS =)
<miniBill> LnL: I don't use nixos, I just find it nice to have something building the package, but I don't have any hurry
miniBill has left #nixos ["kthxbai"]
k2s has joined #nixos
k2s has quit [(Remote host closed the connection)]
hiratara has joined #nixos
filterfish has joined #nixos
deepwater has quit [(Quit: Leaving)]
filterfish has quit [(Read error: Connection reset by peer)]
JagaJaga has quit [(Ping timeout: 250 seconds)]
<AtnNn> mpickering: you might do something like `nix-env -iA nixpkgs.haskellPackages.fast-tags'
<mpickering> thanks
civodul has joined #nixos
deepwater has joined #nixos
dcz__ has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #21131: fail2ban service: improve ssh jail (master...fail2ban-service) https://git.io/v11ny
acowley_away is now known as acowley
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to master: https://git.io/v11Cf
<NixOS_GitHub> nixpkgs/master 6d1180c Robert Helgesson: perl-Sub-Quote: init at 2.003001
<NixOS_GitHub> nixpkgs/master 586dd2a Robert Helgesson: perl-Moo: 2.002005 -> 2.003000...
amarsman has joined #nixos
<NixOS_GitHub> [nixpkgs] bnikolic opened pull request #21132: bazaar: enable sftp transport (master...fix/bazaar) https://git.io/v11CM
goibhniu has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #20706: Emacs macport version fix (master...emacs-macport-version-fix) https://git.io/v1Uvw
rly has quit [(Ping timeout: 240 seconds)]
<digitalmentat> clever, so I unmounted /boot
<digitalmentat> and it turns out there was a /boot underneath it
<digitalmentat> could an aborted nixos-rebuild switch cause something like that?
<digitalmentat> I'm trying to figure out how that might happen
tnks has left #nixos []
mk-fg has joined #nixos
acowley is now known as acowley_away
m` has joined #nixos
m` is now known as hoNO
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #20536: emacs-24.5-mac-5.15: fixed package by adding build tools (master...master) https://git.io/vXdnu
<hoNO> hi! I'm trying to deploy a nix-expression vie nixops to a local virtual machine. For this I'm following the nixops manual: http://nixos.org/nixops/manual/#idm140737319345872 However, I'm getting this error: The Virtual
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<eacameron> hoNO: What error is that?
<gchristensen> hoNO: your message ended at "The Virtual"
<eacameron> hoNO: My best guess is you need to run `nixops deploy ... --check`
<hoNO> here's the error msg: http://pastebin.com/0DHNp9yX
<hoNO> the check flag gives me the same error.
<eacameron> hoNO: Oh dear...I've never seen that before. Do you have a recent version of VirtualBox? Are you running on Linux or macOS?
<simpson> Hydra question: Why would an expression cause infinite recursion on Hydra but not on my local machine? https://hydra.matador.cloud/jobset/mtpkgs/master#tabs-errors
<eacameron> simpson: It could be laziness
<simpson> eacameron: What's the difference between hydra-eval-jobs and nix-build though? :c
<hoNO> I'm running on NixOS. I must mention, that I could not add the 'vboxnet0' to the VirtualBox config, as demanded in the manual some paragraphs before
josdotso has quit [(Quit: Leaving)]
<eacameron> hoNO: Hmm...yah I've never seen that before but I'm newish to nixops myself.
<eacameron> simpson: Hah no idea.
<eacameron> simpson: But I'll bet how much of the derivation is being forced is the difference
<simpson> eacameron: I think that the same stuff is being forced either way.
<hoNO> when trying to add the 'vboxnet0' network I got this error: http://pastebin.com/7LAefbHY
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<eacameron> hoNO: Are you able to use virtualbox in other ways (not with nixops)? It looks like the install is not right...at least for nixops
deepwater has quit [(Remote host closed the connection)]
hoNO has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v11Bo
<NixOS_GitHub> nixpkgs/master a26acf9 Joachim Fasting: torbrowser: 6.0.7 -> 6.0.8
jensens has quit [(Ping timeout: 246 seconds)]
m` has joined #nixos
<MichaelRaskin> I guess test-eval-release.sh could help running a stricter evaluation locally
deepwater has joined #nixos
<m`> eacameron: I actually just installed VirtualBox for this purpose. I'm not quite experienced with the program, so I cannot tell, if it works correctly. At least its the latest version.
m` is now known as hoNO
latk has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
dstufft has left #nixos ["Textual IRC Client: www.textualapp.com"]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
hoNO has quit [(Ping timeout: 256 seconds)]
digitalmentat has quit [(Quit: Leaving)]
ambro718 has quit [(Ping timeout: 245 seconds)]
ryantrinkle has joined #nixos
m` has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #21133: shell_cmds: init at 198 (master...shell_cmds) https://git.io/v11EF
deepwater has quit [(Remote host closed the connection)]
erasmas has quit [(Quit: leaving)]
filterfish has joined #nixos
<gchristensen> does hydra treat timeouts as stable failures?
filterfish has quit [(Remote host closed the connection)]
estewei has quit [(Quit: Quit)]
k2s has joined #nixos
deepwater has joined #nixos
hotfuzz_ has quit [(Read error: Connection reset by peer)]
hotfuzz_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<jack[m]> Yes.
<jack[m]> gchristensen (IRC): you mean like a silent timeout.
<jack[m]> ?
filterfish has joined #nixos
<gchristensen> yeah
<jack[m]> You can crank it up, though.
<gchristensen> err
filterfish has quit [(Read error: Connection reset by peer)]
<gchristensen> https://hydra.nixos.org/build/44769646a "Timed out" :(
<gchristensen> we haven't built this package successfully in a week
<jack[m]> In my experience, when a build stops talking to the world, there is a problem with it..
<gchristensen> it is the kernel, and nothing has changed but a version bump
<gchristensen> (or two)
<jack[m]> hrm. did the patchShebang start recursing a symlink loop or something.
<gchristensen> doesn't look like it,
m` has quit [(Ping timeout: 240 seconds)]
<gchristensen> niksnut: (I'll ping you in about 11 hours just in case this is lost in your sleep) can you check in to the failing kernel builds? it lines up with the build determinism checks. I wonder if the extra building there is causing issues with load? release-16.09 is blocked on kernels not building fast enough.
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
k2s has quit [(Quit: Leaving)]
cybertron has left #nixos []
ebzzry has joined #nixos
systemfault has joined #nixos
c0bw3b has left #nixos []
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Piece_Maker is now known as Acou_Bass
asakeron has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #21134: firefox-bin: 50.0.2 -> 50.1.0 [Critical security fix] (master...firefox-bin-50.1.0) https://git.io/v11Vx
danharaj has quit [(Ping timeout: 258 seconds)]
<asakeron> is there any way to make nix-shell considers overrides written in ~/.nixpkgs/config.nix?
mexisme2 has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mexisme has joined #nixos