takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<Biappi>
does "propagatedBuildInputs" work for stdenv.mkDerivation?
echo-area has joined #nixos
takle has quit [(Ping timeout: 250 seconds)]
marusich has joined #nixos
AllanEspinosa has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
glines has quit [(Ping timeout: 260 seconds)]
shanemikel has joined #nixos
<shanemikel>
is there a way to use ghcWithPackages (as described in the nixpkgs manual) with ghcHEAD?
angerman has quit [(Quit: Gone)]
wink has quit [(Ping timeout: 258 seconds)]
wink has joined #nixos
zagy has joined #nixos
zagy has quit [(Client Quit)]
<shanemikel>
oh, I got it working... but I was confused because `nix-env -f '<nixpkgs>' -qaP -A haskell.packages.ghc801` lists packages, where `nix-env -f '<nixpkgs>' -qaP -A haskell.packages.ghcHEAD` gives an error about a missing parameter
<echo-area>
clever: I reviewed the code, and understood it. Thanks
<clever>
PathSet context; is another weird thing in nix that can be non-obvious
<clever>
basicaly, every string in nix has context attached to it, which references which derivations the string may depend on
<clever>
so if i make a string like "${pkgs.hello}", that has context that depends on a specific build of hello, but when cast to a string, it looks like "/nix/store/cjdj0d229a4d8cr872di5yvyrm65qg83-hello-2.10"
<clever>
what you cant see, is that it also references /nix/store/ay9q989f0qwvrjjnn6pq5skc69rlmkmc-hello-2.10.drv
<clever>
and in this case, findFile will try to compile everything the string depends on, at line 811
_gilligan_ has joined #nixos
<clever>
but normaly, those contexts get routed back to another derivation, and become its build-time dependencies
<lewo>
Hi. I'm looking for some helps regarding openstack modules. A test script boots a nested VMs and show networking is working. We are now able to boot a small cloud on our laptop ;)
<NixOS_GitHub>
[nixpkgs] mikesperber opened pull request #20787: rPackages.DescTools does not require X (master...DescTools-does-not-require-X) https://git.io/v1qmF
takle has joined #nixos
systemfault has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
ixxie has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<echo-area>
clever: Is there any way of investigating associated contexts of a string?
<echo-area>
I can see that if the contexts of two strings are different, they are not equal
<clever>
echo-area: not sure
<clever>
echo-area: usualy you just ignore the contexts, and nix does its magic for you
<echo-area>
There is only builtins.unsafeDisgardStringContext
<echo-area>
Okay
takle has quit [(Ping timeout: 256 seconds)]
eacameron has joined #nixos
pstn_ has quit [(Ping timeout: 250 seconds)]
dgn has joined #nixos
eacameron has quit [(Ping timeout: 250 seconds)]
jgertm_ has joined #nixos
<srhb>
What are the actual rules for allowed places for let..in?
<clever>
srhb: i think it can go before any value
<clever>
srhb: so you can do { foo = let bar = true in VALUE; } or { args }: let bar = true in VALUE
thc202 has joined #nixos
<kmicu>
No rules.
viric has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
ixxie: it was partialy deleted when gnome's default version got updated
<mbrgm>
is there a place where all nix library functions are documented?
<clever>
mbrgm: mostly in the source file lib.nix, and nixpkgs
<clever>
(the nixpkgs manual)
<mbrgm>
clever: I used the source files until now, but nixpkgs manual doesn't seem to have the entirety of functions. it isn't autogenerated like the configuration.nix manpage is, right?
<clever>
mbrgm: yeah, the manual is just manualy edited
takle has joined #nixos
<mbrgm>
clever: ok, thank you
<clever>
i have noticed some man pages like nix-collect-garbage refer to arguments like --print-live, which only work on nix-store --gc
<clever>
i often say, "luke, use the source", because the docs can lie :P
Shou has quit [(Ping timeout: 250 seconds)]
<qknight>
http://nixpaste.lbr.uno/MaU_mTJG?nix <- i've this snippet nix code, how to evaluate it that nix-instantiate or nix-build actually creates a .drv i can execute using the store?
<qknight>
i want to see if the download and hash also works
<clever>
qknight: you should be able to just run nix-instantiate directly on that file
<ixxie>
thanks Clever
<ixxie>
do you know if Lethalman ever hangs out here?
<clever>
ixxie: that contains nearly every package in nixpkgs
eacameron has joined #nixos
<ixxie>
so its an index of sorts
<ixxie>
its where the namespace is defined?
<clever>
ixxie: its what creates the main pkgs attribute set
<qknight>
nix-build default.nix -A a <- and i can evaluate it with this!
<qknight>
how lovely!
<qknight>
clever: why can't i use nix-instantiate?
<clever>
qknight: the left version will call fetchurl on an attrset, the right version returns an attrset with fetchurl set to another attrset
_gilligan_ has joined #nixos
<clever>
ah, i didnt notice that typo in the original paste
Shou has joined #nixos
yegods has joined #nixos
proteus-guy has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 250 seconds)]
<qknight>
clever: nvm!
edvorg has quit [(Ping timeout: 244 seconds)]
iyzsong has joined #nixos
Shou has quit [(Ping timeout: 260 seconds)]
<ixxie>
Thats good to know clever, for a while I was thinking the set hierarchy was built from the directory/file hierarchy somehow
<clever>
ixxie: only gentoo does that, heh
derjohn_mob has joined #nixos
NEo4v8_ has quit [(Read error: Connection reset by peer)]
NEo4v8_ has joined #nixos
sdothum has joined #nixos
filterfish has joined #nixos
rly has quit [(Ping timeout: 256 seconds)]
rly has joined #nixos
_gilligan_ has quit [(Quit: This computer has gone to sleep)]
Zvieratko has joined #nixos
<m`>
hi! I'm trying to use a haskell package called Euterpea, unfortunately the following fails: nix-shell --pure -p "haskellPackages.ghcWithPackages (p: [p.Euterpea ])"
<Zvieratko>
hi, good people of the internet :)
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<Zvieratko>
question - is there a way to install NixOS unattended? (foreman, pxeboot...)
m` has joined #nixos
<m`>
hi! I'm trying to use a haskell package called Euterpea,
<m`>
unfortunately the following fails: nix-shell --pure -p
<clever>
Zvieratko: the main way i can think of right now, is to setup something that will install a base image (with ssh and some credentials to login), and then use nixops with the targetenv of "none" to deploy
<m`>
(sorry for the mis-indentation)
[0x4A6F] has joined #nixos
<m`>
after some downloading and seemingly successfull compiling I get this in the end: http://pastebin.com/ZZmruYtX
<Zvieratko>
clever: yeah, but the "base image" is what I'm after :) maybe if I could pass a configuration.nix via PXE that could be made to work...
<Zvieratko>
or is there something like "debootstrap" for nixos? I could work around that..
<Zvieratko>
(i.e. boot some other installer like ubuntu with my own payload, "debootstrap" nixos, chroot and do the magic..)
<clever>
Zvieratko: you can run nixos-install from a script, and there are utils in nixpkgs to build an image that has a script built into it
<Zvieratko>
clever: I need one image for all machines, scripts will be autogenerated by foreman (or some other)
<Zvieratko>
clever: I can't really build image for all machines
echo-area has quit [(Remote host closed the connection)]
<Zvieratko>
or let me rephrase the question - how would you go about automated installation for hundreds of machines? (some physical, some virtual)
<clever>
Zvieratko: this would generate an image based on the that config
<clever>
Zvieratko: with some minor tweaks, you could use that image as an installation media
<clever>
so a system boots the image over the network, and the image will automaticaly format the host, run nixos-install, and reboot
<Zvieratko>
clever: image is not really the same - I need to partition the machines (encrypt, partition, mkfs...), give them networking (on the fly) etc.
<Zvieratko>
clever: i'll take a look at it then, thanks!
<clever>
yeah, the image would do that
<clever>
treat the image from example.nix more as an ISO then the final product
proteus-guy has joined #nixos
<Zvieratko>
clever: good, but still would be great to be able to "feed" it configuration somehow
phreedom has quit [(Remote host closed the connection)]
<Zvieratko>
clever: are you familiar with foreman?
<clever>
yeah, nixops is better at pushing the config out to a machine, once it has nixos
<clever>
so you could use the example.nix image to format and install a bare-bones nixos
<clever>
same config for all
<manveru>
is there an easy way to go from [["a" "b"] ["c" "d"]] to {"a" = "b"; "c" = "d"}?
<clever>
then nixops will deploy the final config
<clever>
manveru: yeah, one sec
<Zvieratko>
clever: saw nixops, but no libvirt support and no support for physical machines
<Zvieratko>
clever: and I don't want another management tool, I already have way too many :)
<clever>
Zvieratko: physical machine support is thru the targetenv of "none", which just ssh's into a given machine and applies the config
<Zvieratko>
clever: the problem is I can't use the same config, and that's the beauty of using foreman
<clever>
and other stuff has to actualy bring the machine up
<Zvieratko>
clever: right now, foreman boots "discovery" image, which fills parameters like available disks, NICs, etc., it knows where physicaly the host is (because it has different subnets in different locations), and then when I click "provision" I can select which disks will be used for RAID, which NICs will have what config etc... each machine could be slightly or completely different
<manveru>
i saw listToAttrs, but it's a bit weird that i fist have to make a list of attrs... maybe fold is better?
<clever>
Zvieratko: ah, neat, sounds similar to something i have planned
<Zvieratko>
clever: this generates kickstart config which installs the machine, reboots, and then puppet takes over
<clever>
manveru: map, almost done this example
<clever>
nix-repl> :p builtins.listToAttrs (map (e: { name = builtins.elemAt e 0; value = builtins.elemAt e 1; }) [["a" "b"] ["c" "d"]])
<clever>
{ a = "b"; c = "d"; }
<clever>
manveru: and done!
<Zvieratko>
clever: it would be pretty simple to integrate nixos, all that's needed is an "installed" image (vmlinuz/initrd for example) which you "feed" configuration that gets generated
<Zvieratko>
s/installed/installer/
<clever>
Zvieratko: one of the side-projects i'm working on is an html5 gui for nixos-install, with the option for an RPC
<clever>
Zvieratko: so you can just boot an image that has this project running on bootup, and a central box can take over and make it install things
<manveru>
thanks, will try that
<Zvieratko>
clever: RPC would be a problem (at least with foreman)
<Zvieratko>
clever: for example for kickstarting ubuntu there's a "template" in foreman, which is in fact a script that outputs something, so you can customize it however you want, and the ubuntu installed fetches the output of this template during install over PXE (http, tftp...)
<Zvieratko>
clever: so maybe just adding support to fetch "configuration.nix" from URL passed in cmdline would be enough?
<Zvieratko>
clever: that would be pretty much universal for anything
<clever>
Zvieratko: that is one of the things i had planned
<clever>
Zvieratko: one mode of operation would be to give it a tar or git url, containing the full config and partition layout
<clever>
and then it just goes whatever the files told it to do
<clever>
Zvieratko: it will basicaly rsync a copy of nix (and its dependencies) into the root, and register them as valid in nix.db, then configure it so it can leech from /nix/store of the host (like a 2nd binary cache)
<Zvieratko>
clever: saw that, but that depends on fetching lots of stuff from the repo, right?
<clever>
Zvieratko: then it just runs nix-build under the chroot
<Zvieratko>
clever: usable, but I'll have to make it more self-contained
<clever>
if the host has something, it just copies it over, if not, it tries the binary cache, and just compiles whatever is missing
__Sander__ has joined #nixos
<clever>
and you can pre-build the images and embed them into the host as well
<Zvieratko>
cool
<clever>
nix-build '<nixpkgs/nixos>' -I nixos-config=./configuration.nix -A config.system.build.toplevel
<Zvieratko>
well, the "host" would be just a ubuntu installer ramdisk or something like that
<clever>
things go smoother if the host is also nixos, using another distro isnt officialy supported
<clever>
the above command would build a given configuration.nix file, so its already present in /nix/store for later use
<Zvieratko>
clever: well... I could export the block device for rootfs over NBD to another host and install it from there... :)) that would be a neat hack
<Zvieratko>
clever: but not really something sustainable :)
<clever>
Zvieratko: i do have my laptop booting over iSCSI as we speak
<clever>
complete with grub in the MBR of the iSCSI device
<Zvieratko>
clever: cool :)
<Zvieratko>
clever: but I'd have to integrate it into a working stack(s), I guess I'll wait a little more before deploying nixos then :)
<Zvieratko>
clever: I need to do something more special, and it's complicated enough just with Ubuntu... :)
<clever>
on related subjects, i have also made nixos consume a gentoo install twice
<clever>
without booting install media or repartitioning
<clever>
i just ran the nix-build command above, and then forced it to update the MBR and keep using the same rootfs
stkj has joined #nixos
<Zvieratko>
clever: I did it the other way around - switched from Debian to Gentoo on a live system... :)
<clever>
Zvieratko: the first time i did it, was as an experiment, and because i cant put a cd drive into my netbook, lol
<clever>
the second time, i was on the road, and all i had was half a gentoo system (most of it had been mv'd out to the NAS, and i didnt have time to finish)
<Zvieratko>
goibhniu: I saw that, but I'd have to "teach" it stuff like LUKS encrypted ZFS for root, TPM usage during boot etc... It's not hard to do on a running system, but almost impossible for installers :/
<Zvieratko>
clever: tha same happened to me :) my laptop died (or rather I b0rked it), so I had to boot into single mode, connect with laplink cable to a friends laptop and copy his installation over... but that was with Redhat 5 or something like that :))
<avn>
Zvieratko: also nixos-in-place script can be interesting for you (but I can't remember url)
<clever>
Zvieratko: in my case, all it had left was a nix-build copy from 2015 and a few shreds of init.d that could still boot
<Zvieratko>
thanks all for the tips, I'll do some more studying, but I'm afraid I really need to have a smart enough installer for this
<clever>
i was able to update it to nixos 32bit, and then with a few more tweaks, 64bit-ize it
<Zvieratko>
clever: nowadays I store a few ISOs in /boot for rescue :)
<clever>
heh
<clever>
the /boot on my NAS is <64mb
<Zvieratko>
clever: still enough for debian installer I think :)
<Zvieratko>
clever: linux16 /memdisk iso
<Zvieratko>
initrd16 /images/fwj949usa.iso
<Zvieratko>
something like that
<clever>
heh, didnt think they could get that small, but i am working on a ~40mb nixos installer image
<Zvieratko>
btw there was a cool project from fedora, where you just booted an gPXE image which could boot anything from the net, I'll look it up
<clever>
that basicaly gives you the same env as if you had booted from a CD
<clever>
so you then partition and nixos-install as normal
<Zvieratko>
clever: now I just need to feed it configuration for unattended install :)
<clever>
you could just use a bash script that fdisks's /dev/sda, formats, mounts, copies configuration.nix in, and runs nixos-install
viric has quit [(Ping timeout: 246 seconds)]
<Zvieratko>
clever: yeah
<Zvieratko>
clever: but I need to generate that on the fly somehow
<Zvieratko>
clever: usually you can simply concat your own initramfs to existing initramfs and it will create an overlay, that way you can customize whatever you want, but I can't generate something like that during the host's boot - all I can do is prepare it and wget the configuration afterwards... probably too much work for me (for now)
newhoggy2 has quit [(Remote host closed the connection)]
<clever>
Zvieratko: i also have a raspberry pi that claims to be PXE booting, but it ignores the next-server field in dhcp, and tries to tftp the dhcp host
<ikwildrpepper>
domenkozar: perhaps it would even work to use the volume or snapshot in block device mapping for root volume
<ikwildrpepper>
but haven't done that ever
newhoggy2 has joined #nixos
<Zvieratko>
clever: saw something like that :) I worked around it by always booting GRUB which grabs config according to its MAC
<ikwildrpepper>
the snapshot/createimage is probably the safest solution
<ikwildrpepper>
as you can keep the old one up
<Zvieratko>
clever: in fact I switched everything to PXE booting GRUB because it's much simpler to do than iPXE
derjohn_mob has quit [(Ping timeout: 256 seconds)]
<clever>
Zvieratko: ipxe and my bios havent had that issue
<clever>
Zvieratko: heh, i found ipxe simpler then grub on this end
<Zvieratko>
clever: it usually works... but GRUB _always) works :)
<clever>
Zvieratko: and i'm using a mix of both on my laptop, ipxe hijacks the legacy bios hdd api, so grub thinks the iscsi device is a local drive
<Zvieratko>
clever: :D
<domenkozar>
ikwildrpepper: yeah I'll just do that :)
redmq has joined #nixos
<clever>
Zvieratko: and i have a custom nixos module that can mount the rootfs over iscsi
jedai has quit [(Read error: Connection reset by peer)]
acarrico has joined #nixos
derjohn_mob has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/v1qrp
<NixOS_GitHub>
nixpkgs/master 66c3818 Thomas Tuegel: kde5.frameworks: 5.27 -> 5.28
viric has joined #nixos
filterfish_ has joined #nixos
angerman has quit [(Quit: Gone)]
eacameron has joined #nixos
<clever>
Zvieratko: and with 2gig of ram, it can boot
filterfish has quit [(Ping timeout: 240 seconds)]
viric_ has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<gchristensen>
good morning NixOS
newhoggy2 has joined #nixos
saintromuald__ has joined #nixos
ToxicFrog has joined #nixos
<Zvieratko>
clever: I hit more problems with iPXE, in some setups it overwrote parts of the memory or freezed
saintromuald has quit [(Quit: Leaving)]
<Zvieratko>
clever: grub just always works
<Zvieratko>
clever: and I can PXE boot grub which boot something from network, but can also boot ISO from local disk... hard to do with ipxe
<clever>
Zvieratko: ah
<Zvieratko>
clever: and some other stuff like appending MAC - simple in GRUB, clumsy at best with iPXE
_gilligan_ is now known as gilligan_
<Zvieratko>
clever: IPAPPEND simply appends MAC (or IP? I don't know now :)) at the end of previous line... but if you boot multiboot then you need it as a kernel argument, not an initramfs argument :)
<Zvieratko>
clever: or maybe you need it in another format etc... not possible in iPXE
<clever>
Zvieratko: with ipxe, you can just insert ${net0/mac} into almost any command i believe
<clever>
and it will insert the mac of the 0th NIC
<Zvieratko>
clever: no you can't :) some command take arguments like that, other don't (like mboot)
<clever>
oh
<gchristensen>
niksnut: we've got to backport firefox 50.0.1 to 16.09
<clever>
and it looks like the netboot image i mentioned is criticaly broken, /nix/store is read-only, and nix-store --check-validity within nixos-install wants to create /nix/store/.links/
<gchristensen>
niksnut: I'm not sure why it broke video on stable, but we can't stay behind
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
Lowl3v3l has joined #nixos
cfricke has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1qPl
<NixOS_GitHub>
nixpkgs/master 2f0cc0d Erik Rybakken: unclutter-xfixes service: init...
<NixOS_GitHub>
[nixpkgs] joachifm closed pull request #18398: Add x11 service for unclutter-xfixes (master...master) https://git.io/viC4t
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to master: https://git.io/v1qXm
<NixOS_GitHub>
nixpkgs/master b04e23b Graham Christensen: firefox: 50.0 -> 5.0.1 for CVE-2016-9078
<NixOS_GitHub>
[nixpkgs] joachifm closed pull request #9750: Use mirroring in NixOS not only for fetchurl. (master...nix-prefetch-mirroring) https://git.io/vZZHF
Lowl3v3l_ has joined #nixos
ugjka has quit [(Quit: ByE ByE)]
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
wangoe has joined #nixos
ugjka has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<NixOS_GitHub>
[nixpkgs] grahamc created backport-firefox-50.0.1 (+5 new commits): https://git.io/v1q1B
<Dezgeg>
does anyone know where nix master holds the binary cache negative lookups cache/
viric_ has joined #nixos
<Dezgeg>
aha, ~/.cache/nix/
slack1256 has joined #nixos
slack1256 has left #nixos []
<gchristensen>
ikwildrpepper: it would be really nice if I could announce nix-security-announce's configuration was updated tomorrow, if you can get to it
<clever>
Dezgeg: when is the last time you tried booting a rpi from nixos-unstable?
viric has quit [(Ping timeout: 265 seconds)]
Ivanych has quit [(Ping timeout: 248 seconds)]
JagaJaga has joined #nixos
yegods has quit [(Remote host closed the connection)]
<ikwildrpepper>
gchristensen: ok, anyone can join now, but only managers/owners can post
<ikwildrpepper>
i've added you and domenkozar as manager
<clever>
the store on the host is read-only, so this fails hard
zagy has quit [(Quit: Leaving.)]
<NixOS_GitHub>
[hydra] domenkozar pushed 1 new commit to master: https://git.io/v1q94
<NixOS_GitHub>
hydra/master 8758d71 Leonid Onokhov: Remove logfile.css from templates (#428)...
eacameron has quit [(Ping timeout: 265 seconds)]
yegods has joined #nixos
<NixOS_GitHub>
[hydra] domenkozar pushed 1 new commit to master: https://git.io/v1q99
<NixOS_GitHub>
hydra/master cf12356 phile314-isska: Document ssmtp for email notifications. (#426)
<clever>
gchristensen: and it now has nearly the identical unionfs that the ISO's have, PR incoming!
<gchristensen>
haha, cool!
yegods has quit [(Remote host closed the connection)]
<gchristensen>
back in a while -- heading in to work.
<NixOS_GitHub>
[nixpkgs] astsmtl pushed 1 new commit to master: https://git.io/v1qHW
<NixOS_GitHub>
nixpkgs/master c9b8a65 Alexander Tsamutali: Add tools/networking/polysh
<NixOS_GitHub>
[nixpkgs] cleverca22 opened pull request #20795: make the /nix/store writable under netboot images (master...netboot) https://git.io/v1qHu
<clever>
gchristensen: and PR is open!
<clever>
domenkozar: this would be a good PR to test the hydra stuff on, since its changing an artifact under nixos/release.nix, rather then nixpkgs, so travis likely wont know what to do
<FRidh>
any suggestions how to get a 40 GB file in the store?
<FRidh>
nix-prefetch-url runs out of memory
<FRidh>
and using nix-store --add won't work because, I think, it computes the hash differently
thaega has left #nixos ["ERC Version 5.3 (IRC client for Emacs)"]
wangoe has joined #nixos
glines has joined #nixos
<domenkozar>
ikwildrpepper: thanks :)
katyucha has quit [(Quit: leaving)]
<gchristensen>
domenkozar: did you restart that login test?
<domenkozar>
yes
<gchristensen>
mysteries abound ...
stepcut has quit [(Remote host closed the connection)]
<gchristensen>
maybe it hasn't run again, yet? who knows
stepcut has joined #nixos
Shou has quit [(Ping timeout: 250 seconds)]
lverns has quit [(Ping timeout: 260 seconds)]
wangoe has quit [(Quit: leaving)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
ixxie has joined #nixos
pstn_ has joined #nixos
stepcut has quit [(Remote host closed the connection)]
amyers has quit [(Remote host closed the connection)]
derjohn_mob has joined #nixos
alex9222 has joined #nixos
<alex9222>
hello, when i add boot.crashDump.enable = true; in my /etc/nixos/configuration.nix i have an error : "error: cannot coerce a set to a string, "
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
yegods has joined #nixos
jgertm_ has quit [(Ping timeout: 248 seconds)]
<Yaniel>
is it possible to make nix run a binary installer and take over whatever files that installs?
<Yaniel>
or is there some sort of makepkg for nix
<Yaniel>
(case in point: renoise)
__Sander__ has quit [(Quit: Konversation terminated!)]
spacekitteh has joined #nixos
leothrix has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 240 seconds)]
<ToxicFrog>
Yaniel: I have not tried this myself, but I think you can do that using a custom unpackPhase that runs the binary installer (possibly after patchelfing it)
<ToxicFrog>
er, unpackCmd
TheAppleMan has joined #nixos
TheAppleMan has quit [(Changing host)]
TheAppleMan has joined #nixos
alex9222 has quit [(Ping timeout: 250 seconds)]
leothrix has joined #nixos
civodul has joined #nixos
FRidh has quit [(Remote host closed the connection)]
akaWolf has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to master: https://git.io/v1mcM
<kmicu>
pstn_: could you file an issue on Nixpkgs’ bug tracker to document the problem? IRC is a really bad medium for non–trivial errors.
<wombawomba>
So I'm experimenting with using nix as my package manager in Ubuntu. How do I get it to run services which require root privileges (specifically the docker daemon)?
nixy has joined #nixos
wangoe has joined #nixos
wangoe has quit [(Client Quit)]
asymmetric has quit [(Ping timeout: 245 seconds)]
<Shell>
wombawomba: you'd have to write systemd services which pull in the Nix environment and run the services yourself.
<Shell>
management of services is part of NixOS, rather than Nix-as-a-package-manager.
<kmicu>
Nix, the package manager, provides packages, the rest should be handle as recommend by your distro so check how to create such services on Ubuntu.
<wombawomba>
okay
<wombawomba>
do you know of any recommended reading on this? not sure how I would do that
matthewbauer has joined #nixos
<kmicu>
pstn_: also add info about your graphic chip if that is not available in your pastes (e.g. with lspci -v).
pstn_ has quit [(Remote host closed the connection)]
glines has quit [(Ping timeout: 245 seconds)]
glines has joined #nixos
glines has quit [(Ping timeout: 260 seconds)]
newhoggy2 has joined #nixos
jensens has quit [(Read error: Connection reset by peer)]
jensens has joined #nixos
redmq has joined #nixos
agjacome has joined #nixos
<NixOS_GitHub>
[nixops] wavewave opened pull request #559: Fix errata in nc option in nixops ssh into deployed container on remo… (master...container-ssh) https://git.io/v1mb5
danielrf has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
Guest73281 has quit [(Remote host closed the connection)]
matthewbauer has quit [(Read error: Connection reset by peer)]
matthewbauer has joined #nixos
jgeerds has quit [(Quit: Leaving)]
Itkovian has quit [(Client Quit)]
herzmeister has joined #nixos
glines has joined #nixos
JagaJaga has quit [(Quit: WeeChat 1.6)]
Itkovian has joined #nixos
xadi has joined #nixos
NEo4v8_ has joined #nixos
wombawomba has quit [(Quit: leaving)]
Shou has quit [(Ping timeout: 268 seconds)]
NEo4v8_ has quit [(Ping timeout: 256 seconds)]
Wizek has joined #nixos
goibhniu has joined #nixos
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 250 seconds)]
rly has quit [(Ping timeout: 260 seconds)]
yegods has joined #nixos
ryantrinkle has joined #nixos
bennofs1 has quit [(Ping timeout: 244 seconds)]
Shou has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cpennington has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 250 seconds)]
Itkovian has joined #nixos
hiratara has quit [(Ping timeout: 240 seconds)]
slack1256 has joined #nixos
newhoggy2 has joined #nixos
hiratara has joined #nixos
Lowl3v3l_ is now known as Lowl3v3l
Shou has quit [(Ping timeout: 260 seconds)]
JagaJaga has joined #nixos
seppellll has joined #nixos
goibhniu has quit [(Ping timeout: 245 seconds)]
<gchristensen>
clever: if you rebuild a job on hydra, does it make a new build ID?
<clever>
gchristensen: if you restart a failed one, it should reuse the id
<gchristensen>
ah
<gchristensen>
damn
<clever>
and show the step twice under build steps
<clever>
but you cant view the logs of when it failed, it picks the newest instance of that step