k0001 has quit [(Ping timeout: 240 seconds)]
qwebirc68691 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] ben0x539 opened pull request #1408: nix-shell: Don't overwrite PS1. (master...ps1) https://git.io/vHH4W
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
michas has quit [(Quit: Leaving)]
ryanartecona has quit [(Client Quit)]
<andrewrk> clever, when I do the `nixos-rebuild boot` step, I get `Error in tempdir() using /run/user/0/nix-build.XXXXXX: Parent directory does not exist at aoeuaoeu/Nix/Utils.pm
roconnor has quit [(Ping timeout: 258 seconds)]
<clever> andrewrk: when you run "env | grep run", is that in any of the tempdir vars?
<andrewrk> XDG_RUNTIME_DIR=/run/user/0
<andrewrk> is that what you're asking?
<clever> yeah, try unsetting that
<gchristensen> LnL: ping?
<samueldr> hi!
<samueldr> I'm having a hard time setting up nat networking with declarative containers
<boomshroom> YES! Cross Compiler: Successfully Compiled! Sadly, without c++.
<samueldr> I asked earlier, had no responses (possibly people being busy working and such)
cpennington has quit [(Remote host closed the connection)]
<samueldr> the nat works wonderfully for anything going towards the container<
<samueldr> though, from the container, I cannot access anyhing outside
<andrewrk> clever, error: not an absolute path: `nix-build.wevGHL/derivation` \n Running in chroot, ignoring request.
<samueldr> (I'm really not good with linux networking)
<clever> andrewrk: try unset, rather then setting it to nothing
ris has quit [(Ping timeout: 240 seconds)]
<andrewrk> ahh thanks
<andrewrk> clever, I did that, and it seemed like `nixos-rebuild boot` succeeded, but then I still couldn't boot
<clever> andrewrk: one sec
<clever> andrewrk: try nixos-rebuild --install-bootloader boot
<andrewrk> in the chroot, right?
<clever> yeah
<clever> and confirm that boot.loader.device is still right
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d10fe64124 (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<andrewrk> clever, I get "/boot" has wrong type of r an EFI Sypstem Partition (ESP)
<andrewrk> I'll try setting the boot.loader.device
r0bby is now known as Guest38050
pareidolia has quit [(Ping timeout: 245 seconds)]
<andrewrk> I don't think boot.loader.device is a thing. I think it's looking at the path "/boot"
Guest38050 has quit [()]
<clever> andrewrk: oops, boot.loader.grub.device
<andrewrk> I'm not sure that I'm using grub
<andrewrk> are you suggesting to start?
r0bby has joined #nixos
<andrewrk> oh I think I just have to toggle some flags in gparted
<clever> andrewrk: oh, what bootloader are you using?
<andrewrk> systemd boot I think
pareidolia has joined #nixos
<andrewrk> yeah systemd boot
<clever> ah, then youll need the right type and flags
<andrewrk> I think it worked
<andrewrk> clever, great, thanks for your help
<catern> is there a way to express a dependency on a kernel package in Nix?
arianvp2 has quit [(Quit: arianvp2)]
<catern> er, a kernel *feature*
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
<pikajude> nope
<catern> another independent question: if I run a binary out of the store, does the garbage collector somehow notice and register that package as a GC root?
anton__ has joined #nixos
<pikajude> no
<pikajude> why
<clever> yes
<pikajude> really?
<pikajude> how could it?
<clever> catern: the GC will scan /proc to find all in-use paths
<clever> /proc/*/exe are symlinks to all running binaries
<catern> aha, nice
<pikajude> jesus
<clever> and /proc/*/environ are env variables
<catern> yeah, I thought I read that somewhere
<catern> that is a really awesome feature :)
<catern> clever: woah it even scans environ?
<catern> clever: seriously?
<clever> yes
<gchristensen> it sure does
<clever> there is also a bug, nix-store --query --roots doesnt show those
<clever> but nix-store --delete still says they are in-use
<catern> that's so cool
<gchristensen> man so it also scans all the momery
<gchristensen> memory*
anton has quit [(Remote host closed the connection)]
MP2E has joined #nixos
anton__ has quit [(Read error: Connection reset by peer)]
<catern> no way
<catern> I don't see that
<clever> catern: on line 385, it checks what the executable for the pid is
<clever> line 386, the current working dir
<clever> 388-394, every open file
<clever> 406, every file mmap'd
<clever> 414, every path in an env variable
<clever> catern: line 445-447, the closures for any kernel->userland entrypoints
<clever> the kernel will run a command when certain events happen
<catern> ah, neat, sure
<catern> but I thought gchristensen was saying it scanned the actual memory :)
<clever> it almost is
<catern> like /proc/self/mem
<grahamc> Ohhh sorry my mistake :)
riclima has joined #nixos
ison111 has joined #nixos
lambdamu_ has joined #nixos
roconnor has joined #nixos
anton has joined #nixos
lambdamu has quit [(Ping timeout: 260 seconds)]
anton has quit [(Remote host closed the connection)]
elninja44 has joined #nixos
acarrico has joined #nixos
anton has joined #nixos
anton has quit [(Remote host closed the connection)]
<samueldr> clever: sorry for the time before I replied
<samueldr> I tested your configuration, before making a fool of myself
<samueldr> on a clean VM, the mc1 container cannot access the internet
phinxy has quit [(Quit: Leaving)]
<clever> samueldr: does the hostaddress and localaddress exist in the same subnet as the internalip's?
<clever> samueldr: i have used that exact config before to run a minecraft server
<samueldr> oh, I can reach the container from the outside, no problem<
<samueldr> the webserver I'm hosting on there works
<samueldr> but the daemon for tt-rss cannot reach any websites
<clever> if you run "nixos-container root-login <containername>", can you ping a domain?
<samueldr> I cannot, it won't resolve, pinging a known ip does not work
anton has joined #nixos
<clever> samueldr: can you gist your configuration?
<samueldr> I believe all relevant parts are there
<clever> samueldr: the internalIPs is commented out in there
<clever> and you dont have a hostAddress set
<samueldr> containers.<name>.hostBridge
<samueldr> > Put the host-side of the veth-pair into the named bridge. Only one of hostAddress* or hostBridge can be given.
<clever> ah, if your using a bridge, then nat isnt at play
<clever> is eno1 in the bridge?
<samueldr> I'm not really good with networking stuff, so I'm probably doing somethign wrong
<samueldr> on the server, the physical itnerface is eno1
<samueldr> there aren't any other
<samueldr> I have br0 as bridges = {
<boomshroom> Hey, I want to start another silly "how much can I torture the computer/compiler" project and I would like to use a programming language that's clearly not meant for kernel development. Does anyone know of any niche, novelty languages that compile to c? (LLVM doesn't support my desired target.) I've tried Nim and I'm wondering if there are any others.
alx741 has joined #nixos
<samueldr> (sorry if my typing is wonky, I'm not using my usual keyboard and this one's real bad)
<clever> samueldr: if your using bridging, then you would put eno1 into br0 on line 21, where its currently blank, and then you give the containers IP's that exist in your main LAN
<dash> boomshroom: common lisp
<samueldr> oh, so no bridge then
<boomshroom> dash: XD
<dash> boomshroom: also why are you limiting yourself to stuff that compiles to C
<dash> boomshroom: would you consider... ocaml?
<boomshroom> dash: I did write an assembler in lisp macros. The limit is because I'd like to compile to RISC-V, which most toolchains including LLVM don't support. I'm mostly looking for recent languages, ie: < 10 years old.
s33se_ has joined #nixos
<dash> boomshroom: definitely rpython then
Supersonic112 has quit [(Ping timeout: 255 seconds)]
roconnor has quit [(Ping timeout: 246 seconds)]
<dash> boomshroom: i was serious about ocaml though - https://mirage.io/
s33se has quit [(Ping timeout: 246 seconds)]
<boomshroom> I'd also prefer either no or optional garbage collection, but I was able to hack go into doing a surprising amount.
bennofs1 has quit [(Ping timeout: 240 seconds)]
dhess` has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 240 seconds)]
Supersonic112 has joined #nixos
<boomshroom> As a bonus, the more obscure and bizarre, the better. :D
<samueldr> oh well, I feel dumb now
<samueldr> there was a stray colon in the interface name
<samueldr> yes, the internalIPs is commented in the nix configuration, once uncommented and the stray colon removed, everything seems to work
nevermind has joined #nixos
<samueldr> with the "empty" br0 bridge thing
mbrgm has joined #nixos
<disasm> wow! CI checks on PR's are fast today :)
<boomshroom> Looks like I'll be sticking with Nim. I excitedly await Jai, though.
deba5e12 has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
deba5e12 has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has quit [(Client Quit)]
deba5e12 has quit [(Ping timeout: 240 seconds)]
deba5e12 has joined #nixos
drakonis has joined #nixos
roconnor has joined #nixos
riclima has joined #nixos
vaibhavsagar has joined #nixos
spinus has quit [(Ping timeout: 240 seconds)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
slack1256 has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
riclima has joined #nixos
slabity has joined #nixos
elninja44 has quit [(Remote host closed the connection)]
nixy has quit [(Quit: WeeChat 1.7)]
nixy has joined #nixos
nixy has quit [(Client Quit)]
nixy has joined #nixos
<boomshroom> Hi, the nixpkgs repo and manual have a few ways of packaging applications from various languages and build systems. How can I package a Nim package with Nix?
<slack1256> If code for nim modules doesn't exist already, I would try to replicate what other languages do
<slack1256> read how haskellPackages work
nixy has quit [(Quit: WeeChat 1.7)]
nixy has joined #nixos
zeus_ has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
nixy has quit [(Quit: WeeChat 1.7)]
nixy has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b349d4b899 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
sitwon has quit [(Ping timeout: 246 seconds)]
sitwon has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
justan0theruser is now known as justanotheruser
schoppenhauer has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Quit: brb)]
jgertm has joined #nixos
MP2E has joined #nixos
schoppenhauer has joined #nixos
deba5e12 has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
akamaus has quit [(Ping timeout: 260 seconds)]
jgertm has quit [(Ping timeout: 255 seconds)]
hellrazo1 has quit [(Ping timeout: 268 seconds)]
slack1256 has quit [(Remote host closed the connection)]
jgertm has joined #nixos
MP2E has quit [(Quit: leaving)]
nevermind has joined #nixos
simukis has joined #nixos
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
Ralith_ has joined #nixos
natas_ has joined #nixos
inflames has joined #nixos
<ison111> Does anyone know what configuration is needed to get mod_wsgi to be installed into Apache's modules? Using services.httpd.extraModules = [ "mod_wsgi" ]; doesn't seem to do the trick. It adds a line to load the module in httpd.conf but it doesn't actually install the module into Apache
simukis has quit [(Ping timeout: 240 seconds)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nevermind has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<nixy> Anyone here use nixops on darwin? I feel like this should be simple but it keeps giving me trouble
<ison111> Nevermind, I was just being stupid. Had to use an attribute set instead with the path to .so file.
nevermind has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<nixy> It keeps trying to build machine configurations locally, which fails since you can't build linux on darwin
<simpson> nixy: I have seen your problem before, but I don't remember the solution. (I'm not on Darwin.)
<nixy> simpson: Yeah, it seems like a couple people have seen this before
<nixy> I remember it being mentioned that darwin should automatically use the remote systems to build the configuration, but that isn't happening :(
vaibhavsagar has joined #nixos
faffolter has joined #nixos
<dmj`> nixy: maybe don’t use Darwin
<dmj`> or nixops
<dmj`> can you provision a nixos machine, ssh in, and then rebuild switch to what you want, or sudo nixos-rebuild switch —remote
<dmj`> as long as you have ssh access to that box
<nixy> I mean, I can already do that. I am trying to use NixOps to make managing the servers easier
reinzelmann has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
<nixy> It's a set of 8 identical servers so I don't really feel like doing that for each of them, I just thought nixops would make managing that easier
<dmj`> honestly
<dmj`> I’d just build machine images of them
<dmj`> then upload them to s3
<dmj`> or whichever cloud provider
<dmj`> nixos/maintainers/scripts
<nixy> I could do that, but then I would have to build new images and redeploy to all of them any time I made any changes
<dmj`> you can then deregister an image, and re-register, then instantiate
<dmj`> nixy: sounds like purity to me :)
<dmj`> immutability
<dmj`> if you have 8 of them, they won’t all be down at the same time
<dmj`> how often will you destroy / recreate?
<nixy> It isn't like downtime is critical for these, it's just all these sound like a PITA
<dmj`> you can make an AMI w/ nixos, that has a configuration.nix wiht your own modules, running your stuff
<nixy> They are Tor nodes and I have been tweaking the bandwidth allowed each month to try and achieve maximum usage of the bandwidth each server is alloted
<nixy> Also I am not using Amazon
riclima has joined #nixos
<dmj`> which cloud provider are you using?
<nixy> I use Linode
<dmj`> hmmm
<nixy> So with nixops I would be using the "none" provider
<dmj`> that sounds more painful to me, in all honesty
<nixy> What using the none provider or Linode?
<dmj`> Linode
<dmj`> Does it have a boto equivalent
<nixy> I mean, the way you recommend I solve these anything that isn't AWS would be a pain wouldn't it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jbedo opened pull request #26543: snpeff: 4.3i -> 4.3p (master...snpeff) https://git.io/vHH6M
NixOS_GitHub has left #nixos []
MercurialAlchemi has joined #nixos
<dmj`> nixy: GCE would probably be better than aws
<dmj`> better api, cheaper too
<nixy> dmj`: Under current circumstances I receive hosting from Linode for free, so pretty much any other hosting provider is foolish for me
<dmj`> nixy: well that’s hard to beat
<nixy> Indeed. They do have an API that I could use to take images and redeploy them, but I wanted to use NixOps rather than invent my own tooling for this
marsel has joined #nixos
alx741 has quit [(Quit: alx741)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #26123: kernel: enable audio jack reconfiguration (master...snd-hda-reconfig) https://git.io/vHGpf
NixOS_GitHub has left #nixos []
freusque has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
nslqqq has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Ping timeout: 246 seconds)]
marsel has quit [(Ping timeout: 246 seconds)]
filterfish has joined #nixos
nslqqq has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
MP2E has joined #nixos
xeviox has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
indi_ has quit [(Ping timeout: 268 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
Wizek has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 255 seconds)]
Wizek_ has joined #nixos
anton has quit [(Disconnected by services)]
anton__ has joined #nixos
leat has quit [(Ping timeout: 260 seconds)]
civodul has joined #nixos
marsel has joined #nixos
noam has quit [(Ping timeout: 245 seconds)]
mudri has joined #nixos
sophiag has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHHMn
<NixOS_GitHub> nixpkgs/master f866cae Jörg Thalheim: android-udev-rules: 20170305 -> 20170612
NixOS_GitHub has left #nixos []
boomshroom has quit [(Quit: Page closed)]
thc202 has joined #nixos
jgertm has quit [(Ping timeout: 258 seconds)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 255 seconds)]
Mateon3 is now known as Mateon1
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Khetzal has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
Itkovian has joined #nixos
Guest31857 has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
marsel has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
goibhniu has joined #nixos
Guest31857 is now known as Khetzal_
Khetzal_ is now known as Khetzal
marsel has joined #nixos
steveeJ has quit [(K-Lined)]
mt has quit [(K-Lined)]
mt has joined #nixos
tv1 has joined #nixos
tv has quit [(Ping timeout: 240 seconds)]
tv1 is now known as tv
tv has quit [(Changing host)]
tv has joined #nixos
steveeJ has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
oida_ has joined #nixos
jensens has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 246 seconds)]
hellrazor has joined #nixos
eacameron has joined #nixos
abrar has quit [(Quit: WeeChat 1.7)]
drets has joined #nixos
<drets> Hi guys, how can I connect my Nexus 5 to Google Chrome in ordet to debug it? I added udev.packages = [ pkgs.android-udev-rules ];, allowed USB debugging and going to chrome://devices/ , but nothing there :'(
drets has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHHNp
<NixOS_GitHub> nixpkgs/master 156a9af Vladimír Čunát: knot-resolver: 1.2.6 -> 1.3.0
NixOS_GitHub has left #nixos []
drets has joined #nixos
carlosdagos has joined #nixos
hotfuzz_ is now known as hotfuzz
roconnor has quit [(Ping timeout: 268 seconds)]
arianvp2 has joined #nixos
michas has joined #nixos
Itkovian has joined #nixos
<drets> solved
pie_ has quit [(Read error: Connection reset by peer)]
<goibhniu> cool, how did you do it drets?
pie_ has joined #nixos
* goibhniu thinks that would be a good thing to have in the wiki
<drets> udev.packages = [ pkgs.android-udev-rules ]; is enough
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vHHxM
<NixOS_GitHub> nixpkgs/release-17.03 7aca46f Vladimír Čunát: thunderbird: 45.8.0 -> 52.1.1...
NixOS_GitHub has left #nixos []
<drets> using lsusb you can check whether it sees the connected device
<drets> in my case: I connected my Nexus 5 but “lsusb” didn't show that it's connected
<drets> so I grabbed Nexus 6 with original cable − then I saw that Nexus 6 is connected and than Google Chrome saw it too.
<michas> Hi, it looks like python3 does not include pip. - Is this a bug or did I miss some other package?
FRidh has joined #nixos
<FRidh> michas: thats intentional. See python3.pkgs.pip
<FRidh> got to go again
FRidh has quit [(Client Quit)]
<goibhniu> drets: awesome, thanks for explaining!
<michas> FRidh, I'm quite new. How do I use python3.pkgs.pip? (Nix-env seems not to know about it.)
natas_ has quit [(Ping timeout: 260 seconds)]
inflames has quit [(Ping timeout: 260 seconds)]
MP2E has quit [(Quit: leaving)]
seantparsons has quit [(Read error: Connection reset by peer)]
seanparsons has joined #nixos
<michas> Does anyone know, what FRidh meant with "python3.pkgs.pip"?
sophiag has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
<goibhniu> michas you can install it with nix-env -iA nixos.python35Packages.pip
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHHhE
<NixOS_GitHub> nixpkgs/master ed07035 Vladimír Čunát: Merge branch 'staging'
NixOS_GitHub has left #nixos []
<michas> goibhniu, error: attribute ‘nixos’ in selection path ‘nixos.python35Packages.pip’ not found
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7aca46f9a9 (from 18 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<goibhniu> michas ah, what do you get for `nix-env -qaP | grep python3 | grep pip`?
arianvp2 has quit [(Quit: arianvp2)]
<michas> goibhniu, ok, I see. nixpkgs.python36Packages.pip seems to be correct here.
<goibhniu> cool, so on the right hand side you see the "name" and on the left you see the "attribute path"
<goibhniu> installing by attribute path is faster, and gives you more control ... you add -A to nix-env to use it
<michas> goibhniu, is there any way to make "python3 -m pip" work?
xadi has quit [(Ping timeout: 240 seconds)]
nslqqq has quit [(Ping timeout: 268 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<goibhniu> michas are you trying to work out a comfy way to do python development with nix?
nslqqq has joined #nixos
mpcsh has joined #nixos
<michas> goibhniu, I wonder if I could use nix to set up a proper environment for a python application I need to run here. - And also try to learn more about nix in the process.
Neo-- has joined #nixos
<goibhniu> michas: cool, then I think nix-shell would be interesting for you ... you can create a shell.nix file in a directory which defines an environment, and you enter the environment by typing `nix-shell`
<goibhniu> that way you can specify the particular version of python that you want to use, and also which modules should be installed
<goibhniu> do you want to package the application?
<michas> goibhniu, exactly that was the idea. as far as I see I have three ways to provide the needed libraries. Either find a correct pythonPackage, build my own package or simply use pip. - not sure if I really want to write my own nix-package. :)
adamt has joined #nixos
<avn> goibhniu: does that shell.nix need some special, which allow `setup.py develop` to work?
<michas> goibhniu, for now that application in only used inside my company, but there might be packages (for example the shade library) which are not yet in nixpkgs.
spinus has joined #nixos
joehh has quit [(Ping timeout: 246 seconds)]
<goibhniu> avn ah, you mean to install a local package into your environment? ... I don't think there's anything special about it, you can use src=/some/local/code (IIRC) to point to local code though
pie_ has quit [(Ping timeout: 255 seconds)]
<goibhniu> it won't be able to download stuff that it depends on though
<goibhniu> you could always use virtualenv for that, if you don't want to package all the dependencies
xadi has joined #nixos
spinus has quit [(Ping timeout: 240 seconds)]
ilyaigpetrov has joined #nixos
Neo-- has quit [(Ping timeout: 240 seconds)]
michas has quit [(Quit: Leaving)]
ertes has quit [(Ping timeout: 246 seconds)]
<avn> goibhniu: I mean working shell for code which I edit in progress ;) To not install it each time.
<avn> I add PYTHONPATH=$(pwd)/lib to shell hook, but it not ideal
ericsagnes has quit [(Ping timeout: 240 seconds)]
thetet has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ed070354a9 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
proteusguy has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vaartis opened pull request #26546: [WIP] Bugzilla (master...master) https://git.io/vHQk4
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
catch22__ has joined #nixos
indi_ has joined #nixos
MoreTea has joined #nixos
vaibhavsagar has quit [(Ping timeout: 246 seconds)]
ertes-w has joined #nixos
<MoreTea> is there someone here familiar with mvn2nix?
<gchristensen> link to the project?
<gchristensen> ohh mvn I'm thinking sbt
<MoreTea> I'm trying to build a java script application, which works when invoked via 'mvn package' in a nix-shell, but doesn't work with mvn2nix
<gchristensen> "Appears to require maven 3.2.5 to build locally" :( such confidence
<MoreTea> hehe
<MoreTea> how are you doing today gchristensen :)
<jophish> What's the neatest way to use a ghcWithPackages environment with stack?
Jackneill has joined #nixos
<gchristensen> I'm doing quite well, MoreTea, about to be releasing a work project publicly, so very excited
<Jackneill> hey
<Jackneill> what types of kernel are available?
<Jackneill> like does nixos support grsec?
<gchristensen> nixos did support grsec but grsec went away
deba5e12 has joined #nixos
<MoreTea> cool
<MoreTea> this is the error https://pastebin.com/raw/0bCe76LP
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<MoreTea> apparently it tries to download some package that does not exist
proteusguy has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/d10fe64124 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
freusque has quit [(Quit: WeeChat 1.7)]
<gchristensen> niksnut: ^
k0001 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/vHQmh
<NixOS_GitHub> nixpkgs/staging 04d4d14 Robin Gloster: gawk: link gawk manpage to awk
NixOS_GitHub has left #nixos []
ixxie has quit [(Ping timeout: 240 seconds)]
joehh has joined #nixos
ixxie has joined #nixos
marvin3k has quit [(Quit: Lost terminal)]
mudri has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
<MoreTea> haha, actually removing those dependencies made it all work :') /cc @grahamc
leat has joined #nixos
<gchristensen> nice
JagaJaga has quit [(Ping timeout: 255 seconds)]
ericsagnes has joined #nixos
vaibhavsagar has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
orbekk1 has joined #nixos
FRidh has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<gchristensen> anyone available to do some digging in to why nixos.ova.x86_64-linux is failing on nixos-unstable?
indi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #26547: elfkickers: fix typo in enableParallelBuilding. (master...fix/elfkickers-typo) https://git.io/vHQZX
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #26548: psmisc: 22.21 -> 23.0 (master...update/psmisc) https://git.io/vHQZh
NixOS_GitHub has left #nixos []
indi_ has quit [(Ping timeout: 246 seconds)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHQnX
<NixOS_GitHub> nixpkgs/master d645223 Will Dietz: elfkickers: fix typo in enableParallelBuilding....
<NixOS_GitHub> nixpkgs/master 58fef1a Joachim F: Merge pull request #26547 from dtzWill/fix/elfkickers-typo...
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
ericsagnes has quit [(Ping timeout: 260 seconds)]
ertes-w has quit [(Read error: Connection reset by peer)]
ertes-w has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHQWG
<NixOS_GitHub> nixpkgs/master 5ad7d31 Vladimír Čunát: kde4.kdepimlibs: fixup build by using older cmake...
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cleverca22 opened pull request #26550: purescript: fix closure size on OSX (master...purescript) https://git.io/vHQW7
NixOS_GitHub has left #nixos []
<Jackneill> why do you still use releases? isnt 1 point of nixos is to deprecate them? releases ensures that apps/deps work can work together, but with nix, you can have 1 set of deps for 1 app and another for another app of the same deps. there shouldnt be releases?
<gchristensen> nixos doesn't have a goal of deprecating releases
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorpaas opened pull request #26551: go-ethereum-classic: init at 3.5.0 (master...geth-classic-init) https://git.io/vHQ8X
NixOS_GitHub has left #nixos []
<goibhniu> Jackneill: e.g. you may not want to have to migrate your database just to stay up to date
<Jackneill> goibhniu, what?
<Jackneill> you mean with releases theres no update so theres no problem?
pie_ has joined #nixos
<Jackneill> :D
ericsagnes has joined #nixos
<goibhniu> Jackneill: let's say your current system is using postgres 8, and you run an update and the new current version is postgres 9 ... you may need to do some extra manual work to migrate your database to keep it working
<goibhniu> by pinning versions for releases, you only have to deal with such things when you upgrade to a new release
<Jackneill> right
<clever> goibhniu: stateVersion also handles that, so when you do switch channels, it will keep using postgress 8
<gchristensen> Jackneill: can you say more specifically what you mean by "still use releases"?
<goibhniu> ah, true
<Jackneill> gchristensen, nixos by default uses releases instead being rolling like i described
<Jackneill> maybe if you could set channels per pkg
<Jackneill> so that eg. only postrges uses releases
<goibhniu> Jackneill: you know there are both stable and rolling (unstable) channels, right?
<gchristensen> Jackneill: sometimes big changes take place on master and users shouldn't be subjected to huge changes on a highly regular basis, that would be incompatible with business using it
<Jackneill> i didnt mean rolling as a dev/test bed
<Jackneill> i meant not to wait for releases when a *stable* release is available but roll it right now
<Jackneill> of a pkg
<Jackneill> independently of all other pkgs
ericsagnes has quit [(Ping timeout: 255 seconds)]
<Jackneill> unstable is not what i described
<gchristensen> because packages have major updates in stable releases and that can have major impact for users
<Jackneill> what you mean by rolling channel is the unstable, i would put another chan a stable rolling one. as i described
<gchristensen> what is the difference between an unstable rolling release and a stable rolling release?
<Jackneill> gchristensen, well only autoipdate if no user intervention is needed, otherwise prompt fo rit..
<gchristensen> I mean what would go in to the unstable rolling release that wouldn't go in to the stable rolling release?
<Jackneill> gchristensen, " users shouldn't be subjected to huge changes on a highly regular basis," sounds unstable
<gchristensen> no they're stable
<gchristensen> they're big changes and they're developments, and they're stable
indi_ has quit [(Remote host closed the connection)]
<Jackneill> well its up to a developer when to release his/her pkg, if they do so hourly at the cost of the user then be it, if the user doesnt like it, just uninstall the pkg
<Jackneill> its a devs responsibility not be a pain in the ass
<Jackneill> so issue a release in bulk.
<gchristensen> I see
<Jackneill> but users should have the possibility to get the update instantly when the dev releases it
<gchristensen> we have stable releases to act as a buffer for packages that do have big updates
<Jackneill> rolling stable manner
<gchristensen> so like arch?
<Jackneill> gchristensen, exactly
<gchristensen> you can already get Arch :0
<Jackneill> but thats not nixos
<goibhniu> well, channels are only updated when a set of tests pass ... but can also install directly from the build farm
<Jackneill> and i cant have app0 with dep.0.1 and app1 with dep.0.2
<gchristensen> nixos has nixos-unstable for what you're talking about, and stable releases for people who want to use something more stable
<gchristensen> however sometimes unstable takes a long time for its tests to pass, and can leave you vulnerable and without to important security updates due to that
<Jackneill> yeah nixos lacks the arch buffer time frame
<gchristensen> what is the arch buffer time frame that nixos lacks?
leat has quit [(Ping timeout: 260 seconds)]
<Jackneill> gchristensen, what i described aboive when you said "I see"
<Jackneill> oh wait not
<Jackneill> arch does testing too, not what you desribed by unstable
<Jackneill> for arch thats the "testing" repo
<Jackneill> and when thats done, people get the updates
<gchristensen> the nixos-unstable branch always works
<Jackneill> but you said sec vulns
<gchristensen> it has quite thorough automatic testing to prevent problems from being released
<goibhniu> you can also use a clone of nixpkgs, it will still use binaries from the build farm when available
<gchristensen> we also have staging for super big changes
filterfish has joined #nixos
<goibhniu> which is maybe like having a "testing" repo
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<Jackneill> why do you test against sec vulns? if i release an app that has a vuln its my responsiliblity
<gchristensen> we don't test against them, we test to make sure a release ill work
<Jackneill> right, but by the way nix is it always should
<Jackneill> each pkg has a unique hash for that
<Jackneill> so that it has all the deps to work
<Jackneill> thats why i dont get the point of a release aside what goibhniu said
<gchristensen> no, because if `gcc` doesn't compile how will anything work
<Jackneill> and for that i would do per pkg channels.
<sphalerite> Jackneill: nix doesn't guarantee that stuff will work
<sphalerite> it doesn't even try to
<sphalerite> but it does try to guarantee that stuff is reproducible
<Jackneill> uhm, so you mean if a specific version of gcc doesnt compile that hash cant be satisfied
<sphalerite> Jackneill: nixos stable releases exist for the same reason that debian stable releases do
<gchristensen> in nix, in the description of the `hello` package we don't hard-code that it depends on /nix/store/mqapz6gb6vzwwfw92wq5zql296kaxzxg-gcc-5.4.0/bin/gcc
catch22__ has quit [(Remote host closed the connection)]
<gchristensen> we say it depends on `pkgs.gcc` which resolves to `/nix/store/mqapz6gb6vzwwfw92wq5zql296kaxzxg-gcc-5.4.0/` at which point it tries to create /nix/store/mqapz6gb6vzwwfw92wq5zql296kaxzxg-gcc-5.4.0/, if it can't hello can't build
<Jackneill> gchristensen, then i dont understand your gcc doesnt work example
<gchristensen> well if gcc can't compile we can't build anything
<Jackneill> right, but thats not a pkg managers job to ensure it works.
<gchristensen> not-sure-if.jpg
trikl has joined #nixos
<trikl> Where can I find the derivatio for kde4-config?
<Jackneill> gchristensen, so releases just ensures that there is a version of gcc that can be built?
<gchristensen> sorry, I have to get back to work, perhaps someone else can help
<Jackneill> right
<Jackneill> thanks
<makefu> btw is there a list of twitter accounts of people who regularly tweet about nix(os) ?
<gchristensen> I follow the "nixos" on TweetDeck
<gchristensen> the search*
<ikwildrpepper> gchristensen: I add -@nixos
<gchristensen> omg
<ikwildrpepper> to the search :D
<ikwildrpepper> as that @nixos posts too much :D
<gchristensen> I've been searching for a way to do that. also -@ItsNixos
<gchristensen> oh maybe that is an L
<gchristensen> ikwildrpepper: that doesn't seem to remove them from the results :/
<nixy> gchristensen: You mentioned previously that you run NixOps with the "none" provider. Do you do that from darwin?
<gchristensen> I don't, nixy
<gchristensen> if you have at least 1 vbox VM in your network though it will work
<nixy> So I guess it needs the vbox VM just to build stuff then?
eacameron has quit [(Ping timeout: 260 seconds)]
<gchristensen> yeah, it'll set that up as a building host
<gchristensen> nixy: are you using nix-daemon on osx?
<ikwildrpepper> gchristensen: weird, it does for me on tweetbot
<gchristensen> bummer :/
<nixy> Not anymore. I used to, but you mentioned it would mess with NixOps so I stopped using it
zx2c4 has quit [(Quit: Updating details, brb)]
cpennington has joined #nixos
zx2c4 has joined #nixos
Neo-- has joined #nixos
filterfish has quit [(Remote host closed the connection)]
roconnor has joined #nixos
filterfish has joined #nixos
<gchristensen> ikwildrpepper: btw check your email please :)
eacameron has joined #nixos
bennofs has joined #nixos
cpennington has quit [(Ping timeout: 246 seconds)]
<nixy> Still seems like NixOps is trying to build things locally :(
<nixy> I should probably just give up and stop using darwin lol
<clever> nixy: is $NIX_REMOTE set?
<nixy> It isn't
<disasm> getting prompted for password when adding printer via cups in web UI. Is there a default or somewhere I need to set that in configuration.nix?
<clever> not sure then, i would just use a linux machine elsewhere, it can be a VM
<clever> disasm: last time i used cups, it was tied into pam, so the root name/pw may work
ixxie has quit [(Ping timeout: 240 seconds)]
<nixy> Yeah probably going to set up a NixOS vm at this point because darwin is starting to be frustrating
ixxie has joined #nixos
Neo-- has quit [(Ping timeout: 260 seconds)]
deba5e12 has quit [(Ping timeout: 255 seconds)]
<disasm> clever: yeah, that was it. foiled by that accidental immutable users setting I enabled a few weeks ago, have a root pass set again, lol :)
leat has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
<makefu> gchristensen ikwildrpepper: that twitter search looks good, thanks :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dermetfan opened pull request #26552: exa: 2016-02-15 -> 0.6.0 (master...exa) https://git.io/vHQgJ
NixOS_GitHub has left #nixos []
<ikwildrpepper> gchristensen: yeah, saw it, just didn't decrypt it yet
thblt2 has joined #nixos
<gchristensen> ikwildrpepper: I'm going to delete "Learnings" from this one and make another to contain that.
mudri has joined #nixos
ericsagnes has joined #nixos
Rotaerk_ has quit [(Quit: Leaving)]
jacob_ has joined #nixos
jacob_ is now known as Guest14508
myguidingstar has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<ikwildrpepper> gchristensen: ok, that's fine, I guess
Guest14508 has quit [(Quit: Lost terminal)]
johnsonav has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zx2c4 opened pull request #26553: wireguard: 0.0.20170531 -> 0.0.20170613 (master...patch-4) https://git.io/vHQwR
NixOS_GitHub has left #nixos []
pie__ has joined #nixos
<zx2c4> thats my bump!
bones has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<goibhniu> I'm trying to upgrade an old box, but nix-channel --update fails with "‘/nix/store/vgwcza0aa29l1p1ibjz3l5jrh8ij3a6m-nixos-16.09.1943.25f4906da6.drv’ has ‘__noChroot’ set, but th
<goibhniu> at's not allowed when ‘build-use-sandbox’ is ‘true’"
<goibhniu> my /etc/nix/nix.conf has build-use-chroot = false
<goibhniu> (I just changed that)
<srhb> zx2c4: woo
<goibhniu> `NIX_REMOTE= nixos-rebuild switch --upgrade` fails with: opening lock file `/nix/var/nix/db/big-lock': Read-only file system at /nix/store/9mr7gwsgip1ncvga77dfl3lbnrbjjzh5-nix-1.7/b
<goibhniu> in/nix-prefetch-url line 101.
erasmas has joined #nixos
<goibhniu> any ideas?
* goibhniu used a more recent version of nixos-rebuild and nix-env ... seems to be working \o/
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
<catern> hey #nixos, is it possible to somehow create a Hydra which does nothing but build all the fixed-output derivations in Nixpkgs?
<catern> is this trivial in some way?
mizu_no_oto has joined #nixos
<catern> The reason I want to do this is to have one Hydra which handles fetching sources and has network access, and another Hydra which gets sources from the first Hydra and then builds those sources and doesn't have network access (other than for publishing)
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #26554: Speed up parsing @args.rsp compiler arguments (staging...rsp) https://git.io/vHQ6p
NixOS_GitHub has left #nixos []
thetet has left #nixos []
mudri has joined #nixos
abrar has joined #nixos
<FRidh> catern: recurse in the package set, find attributes that are derivations and that also have the attribute outputHash
thblt2 has quit [(Ping timeout: 260 seconds)]
<FRidh> see e.g. release-lib.nix how to work with tryEval
<catern> okay, seems legit
<catern> I can do that
<catern> another question: must the nix-daemon run as root?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<Sonarpulse> peti: see my updated buildInputs PR?
<catern> I can see two issues with running it as non-root: creating build sandboxes and running findRuntimeRoots
<catern> is the nix-setuid-helper no longer supported?
<catern> is there some reason not to use the nix-setuid-helper instead of running nix-daemon as root?
<Sonarpulse> catern: nobody has tried non-root to my knowledge
<Sonarpulse> but this is silly
<Sonarpulse> with enough capability wrangling it should work
<Sonarpulse> and we probably should do that by default
<Dezgeg> don't you need user namespaces as an alternative (for sandboxing) which some distros disable
<peti> Sonarpulse: I haven't had a chance to look at it yet.
<Sonarpulse> peti: ok
<myguidingstar> hi all, in configuration.nix how do I specify a some package from nixpkgs-unstable while the rest remain from nixos-stable channel?
<Sonarpulse> peti: basic issue was, due to the stdenv being annoying, propagatedBuildInputs still go in nix-support/propagated-native-build-inputs
bennofs has quit [(Ping timeout: 240 seconds)]
<myguidingstar> wow the wiki is up again on github! thanks FRidh
<LnL> gchristensen: lol
adfaure has joined #nixos
<FRidh> myguidingstar: its a different wiki
<FRidh> other content
<myguidingstar> I know, but that's great
<adfaure> Hello, I try to package my rust application with nix. But I get error like:
<adfaure> location searched: registry file:///nix/store/lajpclh3f92gn8d05yh0krl8hky71sq9-rustRegistry-2017-05-15-c73d61e │-rw-r--r-- 1 afaure users 37423 Mar 27 15:49 .zcompdump
<adfaure> version required: = 1.0.8 │-rw-r--r-- 1 afaure users 80 Mar 27 16:50 .zdirs
<adfaure> versions found: 1.0.5, 1.0.4, 1.0.3, ..
<adfaure> Can someone help me please ? Thanks !
<Sonarpulse> peti: Thanks!
thblt_ has joined #nixos
<Sonarpulse> peti: oh, this is awkward
<Sonarpulse> but I locally split the change into two commits
<Sonarpulse> for better messages
<Sonarpulse> but then forgot to pus
<Sonarpulse> *psuh
<Sonarpulse> it's the same diff
<Sonarpulse> at least
FRidh has quit [(Ping timeout: 240 seconds)]
thblt_ has quit [(Quit: Page closed)]
<disasm> Mic92: can I get you to weigh in on https://github.com/NixOS/nixpkgs/pull/26537#pullrequestreview-43574824 -- I got another person telling me to not use the unstable naming convention :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vHQ9N
<NixOS_GitHub> nixpkgs/master b7f71bd Peter Simons: mr: update to version 1.20170129
NixOS_GitHub has left #nixos []
mizu_no_oto has joined #nixos
<catern> Sonarpulse: well, one issue with non-root is findRuntimeRoots like I said
<catern> on systems with hidepid=1, that can't be done
drakonis has joined #nixos
<catern> which is entirely fine and makes sense of course
<Sonarpulse> catern: oh, I don't know much about that
<Nixer> Who can/should I notify about this possible bug: https://github.com/NixOS/nix/issues/1406 ?
ison111 has quit [(Quit: WeeChat 1.7.1)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
leat has quit [(Ping timeout: 258 seconds)]
<simpson> Huh. Gotta be honest, I'm a `setenforce 0` kind of person.
simukis has joined #nixos
<cornfeedhobo> nix runs selinux?
<gchristensen> simpson: you monster
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHQ5s
<NixOS_GitHub> nixpkgs/master 90cf4cf Vladimír Čunát: rhash: extend meta.platforms...
NixOS_GitHub has left #nixos []
<cornfeedhobo> simpson: https://stopdisablingselinux.com/ :-)
<cornfeedhobo> simpson: take it in small steps. start with only a single server
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #26557: pythonPackages.django: 1.11.1 -> 1.11.2 (master...update_django) https://git.io/vHQ5h
NixOS_GitHub has left #nixos []
<cornfeedhobo> i recommend the edge nginx/varnish/apache layers
<simpson> cornfeedhobo: I have a modest proposal: Let's never use RBAC again.
<catern> simpson: what's your preference? :)
<catern> hopefully capability-security :)
<cornfeedhobo> simpson: i'm all for it. i will generally adopt any rational and tractable solution. the more esoteric, the less likely i am to adopt. sadly one of the working stiffs :-(
<cornfeedhobo> ^^^
<simpson> catern: Of course!
<simpson> cornfeedhobo: Take it in small steps. Try a capability-safe serialization format, like Capn Proto.
adfaure has quit [(Remote host closed the connection)]
<Nixer> cornfeedhobo: No, that is for the nix install on CentOS. :(
<cornfeedhobo> Nixer: yeah, sorry i clicked after. i too run centos normally
<Nixer> cornfeedhobo: Have you tried installing Nix recently (past 18 hours)? Is it failing?
<cornfeedhobo> nope, easily been 6 months
<catern> simpson: oh right, I didn't recognize you from previous capability discussions :)
<LnL> did the color of the github bot change?
<simpson> catern: No worries. I'm pretty generic.
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
xeviox has quit [(Ping timeout: 255 seconds)]
<disasm> this doesn't seem right to me: https://github.com/NixOS/nixpkgs/pull/26537#issuecomment-308093499 -- as long as the top level is named the package name, it shouldn't matter the name in the package file related to updates, right?
pie__ has quit [(Ping timeout: 240 seconds)]
spinus has joined #nixos
<Mic92> disasm: there is evil tool called `nix-env`
pie_ has joined #nixos
<Mic92> Which nobody should use imho
jgertm has joined #nixos
adamt has quit [(Ping timeout: 240 seconds)]
NextHendrix has joined #nixos
<Mic92> disasm: nix-env uses the name rather the attribute.
<disasm> Mic92: lol, yeah, I use nix-shell for a lot of stuff or it goes in configuration.nix :)
<Mic92> And does this strange, broken by design version compare
<NextHendrix> trying to set my default shell to zsh
<NextHendrix> /etc/shells is read only, how can i add /run/cu.../bin/zsh to shells
<NextHendrix> still getting my head around how to actually use this distro
tmaekawa has joined #nixos
<disasm> NextHendrix: just for a single user?
<NextHendrix> yeah
<Mic92> disasm: the thing about pre versions, how one should know in advance what the next version is? When it is currently 3.1.1 will the next be 3.1.2, 3.2.3 or even 3.1.1.1
<NextHendrix> i found the zsh.nix module, tried sourcing it from configuration.nix and got an infinite recursion error
<NextHendrix> so apparently that isn't the way to do it
<disasm> Nixer: you can either use users.defaultUserShell to change all users on the system or users.extraUsers.root.shell = mkOverride 50 "${pkgs.bashInteractive}/bin/bas
<disasm> 22 rev = "237abad3280ba8418f9cded4bd8b57fef4c508da";
<disasm> meh, bad paste
<catern> simpson: do you have any ideas about how to do https://github.com/NixOS/nix/issues/8
<disasm> users.extraUsers.yourUserName.shell
<catern> simpson: I am sure you would be with me on a store-paths-as-capabilities approach as I say here :) https://github.com/NixOS/nix/issues/8#issuecomment-307940894
<disasm> NextHendrix: ^^
Itkovian has joined #nixos
<NextHendrix> disasm: config passes, will try relogging now thanks
<Nixer> disasm: Was that message meant for me?
<NextHendrix> works perfect cheers
<NextHendrix> what's a good way to find out these options
<NextHendrix> like if i wanted to list all the possible options for users.extraUsers.myName
<gchristensen> man configuration.nix
<gchristensen> or nixos.org/nixos/options.html
<NextHendrix> nice one
<NextHendrix> adios
drets has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yurrriq closed pull request #24004: hexRegistrySnapshot: 2016-11-23 -> 2017-03-18 (master...update/pkgs/development/beam-modules/hex-registry-snapshot) https://git.io/vy5OI
NixOS_GitHub has left #nixos []
<disasm> Nixer: nope lol :)
<disasm> NextHendrix: I use git grep in nixpkgs a lot of the time as well.
<gchristensen> disasm: search.nix.gsc.io is nice too fwiw :)
<disasm> gchristensen: yeah, but then you have to open a web browser, lol :)
<gchristensen> nah, there are editor plugins
ryanartecona has joined #nixos
<simpson> catern: Yeah, absolutely. The problem is that store paths are merely unguessable, and guessing isn't hard.
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #26558: hugo: 0.22 -> 0.22.1 (master...pr/hugo-0.22.1) https://git.io/vHQj6
NixOS_GitHub has left #nixos []
<myguidingstar> hi all, I'm trying to packaging rednotebook v2.0 because nixpkgs version is outdated and depends on insecure package. Rednotebook's Debian pkg dependencies is following:
<myguidingstar> Depends: ${python3:Depends},
<myguidingstar> ${misc:Depends},
<myguidingstar> gir1.2-gdkpixbuf-2.0,
<myguidingstar> gir1.2-glib-2.0,
<myguidingstar> gir1.2-gtk-3.0,
<myguidingstar> gir1.2-pango-1.0,
<myguidingstar> gir1.2-webkit2-4.0,
<myguidingstar> python3-gi,
<myguidingstar> python3-yaml
<myguidingstar> Recommends: python3-enchant
<myguidingstar> so I set buid inputs: [ pkgs.gtk3 pkgs.webkitgtk2 self.pygobject3 self.pyenchant pyyaml pkgs.pango]
<myguidingstar> but after build & run, I got this: ValueError: Namespace WebKit2 not available
<myguidingstar> what am I missing here?
<FRidh> does pkgs.webkitgtk2 provide python bindings?
anton___ has joined #nixos
<myguidingstar> um, I don't know
<myguidingstar> found in all-packages.nix:
<myguidingstar> webkit = webkitgtk;
<myguidingstar> webkitgtk = webkitgtk216x;
<myguidingstar> webkitgtk216x = callPackage ../development/libraries/webkitgtk/2.16.nix {
<myguidingstar> harfbuzz = harfbuzz-icu;
<myguidingstar> gst-plugins-base = gst_all_1.gst-plugins-base;
<myguidingstar> };
<myguidingstar> webkitgtk2 = webkitgtk24x.override {
<myguidingstar> withGtk2 = true;
<myguidingstar> enableIntrospection = false;
<myguidingstar> };
<drakonis> oh jesus
<drakonis> please stop
vengefulpickle has joined #nixos
<myguidingstar> sorry?
<athan> Hey I just saw that "nixos does not have a nice graphical installer" - how is it normally installed again? A nix command?
marsel has quit [(Ping timeout: 240 seconds)]
<athan> I just make user interfaces so I'm wondering if this is some low-hanging fruit I could take on
<drakonis> stop pasting so much stuff
<drakonis> athan, its nixos-install
<drakonis> its simplistic
freusque has joined #nixos
<athan> drakonis: is it an interactive install? Like a vty program?
<drakonis> the hard part is that you have to make it generate settings
<drakonis> no
<drakonis> its just a command that reads from the nix config
<athan> hm
cpennington has quit [(Ping timeout: 255 seconds)]
<athan> right on, thanks drakonis
digitalmentat has joined #nixos
<qknight> how to rebuild the system with `nix-build` instead of `nixos-rebuild build`?
<drakonis> the important detail is really that it should be able to make use of nix's features to build your settings
<digitalmentat> qknight, you can but it won't switch the system for you
<qknight> digitalmentat: that is why i asked to build and not switch
<goibhniu> myguidingstar: you can use a pastebin, or point to the source on github if you like
<myguidingstar> I see
<myguidingstar> so I tried again with webkitgtk which doesn't have " enableIntrospection = false" but it still throws Namespace WebKit2 not available
<digitalmentat> qknight, you can nix-build with the <nixpkgs/nixos/default.nix> expression, let me find an example
phinxy has joined #nixos
<digitalmentat> qknight, something like `nix-build --expr '(import <nixpkgs/nixos> { system = builtins.currentSystem; configuration = { imports = [ /etc/nixos/configuration.nix ]; }; }).system'`
<digitalmentat> that's untested but that would roughly be one way to do it
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<digitalmentat> you could write a release.nix and put that Nix expression logic in there and then just `nix-build release.nix` too, which is closer to how we do it for our CI system
Itkovian has quit [(Ping timeout: 240 seconds)]
<qknight> digitalmentat: awesome!
marsam has joined #nixos
<qknight> thanks
<digitalmentat> yup :)
<clever> qknight: nix-build '<nixpkgs/nixos>' -A system.build.toplevel -I nixos-config=./configuration.nix
<goibhniu> myguidingstar, I'm afraid python + gtk stuff can be quite tricky, you may find some inspiration from other packages
leat has joined #nixos
<myguidingstar> looks like webkitgtk source code requires explicitly python2, while rednotebook only works with python3
<goibhniu> myguidingstar: I see version 1.15 from 2017-02-11 still uses python 2
<myguidingstar> yeah, maybe I should work on rednotebook from 1.x branch until webkitgtk gets python3 support
<FRidh> == 2.0 (2017-05-19) ==
<FRidh> * Port to Python 3 and GTK 3.
<FRidh> WebKitGTK+ (>= 2.16
fresheyeball has joined #nixos
<fresheyeball> hey out there
eacameron has quit [(Remote host closed the connection)]
<fresheyeball> so I've been managing user space packages with a file ~/.nixpkgs/config.nix
<fresheyeball> in which I define a buildEnv called "myEnv"
<fresheyeball> and I install that environment with
<fresheyeball> nix-env -iA nixos.myEnv
<fresheyeball> which has worked perfectly so far
<fresheyeball> but this morning I'm getting an error
<fresheyeball> error: attribute ‘myEnv’ in selection path ‘nixos.myEnv’ not found
<fresheyeball> I have no idea why it can't find it all the sudden
<fresheyeball> any clues?
<sphalerite> Which nixpkgs version are you on?
fooblahblah has joined #nixos
<FRidh> its moved to ~/.config/nixpkgs/config.nix, not?
<fresheyeball> sphalerite: I'm trying to upgrade to HEAD
<sphalerite> fresheyeball: you mean master?
<fresheyeball> sphalerite: yes
bennofs has joined #nixos
<fresheyeball> I do this
jgertm has quit [(Ping timeout: 260 seconds)]
<sphalerite> first, what FRidh said — see if it works if you use that path instead
[0x4A6F] has joined #nixos
<fooblahblah> I'm looking to revert from linux-4.11.4 to 4.11.3. Is there a way to do that these days in configuration.nix? I don't need to override the kernel config or anything...
<fresheyeball> my nix-env is 1.11.8
<sphalerite> second, you may want to use nixpkgs-unstable rather than master in order to make sure you get stuff that's been tested to build successfully and for which binaries are available
<fresheyeball> sphalerite: educate me, how do I do that?
<sphalerite> mv ~/.nixpkgs ~/.config/nixpkgs
<fresheyeball> sphalerite: done
<sphalerite> and for using nixpkgs-unstable, just use that branch from github.com/nixos/nixpkgs-channels
<catern> simpson: what do you mean "guessing isn't hard"? guessing a cryptographic hash is fairly hard :)
<sphalerite> Does moving the config fix it? If not it would be helpful to see what your config.nix actully contains
fooblahblah has quit [(Client Quit)]
<fresheyeball> sphalerite: moving the file did not fix it
fooblahblah has joined #nixos
bones has quit [(Quit: WeeChat 1.8)]
<fresheyeball> sphalerite: I don't see a stable branch
<fresheyeball> do you mean I should use the nixos-17
<sphalerite> fresheyeball: it's in nixos/nixpkgs-channels, not nixos/nixpkgs
<sphalerite> and if you were previously using master you'll probably want to use unstable rather than stable
<fresheyeball> ok
tmaekawa has quit [(Quit: tmaekawa)]
<fresheyeball> ok so I've moved all that
<fresheyeball> but I can't test it
deba5e12 has joined #nixos
<fresheyeball> because my system can't find `nixos.myEnv`
<clever> fresheyeball: what does nix-channel --list say?
<fresheyeball> clever: nothing
<clever> fresheyeball: and as root?
eacameron has joined #nixos
zeus_ has joined #nixos
<clever> fresheyeball: what is the contents of ~/.config/nixpkgs/config.nix?
<simpson> catern: But guessing where a usable bash lives is easy.
riclima has joined #nixos
<fresheyeball> oh hu
<fresheyeball> the mv did not work the way I expected
<fresheyeball> hang on
<clever> if ~/.config/nixpkgs/ already exists, it will put the other nixpkgs inside of it
<catern> simpson: a usable *bash*? how's that? I mean, if you start with a shell, sure...
<clever> if it doesnt, it will move it to that path
mudri has quit [(Ping timeout: 240 seconds)]
<simpson> catern: For example, I have /nix/store/wb34dgkpmnssjkq7yj4qbjqxpnapq0lw-bash-4.4-p12 in my local store. To find that, an attacker merely has to glob for bash.
<clever> simpson: but that doesnt exactly mean that you are using that exact version of bash
<fresheyeball> ok that worked
<catern> simpson: oh, that's easily fixable in Unix, as I said in my post, just chmod -r /nix/store
<simpson> clever: Sure, but that might be okay depending on the attack.
<catern> simpson: but leave chmod +x /nix/store so you can walk through that directory if you have the path already
<simpson> catern: Bold.
<catern> simpson: yeah! it's edolstra's idea in that thread
<catern> really clever!
<catern> it has no downsides
<catern> afaic
<catern> s
<catern> which is awesome
tshaffe1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26553: wireguard: 0.0.20170531 -> 0.0.20170613 (master...patch-4) https://git.io/vHQwR
NixOS_GitHub has left #nixos []
mudri has joined #nixos
<tshaffe1> One of the URLs for Vim seems to be 404ing. Should I open an issue or pull request or something?
Nixer has quit [(Quit: Page closed)]
logzet has joined #nixos
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vH7mG
<NixOS_GitHub> nixpkgs/master 6b1087d Jörg Thalheim: add zx2c4 to lib/maintainers.nix
NixOS_GitHub has left #nixos []
marsel has joined #nixos
phinxy has quit [(Ping timeout: 255 seconds)]
<zx2c4> Mic92: thanks for fixing up that maintianers thing for me
phinxy has joined #nixos
tmaekawa has joined #nixos
goibhniu has quit [(Ping timeout: 255 seconds)]
<Mic92> zx2c4: I always forget to check this first.
tmaekawa has quit [(Client Quit)]
vengefulpickle has quit [(Ping timeout: 260 seconds)]
<LnL> tshaffe1: create a pr if you know how to fix it
<tshaffe1> OK, will do!
grw has quit [(Quit: WeeChat 1.7.1)]
k0001 has quit [(Ping timeout: 240 seconds)]
k0001 has joined #nixos
vengefulpickle has joined #nixos
<fresheyeball> so I've encountered a giant wall of exceptions installing from nixpkgs-channels unstable branch
<fresheyeball> it appears to by python stuff
mudri has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] trshaffer opened pull request #26559: vim: update URL for vimrc (master...master) https://git.io/vH7ZB
NixOS_GitHub has left #nixos []
luigy has left #nixos []
bennofs1 has joined #nixos
arianvp2 has joined #nixos
<tshaffe1> I just put in a PR for that Vim thing. The file itself seems to be identical, just the URL format changed
bennofs has quit [(Ping timeout: 240 seconds)]
jbgi has joined #nixos
k0001 has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Remote host closed the connection)]
arianvp2 has quit [(Remote host closed the connection)]
digitalmentat has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
digitalmentat has joined #nixos
<sphalerite> If I set systemd.services.<name>.script it generates an override.conf for the unit containing an ExecStart setting. How can I get it to contain "ExecStart=" before the ExecStart setting so it completely overrides it rather than adding to it?
<sphalerite> fresheyeball: as mentioned, we can't really help you without knowing what's in your config.nix
pie_ has joined #nixos
phinxy has quit [(Ping timeout: 258 seconds)]
<pie_> i wonder if my thinkpad bios has a feature to stop me from turning it on if the batt is too low
stanibanani has joined #nixos
MichaelRaskin has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #26559: vim: update URL for vimrc (master...master) https://git.io/vH7ZB
NixOS_GitHub has left #nixos []
myguidingstar has quit [(Quit: ChatZilla 0.9.93 [Firefox 53.0.3/20170519191530])]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vH742
<NixOS_GitHub> nixpkgs/master 8d71c75 Peter Simons: perl-Shell-Command: initial version 0.06
<NixOS_GitHub> nixpkgs/master 14283b6 Peter Simons: vcsh: update to latest Git head, enable test suite, install man page
NixOS_GitHub has left #nixos []
<tshaffe1> LnL: thanks!
luigy has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<disasm> thanks tshaffe1 for the PR :)
darlan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.03: https://git.io/vH7R7
<NixOS_GitHub> nixpkgs/release-17.03 8dcd0ea Tim Shaffer: vim: update URL for vimrc...
NixOS_GitHub has left #nixos []
darlan has quit [(Remote host closed the connection)]
stanibanani has left #nixos []
myguidingstar has joined #nixos
myguidingstar has quit [(Client Quit)]
faffolter has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
Itkovian has joined #nixos
stanibanani has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
stanibanani has quit [(Remote host closed the connection)]
darlan has joined #nixos
stanibanani has joined #nixos
darlan has quit [(Client Quit)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has quit [(Quit: ryanartecona)]
<stanibanani> hey guys, I just switched my channel to nixos-unstable and now I can't get my bluetooth dongle to start discovering devices using bluetoothctl. No clear errors or anything. Just "scan on" and nothing...
<stanibanani> has anyone else experienced this?
<sphalerite> stanibanani: switching from 17.03?
<sphalerite> If so, the only commit I could find which is likely to be relevant is 99d4ed58616358c71b81370130b3610744370028 which affects how devices are powered up. Does putting "power on" first help?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6b1087d9b1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<stanibanani> sphalerite: yeah i switched from 17.03 . No the device was already powered on :S
<sphalerite> Did you use nixos-rebuild switch to switch to the new configuration?
<stanibanani> sphalerite: yeah I did
Itkovian has joined #nixos
<sphalerite> Try booting into the new config rather than jujst switching
<sphalerite> Major upgrades tend to require reboots
<stanibanani> sphalerite: I have rebooted quite a few times after the upgrade already, if that is what you mean
<sphalerite> oh ok
<sphalerite> then I don't know
arianvp2 has joined #nixos
<stanibanani> sphalerite: well, thanks anyway :)
k0001 has joined #nixos
<stanibanani> I am guessing that bluetoothctl should report "Discovering: yes" for my BT controller when the scan has started, right?
arianvp2_ has joined #nixos
<sphalerite> yes
arianvp2 has quit [(Ping timeout: 240 seconds)]
MP2E has joined #nixos
<stanibanani> sphalerite: it doesn't though
<sphalerite> maybe the journal has something interesting to say, I don't know
<stanibanani> oh god I am always scared of using it for some reason. Alright then let's see
<stanibanani> kernel: Bluetooth: hci0 command 0x1003 tx timeout
<stanibanani> im guessing this is a problem
MP2E has quit [(Quit: brb)]
MP2E has joined #nixos
MP2E has quit [(Client Quit)]
MP2E has joined #nixos
aanderse has joined #nixos
marsam has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 5 new commits to master: https://git.io/vH76f
<NixOS_GitHub> nixpkgs/master ec27fcd Franz Pletz: caddy: 0.9.5 -> 0.10.3
<NixOS_GitHub> nixpkgs/master 071815c Franz Pletz: caddy service: sync with upstream systemd unit...
<NixOS_GitHub> nixpkgs/master ac5258e Franz Pletz: caddy service: don't use extra dotdir in dataDir
NixOS_GitHub has left #nixos []
ris has joined #nixos
jonte_ has joined #nixos
fresheyeball has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vH76B
<NixOS_GitHub> nixpkgs/master 50b3f8e Pascal Wittmann: fsql: 0.1.1 -> 0.2.1
NixOS_GitHub has left #nixos []
7JTABDLG9 has joined #nixos
<7JTABDLG9> [nixpkgs] fpletz closed pull request #26543: snpeff: 4.3i -> 4.3p (master...snpeff) https://git.io/vHH6M
7JTABDLG9 has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vH7iy
<NixOS_GitHub> nixpkgs/master 94ec545 Justin Bedo: snpeff: 4.3i -> 4.3p
<NixOS_GitHub> nixpkgs/master 58605e0 Franz Pletz: Merge pull request #26543 from jbedo/snpeff...
NixOS_GitHub has left #nixos []
marsam has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vH7ij
<NixOS_GitHub> nixpkgs/master 053377e Urban Škudnik: google-play-music-desktop-player: 4.2.0 -> 4.3.0
NixOS_GitHub has left #nixos []
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
acertain has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8dcd0eafc1 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
Itkovian has joined #nixos
nix-gsc-io`bot has quit [(Client Quit)]
mizu_no_oto has joined #nixos
stanibanani has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 3 new commits to master: https://git.io/vH7Py
<NixOS_GitHub> nixpkgs/master 972fa2a Pascal Wittmann: instead: 3.0.0 -> 3.0.1
<NixOS_GitHub> nixpkgs/master c9fcce3 Pascal Wittmann: ragel: 6.9 -> 6.10
<NixOS_GitHub> nixpkgs/master a9b2de4 Pascal Wittmann: rage: fix license for unstable...
NixOS_GitHub has left #nixos []
stanibanani has joined #nixos
alx741 has joined #nixos
alx741 has quit [(Client Quit)]
alx741 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight closed pull request #26558: hugo: 0.22 -> 0.22.1 (master...pr/hugo-0.22.1) https://git.io/vHQj6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight pushed 1 new commit to master: https://git.io/vH7Xp
<NixOS_GitHub> nixpkgs/master 727ec21 Wei Tang: go-ethereum-classic: init at 3.5.0 (#26551)...
NixOS_GitHub has left #nixos []
stanibanani has quit [(Remote host closed the connection)]
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight pushed 1 new commit to master: https://git.io/vH710
<NixOS_GitHub> nixpkgs/master f03ee24 David Guibert: gfortran7: added by wrapping gcc7 (#26535)...
NixOS_GitHub has left #nixos []
tmaekawa has quit [(Client Quit)]
stanibanani has joined #nixos
tmaekawa has joined #nixos
<LnL> wow I didn't know the small release channel update that quickly
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jensens has quit [(Remote host closed the connection)]
<stanibanani> so I set the hardware.enableAllFirmware option to true and now my bluetooth works :S
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight closed pull request #26516: reno: 1.8.0 -> 2.3.2 (master...fix/reno-update) https://git.io/vHyaW
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight closed pull request #26522: vdrift: fix build (master...vdrift-fix) https://git.io/vHSvB
NixOS_GitHub has left #nixos []
trikl has quit [(Ping timeout: 255 seconds)]
Itkovian has joined #nixos
trikl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight closed pull request #26499: Kubernetes: ABAC policy file fix (master...kubernetes-abac-policy-fix) https://git.io/vHDW3
NixOS_GitHub has left #nixos []
stanibanani has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo closed pull request #25898: wip: openstackclient: 1.7.1 -> 3.11.0 (master...pr/openstackclient) https://git.io/v9jQo
NixOS_GitHub has left #nixos []
mbrock has joined #nixos
stanibanani has joined #nixos
stanibanani has quit [(Remote host closed the connection)]
stanibanani has joined #nixos
thetet has joined #nixos
marsel has quit [(Quit: WeeChat 1.7.1)]
tmaekawa has quit [(Quit: tmaekawa)]
stanibanani has quit [(Remote host closed the connection)]
riclima has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
riclima has quit [(Client Quit)]
<sudoreboot[m]> How can I delete profiles? I have some profile laying around with a link to a huge package I need to remove and the documentation tells me all about how to garbage collect stuff that isn't pointed to by any current generation of any profile, but nothing about managing profiles themselves
stanibanani has joined #nixos
<gchristensen> sudoreboot[m]: which profile?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vH7y7
<NixOS_GitHub> nixpkgs/master b83609a Will Dietz: psmisc: 22.21 -> 23.0...
NixOS_GitHub has left #nixos []
<sudoreboot[m]> gchristensen: A system profile I created on a whim at some point to try the feature, basically. I thought I'd try keeping a separate profile for a set of packages used for a certain kind of dev environment, but I never went back to it
riclima has joined #nixos
<gchristensen> gotcha
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vH7yj
<NixOS_GitHub> nixpkgs/master 9079f94 Robin Stumm: exa: 2017-04-02 -> 0.6.0
NixOS_GitHub has left #nixos []
riclima has quit [(Client Quit)]
<gchristensen> sudoreboot[m]: run nix-store --gc --print-roots then find the profile path on the left side that you want to delete
<gchristensen> sudoreboot[m]: delete the symlink (that is the part on the left side) then run gc
riclima has joined #nixos
riclima has quit [(Client Quit)]
MP2E has quit [(Quit: reboot)]
riclima has joined #nixos
riclima has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vH7Sj
<NixOS_GitHub> nixpkgs/master 30412f9 Daiderd Jordan: rhash: fix darwin build...
NixOS_GitHub has left #nixos []
<sudoreboot[m]> gchristensen: Yay! I just got about 15 gb richer.
<sudoreboot[m]> Thank you
<gchristensen> nice :) you're welcome
ixxie has quit [(Quit: Lost terminal)]
<gchristensen> I just realized I have dozens of result links I can clean up :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vH79G
<NixOS_GitHub> nixpkgs/master 0edd78f Gabriel Ebner: calibre: fix missing gsettings schemas
NixOS_GitHub has left #nixos []
MP2E has joined #nixos
<sudoreboot[m]> The culprit was a result link in my home directory, however that happened :)
<gchristensen> :)
<MichaelRaskin> nix-build tends to produce these, yes
MP2E has quit [(Client Quit)]
jonte_ has quit [(Ping timeout: 240 seconds)]
riclima has joined #nixos
MP2E has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
riclima has quit [(Client Quit)]
astsmtl has quit [(Ping timeout: 246 seconds)]
thetet has quit [(Ping timeout: 240 seconds)]
<Mic92> sudoreboot[m]: can be suppressed by --no-out-link
riclima has joined #nixos
stanibanani has quit [(Remote host closed the connection)]
MoreTea has quit [(Ping timeout: 240 seconds)]
<Mic92> sudoreboot[m]: also note that the result won't be garbage collected as long as this link exsists.
ryanartecona has joined #nixos
MP2E has quit [(Ping timeout: 260 seconds)]
stanibanani has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
MP2E has joined #nixos
<catern> hey #nixos, what are the steps to use the default.nix for a package from Nixpkgs to build my local clone of some package?
<catern> in particular, Emacs
MP2E has quit [(Client Quit)]
<catern> first step: how do I adapt the fetchUrl part?
<clever> just src = /home/clever/foo/app-1.2.3;
<clever> every time you call nix-build, it will import a snapshot of the source into /nix/store/
<clever> and if the hash of that snapshot doesnt have a cached build, it will build it
<Mic92> I think fetchgit also works with bare repos.
<clever> depends on the sandbox setting
<Mic92> clever: it was a fixed output derivation, so it should work as well.
ertes-w has quit [(Ping timeout: 255 seconds)]
<clever> fixed-output has network, but it should still be inside a sandbox, so it has its own pid/mount namespace
phinxy has joined #nixos
<clever> if sandboxing is enabled
<stanibanani> turns out the problem doesn't have anything to do with my previous statement. My BT dongle simply doesn't respond sometimes. It's most likely busted
endformationage has joined #nixos
<Mic92> clever: the story was that: with import (builtins.fetchgit { url = <nixpkgs>; rev = "..."; }) {}; will work with nix 1.12
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vH75I
<NixOS_GitHub> nixpkgs/master 424dc01 Peter Simons: parallel: fix broken shebangs to /usr/bin/perl...
NixOS_GitHub has left #nixos []
<Mic92> but you can even now import a path
<clever> ahh, yeah, that fetchgit may behave differently
<Mic92> recently learned about git-worktree. Cool subcommand to test multiple branches in parallel.
jbgi has quit [(Ping timeout: 246 seconds)]
bennofs1 has quit [(Ping timeout: 246 seconds)]
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26252: Upgrade the ELK stack (master...elk5) https://git.io/vH8O9
NixOS_GitHub has left #nixos []
<catern> hey #nixos
georges-duperon has joined #nixos
<catern> I don't see google-chrome when I do nix-env -qa
<catern> but I do see it in nixpkgs
<catern> how do I use it?
<clever> catern: nix-env -iA nixos.chromium
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
MP2E has joined #nixos
<LnL> you have to enable unfree packages
<catern> oh!
<catern> how do I do that? I am not running nixos
<clever> it will tell you exactly how to do that if you do nix-env -iA nixpkgs.google-chrome
<LnL> ^ :)
<catern> ah, okay, thanks :)
<catern> awesome :)
stanibanani has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Quit: leaving)]
MP2E has joined #nixos
<catern> ah, ah
<catern> thanks!
<catern> now a queick error I'm having...
<catern> [30556:30556:0613/205212.496526:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /nix/store/v0fw02wbfzpf88k9hm6cmn3f8njvyzs9-google-chrome-beta-59.0.3071.47/share/google/chrome-beta/chrome-sandbox is owned by root and has mode 4755.
<catern> can anyone suggest a hack-around? :)
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
simukis has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
mbrock has quit [(Ping timeout: 246 seconds)]
<catern> given that I don't have root...
<catern> maybe I can just delete chrome-sandbox? but I hope there is something better :)
MP2E has quit [(Quit: leaving)]
goibhniu has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
vengefulpickle has quit [(Remote host closed the connection)]
MP2E has joined #nixos
apeyroux has quit [(Quit: leaving)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
k2s has joined #nixos
k2s has quit [(Client Quit)]
apeyroux has joined #nixos
<apeyroux> yop
logzet has quit [(Remote host closed the connection)]
hellrazor has joined #nixos
<ben> is there like a place where people track when/why nixos-unstable isn't moving?
<Sonarpulse> ben: hydra
<Sonarpulse> I finally learned
<Sonarpulse> which job actually is the build
<LnL> that shows the job on the right
<Sonarpulse> LnL: nice!
Wizek_ has quit [(Ping timeout: 240 seconds)]
<ben> LnL: that's neat
<Sonarpulse> LnL can we rename this howshittyis? :D
<LnL> dunno who created it
arianvp2_ has quit [(Quit: arianvp2_)]
* Sonarpulse is fumming at CI, always
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<ben> hydra looks hella complicated
k2s has joined #nixos
k2s has quit [(Client Quit)]
ryanartecona has quit [(Quit: ryanartecona)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
georges-duperon has quit [(Ping timeout: 255 seconds)]
trikl has quit [(Remote host closed the connection)]
<Sonarpulse> ben: it's not too complicated
<Sonarpulse> it's jsut written in perl (in part)
<ij> Does this look like a good build for a docker image? http://sprunge.us/dUMM The cmd isn't being set, but the contents are present
<gchristensen> it is a complicated UI and a complicated dataset to work with
<Sonarpulse> I find any specific page makes some sense
<Sonarpulse> but finding what I want / what I think might exist is hard
<Sonarpulse> some things seem to be burried deep
<gchristensen> yeah
<gchristensen> nixpkgs-unstable is most unhappy :(
<Sonarpulse> nixos-unstable had broken firefox due to rust though
<Sonarpulse> that seems like either a big issue
<Sonarpulse> or something which we will hack out of, but encounter many times again
<gchristensen> also yes
<gchristensen> rustc is only broken on i686
<Sonarpulse> I suppose that is hope for doing something right some of the time :/
<gchristensen> have you tried to sort it out? I haven't been able to
<Sonarpulse> Rust?
<ben> Sonarpulse: like my expectation was that within two clicks it'd find a thing that says "nixos-unstable is blocked on this build, which failed because of this thing"
<gchristensen> the rustc failure
<Sonarpulse> nah I am too many other things deep
<Sonarpulse> ben: ahaha
<ben> but i guess there's too many concepts inbetween me and a build failure
<Sonarpulse> yeah more like 12 clicks
<Sonarpulse> jobset -> job -> constituents
riclima has joined #nixos
<Sonarpulse> the classic problem of giving each layer of interior nodes its own name
<Sonarpulse> (just like music theory)
<Sonarpulse> (or taxonomy)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-17.03: https://git.io/vH5f2
<NixOS_GitHub> nixpkgs/release-17.03 412b0a1 Taylor "Nekroze" Lawson: Kubernetes ABAC policy file fix (#26499)...
NixOS_GitHub has left #nixos []
arianvp2_ has joined #nixos
georges-duperon has joined #nixos
marsam has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 255 seconds)]
marsam has joined #nixos
<symphorien> how can I undo --upgrade in nixos-rebuild --upgrade test ?
anton___ has quit [(Remote host closed the connection)]
hiratara has joined #nixos
<clever> symphorien: nix-channel --rollback
<symphorien> nice !
<clever> behind the scenes, --upgrade just calls "nix-channel --update"
<clever> and nixos-rebuild --rollback doesnt handle undoing channel changes
k2s has joined #nixos
ertes has joined #nixos
ertes has quit [(Client Quit)]
ertes has joined #nixos
ris has quit [(Remote host closed the connection)]
ris has joined #nixos
arianvp2_ has quit [(Quit: arianvp2_)]
k2s has quit [(Quit: Leaving)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
[0x4A6F] has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
phinxy has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 240 seconds)]
k2s has joined #nixos
k2s has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26460: nixos-artwork: add more wallpapers (master...fix.nixos-artwork) https://git.io/vHiLT
NixOS_GitHub has left #nixos []
marsam has quit [(Ping timeout: 240 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Read error: Connection reset by peer)]
<LnL> gchristensen: rust is still broken after a rebuild?
slabity_ has joined #nixos
phinxy has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
<LnL> I did fix the rhash failure, so mysql should be green again with the next eval
JagaJaga has joined #nixos
hiratara has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
vandenoever has quit [(Ping timeout: 255 seconds)]
riclima has joined #nixos
fooblahblah has quit [(Quit: Konversation terminated!)]
johnw has quit [(Read error: Connection reset by peer)]
riclima has quit [(Ping timeout: 260 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/412b0a17aa (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
eacameron has joined #nixos
slabity_ has quit [(Ping timeout: 255 seconds)]
[0x4A6F] has quit [(Ping timeout: 246 seconds)]
anton___ has joined #nixos
Wizek_ has joined #nixos
14WAA96R8 has joined #nixos
<14WAA96R8> [nixpkgs] cstrahan pushed 1 new commit to master: https://git.io/vH5OH
<14WAA96R8> nixpkgs/master 3b1c4fc Charles Strahan: psensor: init at 1.2.0...
14WAA96R8 has left #nixos []
3NAAAYKTN has joined #nixos
<3NAAAYKTN> [nixpkgs] cstrahan closed pull request #26035: psensor: init at 1.2.0 (master...psensor) https://git.io/vHqKz
3NAAAYKTN has left #nixos []
Wizek has quit [(Ping timeout: 246 seconds)]
sitwon has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Ping timeout: 255 seconds)]
astsmtl has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
indi_ has joined #nixos
anton___ has quit [(Ping timeout: 246 seconds)]
markus1199 has joined #nixos
markus1219 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] knedlsepp opened pull request #26562: pythonPackages.hug: Disable on python2 (master...disable-hug-for-python2) https://git.io/vH5sl
NixOS_GitHub has left #nixos []
erasmas has quit [(Quit: leaving)]
indi_ has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
markus1209 has quit [(Ping timeout: 255 seconds)]
anton___ has joined #nixos
thetet has joined #nixos
johnw has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] cyraxjoe opened pull request #1409: Add support for the curl netrc file in nix-channel/nix-pull. (1.11-maintenance...1.11-maintenance) https://git.io/vH5GZ
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
<bitonic> Is there an easy way to include the git SHA1 in some derivation so that it can be used by the sources (for example for logging purposes)?
<cyraxjoe> (btw I'm around if anyone want to discuss the PR that I've just opened)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2444eab485 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 6 new commits to release-17.03: https://git.io/vH5Zw
<NixOS_GitHub> nixpkgs/release-17.03 eba5db9 zraexy: perlPackages.RegexpGrammars: init at 1.045...
<NixOS_GitHub> nixpkgs/release-17.03 a5ee4c0 zraexy: bt-fw-converter: init at 2017-02-19...
<NixOS_GitHub> nixpkgs/release-17.03 b254d49 zraexy: broadcom-bt-firmware: init at 12.0.1.1011...
NixOS_GitHub has left #nixos []
Rotaerk has joined #nixos
<gchristensen> LnL: seems like it https://hydra.nixos.org/build/54425144/nixlog/2
darlan has joined #nixos
smw has quit [(Ping timeout: 246 seconds)]
darlan has quit [(Client Quit)]
sophiag has joined #nixos
<sophiag> is there a way to either specify versions of haskell packages or, better, to prevent them from upgrading when i upgrade nixos? upgrading to 17.03 also upgraded this one haskell package that had a major breaking change and now i have a whole project that won't compile :(
<MichaelRaskin> sophiag: I would recommend checking out the NixPkgs revision where everything works, writing a buildEnv expression as desired, nix-build-ing it, and using the output link or nix-shell as needed
<MichaelRaskin> So that the things you want to keep at a specific version are separated from the main system
<sophiag> Ah, ok. I was hoping not to have to do that. I'd really just wish I could add a flag to prevent LTS from updating
<MichaelRaskin> You want to have it in your configuration.nix?
<MichaelRaskin> Well, you have an option to import a second NixPkgs checkout and take some packages from there
deba5e12 has quit [(Remote host closed the connection)]
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
<MichaelRaskin> (then you never update your second checkout, or update it very carefully, or something)
vaibhavsagar has joined #nixos
<sophiag> Yes, ideally in my configuration.nix (so far I'm getting away without using a separate nixpkgs file)
<MichaelRaskin> Well, it would be inside configuration.nix but you would import a second checkout of NixPkgs
smw has joined #nixos
<sophiag> I see what you're saying. This just only applies to haskell packages, though, most of which are automatically pulled from LTS. I didn't realize upgrading my NixOS would also upgrade everything from LTS. Anyway, it seems odd I'd need to checkout NixPkgs just for haskellPackages since they're not even packaged up in there
<ToxicFrog> sophiag: you could use packageOverrides to fix the version, or use .overrideAttrs create a local equivalent with the version fixed, perhaps