gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<lucperkins> Hey y'all, I'm new to this list, so apologies if this has been discussed previously. Do any of you know if there are currently any NixOS books in progress? I ask because I'm thinking about writing one but don't want to step on any toes or do too much redundant work.
endformationage has quit [Quit: WeeChat 1.9.1]
ambro718 has quit [Ping timeout: 265 seconds]
<hodapp> lucperkins: just grepped channel logs and the only references I see to a book are people asking "has anyone written a book?"
el_putin has quit [Read error: Connection reset by peer]
azazel has joined #nixos
<azazel> hi
stephenjudkins has joined #nixos
digitus has quit [Quit: digitus]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33811: release-small: Don't attempt to access "dbus.libs", etc., don't exist (master...fix/release-small-dbus-libs) https://git.io/vNZaF
NixOS_GitHub has left #nixos [#nixos]
fresheyeball has quit [Quit: WeeChat 1.9.1]
ryantrinkle has joined #nixos
thc202 has quit [Ping timeout: 268 seconds]
dramforever has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33812: subtitleeditor: 0.53.0 -> 0.54.0 (master...upd.subtitleeditor) https://git.io/vNZVB
NixOS_GitHub has left #nixos [#nixos]
NightTrain has joined #nixos
stephenjudkins has joined #nixos
dramforever has quit [Client Quit]
dramforever has joined #nixos
<azazel> hi guys, I'm trying to install the slimserver module as advertised in the last release changelog, but i cannot find it
<azazel> any clue?
<dramforever> So... I guess I really need a nix tutorial
lucperkins has quit [Quit: Page closed]
<dramforever> Say, I want to build haskell.compiler.ghcHEAD *but* using the 'real' HEAD from the git repo. I have no idea what to do. What's a solution to that?
<azazel> rnhmjoj[m]: thanks, I'll try to add it to my conf... but why a lookup for "nix-env -qa slimserver" returns nothing?
<Lisanna> By the way, since this was something I was struggling with, here's a nice and simple way to switch into a Nix environment that you have built with e.g. buildEnv from the command line when all you have is the store path: https://gist.github.com/ledettwy/416d7a4154acfadfdefbf6999f2b1da9
<rnhmjoj[m]> azazel: ah, you don't have to install anything. just set services.slimserver.enable = true in your configuration.
tg has quit [Remote host closed the connection]
swayf has joined #nixos
<azazel> also, it's safe to have bot nixos "stable" (i.e. latest release) and the unstable channel?
<azazel> s/bot/both/
<Lisanna> (example use case: you've deployed an environment with nix-copy-closure, and now you want to use it)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 3 new commits to release-17.09: https://git.io/vNZwO
<NixOS_GitHub> nixpkgs/release-17.09 eb64a95 Samuel Leathers: nixops: digital ocean PR #765
<NixOS_GitHub> nixpkgs/release-17.09 fcf3458 Samuel Leathers: nixops: enable vultr
<NixOS_GitHub> nixpkgs/release-17.09 1e0eebf WilliButz: nixos/xautolock: rewrite and add some options
NixOS_GitHub has left #nixos [#nixos]
<dramforever> Where did you learn about nix?
<Lisanna> dramforever me?
dywedir has quit [Remote host closed the connection]
<abcrawf> I'm trying to do some development on OpenOCD, but would like to let Nix actually build the project. I tried modifying the expression to use fetchgitLocal instead of fetchurl, but that doesn't seem to work. What is the recommended way to build from local sources?
<Lisanna> abcrawf if you already have something checked out locally, you can do something like src = ./path/to/repo;
<dramforever> Lisanna: wa talking to everybody, but would be grateful if you helped :)
<Lisanna> rather than all the fetchgit stuff
<dramforever> Like, which tutorial you read etc.
<Lisanna> dramforever The Nix manual
<Lisanna> and trying stuff until it started clicking
<abcrawf> Lisanna: I get the following error: "do not know how to unpack source archive /home/alex/code/openocd"
<dramforever> I knew it
<Lisanna> get a solid grasp of the language first
<dramforever> That makes sense
<Lisanna> abcrawf what's in /home/alex/code/openocd ?
orivej has quit [Ping timeout: 256 seconds]
<Lisanna> a git repo?
<abcrawf> Yeah
<dramforever> Lisanna: thank you
<Lisanna> abcrawf what expression are you basing it off of?
<abcrawf> Exactly
el_putin has joined #nixos
<abcrawf> I'm just modifying my local checkout of nixpkgs and using `nix-build -A openocd`
ghost_ has quit [Ping timeout: 256 seconds]
<Lisanna> Hmm, try setting unpackCmd = ":";
aanderse has quit []
<Lisanna> actually, unpackCmd = "cp -rH $curSrc ./openocd"; sourceRoot = "./openocd";
<Lisanna> put those two things in the mkDerivation
krey has quit [Quit: leaving]
sigmundv_ has quit [Ping timeout: 276 seconds]
<abcrawf> It cannot stat /home/alex/code/openocd. Do I need to disable the sandbox builds?
aanderse has joined #nixos
<manveru> abcrawf: you need to at least reference it in your nix code
nithor has quit [Ping timeout: 256 seconds]
<manveru> it won't be visible inside the build steps unless you put it into your source
<aanderse> i added this to my configuration.nix: virtualisation.virtualbox.host.enable = true;
<aanderse> but when i try to fire up a virtualmachine i get an error
<aanderse> Kernel driver not installed (rc=-1908)
<aanderse> am i doing something wrong?
<Lisanna> abcrawf make sure you're doing src = /home/alex/code/openocd; and not src = "/home/alex/code/openocd";
concatime has joined #nixos
<abcrawf> Lisanna: Ah, good call. In quotes it tries to run a command, right? (Sorry, very new to Nix)
<Lisanna> No, in quotes it will still probably treat it as a path, but during eval Nix doesn't know that it's a path, so it won't be available in the sandbox
<Lisanna> without quotes, Nix actually copies that into the /nix/store first and then adds it to the build sandbox
<abcrawf> Oh, gotcha
<concatime> What means "*" in `swapDevices.*.device`? https://nixos.org/nixos/manual/options.html#opt-swapDevices._.device
<concatime> Is it a literal asterix?
<concatime> Or a string that should be put there?
<Lisanna> concatime string that should be put there
<concatime> Ok, thank you ;)
<Lisanna> actually, no, it's a list
<Lisanna> ...what
<Lisanna> nevermind, sorry. It's a list of attrsets
<Lisanna> ugh, I'm dumb, I just used this a few days ago too :p
<Lisanna> Example: swapDevices = [ { device = "/dev/disk/by-uuid/7a7350ef-497e-49ff-ba5a-690cf81b66f1"; } ];
<rnhmjoj[m]> aanderse: I don't use virtualbox but try adding kvm-amd or kvm-intel to boot.kernelModules,
<Lisanna> but, you likely shouldn't be setting that manually. Any swap devices you have enabled with swapon will get picked up by nixos-generate-config
<aanderse> rnhmjoj[m]: thanks, will give it a go
<concatime> Lisanna: I want to use the `randomEncryption`.
<concatime> I have something like this (not finished): https://github.com/concatime/dotfiles/blob/luks/nixos/desktop.nix
<Lisanna> Oh, okay, then you should do it manually
<aanderse> rnhmjoj[m]: i assume i'll need a reboot after that?
dramforever has quit [Quit: Quit]
nithor has joined #nixos
<abcrawf> Lisanna: Thank you for your help. I was able to get this thing working.
<Lisanna> cool!
<azazel> concatime: don't forget to do an mkswap on the target partition
<aanderse> oh... i already have kvm-amd in my boot.kernelModules
<rnhmjoj[m]> aanderse: probably, or try loading manually with modprobe first
<Lisanna> argh why can only one thing be using kvm at a time ):
<aanderse> yeah still no dice dangit
<concatime> azazel: Ok, I will.
<Dezgeg> hm, multiple kvm vms at a time works just fine here
<Lisanna> Dezgeg it works fine if the same thing uses it multiple times, but two different apps using it will not work
<Dezgeg> what do you mean?
<Lisanna> so, you can have multiple runInLinuxVMs going, but you can't have a runInLinuxVM + virtualbox
<Dezgeg> ohh, virtualbox
<Dezgeg> well... yeah, they have theyr own weird hypervisor and kernel module instead of kvm
<Lisanna> or the android sdk emulator
<Lisanna> or you get "ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy"
<Dezgeg> yes, android emulator is qust a qemu fork IIRC, so it won't work with virtualbox
jb55 has quit [Ping timeout: 256 seconds]
<Lisanna> or in my case, runInLinuxVM + Simics
<rnhmjoj[m]> aanderse: with a quick search https://github.com/search?l=Nix&q=virtualbox+kernelModules&type=Code&utf8=%E2%9C%93 it seems you need `boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ];`
<aanderse> rnhmjoj[m]: thanks! that makes sense
<aanderse> great
babyflakes has quit [Quit: Connection closed for inactivity]
<Lisanna> most people don't use more than one kvm app at a time so the problem doesn't come up enough to get fixed or even discussed beyond "quit android studio and it'll work" :/
<concatime> Lisanna: The asterix is a string of what? `The option value swawpDevices in [...] is not of type list of submodules`
<Dezgeg> well, it's not kvm's fault but those other virtualization products' fault :P
<Lisanna> concatime sorry, read my messages afterwards
<Lisanna> Dezgeg I don't actually know how kvm works, all I know is I've never seen more than one kind of app use it at the same time.
<Dezgeg> at $work I use nixos in LXC on a proxmox machine, where the KVM vms spawned by proxmox and the runInLinuxVMs inside the nixos get together just fine
jetien has quit [Quit: Leaving.]
<Lisanna> huh, that's interesting
<Lisanna> okay, I'll go bitch at the simics team then
<Dezgeg> your problem is that virtualbox doesn't use KVM
<Dezgeg> but their own stuff
<Lisanna> yeah, simics uses its own stuff too
<Dezgeg> yup :P
<Lisanna> some terrible driver they wrote that exposes the Intel vt-x stuff more or less directly
dramforever has joined #nixos
orivej has joined #nixos
aanderse has quit [Remote host closed the connection]
orivej has quit [Client Quit]
civodul has quit [Ping timeout: 252 seconds]
aanderse has joined #nixos
orivej has joined #nixos
grenade has quit [Remote host closed the connection]
pjan_ has joined #nixos
<aanderse> all working now, thanks again :)
jetien has joined #nixos
<rnhmjoj[m]> aanderse: great! i always check into other people configurations. usually someone has already solved the problem
<aanderse> right, makes sense
nithor has quit [Ping timeout: 255 seconds]
<aanderse> yeah i need to level up my nix foo...
krey has joined #nixos
<krey> can someone help me move my /etc/nixos/configuration.nix?
<Lisanna> krey move?!
<krey> Lisanna: yeah, I'm trying to move it to another folder
jetien has quit [Quit: Leaving.]
mkoenig has joined #nixos
jetien has joined #nixos
<krey> Lisanna: but I can't nixos-rebuild anymore
Havvy has quit [Read error: Connection reset by peer]
jetien has quit [Client Quit]
mkoenig_ has quit [Ping timeout: 276 seconds]
<Lisanna> I don't think that file is meant to be moved...
Havvy has joined #nixos
<krey> Lisanna: it says nixos-config wasn't found, but I put the new location in my $NIX_PATH
<gchristensen> krey: what does your NIX_PATH contain now?
<LnL> krey: nixos-rebuild switch -I nixos-config=/path/to/configuration.nix
<krey> Lisanna, gchristensen: http://lpaste.net/6314902681735397376
<dramforever> Hmm
nuncanada has quit [Read error: Connection reset by peer]
<LnL> but you'll want to set that that with nix.nixPath so you don't need that every time
<krey> nixos-config=/cfg/system/configuration.nix
<krey> gchristensen: ^that's my NIX_PATH
dan_b has quit [Ping timeout: 260 seconds]
<krey> LnL: thank you, that worked (unlike setting my NIX_PATH)
nithor has joined #nixos
<gchristensen> setting NIX_PATH should work too. did you use sudo when it didn't work?
<LnL> hmm, that's equivalent to NIX_PATH="nixos-config=/path/to/configuration.nix:$NIX_PATH" nixos-rebuild switch
<krey> gchristensen: well, I just exported NIX_PATH, no sudo
<gchristensen> and then how did you call nixos-rebuild?
<krey> sudo nixos-rebuild switch
<Lisanna> yep, there's the problem
<Lisanna> sudo doesn't inherit env variables
<LnL> yeah, sudo will drop your local environment variables
<krey> thanks guys, good to know
<rnhmjoj[m]> there's sudo -E
<krey> rnhmjoj[m]: ooh
krey has quit [Quit: leaving]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fcf3458356e (from 65 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lopsided98 opened pull request #33813: Fix Linux kernel cross compilation (master...kernel-cross) https://git.io/vNZKj
NixOS_GitHub has left #nixos [#nixos]
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
coot____ has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to release-17.09: https://git.io/vNZ6J
<NixOS_GitHub> nixpkgs/release-17.09 d659398 Graham Christensen: Revert "nixops: enable vultr"...
<NixOS_GitHub> nixpkgs/release-17.09 b45869e Graham Christensen: Revert "nixops: digital ocean PR #765"...
NixOS_GitHub has left #nixos [#nixos]
Havvy has quit [Ping timeout: 256 seconds]
Havvy has joined #nixos
<dhess> gchristensen: has the vultr stuff even been applied to nixops yet? I'm confused by that revert in nixpkgs.
<gchristensen> dhess: someone in their fork of nixpkgs applied the vultr PR as .patch in the patchPhase of the nixops package, then accidentally pushed it upstream
<dhess> oh god...
* dhess checks to see if it was him
<gchristensen> it wasn't :) but, accidents happen
<dhess> phew
<dhess> I have those applied in my NixOps fork :)
<gchristensen> may I recommend if people have their own forks, to not use the same branch names as upstream? prevents accidentally pushing custom patches
<dhess> but that's separate from my nixpkgs fork
ro6 has quit [Quit: Connection closed for inactivity]
<dhess> gchristensen: what are those NixOps patches waiting on, anyway? FWIW I've been using the Vultr stuff for several months. Works great.
<dhess> I have instantiated and destroyed maybe 10 or so hosts
<gchristensen> I don't know, I'm not very involved with nixops maintenance
<dhess> ok
orivej has quit [Ping timeout: 255 seconds]
<gchristensen> but good to know, I'd like to find somewhere to run some cheaper, less important stuff
<aanderse> i've downloaded this binary installer for a program. it comes as a 400+ mb bash script that has the actual binary file appended to the end of the bash script.
<dhess> they are great. Better than DO for me as they give you a useful IPv6 prefix
<aanderse> the script, minus the 400mb blob at the end is here: https://pastebin.com/SpjQ2kTs
<aanderse> anyone have any opinion of how hard it would be to nix that?
<aanderse> i've never packaged a binary for nixos before
la_putin has joined #nixos
<joepie91> aanderse: seems it's just a compressed tarball (`tar xmz -C ${OUT_PATH}/`), so with a bit of luck you can just feed it into `tar` as-is and it'll ignore the junk at the start
el_putin has quit [Read error: Connection reset by peer]
<joepie91> aanderse: alternatively, just emulate what it does with `tail` using `ORI_FILE_LEN` (ie. extract `ORI_FILE_LEN` from the file beforehand and use that to extract it)
<joepie91> and then you can treat it as a normal tarball
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rnhmjoj[m]> aanderse: it's seems a lot of stuff to patch, I would run it in a chroot env if it's just a one time run.
<acowley> nixpkgs-unstable seems blocked on a couple builds that have been lingering for a while now: https://hydra.nixos.org/eval/1425098#tabs-unfinished
aanderse has quit [Read error: No route to host]
nithor has quit [Ping timeout: 276 seconds]
aanderse has joined #nixos
<aanderse> sorry vbox crapped on me...
<aanderse> yeah so just treat it like a regular tar and follow along with what the bash script does?
ssmike has quit [Ping timeout: 256 seconds]
nithor has joined #nixos
<gchristensen> indeed, acowley
orivej has joined #nixos
aanderse has quit [Ping timeout: 256 seconds]
aanderse has joined #nixos
phdoerfler has quit [Ping timeout: 260 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2f6b88551ba (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [Client Quit]
<taohansen> is there some kind of pretty-printing and/or linting for the nix-repl?
<taohansen> my CLI is so pretty and organized until i drop into a nix-repl where everything turns to unformatted uniform off-white
concatime has quit [Ping timeout: 260 seconds]
klntsky has quit [Ping timeout: 272 seconds]
klntsky has joined #nixos
srdqty has quit [Ping timeout: 256 seconds]
klntsky has quit [Remote host closed the connection]
srdqty has joined #nixos
klntsky has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
grenade has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d982c61f1af (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [Client Quit]
orivej has quit [Ping timeout: 255 seconds]
<acowley> Anyone seen an error like this when building with GHC? setupCompilerEnvironmentPhase
<acowley> Build with /nix/store/yszz79gj05f4dlgjbwbmglq8ydndnzr3-ghc-8.2.2.
<acowley> ln: failed to create symbolic link '/nix/store/nis2ncsl5qcvacyca4cdim5j605zrjas-haddock-api-2.18.1/lib/links/libHShaddock-library-1.4.4-BXedb9tEAJEKpUW5xu3aRK-attoparsec-ghc8.2.2.dylib': File exists
mbrgm has joined #nixos
dramforever has quit [Remote host closed the connection]
nithor has quit [Ping timeout: 276 seconds]
pjan_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 1 new commit to release-17.09: https://git.io/vNZiS
<NixOS_GitHub> nixpkgs/release-17.09 bcc2277 Samuel Leathers: Revert "nixos/xautolock: rewrite and add some options"...
NixOS_GitHub has left #nixos [#nixos]
Supersonic112 has quit [Disconnected by services]
dag has joined #nixos
dag is now known as Guest57877
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
dag_ has quit [Ping timeout: 256 seconds]
nithor has joined #nixos
<disasm> dhess: that was me that made that screw-up... I had the merge pointed at the release branch on upstream remote instead of my origin remote. Thank gchristensen for catching that one.
orivej has joined #nixos
<disasm> And dhess glad someone else is using my PR :) At some point I want to see if I can get this disk config in the nix config instead of hard-coded to btrfs (which is what my nixos image currently has). Just haven't had time to work on it. I also need to figure out how to write tests for it.
alexteves has quit [Ping timeout: 256 seconds]
<gchristensen> if you'd like, I have a git pre-push hook which helps me avoid mistakes
<disasm> gchristensen: yes please :)
tg has joined #nixos
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nithor has quit [Ping timeout: 276 seconds]
tomberek has joined #nixos
<tomberek> Howdy, I am trying to create a minimal chroot in NixOS. I've been able to use buildFHSUserEnv, but that seems to only pretend to be FHS, not a chroot.
<tomberek> Is there a tool or trick to getting a chroot, or is the simplest thing to build one manually out of an Ubuntu image?
vidbina_ has joined #nixos
<gchristensen> disasm: I use `mutate` for a lot of stuff, that is why it is in the expr as a fn
<tomberek> there also the --chroot option on nixos-install, but that seems a bit heavy
<disasm> nifty... how do you include that in your configuration.nix? does that get imported in place of git?
<gchristensen> hrm
<gchristensen> might be easier to just commit mywhole thing
<dhess> disasm: oh, you did the vultr thing?
orivej has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33814: Update Vapoursynth machinery (master...vapoursynth) https://git.io/vNZPQ
NixOS_GitHub has left #nixos [#nixos]
nuncanada has joined #nixos
hgdcs55322 has quit [Ping timeout: 256 seconds]
<disasm> dhess: that was me :) My first stab at doing anything custom with nix too, talk about a crazy learning curve
vidbina has quit [Ping timeout: 256 seconds]
<dhess> disasm: I switched that btrfs hard-code to ext4. It works fine. I think as a first pass you could probably make it ext4, and leave the config option for a later patch.
<dhess> I imagine almost everyone using NixOps to deploy to something like vultr isn't going to be particular about the filesystem... as long as it's something common like ext3 or ext4
nithor has joined #nixos
<disasm> dhess: yeah, true
<disasm> anyone use styx for a static site? Played around with it last night and today a bit, and it created a pretty nice website with minimal effort, and love that I can deploy my code directly from nixops :) https://www.samleathers.com/
<disasm> And hey, how cool is it to say your website is written using nix :)
<disasm> I was actually pleasantly surprised when I googled nix static site generator and one already existed :)
nithor has quit [Ping timeout: 276 seconds]
<tomberek> Anyone know the proper way to make a basic chroot in NixOS? (i've tried buildFHSChrootEnv, it's not the same)
<gchristensen> nice
<disasm> tomberek: what are you trying to do?
<disasm> tomberek: a nixos chroot, or something like debootstrap?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33816: btfs: 2.17 -> 2.18 (master...btfs) https://git.io/vNZXm
NixOS_GitHub has left #nixos [#nixos]
<tomberek> disasm: i'm not sure about the difference between those two. I'm just looking to run some public services in a chroot (using sshd's ChrootDirectory), but that directory needs to have some basic environment.
<tomberek> i'd be happy if it was basically a very minimal nixos chroot isolated from the host system
<disasm> tomberek: so typically, I'd use a container for that
<gchristensen> https://github.com/grahamc/nixos-config/blob/master/packages/symlinks/service.nix#L24https://github.com/grahamc/nixos-config/blob/master/packages/symlinks/service.nix#L24
<tomberek> disasm: that would work
<disasm> oh, it's a symlink to your home dir :) I was thinking something a lot more complicated
<disasm> tomberek: in your configuration.nix you can do containers.somename = { ... } where ... is your network config, whether it should be autostarted, if tun devices are allowed, and your config param which is essentially a full nixos configuration for your container.
<tomberek> disasm: I'm using rrsync and forcecommands, but a container would be just another layer of protection... (i'm reading https://nixos.org/nixos/manual/index.html#sec-declarative-containers now)
<disasm> yeah, containers are better suited for your use case I think :)
nithor has joined #nixos
<gchristensen> why do you neeed a chroot anyway? buildFHSUserEnv puts you in to a namespace, which is frequently enough
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33817: ddcutil: 0.8.4 -> 0.8.5 (master...ddcutil) https://git.io/vNZXV
NixOS_GitHub has left #nixos [#nixos]
<disasm> gchristensen: oh man, I really like that symlink package :) did you write that?
<gchristensen> disasm: yep :0
<gchristensen> :)
<gchristensen> it doesn't clean up symlinks from previous generations, otherwise I'd send it to nixpkgs
<tomberek> disasm: gchristensen: i didn't know if it was possible to do a chroot anyway, or if there was one i could re-use (eg, the nix build chroot)
nithor has quit [Ping timeout: 255 seconds]
<tomberek> ghchristiansn: maybe i don't understand the buildFHSUserEnv, i looked like the environment and filesystem was identical to the host, just with lots of extra symlinks in /bin /usr, etc.
leat has quit [Ping timeout: 260 seconds]
mk-fg has quit [Ping timeout: 265 seconds]
<tomberek> gchristensen: I'm testing it now. Looks like some of the fileSystem is isolated from the host, though there is still the /host directory exposed to the FHSEnv
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
<tomberek> buildFHSUserenv seems designed to just mimic the FHS, not really be a chroot
nuncanada has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33818: rewritefs: remove needless quotation (master...rewritefs) https://git.io/vNZXx
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> tomberek: try https://nixos.org/nixpkgs/manual/#sec-fhs-environments with your code and a shell.nix
orivej has joined #nixos
<gchristensen> bed time :)
<tomberek> yep, i'm playing with that now
nithor has joined #nixos
srdqty has quit [Quit: WeeChat 1.9.1]
<tomberek> https://github.com/chrisfarms/nixos-shell this seems interesting too
grenade has quit [Ping timeout: 255 seconds]
nithor has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33819: bdf2psf 1.170 -> 1.175 (master...bdf2psf) https://git.io/vNZ14
NixOS_GitHub has left #nixos [#nixos]
grenade has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
<tomberek> I'm reading the part about how nixos-containers are not perfectly isolated, is this only for root users, can you safely provide untrusted users access to non-root?
jasom has quit [Ping timeout: 246 seconds]
<tomberek> (think setting up CTF's)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bcc22776aeb (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
drakonis has quit [Read error: Connection reset by peer]
stephenjudkins has quit [Remote host closed the connection]
<tomberek> lol, running rm -rf / --no-preserve-root in a container (as root) causes problems for host... nice
stephenjudkins has joined #nixos
<rnhmjoj[m]> I wouldn't run that even inside a vm
nithor has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yurrriq opened pull request #33821: services.mysql: properly quote database.name (master...update/services/mysql) https://git.io/vNZMw
NixOS_GitHub has left #nixos [#nixos]
<tilpner> "Warning: Currently, NixOS containers are not perfectly isolated from the host system. This means that a user with root access to the container can do things that affect the host. So you should not give container root access to untrusted users."
<tilpner> tomberek - So definitely not for a CTF
iyzsong has joined #nixos
schoppenhauer has quit [Ping timeout: 256 seconds]
<tomberek> yeah... i'm also playing around with trying to make a proper chroot, but the nixos-special linking makes that harder than normal
nithor has joined #nixos
schoppenhauer has joined #nixos
<tomberek> tilpner: trying deboostrap now.....
<tilpner> tomberek - If I wanted to setup a CTF, I'd probably use qemu without KVM
<tilpner> Or an RPi that I don't need
<tilpner> Depending on who you invite on it, I guess
deepfire has quit [Ping timeout: 240 seconds]
nithor has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xurei opened pull request #33822: libzxcvbn: init at 2.3 (master...master) https://git.io/vNZMd
NixOS_GitHub has left #nixos [#nixos]
jasom has joined #nixos
<disasm> tomberek: so it's not nix... but this was really fun :) https://samleathers.com/posts/2013-04-25-secure-vm-to-be-hacked.html
<tomberek> disasm: cool, thx
joko has quit [Ping timeout: 248 seconds]
joko has joined #nixos
iqubic has joined #nixos
nithor has joined #nixos
<iqubic> Anyone know what's up with this weird error?
<iqubic> mv: inter-device move failed: 'sec17.org' to '/mnt/shared/School/History/sec17.org'; unable to remove target: Read-only file system
<iqubic> /mnt/shared is an NTFS formatted partition that I made.
<iqubic> that /mnt/shared thing is on a separate partition that I made.
<iqubic> It is NTFS formatted.
<dtz> is it mounted read-only? previously, NTFS needed to be mount specially to enable writing
<disasm> probably ntfs partition went haywire
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNZDG
<NixOS_GitHub> nixpkgs/master 0d800dc adisbladis: firefox-beta-bin: 58.0b15 -> 58.0b16
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 66bc1ad adisbladis: firefox-devedition-bin: 58.0b15 -> 58.0b16
<dtz> since ntfs-3g or w/e considers writing support... well, worth disabling by default
<iqubic> I dual boot Windows10 and NixOS and I needed a way to share data between the OSes/
<dtz> and yeah if it needs a check I think you gotta check it on windows? or at least sometimes
<disasm> I haven't used ntfs in a while, but in the past only fix was to boot into a windows cd console and rescue the disk.
<dtz> yep, same disasm
<iqubic> Well that stinks.
<iqubic> I can't fix it in NixOS?
<disasm> friends don't let friends use NTFS (or FAT32 for anything but an efi partition)
<dtz> if it's rejecting it because it needs to be fixed, you should see that in your dmesg or something
<dtz> iqubic: could you previously write to the partition from linux?
<iqubic> dtz: Yes. I definately could.
<dtz> okay then yeah probably needs to be checked on windows :/
<dtz> might be another way but I never had an NTFS partition on a machine I didn't ALSO have windows on, so.. .. never investigated :)
<iqubic> how do I do that. I only know the Linux Cmd line.
<disasm> dtz: yeah, ntfs write has worked for a while without ntfs-3g I think. I wouldn't try repairing from linux, might break shit
<dtz> haha okay, oops O:). Was trying to find out if that was still true or not, thanks
<iqubic> diasasm, I still have ntfs-3g. Should I uninstall that?
<disasm> If all you use is linux, I'd suggest not using NTFS :)
<iqubic> diasasm, I also need these files in Windows for School, so I need to fix this issue.
<disasm> eh, I'm probably wrong on that dtz
<disasm> haven't used windows in ages in anything but a VM
<disasm> take it to school and plugin to a windows machine
<disasm> that might repair it
nithor has quit [Ping timeout: 256 seconds]
argo has joined #nixos
<iqubic> disasm: I'm going to try booting into windows and fixing it that way.
iqubic has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33823: cutegram: Build with qt59 (master...cutegram-qt59) https://git.io/vNZD2
NixOS_GitHub has left #nixos [#nixos]
justan0theruser has joined #nixos
iqubic has joined #nixos
justanotheruser has quit [Ping timeout: 256 seconds]
<iqubic> Well, just booting into Windows and then letting it shut down properly fixed my issues.
<iqubic> No CMD Propmt trickery.
<iqubic> So that's good I suppose
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNZDh
<NixOS_GitHub> nixpkgs/master 9560ff5 rnhmjoj: bdf2psf 1.170 -> 1.175
<NixOS_GitHub> nixpkgs/master 224df5b adisbladis: Merge pull request #33819 from rnhmjoj/bdf2psf...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNZyT
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3ea9c7b adisbladis: Merge pull request #33816 from rnhmjoj/btfs...
<NixOS_GitHub> nixpkgs/master e76eb4e rnhmjoj: btfs: 2.17 -> 2.18
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNZyI
<NixOS_GitHub> nixpkgs/master 564b3d6 adisbladis: Merge pull request #33817 from rnhmjoj/ddcutil...
<NixOS_GitHub> nixpkgs/master bc8ab45 rnhmjoj: ddcutil: 0.8.4 -> 0.8.5
NixOS_GitHub has left #nixos [#nixos]
Lisanna has quit [Ping timeout: 240 seconds]
nithor has quit [Ping timeout: 256 seconds]
<adisbladis> iqubic: Do I remember it correctly that you are using exwm?
<iqubic> That is correct.
<iqubic> I use EXWM.
<iqubic> I'm busy doing School Work now, but I'll pop in from time to time and answer your questions.
<adisbladis> iqubic: Do you have your setup somewhere? I never did get it to work properly..
<iqubic> My set up is just to add "services.xserver.windowManager.exwm.enable = true;" and "services.xserver.windowManager.exwm.enableDefaultConfig = true;" to my configuration.nix.
<iqubic> That's all I did, and it just works properly for me.
<iqubic> it first loads exwm, then sources my .emacs properly.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33806: jdupes: 1.8 -> 1.9 (master...upd.jdupes) https://git.io/vNZOr
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33804: roboto: 2.136 -> 2.138 (master...upd.roboto) https://git.io/vNZOt
NixOS_GitHub has left #nixos [#nixos]
<iqubic> If you have questions about configuring exwm, I suggest you ask in #emacs.
<iqubic> Technomany in that channel helpped me get started with exwm for the first time.
<iqubic> Technomancy that is. With a 'c' before the 'y'
<adisbladis> iqubic: Hmm never did work properly for me. I'll give it another go :)
<iqubic> That's all I did to make it work. Nothing too special.
nithor has quit [Ping timeout: 255 seconds]
<elvishjerricco> has anyone taken a stab at build the new ghcjs-8.2 branch in Nix?
nithor has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
vidbina_ has quit [Ping timeout: 276 seconds]
<iqubic> Not me. But I could try that if you want. I know a bit about Haskell and GHC.
<iqubic> However I have school work, so I'd only be able to start that in about an hour or so.
<elvishjerricco> iqubic: I'm in no rush :) Just think it'd be nice to bump the GHCJS in nixpkgs
nithor has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bcc22776aeb (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
nithor has joined #nixos
babyflakes has joined #nixos
danl1240 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
loli has joined #nixos
loli has quit [Quit: WeeChat 2.0.1]
nithor has quit [Ping timeout: 256 seconds]
tomberek has quit [Quit: Page closed]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #33824: physfs: 2.0.3 -> 3.0.1 (master...u/physfs) https://git.io/vNZ9I
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
nithor has joined #nixos
tghume has quit [Ping timeout: 255 seconds]
JosW has joined #nixos
tghume has joined #nixos
dramforever has joined #nixos
dramforever has quit [Read error: Connection reset by peer]
wilornel has joined #nixos
<wilornel> Hi #nixos! I remember a while back I learned here how I could declare the packages I want installed on my machine inside a single file. I cannot remember how I did that
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6887a0fc9a8 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
leat has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
<vaibhavsagar> what's the easiest way to patch some files in nixpkgs?
<wilornel> Alright, I find that I used to use `/etc/nixos/configuration.nix` and `~/.config/nixpkgs/home.nix`
<wilornel> They are not mentioned much in the manual. I would have thought that the manual would explain how to declaratively install packages?
nithor has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
nithor has joined #nixos
JosW has quit [Quit: Konversation terminated!]
hyphon81 has joined #nixos
<tilpner> /etc/nixos/configuration.nix is mentioned in the manual, but I never heard about home.nix
<tilpner> Ah, that's a home-manager thing, not a NixOS thnig
nithor has quit [Ping timeout: 256 seconds]
<wilornel> tilpner: Yes. Now I'm looking into ~/.config/nixpkgs/config.nix
<wilornel> tilpner: It's strange.. I try what they explain to do here (end of section here https://nixos.org/nixos/manual/index.html#idm140737316317568 ) , and it says
<wilornel> error: attribute ‘myemacs’ in selection path ‘myemacs’ not found
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<wilornel> I try it and it does't work
<wilornel> How does `nix-env -f. -iA myPackages` have knowledge of the file ~/.config/nixpkgs/config.nix?
<wilornel> I think that I am missing something. How does nix know about that file
<wilornel> Also, I had to `mkdir -p ~/.config/nixpkgs` myself. Was it supposed to be there already?
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
nithor has joined #nixos
<tilpner> nix-env just reads it, it's *the* main user-nix entrypoint
<tilpner> mkdir is fine
<wilornel> tilpner: then what does it mean when it says "error: attribute ‘myemacs’ in selection path ‘myemacs’ not found"
<wilornel> "error: attribute ‘myPackages’ in selection path ‘myPackages’ not found"
<tilpner> Oh, do -iA nixpkgs.myPackages or -iA nixos.myPackages
<tilpner> If you really want to understand that, look at nix-defexpr
<tilpner> (Somewhere in the nix-env manpage)
<wilornel> Sending a paste of all my failed attempts...:
<tilpner> Well, okay, how did you define myPackages?
<wilornel> Inside ~/.config/nixpkgs/config.nix : https://paste.ubuntu.com/26376710/
<wilornel> tilpner: Maybe I should check the channels nixos is looking into for updates?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #32096: Sync all-cabal-hashes with a38a3e2 (release-17.09...sync-all-cabal-hashes) https://git.io/vbe0F
NixOS_GitHub has left #nixos [#nixos]
<wilornel> I still don't understand how does nixos know about ~/.config/nixpkgs/config.nix
<wilornel> I have:
<wilornel> [vagrant@nixbox:~/.config/nixpkgs]$ env | grep NIX NIX_PROFILES=/run/current-system/sw /nix/var/nix/profiles/default /home/vagrant/.nix-profile NIX_CONF_DIR=/etc/nix NIX_REMOTE=daemon NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels NIX_OTHER_STORES=/run/nix/remote-stores/*/nix NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix
MP2E has quit [Remote host closed the connection]
ckauhaus has joined #nixos
simukis has joined #nixos
jetien has joined #nixos
wilornel has quit [Ping timeout: 260 seconds]
nithor has quit [Ping timeout: 256 seconds]
aarvar has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vNZ79
<NixOS_GitHub> nixpkgs/master d573885 Robert Helgesson: perl-URI: 1.72 -> 1.73
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
nyberg has quit [Ping timeout: 248 seconds]
nithor has quit [Ping timeout: 255 seconds]
justbeingglad has joined #nixos
dywedir has joined #nixos
justbeingglad has left #nixos [#nixos]
knupfer has joined #nixos
dywedir has quit [Read error: Connection reset by peer]
nithor has joined #nixos
alex`` has joined #nixos
leat has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vNZ51
<NixOS_GitHub> nixpkgs/master ad3b2e8 Robert Helgesson: lombok: 1.16.8 -> 1.16.20...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #33669: lombok: 1.16.8 -> 1.16.20 (master...bump/lombok) https://git.io/vNqpL
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 256 seconds]
<hyphon81> I could access ipfs webui with version 0.4.13. However, I couldn't it with version 0.4.10.
el_putin has joined #nixos
la_putin has quit [Read error: Connection reset by peer]
AndreasO has joined #nixos
nithor has joined #nixos
vidbina has joined #nixos
AndreasO has quit [Client Quit]
glenn_ has joined #nixos
<glenn_> hi there.. naive question (my specialty) .. when looking at: https://github.com/manveru/bundix, it says "Installing from this repo: nix-env -iA bundix". Im obviously missing a step or 10 and get:
<glenn_> ~/s/bundix ❯❯❯ nix-env -iA bundix
<glenn_> error: attribute ‘bundix’ in selection path ‘bundix’ not found
<glenn_> whats the gap in my understanding here?
leat has joined #nixos
<glenn_> hmm.. actually this works better..
<glenn_> > nix-build '<nixpkgs>' -A bundix --no-out-link
<glenn_> or even:
<glenn_> > nix-build '<nixpkgs>' -A bundix
tanonym has joined #nixos
<glenn_> oh.. sorry thats hardly the same thing..
jetien has quit [Quit: Leaving.]
alex`` has quit [Ping timeout: 276 seconds]
ambro718 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pikajude pushed 1 new commit to master: https://git.io/vNZdB
<NixOS_GitHub> nixpkgs/master cf6c05f Jude Taylor: add haddock version for GHC 8.0
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
jetien has joined #nixos
hotfuzz has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ca67494719a (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
jetien has quit [Client Quit]
nico202 has joined #nixos
tanonym has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
hotfuzz_ has quit [Ping timeout: 248 seconds]
nyberg has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
dramforever has joined #nixos
dramforever has quit [Client Quit]
rogue_koder has quit [Quit: Konversation terminated!]
knupfer has quit [Ping timeout: 255 seconds]
kosmikus has quit [Quit: leaving]
kosmikus has joined #nixos
kosmikus has quit [Client Quit]
ssmike has joined #nixos
nithor has joined #nixos
hyphon81 has quit [Remote host closed the connection]
ssmike has quit [Ping timeout: 256 seconds]
<manveru> glenn_: hey
<glenn_> hey there
<manveru> yeah, the docs might be a bit wrong :)
<manveru> generally, you can install bundix from nixpkgs
<glenn_> haha, lol, oK
<manveru> like `nix-env -iA nixos.bundix`
<glenn_> ohh TIL
<manveru> or `nix-env -iA nixpkgs.bundix`
<manveru> depending on your channel names
nithor has quit [Ping timeout: 256 seconds]
<glenn_> cool, ok then thanks.. so the sentence 'from this repo'.. had me sniffiing about looking for something special to do within that repo.. but all that means is doing a bog standard `nix-env -iA bundix` will install your fork
<manveru> yeah
ssmike has joined #nixos
<glenn_> cool, thanks! another quick q.. do you know if it will work with contemporary versions of bundler?
NightTrain has quit [Quit: Lost terminal]
<glenn_> i seem to recall hitting issues with anything above bundler 1.6 last time i looked into this?
<manveru> there shouldn't be any issue really, please tell me though if you have problems
<glenn_> rgr, will do - thanks manveru!
pjan_ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ca67494719a (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to staging: https://git.io/vNZF9
<NixOS_GitHub> nixpkgs/staging efc17cb Jörg Thalheim: iana-etc: 20171106 -> 20180108
NixOS_GitHub has left #nixos [#nixos]
kosmikus has joined #nixos
kosmikus has quit [Client Quit]
kosmikus has joined #nixos
nithor has joined #nixos
dramforever has joined #nixos
dramforever has joined #nixos
dramforever has quit [Changing host]
dramforever has quit [Client Quit]
dramforever has joined #nixos
fuyuuri has joined #nixos
dywedir has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
GiGa|Laptop has joined #nixos
<GiGa|Laptop> Greetings of the day folks
<GiGa|Laptop> I'm looking at trying to move a package from mono 4 to mono 5. It uses buildDotNetPackages.
dywedir has quit [Remote host closed the connection]
dywedir has joined #nixos
dywedir has quit [Remote host closed the connection]
<GiGa|Laptop> If on the package (Keepass in this case) I set "mono = mono50", will that cascade into the packages call to buildDotNetPackages too?
ltielen has joined #nixos
dbe_ has joined #nixos
dywedir has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #33827: nextcloud-client: fix icon name in desktop file (master...nextcloud-client-icon-fix) https://git.io/vNZbF
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 276 seconds]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33812: subtitleeditor: 0.53.0 -> 0.54.0 (master...upd.subtitleeditor) https://git.io/vNZVB
NixOS_GitHub has left #nixos [#nixos]
dywedir has quit [Remote host closed the connection]
dywedir has joined #nixos
afics has quit [Ping timeout: 252 seconds]
nithor has quit [Ping timeout: 256 seconds]
dywedir has quit [Remote host closed the connection]
afics has joined #nixos
orivej has joined #nixos
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nithor has joined #nixos
leapingfrogs has joined #nixos
leapingfrogs has quit [Client Quit]
nithor has quit [Ping timeout: 256 seconds]
GiGa|Laptop has quit [Remote host closed the connection]
GiGa|Laptop has joined #nixos
<GiGa|Laptop> Hmm, possibly not, as the others that call "mono = mono50" don't use buildDotNetPacakages
ilyaigpetrov has joined #nixos
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33822: libzxcvbn: init at 2.3 (master...master) https://git.io/vNZMd
NixOS_GitHub has left #nixos [#nixos]
<manveru> gchristensen: for a backport of the ruby update, which branch should i make a PR against?
nithor has joined #nixos
<manveru> release-17.09?
<manveru> or is it staging-17.09
<LnL> yes, and use cherry-pick -x
<LnL> release-17.09
vidbina has quit [Ping timeout: 256 seconds]
<manveru> ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNZAg
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1db3b1c Jörg Thalheim: Merge pull request #33818 from rnhmjoj/rewritefs...
<NixOS_GitHub> nixpkgs/master b863f23 rnhmjoj: rewritefs: remove needless quotation
lexsomething has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru opened pull request #33828: Ruby: 2.2.8 -> 2.2.9, 2.3.5 -> 2.3.6, 2.4.2 -> 2.4.3 (release-17.09...upgrade-ruby-cherrypick) https://git.io/vNZAx
NixOS_GitHub has left #nixos [#nixos]
ltielen has quit [Ping timeout: 256 seconds]
nithor has quit [Ping timeout: 256 seconds]
<lexsomething> Hello! Gentlemen, I'm trying to build simple FHS as stated in https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F , After I added some custom packages like gnustep.libobjc , clang fails to compile. even when I changed myexpession.nix it still tries and fails to compile libobjc which is not in my expession.nix anymore! how I can clean cache to tell nix-shell began it from scratch? --p
Kingsquee has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<hyper_ch> lexsomething: you tried to package a binary?
Kingsquee has quit [Client Quit]
ltielen has joined #nixos
orivej has joined #nixos
<lexsomething> no, I didn't tried to package a binary. I just want make FHS chroot to run multiple binaries\scripts in it. That's point. Unfortunately my fhs.nix build fails and retries to restart from same failure step, even after I changed my fhs.nix file itself. I'm looking for a way to tell nix-shell not to restart compilation, but to re-evaluate my fhs.nix and make it from scratch. e.g. without cached state
nithor has joined #nixos
ma27 has joined #nixos
<hyper_ch> no idea
deepfire has joined #nixos
<lexsomething> k
nithor has quit [Ping timeout: 276 seconds]
<lexsomething> Ok! I fixed that. I didn't noticed the line of gnuste.base that has failed dependecny objc, so I commented all gnustep packages, and my expression has been build with success. my fault
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
leat has quit [Ping timeout: 256 seconds]
leat has joined #nixos
zzamboni has joined #nixos
nithor has joined #nixos
cinimod has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to release-17.09: https://git.io/vNZpR
<NixOS_GitHub> nixpkgs/release-17.09 92d088e Daiderd Jordan: Merge pull request #33828 from manveru/upgrade-ruby-cherrypick...
<NixOS_GitHub> nixpkgs/release-17.09 d6d70cb Michael Fellinger: Ruby: 2.2.8 -> 2.2.9, 2.3.5 -> 2.3.6, 2.4.2 -> 2.4.3...
NixOS_GitHub has left #nixos [#nixos]
thc202 has joined #nixos
flokli has quit [Remote host closed the connection]
<manveru> LnL: thx
<LnL> np :)
flokli has joined #nixos
alex`` has joined #nixos
ltielen has quit [Quit: WeeChat 1.9.1]
<lexsomething> I'm wondering why is there no automation script tool to run FHS, that looks for binaries/scripts in specific dir, determine dependecies via LDD, generetate myFHS.nix accordingly with all dependecies.
<lexsomething> or is it a stupid idea? Because I'm thinking to write such tool. Ofc if there is no similiar script exists already.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33829: palemoon: install icons (master...palemoon) https://git.io/vNZpp
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
hellrazor has joined #nixos
zzamboni has joined #nixos
jasom has quit [Ping timeout: 255 seconds]
oahong has quit [Ping timeout: 256 seconds]
oahong has joined #nixos
nico202 has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hrdinka pushed 1 new commit to master: https://git.io/vNZhX
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 17a4f0f Christoph Hrdinka: woff2: set platforms to linux only...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vNZh9
<NixOS_GitHub> nixpkgs/master 916f1a0 Jörg Thalheim: Literate: adapt to nixpkgs standards
<NixOS_GitHub> nixpkgs/master 970a3e3 Joachim F: Merge pull request #28224 from RocketPuppy/add-literate...
<NixOS_GitHub> nixpkgs/master 02d52d8 Daniel Wilson-Thomas: Literate: init
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33803: Change package builds to use Qt 5.9 (master...qt59) https://git.io/vNZYy
NixOS_GitHub has left #nixos [#nixos]
pjan_ has joined #nixos
flox has joined #nixos
pjan_ has quit [Client Quit]
<flox> I am trying to figure out how to combine builtins.readFile with something like substituteAll() but I am unsure how to correctly do this. Has anyone done anything similar?
<LnL> readFile is evaluation time, substituteAll is build time
<flox> LnL: so is there something that can substitute at evaluation time?
pjan_ has joined #nixos
* dramforever is confused about ghc
<dramforever> Hello, does anybody know how to build ghc HEAD with 8.2.2 instead of 8.2.1? I tried to override bootPkgs = haskell.packages.ghc822 but it doesn't seem to work perfectly -- it still downloads ghc-8.2.1-binary
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33802: mblaze: 0.2 -> 0.3 (master...mblaze-update) https://git.io/vNZmK
NixOS_GitHub has left #nixos [#nixos]
vidbina has joined #nixos
lexsomething has quit [Quit: Page closed]
fuyuuri has quit [Ping timeout: 256 seconds]
rihards has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 5f8bb3f Jörg Thalheim: Merge pull request #33801 from romildo/upd.paper-icon-theme...
<NixOS_GitHub> nixpkgs/master f378232 José Romildo Malaquias: paper-icon-theme: 2017-02-13 -> 2017-11-20
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNZjz
NixOS_GitHub has left #nixos [#nixos]
jasom has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27131: mosquitto: Explicitly configure password file (master...mosquitto_pw) https://git.io/vQgxy
NixOS_GitHub has left #nixos [#nixos]
dramforever has quit [Ping timeout: 255 seconds]
rihards has quit [Quit: rihards]
rihards has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
michaelpj_ has joined #nixos
pie__ has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNnes
<NixOS_GitHub> nixpkgs/master eb29b00 adisbladis: mumble_git: 2017-05-25 -> 2018-01-12
<NixOS_GitHub> nixpkgs/master c11b87b Jörg Thalheim: Merge pull request #33800 from adisbladis/mumble-qt59...
zzamboni has quit [Quit: Leaving.]
orivej has quit [Ping timeout: 256 seconds]
michaelpj_ has quit [Read error: Connection reset by peer]
lonokhov has joined #nixos
orivej has joined #nixos
oahong has quit [Ping timeout: 276 seconds]
nithor has quit [Ping timeout: 255 seconds]
oahong has joined #nixos
michaelpj_ has joined #nixos
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ThomasMader opened pull request #33830: ldc: Disable cdvecfill test to fix build on older processors (master...disable_test_cdvecfill) https://git.io/vNneg
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNnea
<NixOS_GitHub> nixpkgs/master 6ae0755 Jörg Thalheim: Merge pull request #33790 from romildo/upd.pmenu...
<NixOS_GitHub> nixpkgs/master 563e2e3 José Romildo Malaquias: pmenu: 2017-04-10 -> 2018-01-01
NixOS_GitHub has left #nixos [#nixos]
nuncanada has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33789: jgmenu: 0.7.6 -> 0.8 (master...upd.jgmenu) https://git.io/vNGXG
NixOS_GitHub has left #nixos [#nixos]
oida has quit [Quit: WeeChat 1.6]
nithor has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
nithor has quit [Ping timeout: 255 seconds]
timn has joined #nixos
coot____ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33829: palemoon: install icons (master...palemoon) https://git.io/vNZpp
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master ae34ecd José Romildo Malaquias: plano-theme: init at 3.24-3
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNnv2
<NixOS_GitHub> nixpkgs/master 4a41f81 Jörg Thalheim: Merge pull request #33786 from romildo/upd.plano-theme...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNnvV
<NixOS_GitHub> nixpkgs/master 0ca055a José Romildo Malaquias: blackbird: 2016-02-20 -> 2017-12-13
<NixOS_GitHub> nixpkgs/master 864239f Jörg Thalheim: Merge pull request #33788 from romildo/upd.blackbird...
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
timn has quit [Quit: Ex-Chat]
nithor has joined #nixos
b has joined #nixos
alex`` has quit [Quit: WeeChat 1.9]
<bennofs[m]> dramforever: i am not sure if that's easily possible... it could be that we simply don't have a binary package for ghc 8.2.2 (although we have a binary subsitute of course)
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e1f3c42 José Romildo Malaquias: zuki-themes: 3.24-2 -> 3.24-3
<NixOS_GitHub> nixpkgs/master 1e2b7d3 Jörg Thalheim: Merge pull request #33785 from romildo/upd.zuki-themes...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNnfm
lonokhov has quit [Remote host closed the connection]
<bennofs[m]> dramforever: hmm, but it should be possible to use the binary-cached version of ghc 8.2.2 to build head... how did you do the override?
aanderse has quit [Read error: No route to host]
patrl has joined #nixos
aanderse has joined #nixos
seanparsons has quit [Ping timeout: 260 seconds]
nuncanada2 has joined #nixos
leat has quit [Ping timeout: 256 seconds]
leat has joined #nixos
nuncanada has quit [Ping timeout: 248 seconds]
pkill9 has quit [Quit: WeeChat 2.0]
seanparsons has joined #nixos
<pie__> i forgot how to do this again :| nix-shell -p 'let foo = import <nixpkgs> {}; in callPackage ./default.nix {}'
<pie__> error: anonymous function at /mnt/data/krita/default.nix:1:1 called without required argument ‘karchive’, at /nix/store/hp8xrp0sjvkwpd2535d7l7cif708rw48-nixos-17.03.1556.4d1e1d07f9/nixos/lib/customisation.nix:56:12
lonokhov has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/92d088e891e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
dywedir has joined #nixos
dywedir has quit [Remote host closed the connection]
<sphalerite> pie__: you don't need the `let foo = import <nixpkgs> {};` bit, nixpkgs is automatically in scope for nix-shell expressions with -p
<pie__> ah ok.
<sphalerite> (which is why that works, otherwise it would have complained about missing callPackage since you wouldh ave had to do foo.callPackage)
<pie__> for the sake of completeness, how do i pass the arguments to callpackage :| , doing callpackage default.nix foo doesnt work
<sphalerite> `callPackage ./default.nix {}` should be correct
<pie__> i mean if nixpkgs wasnt passed in
<sphalerite> but it looks like you need a different callPackage for krita, maybe there's a specific kde one
<sphalerite> hang on
<pie__> oh right
<pie__> qtcallpackage iirc or osmehting like that
<pie__> hm kdeCallPackage isnt defined
* pie__ checks the original krita builder
<sphalerite> kdeApplications.callPackage i think
<sphalerite> libsForQt5.callPackage
<pie__> krita = libsForQt5.callPackage ../applications/graphics/krita {openjpeg = openjpeg_1;};
<pie__> this is whats in all-packages.nix
raynold has quit [Quit: Connection closed for inactivity]
<pie__> that seems to run
zzamboni has quit [Quit: Leaving.]
simendsjo has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
zzamboni has joined #nixos
ma27 has joined #nixos
zzamboni has quit [Client Quit]
michaelpj_ has quit [Read error: Connection reset by peer]
rauno has quit [Remote host closed the connection]
patrl has quit [Quit: WeeChat 1.9.1]
ma27 has quit [Ping timeout: 256 seconds]
michaelpj_ has joined #nixos
ma27 has joined #nixos
cinimod has quit [Quit: Connection closed for inactivity]
brad_ has joined #nixos
<Aleksejs> is there a way to tell nixos-rebuild not to create results symlink?
<brad_> Hi all. I have a NixOS installation that I have set up to boot with UEFI, on my sda drive. There is a windows installation using BIOS on my sdb drive. Is there a way to switch to using Grub with BIOS to boot, and chainload the windows installation? Thanks!
lonokhov has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
dramforever has joined #nixos
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Client Quit]
orivej has joined #nixos
lonokhov has joined #nixos
dramforever has quit [Quit: Konversation terminated!]
knupfer has joined #nixos
<Ankhers> Does network.description still set the description for nixops? Or was that changed?
GiGa|Laptop has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33830: ldc: Disable cdvecfill test to fix build on older processors (master...disable_test_cdvecfill) https://git.io/vNneg
NixOS_GitHub has left #nixos [#nixos]
nallar has joined #nixos
Ross has quit [Ping timeout: 256 seconds]
nallar is now known as Ross
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33795: gstreamermm: 1.8.0 -> 1.10.0 (master...upd.gstreamermm) https://git.io/vNZJz
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 276 seconds]
<bennofs[m]> Anyone got a working hydra development setup to test out a hydra patch? What's the nixpkgs version required for current hydra master?
tgunb has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 255 seconds]
nallar is now known as Ross
Itkovian has joined #nixos
<tgunb> hey folks, does someone else here use dropbox? every time i start dropbox, curl seems to redownload it first. is that normal?
nithor has joined #nixos
<gchristensen> oh my, the Vultr install instructions reference a NixOS 14.12 ISO
alex has joined #nixos
alex is now known as alexherbo2
alexherbo2 is now known as alex``
va1entin has joined #nixos
alex`` is now known as alex
<va1entin> I am having trouble finding a nix expr. in nixpkgs. I am looking for the expression responsible for python27Packages.pynacl
<va1entin> I wasnt successful with the github file finder so far
<gchristensen> va1entin: github's search doesn't index python-packages.nix because it is so big. pynacl is at line 20,583: https://search.nix.gsc.io/?q=pynacl%20%3D&i=nope&files=&repos=
WilliButz has quit [Ping timeout: 248 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<va1entin> gchristensen: oh wow I did not know that there was just a huge file for some python packages. Libnacl e.g. has its own below python-modules
<gchristensen> I think there is work to move them out of thte big file
<disasm> gchristensen: I did it with 16.09 :)
<bennofs[m]> ok, turns out that nix-shell at least works for Hydra with latest nixpkgs unstable
<aanderse> i'm trying to run some binary program and its complaining it can't find shared library libgtk-x11-2.0.so.0 so i make a nix-shell -p gtk2-x11 - shouldn't that make this program be able to find it?
WilliButz has joined #nixos
<va1entin> gchristensen: Oh yeah I see that pynacl is not in that file anymore on the master branch, wondering where it went :D
orivej has quit [Ping timeout: 256 seconds]
nico202 has joined #nixos
dbe_ has quit [Ping timeout: 240 seconds]
spietz has joined #nixos
coot____ has quit [Remote host closed the connection]
oahong has quit [Ping timeout: 276 seconds]
nix-gsc-io`bot has joined #nixos
michaelpj_ has quit [Read error: Connection reset by peer]
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cf6c05fda7d (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
oahong has joined #nixos
cinimod has joined #nixos
michaelpj_ has joined #nixos
<cinimod> I just did `nix-shell -p "haskell.packages.ghc822.ghcWithPackages (pkgs: [pkgs.hmatrix])" -I nixpkgs=/Users/dom/nixpkgs` and now I seem to be building ghc
flox has quit [Quit: Page closed]
la_putin has joined #nixos
nico202 has quit [Ping timeout: 256 seconds]
el_putin has quit [Read error: Connection reset by peer]
<cinimod> That's an old version of python `nix-instantiate --eval --expr '(import <nixpkgs> { }).python.version' `"2.7.14"
<cinimod> Aha - that's better ` nix-instantiate --eval --expr '(import <nixpkgs> { }).python3.version'` "3.6.3"
michaelpj_ has quit [Read error: Connection reset by peer]
dbe_ has joined #nixos
fuyuuri has joined #nixos
<deepfire> Does anyone have experience with "happy" build failing like: Setup: The program 'happy' is required but it could not be found
leat has quit [Ping timeout: 256 seconds]
<deepfire> It depends on itself, but I can't see any provisions in nixpkgs that would help this circularity..
orivej has joined #nixos
michaelpj_ has joined #nixos
<deepfire> Granted, I'm getting this failure while trying to override it, and the Cabal release package could have these provisions, which could be missing from the git checkouts..
fyuuri has quit [Ping timeout: 256 seconds]
michaelpj_ has quit [Read error: Connection reset by peer]
nithor has quit [Ping timeout: 255 seconds]
<silver_hook> Is there anything special I need to watch out for when I’m writing/testing new KDE packages?
<hodapp> hmmm, I have gotten this in Cabal, but it was ages ago and on a janky Haskell build
leat has joined #nixos
michaelpj_ has joined #nixos
bennofs has joined #nixos
Itkovian has joined #nixos
michaelpj_ has quit [Read error: Connection reset by peer]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/92d088e891e (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
verite has joined #nixos
<Ankhers> I am trying to go through the nixops manual with the trivial webserver deployment over virtualbox. When I try to do the actual deployment, I get "error: a ‘x86_64-linux’ is required to build ‘/nix/store/1n4p1pl59263d9yf677a040q1qg11iac-append-initrd-secrets.drv’, but I am a ‘x86_64-darwin’". I swear I have done this on my mac before. Any suggestions?
michaelpj_ has joined #nixos
nithor has joined #nixos
<va1entin> I am trying to build gnu hello as described in NixOS manual but always get "error: cannot auto-call a function that has an argument without a default value (‘stdenv’)" Does anyone know what that means?
asuryawanshi has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
<symphorien> that you are trying to nix-build a file which is meant to be evaluated through callPackage
nithor has joined #nixos
<va1entin> symphorien: Do you mind explaining that further? I followed all the steps in the manual https://nixos.org/nix/manual/#ch-simple-expression
<symphorien> this file contains a function, and not a derivation
<symphorien> I guess you did nix-build <the file>, right ?
<va1entin> I put default.nix and builder.sh in a folder and nix-build -A hello
vidbina has quit [Ping timeout: 276 seconds]
<symphorien> ok, this is not the right way to do that:
<symphorien> nix-build expects a file which evaluates to a derivation
<symphorien> your default.nix is a function
<symphorien> so you have to provide the "glue": a file which calls your function and returns a derivation
krey has joined #nixos
<va1entin> something like "hello = ./default.nix;"?
<va1entin> like in the huge package files in nixpkgs?
rihards has quit [Quit: rihards]
<symphorien> for example: `with import <nixpkgs> {}; callPackage ./default.nix
asuryawanshi has quit [Ping timeout: 276 seconds]
nithor has quit [Ping timeout: 256 seconds]
<symphorien> callPackage is a closure which contains nixpkgs and will call your function with the packages which have the same name as the argument of the function in ./default.nix
<symphorien> and remove the -A hello
<krey> o/ guys, anyone know how to builtins.readFile a relative path?
<symphorien> -A hello means "this file is not a derivation but an attrset whose attr "hello" is a derivation, build this derivation instead"
<symphorien> va1entin: is this clear enough ?
<va1entin> symphorien: I made a file with a single line: "hello = callPackage ./default.nix { };"
<va1entin> symphorien: Now I get error: syntax error, unexpected '=', expecting $end, at /home/val/git/nixpkgs/pkgs/testing/test.nix:1:7
<symphorien> either you want your file to be a derivation, and then only put `callPackage ./default.nix {}`
<symphorien> or you want it to be an attrset and then `{ hello = callPackage ./default.nix {}; }`
<infinisil> krey: builtins.readFile ./path ?
nyberg has quit [Quit: WeeChat 2.0]
<va1entin> symphorien: I tried callPackage ./default.nix {} and its telling me now that callPackage is undefined
<symphorien> it is inside nixpkgs
<symphorien> either: `let nixpkgs = import <nixpkgs> {}; in nixpkgs.callPackage ...... `
<infinisil> krey: or if you have a string: builtins.readFile (./. + "/some/path")
<cinimod> I am doing `nix-build --attr project1 release1.nix `
<symphorien> or ` with import <nixpkgs> {}; callPackages......`
<cinimod> But I get `Configuring blas-0.7.6... Setup: Encountered missing dependencies: QuickCheck >=1.2 && <2`
<cinimod> I don't mention `QuickCheck`
<krey> infinisil: thank you, that fixed it
<cinimod> What is asking for such an old (2014) version of QuickCheck?
<va1entin> symphorien: Nice thanks a lot! It works
<symphorien> :)
nithor has joined #nixos
<krey> infinisil: nix was unhappy with readFile "./path"
fuyuuri has quit [Ping timeout: 256 seconds]
<krey> infinisil: I find the "types" in nix a little opaque at the moment
<infinisil> krey: yeah, builtins.readFile can only read absolute paths, so using ./. which expands to an absolute path is the trick
<infinisil> otherwise there really isn't any path type, they're just strings
<infinisil> cinimod: it would help if you showed your nix file..
<azazel> yesterday i was reading the manual and i must say that i find it a bit inconvenient, with that toc staying all on the top and i was thinking about converting it to Sphinx to have it in a more "modern" form... would it be an useful contribution?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33810: boehm-gc, libatomic_ops: 7.6.0 -> 7.6.2 (staging...update/boehmgc) https://git.io/vNZu2
NixOS_GitHub has left #nixos [#nixos]
<infinisil> azazel: like the new wiki?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<azazel> infinisil: where? is it listed on the support page?
<infinisil> azazel: https://nixos.wiki/
<infinisil> well my internet connnection is kinda really bad right now so i can't even check, it's probably somewhere on the support page
<gchristensen> azazel: that would be a very challenging contribution to land, and I wouldn't suggest starting with that
<infinisil> it has a nice floating toc on the right side
<gchristensen> I think we could make improvements to the current docs w.r.t. the ToC though
<azazel> gchristensen: challenging? not the static part
danl1240 has joined #nixos
<gchristensen> azazel: as in there are a lot of vested interests in how the documentation is written and maintained, and is a topic that the NixOS community has struggled with
<azazel> the only thing that Sphinx misses are the notes to the example code, but it can add line numbers and you can ref to them
<silver_hook> I’m having issues packaging an (official) KDE package – Lokalize.
<silver_hook> This is what I currently managed to write: http://nixpaste.lbr.uno/_eaClghe?nix
user__ has quit [Ping timeout: 252 seconds]
kp__ has joined #nixos
<azazel> gchristensen: I can immagine that it's something that needs to be concerted
<silver_hook> …and this is the (first proper) error that I get: http://nixpaste.lbr.uno/OWJp7ReC?nix
user__ has joined #nixos
<silver_hook> I also need to figure out how to get `lxml` and `dbus-python` to work in the build.
<azazel> gchristensen: yesterday I was starting right away, but then I said to myself "wait a moment, that's something to discuss"
<cinimod> infinisil: see above
<cinimod> I was going to write a ticket
<gchristensen> azazel: yes, I am glad you didn't get too far, because I am pretty sure the PR would not merge
<infinisil> Um, well damn, I can't open it because my internet sucks so much right now
<gchristensen> azazel: it is less fun, but docbook is quite powerful with the right tools. I wonder if we can get some equivalently nice features via docbook
<infinisil> (irc stays alive because it's a single TCP connection, but my internet can't establish new connections lol)
<gchristensen> (I mean, I'm certain we can, but how much fighting it requires is the question really)
* infinisil wants to have the weekly docs discussion
verite has quit [Ping timeout: 240 seconds]
<azazel> gchristensen: I know that is capable, althought I haven't used extensively... but it's just boring to death writing doc with it ;-)
<gchristensen> azazel: imo, it is boring to death writing docs in any tool :)
<gchristensen> azazel: there is (still) an outstanding offer to take any docs written in any format and have them converted to docbook by someone else
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33831: imagemagick: updates for 6, 7 (master...update/imagemagick) https://git.io/vNnGu
NixOS_GitHub has left #nixos [#nixos]
<azazel> I think there is a Sphinx to Docbook writer out there ...
vidbina has joined #nixos
<infinisil> pandoc probably
<azazel> the kernel doc is been rewritten in ReST too
<gchristensen> azazel: the people who would need to agree to this switch aren't ready to have this conversation, it doesn't matter if many projects are switching to <<something else>>
<infinisil> cinimod: um, maybe you should just add quickcheck to the dependencies?
<infinisil> I mean it complains that it couldn't find it
fyuuri has joined #nixos
<azazel> gchristensen: I'm not a fan of that argument also, It was more to state that also another project that has extensive doc has switched to it.. althought probably pointing to python's doc is sufficient for that
zzamboni has joined #nixos
<gchristensen> azazel: and in the end it doesn't matter anyway, because we are not those projects and those projects' choices don't have bearing on our choice
<disasm> azazel: write documentation in whatever form you want, I'll convert it to docbook for you :)
nithor has quit [Ping timeout: 256 seconds]
<azazel> as a NixOS newbie, I find that things like a glossary or better inter-manual linkage would be nice to have... not to think of the search
<gchristensen> perhaps it'd be helpful to write down a wish-list of docs features so we can collect them and make an informed choice later
iyzsong has quit [Ping timeout: 255 seconds]
<cinimod> infinisil: hmatrix does not depend on QuickCheck
<gchristensen> this glossary may help though: https://nixos.org/nix/manual/#idm140737315917440
<cinimod> `Dependenciesarray, base (>=4.8 && <5), binary, bytestring, deepseq, random, split, storable-complex, vector (>=0.8) [details]`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33791: jenkins: 2.95 -> 2.101 (master...jenkins-2.101) https://git.io/vNGSC
NixOS_GitHub has left #nixos [#nixos]
<cinimod> Oh I see something strange: I am picking up blas-0.7.6 which is a Haskell package rather than the blas library itself
<cinimod> blas-0.7.6 does indeed depend on QuickCheck
<azazel> gchristensen: it helps, thanks
zzamboni has quit [Quit: Leaving.]
<cinimod> But why?
spietz has quit [Quit: WeeChat 1.9.1]
<cinimod> I mean why does it get the Haskell blas packages rather than blas itself
<cinimod> ?
<cinimod> Oh well
Piece_Maker has joined #nixos
<azazel> disasm: what an awful contribution ;-)
Acou_Bass has quit [Ping timeout: 248 seconds]
Piece_Maker is now known as Acou_Bass
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #33832: timewarrior: 1.0.0 -> 1.1.0 (master...update-timewarrior) https://git.io/vNnZ2
NixOS_GitHub has left #nixos [#nixos]
orivej has joined #nixos
orivej_ has quit [Ping timeout: 260 seconds]
ma27 has quit [Ping timeout: 256 seconds]
nithor has joined #nixos
mizu_no_oto has joined #nixos
michaelpj_ has quit [Ping timeout: 256 seconds]
fyuuri has quit [Ping timeout: 256 seconds]
justan0theruser has quit [Quit: WeeChat 1.9.1]
justanotheruser has joined #nixos
brad_ has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3f642b4 rnhmjoj: zimg: 2.6.1 -> 2.7
<NixOS_GitHub> nixpkgs/master e5aae0f rnhmjoj: mpv: fix PYTHONPATH
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vNnnC
<NixOS_GitHub> nixpkgs/master c1902ef rnhmjoj: vapoursynth: R39 -> R40
NixOS_GitHub has left #nixos [#nixos]
JosW has joined #nixos
Itkovian has joined #nixos
Piece_Maker has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
<krey> can anything bad happen to me if I put my hashedPassword on GitHub?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 42d5dd6 David McFarland: youtube-dl: disable phantomjs support on darwin by default
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNnn2
<NixOS_GitHub> nixpkgs/master cd96089 Jörg Thalheim: Merge pull request #33767 from corngood/youtube-dl-darwin...
NixOS_GitHub has left #nixos [#nixos]
Acou_Bass has quit [Ping timeout: 240 seconds]
Piece_Maker is now known as Acou_Bass
<gchristensen> krey: it isn't a disaster, but I try to not, I think it is safer to just avoid the question
ma27 has joined #nixos
<symphorien> krey: you can use initialHashedPassword instead for example
<gchristensen> krey: one thing I think about is the signal you can broadcast when it changes. in particular, did it change recently due to a well publicized password dump? hmm maybe I should go looking for krey's password in it. ...
<gchristensen> krey: typically I'll put passwords / secrets in to a secrets.nix that I then import and use, but don't check in to git.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33832: timewarrior: 1.0.0 -> 1.1.0 (master...update-timewarrior) https://git.io/vNnZ2
NixOS_GitHub has left #nixos [#nixos]
va1entin has quit [Quit: WeeChat 1.9.1]
<krey> gchristensen: yeah, that makes sense, thank you
<krey> symphorien: how do you use initialHashedPassword?
pkill9 has joined #nixos
<symphorien> you change the password afterwards :)
<symphorien> this is useful for example so that you can log in the vm created by nixos-rebuild build-vm
<krey> symphorien: I'm partial to users.mutableUsers = false; though
<gchristensen> me too ;$
<symphorien> hum then it doesn't work, granted...
59NAAAQMG has joined #nixos
<59NAAAQMG> [nixpkgs] Mic92 closed pull request #33755: nixos/tests/keymap: disable xterm DM (master...keymap-test-disable-xterm-dm) https://git.io/vNsTb
59NAAAQMG has left #nixos [#nixos]
7YSAAAR71 has joined #nixos
<7YSAAAR71> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNnnN
<7YSAAAR71> nixpkgs/master 91ec1f7 Jörg Thalheim: Merge pull request #33755 from srhb/keymap-test-disable-xterm-dm...
<7YSAAAR71> nixpkgs/master 4488e7c Sarah Brofeldt: nixos/tests/keymap: disable xterm DM
7YSAAAR71 has left #nixos [#nixos]
<symphorien> maybe a users.immmutableUsersExceptPasswords option would be a useful addition then
b has quit [Quit: Lost terminal]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dezgeg opened pull request #1797: Fix tests using user namespaces on kernels that don't have it (master...userns-tests-fix) https://git.io/vNncx
NixOS_GitHub has left #nixos [#nixos]
klntsky has quit [Ping timeout: 272 seconds]
rogue_koder has joined #nixos
magnetophon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 87677d0 Joachim Fasting: tor: 0.3.1.9 -> 0.3.2.9...
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vNnC8
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
dan_b has joined #nixos
<sphalerite> so I get some nasty hangs on anything that tries to access network devices if I use my USB-C hub/ethernet adapter, then unplug it. If I manually remove the network controller via sysfs before unplugging everything is fine. I'm guessing this is a kernel bug?
klntsky has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vidbina opened pull request #33834: bitscope: refactored to expose to nixpkgs-lint (master...fix/bitscope-nixpkgs-lint) https://git.io/vNnC7
raynold has joined #nixos
wilornel has joined #nixos
<wilornel> Hi #nixos!
<adisbladis> Hey :)
<wilornel> I am not able to achieve the simple example in this subsection: https://nixos.org/nixpkgs/manual/#sec-declarative-package-management
<wilornel> adisbladis: How are you doing?
ma27 has quit [Quit: WeeChat 2.0]
<adisbladis> wilornel: Doing pretty good :)
ma27 has joined #nixos
krey has quit [Quit: leaving]
earldouglas has quit [Ping timeout: 240 seconds]
<adisbladis> wilornel: Exactly what are you trying and what is the result
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33753: avidemux: support alsa (master...avidemux) https://git.io/vNse3
NixOS_GitHub has left #nixos [#nixos]
<wilornel> adisbladis: basically, on a clean machine: `mkdir -p ~/.config/nixpkgs/ ; vi ~/.config/nixpkgs/config.nix # insert the first code sample presented in that section`, then I run `nix-env -iA nixpkgs.myPackages` and I get "error: attribute ‘nixpkgs’ in selection path ‘nixpkgs.myPackages’ not found"
<manveru> anyone can help me with some fun new C++ issue?
[0x4A6F] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 79db7c0 Gregory Pfeil: flootty: init at 3.2.1
<NixOS_GitHub> nixpkgs/master d40d41e Gregory Pfeil: Move flootty from python-modules.
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vNnWn
<NixOS_GitHub> nixpkgs/master 38deb53 Greg Pfeil: Merge branch 'master' into add/flootty
NixOS_GitHub has left #nixos [#nixos]
guillaum3 has joined #nixos
wilornel has quit [Ping timeout: 260 seconds]
<manveru> the output is like this... somehow it can't find this poco library i assume
nithor has quit [Ping timeout: 256 seconds]
earldouglas has joined #nixos
Itkovian has joined #nixos
dywedir has joined #nixos
<srk> anyone running (mod_)wsgi python deployments?
<srk> I'm not sure how to create .wsgi entrypoint which points to right env
krey has joined #nixos
<srk> looks like I can set WSGIPythonHome
nithor has joined #nixos
<krey> can someone verify the claim that user.hashPassword overrides user.passwordFile? https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/modules/config/users-groups.nix
<krey> I'm seeing the opposite
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
aarvar has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
[0x4A6F] has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
Itkovian has quit [Remote host closed the connection]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNnl1
<NixOS_GitHub> nixpkgs/master fa3aec7 adisbladis: gst-plugins-bad: Fix CVE-2016-9447
NixOS_GitHub has left #nixos [#nixos]
[0x4A6F] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33750: tifffile: init at v0.13.0 (master...master) https://git.io/vN3XE
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to release-17.09: https://git.io/vNnl9
<NixOS_GitHub> nixpkgs/release-17.09 93e9c9c adisbladis: gst-plugins-bad: Fix CVE-2016-9447...
NixOS_GitHub has left #nixos [#nixos]
<Aleksejs> what should I use in nixOS to add file associations or reload mimeapps.list?
Itkovian_ has joined #nixos
manoj1 has joined #nixos
Itkovian has quit [Ping timeout: 256 seconds]
<manoj1> Hello, let's say I install apache-httpd with nix-env -i <pkg>. How do I configure the service at the user/profile level?
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33799: cura: 3.0.3 -> 3.1.0 (master...cura-qt59) https://git.io/vNZLx
NixOS_GitHub has left #nixos [#nixos]
jensens has joined #nixos
nithor has joined #nixos
zzamboni has quit [Quit: Leaving.]
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33732: ponyc: FIX $CC undefined, using gcc as the linker (master...ponyc) https://git.io/vNOXn
NixOS_GitHub has left #nixos [#nixos]
<makefu> manoj1: if you are running nixOS the nixonic way is to use nixos options. you configure httpd stateless via https://nixos.org/nixos/options.html#services.httpd
[0x4A6F] has quit [Ping timeout: 240 seconds]
<gchristensen> and at the system level, not user level
[0x4A6F] has joined #nixos
<makefu> manoj1: if you are completely new to nixos config, check out https://nixos.org/nixos/manual/index.html#ch-configuration
<makefu> it even uses apache httpd as example
<Mic92> manoj1: if you have constraints not being able to run nixos, you would need something like a home-manager module.
[0x4A6F] has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33720: inboxer: init at 1.0.1 (master...inboxer) https://git.io/vNOIG
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
loli has joined #nixos
[0x4A6F] has joined #nixos
deltasquared has joined #nixos
<deltasquared> hmm, is it possible/adviseable to have both nixos and nixpkgs-unstable channels, with the latter taking precedence?
threepointone has joined #nixos
<gchristensen> "precedence"?
<deltasquared> gchristensen: as in, when the system updates and I want x newer version of package... I assumed nix had to work that out somehow
<threepointone> Is the /nix/store directory supposed to mounted as read-only on a fresh NixOS installation?'
drakonis has joined #nixos
<gchristensen> deltasquared: you'd have to explicitly choose one or the other, it is inadvisable and unsafe to use nixpkgs-unstable for nixos
<gchristensen> threepointone: yes
<deltasquared> gchristensen: I thought it might.. darn. ok.
<manoj1> makefu: thanks, I am on NixOS
<gchristensen> deltasquared: but you could do, say, let unstablePkgs = import <unstable> {} in {... at thhe top of your configuration, and then in systemePackages = [ unstablePkgs.git ];
<makefu> deltasquared: what a lot of people do is to check out the stable channel and cherry-pick the changes they want from untsable
<makefu> or what gchristensen says, depending on what you want to achieve
<manoj1> I don't want to edit /etc/nixos/configuration.nix; I want to set options at the user level
<deltasquared> makefu: generally, just bleeding edge packages
<gchristensen> !which channel
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master d25a65b Matthew O'Gorman: notbit: init at 2018-01-09
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNn4s
<NixOS_GitHub> nixpkgs/master ed70c59 Jörg Thalheim: Merge pull request #33682 from mogorman/notbit...
<sphalerite> deltasquared: nixos-unstable usually isn't far behind nixpkgs-unstable anyway, so it's not really worth it. Combining nixos-17.09 and nixos-unstable/nixpkgs-unstable/master is definitely possible and sometimes desirable though
<deltasquared> sphalerite: right, part of it was that I got spooked at the recent intel mishaps. that said, did channel --update and it's reasonably fresh, so I'm not one to complain
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e2f7267 adisbladis: xxdiff-tip: Build with qt59
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNn4c
<deltasquared> even arch can take a couple of days to get things to stable.
<deltasquared> (which I conventionally associate with bleeding edge)
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<gchristensen> nixos-unstable has fallen 2 weeks behindbefore, fwiw
<deltasquared> gchristensen: ouch
knupfer has quit [Ping timeout: 276 seconds]
<gchristensen> it all depends on what you neeed and want out of your system
<deltasquared> anyway, at some point during the evening I may finally be trying to boot the "USB boot portable" setup working on real hardware
<sphalerite> what you want to avoid is building your nixos from nixpkgs-unstable or master
<deltasquared> sphalerite: right, because explosions?
<deltasquared> gchristensen: generally speaking I don't being a bit behind. as long as it's not like debian and growing mould :P
<sphalerite> roughly, yes :)
nithor has quit [Ping timeout: 255 seconds]
<sphalerite> we don't have anything as stable as debian x)
<gchristensen> debian has a fast and effective security patch process
<deltasquared> gchristensen: right. security patches I def. want.
<gchristensen> well that 2 week delay impacts security patches too
<deltasquared> come to think of it... I've never been one to pine for "OMG upstream released yesterday PACKAGE NAO"
<sphalerite> you'll get those on either of the nixos- lines, more quickly on the -small ones
<deltasquared> I shall be back later, now is dinner time.
deltasquared has left #nixos ["foooood"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNn4r
<NixOS_GitHub> nixpkgs/master 5ccfd0e Jörg Thalheim: linuxPackages.extfat-nofuse: fix libelf dependency
NixOS_GitHub has left #nixos [#nixos]
wilornel has joined #nixos
zzamboni has quit [Quit: Leaving.]
fyuuri has joined #nixos
<wilornel> Hi #nixos! Here is a SO question I published which relates to the issue I came asking about today and yesterday: https://stackoverflow.com/questions/48243077/trying-to-follow-declarative-package-management-fails
<wilornel> I don't have a good way to stay idle and connected on irc right now, so I think that I get disconnected and then it's hard to keep the discussion on the issue goin
jb55 has joined #nixos
<gchristensen> wilornel: can you run nix-info?
<wilornel> Good point. Updating the question.
<gchristensen> wilornel: do you have a file at ~/.nixpkgs/config.nix ?
nuncanada2 has quit [Quit: Leaving]
guillaum3 has quit [Ping timeout: 256 seconds]
<wilornel> gchristensen: : ~/.nixpkgs does not exist
<wilornel> Updated the question (nix-info failed)
<gchristensen> oh my you're on 16.09, that hasn't been supported for some time now
zzamboni has joined #nixos
<wilornel> I did get that from vagrant somewhere. I shall try to find a newer vagrant image
<wilornel> I think I'll have to create my own
<gchristensen> wilornel: what if you just do nix-env -iA myPackages
<wilornel> "error: attribute ‘myPackages’ in selection path ‘myPackages’ not found"
<gchristensen> ok, try moving ~/.config/nixpkgs/config.nix to ~/.nixpkgs/config.nix
nithor has joined #nixos
<wilornel> nix-env -iA {nixpkgs.},myPackages both fail after moving config.nix over
<threepointone> gchristensen: Ok. Well, the output of the mount command shows root mounted at "/" and "/nix/store" with "rw" and "ro" respectively. I don't understand how this works. If /nix/store is supposed to be mounted as read-only, how is package installation successful? The last time I installed NixOS in a VM, I ended up with a broken installation because the manifest file was empty and couldn't rollback to any previous generation.
<gchristensen> threepointone: the nix daemon mounts specific subdirs as rw during package build / install time.
<gchristensen> threepointone: I have:
<gchristensen> /dev/mapper/cryptroot on / type ext4 (rw,relatime,data=ordered)
<gchristensen> /dev/mapper/cryptroot on /nix/store type ext4 (ro,relatime,data=ordered)
<gchristensen> wilornel: what about with nixos.myPackages
zzamboni has quit [Quit: Leaving.]
<wilornel> it works
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master eb7af7a Will Dietz: whois: prefer not overwriting phases, use libiconv
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vNnBJ
<NixOS_GitHub> nixpkgs/master 90c67ea Will Dietz: whois: 5.2.18 -> 5.2.20
<NixOS_GitHub> nixpkgs/master 364b219 Will Dietz: whois: use libidn2 to support various 'international' domains
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> wilornel: great, support for ~/.config/nixpkgs/config.nix was added in 17.03 I believe
<wilornel> I still want to move to the latest supported version. 17.0+?
<wilornel> I see
<gchristensen> 17.09 is current stable
zzamboni has joined #nixos
<wilornel> Thank you gchristensen !
<gchristensen> I'm glad I could help!
<samueldr> I don't know all the details, but nixbox is what was used to build those vagrant images
<wilornel> I'll go get some rest and set up that vagrant box after
<gchristensen> I suppose I could answer that Q...
<gchristensen> ahh ok I'll work with zimbatm to get that updated :)
* samueldr is looking at logs
<wilornel> samueldr: is zimbatm/nixbox only 16.09?
<gchristensen> wilornel: ehh I don't remember how to log in to SO. please answer it for me :P
<threepointone> gchristensen: Ok, thanks! NixOS is a bit weird when compared to other distros but if everything turns out to work as expected, it'll be worth it.
<wilornel> gchristensen: Yes I shall!
<gchristensen> threepointone: yes, indeed :) that ro mount is important for making sure the Nix Store is kept immutable
<wilornel> samueldr: I'm confused by what nixbox is
<samueldr> wilornel: I don't know if you need nix or nixos to use nixbox, but you should be able tobuild (x86_64) vagrant image for 17.09, looking at the issues
<samueldr> wilornel: it's the "scripts" (packer and all needed) used to build the vagrant images
<samueldr> vagrant images are generally automatically built, for most distros, using some tooling, often they are made using packer
threepointone has left #nixos [#nixos]
nithor has quit [Ping timeout: 255 seconds]
<wilornel> where does it say in those scripts to install 16.09?
<samueldr> that's the thing, the scripts are updated, but the pre-built images distributed by the "atlas" (vagrant) are not built anymore
<wilornel> or was the script used at a certain point in time where the source hosted on https://github.com/NixOS was for version 16.09 ?
<samueldr> so you could follow the instructions under "Building the images" to make your own .box for 17.09
<samueldr> three days ago: 16:45 <zimbatm> I think atlas has stopped providing free builds for the project
<wilornel> I see, thanks a lot!
<wilornel> Aaaaah I understand now
<wilornel> Is it possible to find another provider?
<samueldr> the nixbox packer scripts should work under any distros
<wilornel> I don't know how these ops work. Can some servers be running on donations?
<samueldr> I really don't know enough about the infra behind vagrant, I've been a user, and still haven't used nixbox
<samueldr> (I'm using vagrant with other distros)
cinimod has quit [Quit: Connection closed for inactivity]
<wilornel> I'll be back after some rest. Thanks samueldr and gchristensen !
<gchristensen> see you!
<samueldr> good luck
jb55 has quit [Ping timeout: 256 seconds]
jensens has quit [Ping timeout: 256 seconds]
jb55 has joined #nixos
nithor has joined #nixos
manoj1 has quit [Ping timeout: 255 seconds]
andymandias_ has quit [Ping timeout: 268 seconds]
<bgamari> how does one bring one's current NixOS configuration into scope in nix-repl?
<ixxie> my PR went bad because the node packages list got updated
<ixxie> anybody got a clear way for me to fix it without having to merge/rebase the entire branch?
dan_b has quit [Ping timeout: 255 seconds]
nithor has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Izorkin opened pull request #33835: maxscale: init at 2.1.13 (master...mariadb-maxscale) https://git.io/vNnRR
NixOS_GitHub has left #nixos [#nixos]
andymandias has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33836: WIP: gpsbabel: Fix build with qt59 (master...gpsbabel-qt59) https://git.io/vNnR2
NixOS_GitHub has left #nixos [#nixos]
<wilornel> samueldr: It seemed like packer would be the one building the vagrant image
<wilornel> But now it seems like packer will try to get a build from atlas?
zzamboni has quit [Quit: Leaving.]
ixxie has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
<bgamari> is it expected that running `ghc-pkg check` returns thousands of broken packages in a ghcWithPackages environment?
* bgamari can't help but think he's missing something crucial
<bgamari> it seems like essentially all interface files are missing
rauno has joined #nixos
zzamboni has quit [Client Quit]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/93e9c9c4d2e (from 73 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
nithor has joined #nixos
<samueldr> wilornel: Error connecting to atlas server, please check your ATLAS_TOKEN env: authentication failed ?
<samueldr> packer still hasn't completed in my test run, but removing the whole object with "type": "atlas" in the nixos_x86_64.json file seems to fix that...
<samueldr> it *may* be related to the issue with atlas accounts, and the free builds and everything
b has joined #nixos
<wilornel> ah! This post-processor probably tries to upload the build to atlas. We don't want that if we are doing this for ourselves. I'll try to remove that object
<samueldr> that's what I'm assuming
nithor has quit [Ping timeout: 256 seconds]
<wilornel> and it's running!
<makefu> krey: regarding pcmanfm, for me it was necessary to enable devmon together with udisks2 to essentially get usb-automounting features. the wiki does not yet mention this, does it work for you out of the box?
<pbogdan> bgamari: re NixOS config I think you can do "> :l <nixpkgs/nixos> ↵ > config.<TAB><TAB>"
<samueldr> wilornel: either my machine is as fast as potato or some overhead was added, I had to increase boot_wait for it to reliably work, 30s was a couple seconds too short
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 397157c Will Dietz: imagemagick: 7.0.7-19 -> 7.0.7-21
<NixOS_GitHub> [nixpkgs] adisbladis pushed 3 new commits to master: https://git.io/vNn0d
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c873638 adisbladis: Merge pull request #33831 from dtzWill/update/imagemagick...
<NixOS_GitHub> nixpkgs/master 1855060 Will Dietz: imagemagick: 6.9.9-28 -> 6.9.9-33
zzamboni has joined #nixos
Mateon3 has joined #nixos
nithor has joined #nixos
<bgamari> pbogdan, ahh
<bgamari> pbogdan, thanks!
<makefu> pbogdan: i have added this to https://nixos.wiki/wiki/Nix-repl , thanks for this :)
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
knupfer has joined #nixos
deltasquared has joined #nixos
<deltasquared> I return, and I bring alcohol, what could go wrong?
<deltasquared> likely several things, but that never stopped me before
<makefu> "now hold my beer, i gonna do nixos!"
<deltasquared> something like that
nithor has quit [Ping timeout: 256 seconds]
<deltasquared> makefu: that'd be me to the arch crowd I usually lurk around
<etu> haha arch
<gchristensen> makefu: the trouble with nixos' beer is you can't drink it
<gchristensen> etu: hey now, all a big family of distros :)
<etu> I went to the archlinux channel recently, in the start of their topic it says "Welcome and good luck"
<sphalerite> deltasquared: re portable install I recently did one which went nicely, if you want any specific guidance on that (assuming EFI) I'd be glad to help
<etu> And then I felt, "I don't want a 'Good luck' when I look at something related to a distro"
<deltasquared> etu: to be fair, if you ask smart questions the arch guys are useful, though somewhat blunt
<deltasquared> learning arch is a bit like learning LFS with binary packages.
<deltasquared> certainly the majority of configuration is editing files in /etc
<deltasquared> (something which I may have to wean from in nixos...)
<deltasquared> gchristensen: can't drink it... because no destructive updates?
<etu> deltasquared: I see arch as an easy distro to set up, but I have also been using gentoo for 8 years before I switched to arch for a bunch of years before I found nixos :)
<samueldr> krey: doing good work in the wiki, the way you integrate the links in the flow of your sentence is 100% good in my opinion :)
<gchristensen> deltasquared: immutability
<deltasquared> gchristensen: that's what I was trying to mean
<deltasquared> destructive updates being in-place mutation
<krey> makefu: it took me a few rounds to get it to work, but I don't think I needed them in the end
<deltasquared> (speaking of no destructive updates, still trying to grok monads in haskell and why they're used for what they are)
<etu> My wife wanted to move of arch to nixos when arch failed to build her nvidia drivers during an update :)
<krey> makefu: what options did you use to enable devmon and udisks2?
<makefu> krey: i tried without but somehow new disks are not mounted without it.
<makefu> services.devmon.enable and services.udisks2.enable
<deltasquared> etu: heh, the general attitude in arch is "thou must be prepared to deal with X11 breakage yourself"
<krey> samueldr: haha, thanks
* deltasquared realises he forgot to expose the USB disk's ESP to the VM again
<deltasquared> I need to find a way of doing vmware's trick of exposing only parts of the drive and the partition table in read-only mode
<makefu> deltasquared: nice that the first hit for "you are on your own now, good luck" is a link to the archlinux reddit: https://www.reddit.com/r/archlinux/comments/3hrcq8/bailing_outyou_are_on_your_own_good_luck/
<deltasquared> probably device mapper magic
<etu> deltasquared: The problem on her card is that if it runs on nouveau, you just get a black screen. And she didn't have ssh set up. So I think she was a bit fed up...
<krey> makefu: I definitely don't have those enabled
<deltasquared> etu: fair enough... it *is* a usability problem at the end of the day
<makefu> krey: weird, what window manager are you using?
pkill9 has quit [Quit: WeeChat 2.0]
<krey> makefu: probably worth adding to the wiki "If that didn't fix it, enable..."
<krey> makefu: i3
spietz has joined #nixos
<makefu> maybe i3 does some magic ¯\_(ツ)_/¯
<makefu> i will add the info
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 df66be2 Will Dietz: imagemagick: 6.9.9-26 -> 6.9.9-33...
<NixOS_GitHub> nixpkgs/release-17.09 f81b927 Will Dietz: imagemagick: 7.0.7-14 -> 7.0.7-21...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to release-17.09: https://git.io/vNnEF
NixOS_GitHub has left #nixos [#nixos]
<krey> makefu: I doubt it, haha. I used xmonad too and it worked
<krey> makefu: hbu?
<deltasquared> btw I noticed nixos-rebuild switch starts boot.mount to do the grub steps, can it be instructed to unmount (or e.g. remount read-only) when done?
<deltasquared> I get a bit ansty with a FAT32 volume being left read-write
<makefu> krey: awesomewm here
<deltasquared> it's not the most corruption-proof of filesystems...
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33837: guile: 2.2.0 -> 2.2.3 (staging...update/guile-2.2.3) https://git.io/vNnue
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
<deltasquared> wow, did I really allocate 16GB to the ESP? I guess I just never ever wanted to concievably run out of space
ariutta has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNnus
<NixOS_GitHub> nixpkgs/master 1a54596 adisbladis: Merge pull request #33769 from adisbladis/kde-applications-17_12_1...
<NixOS_GitHub> nixpkgs/master c0c421c adisbladis: kde-applications: 17.12.0 -> 17.12.1
NixOS_GitHub has left #nixos [#nixos]
<samueldr> it may be a tad large, I'm at 5GB ESP, 61M used
<deltasquared> samueldr: it may have, at one point, been because I wanted a slight speed boost from not having to compress the initramfs when mkinitcpio ran >_>
zzamboni has quit [Quit: Leaving.]
<deltasquared> darn, where's that man page listing all the known configuration.nix settings again
krey has quit [Quit: Lost terminal]
<ariutta> I have a VM that is only available as Ubuntu. Can I use Nix to enable PostgreSQL as a service? I have PostgreSQL installed, but I can't figure out how to use this code: https://github.com/NixOS/nixpkgs/blob/d573885dd27704a0519c4cb84df729fd4b40606b/nixos/modules/services/databases/postgresql.nix
nithor has quit [Ping timeout: 256 seconds]
<deltasquared> wait, found it.
<etu> deltasquared: I've added some flags to my /boot, so it's "noauto,x-systemd.automount" on it
<makefu> krey: okay i've added the info. arch has a separate article just for automounting: https://wiki.archlinux.org/index.php/USB_storage_devices , this is what i added https://nixos.wiki/wiki/PCManFM
zzamboni has joined #nixos
<deltasquared> etu: I take it systemd unmounts it after some time?
m0rphism has quit [Quit: WeeChat 1.9.1]
<etu> So day to day it's not mounted until I need to touch it in any way.
<deltasquared> next question, because I'm not sure what the phrasing would be, what was the option for additional packages to be installed (outside of modules)
<etu> nope
<etu> It doesn't, but I don't mount it on boot so it's not mounted all the time. So a bit better :)
krey has joined #nixos
<deltasquared> ah, environment.systemPackages
zzamboni has quit [Client Quit]
<adisbladis> ariutta: Those services are only available on NixOS.
<deltasquared> let's see... iproute2, iputils, ping, wpa_supplicant, iw...
<ariutta> adisbladis: thanks. I hope I can switch to NixOS soon!
<deltasquared> hmm, if I see wpa_supplicant-2.6 appear in nix-env -qa, is it sufficient to write pkgs.wpa_supplicant in the array to select them?
<deltasquared> it rather
<deltasquared> I guess there's only one way to find out...
nithor has joined #nixos
<dpc> What is the relationship between nixos and nixpkgs?
<dpc> Now that I have nixos installed do I have to install nixpkgs the same way as before?
<samueldr> nixos is built using nixpkgs
<samueldr> depending on what you mean by "install nixpkgs", I'm pretty sure the answer would be no; you should have nix and nixpkgs all configured and ready to go
<deltasquared> error: attribute ‘iproute2’ missing, at /mnt/etc/nixos/configuration.nix:13:3
<deltasquared> hmm, so apparently not that straightforward
<krey> makefu: do you dbus launch your session?
<makefu> krey: not sure how to find out
<makefu> at least with ps there is a dbus session running
<krey> makefu: yeah, so grep dbus-launch
<JosW> Why is there no NixOS activity on LinkedIn? I would love to read some enlighted stories about NixOS to stirr some more interrest
<makefu> krey: that yielded two rsults, one for root and one for my user
<etu> dpc: nixos-unstable and nixpkgs-unstable have the same upstream repo, just different requirements for moving the channel forward. nixos-named channels tests stuff like bootloaders and such.
<krey> makefu: I have one result, dbus-launch xsession
zzamboni has joined #nixos
<deltasquared> why is it that to this date there isn't an open source UEFI implementaion for use in qemu
<Dezgeg> isn't there edk2
<Dezgeg> it's used in nixos uefi boot tests
<deltasquared> Dezgeg: alas, arch doesn't seem to package it. I haven't bootstrapped that far
* etu has used UEFI in qemu at some point
<Dezgeg> get it from nix then? x)
* deltasquared does the usual dance of commands
<deltasquared> ah, there it is.
<deltasquared> wait what, where are the uefi binaries hiding
<yorick> orivej_: I'm trying kicad-unstable, but it's missing all the library
<yorick> orivej_: how does it work?
<deltasquared> hrm I really need a ton of spare flash drives for all these distro isos
JosW has quit [Quit: Konversation terminated!]
JosW has joined #nixos
WilliButz has quit [Ping timeout: 255 seconds]
zzamboni has quit [Quit: Leaving.]
deltasquared has quit [Quit: SEGMENTATION FAULT]
JosW has quit [Quit: Konversation terminated!]
<manveru> what do i use as license for packages that have none?
danl1240 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nithor has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
deltasquared has joined #nixos
<deltasquared> right, as my system's UEFI firmware is a bit backward, would anyone know off-hand if the nixos iso's initramfs would have detection of LVM volumes in it?
sigmundv_ has joined #nixos
<deltasquared> previously, I've had to dd an image to a flash drive but then separately copy the boot files to my ESP, because... well like I said the firmware is stoopid and can't handle flash drives properly
Itkovian has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
michaelpj_ has joined #nixos
deltasquared has quit [Quit: SEGMENTATION FAULT]
ma27 has joined #nixos
manoj1 has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<srk> garbas: hi, do you possibly know how to extract PYTHONPATH from nixpkgs-python bundled envs? I need to create wsgi entrypoint with correct paths and can't seem to find a correct way
<Ankhers> Would anyone be able to point me to a tutorial / documentation stating how to use nixops to deploy to a variable number of machines?
<srk> Ankhers: you just need to define more machines in your network.nix
<srk> and network-virt network-prod files as well
<srk> Ankhers: check the structure here https://github.com/vpsfreecz/vpsfree-cz-configuration
alexteves has joined #nixos
<srk> network.nix contains common topology and includes, -livirt and -prod add environment specific configuration
<Ankhers> srk: In your example, you seem to have a single hydra_slave. What if I wanted to deploy 6 of them, without having to specify hydra_slave1, hydra_slave2, ..., hydra_slave6
<Ankhers> Or is there something else I am missing?
<srk> you just need to define a function that would create hydra slaves and a list of them
<srk> lemme find an example
zzamboni has quit [Quit: Leaving.]
<srk> uuh
<srk> thought there's an example here but it uses hydra-provisioner instead https://github.com/NixOS/nixos-org-configurations/
m0rphism has joined #nixos
nithor has joined #nixos
dan_b has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Itkovian has joined #nixos
jb55 has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
m0rphism has quit [Quit: WeeChat 1.9.1]
m0rphism has joined #nixos
zzamboni has joined #nixos
m0rphism has quit [Client Quit]
lexsome has joined #nixos
m0rphism has joined #nixos
michaelpj_ has quit [Read error: Connection reset by peer]
<lexsome> Gentlemen, you can congratulate me! I finnaly, successfully had been built (sorry for muh ingrish), an FHS for some game, and had been able to play! YAY! Hovewer, I was forced to manually ldd each file and write all dependecies, I wonder if there is an automatic solution for that?
Thra11 has joined #nixos
ckauhaus has quit [Quit: Leaving.]
<gchristensen> Ankhers: you could do something with like listToAttrs or something
<lexsome> I've also watched gr8 movie, Micro Men, with my bf, here is trailer https://www.youtube.com/watch?v=fGiGrf2YyZE it's British, bout ZX Spectrum and stuff
nithor has joined #nixos
<manveru> lexsome: what game?
<lexsome> maveru, an tarball of Core Breach. racing.
<Ankhers> gchristensen: Thanks. I will look intot hat.
<Ankhers> into that
<Thra11> What happens if I run 'nix-collect-garbage -d' while nixos-rebuild is building? Does it know to keep not just the current generation, but also everything that is required for the generation that is currently being built?
<gchristensen> Thra11: it will never gc the current generation or the generation you booted
<manveru> lexsome: it's open source, no?
deltasquared has joined #nixos
oida has joined #nixos
<deltasquared> sphalerite: it lives! \o/
<sphalerite> yay!
<deltasquared> now where the hell did "man 5 configuration.nix" get to
<manveru> looks like the majority of assets isn't, but do those require compilation?
<dhess> gchristensen: the macOS Nix installer sets up the root nixpkgs channel to use nixpkgs-unstable, is that right?
<lexsome> manveru, it is open source. however, I am as a noob, don't always compile stuff, I just play binares. The compilation instructions from github are obsolete garbage, so I had an binaries from 2011, which I succesfully played. After some dep's resolution) in FHS
<deltasquared> dhess: the linux one definitely does
<gchristensen> dhess: it does, and that is probably a mistake
<gchristensen> on macos, each user should probably have their own channel, and not setup root by default
<dhess> gchristensen: yeah I was just about to ask about that actually. It should use nixpkgs-17.09-darwin, shouldn't it?
<deltasquared> gchristensen: you'd have to namespace /nix somehow at least
<dhess> gchristensen: except when you want to use nix-darwin. :)
<manveru> lexsome: well, congratulations anyway :)
<deltasquared> does macosx *have* namespaces I wonder
nithor has quit [Ping timeout: 256 seconds]
<deltasquared> I know it's somewhat unixy under the hood but the UI put me off trying to play with it when I had access to them
<sphalerite> wow those build instructions for windows though "Win: Buy a Mac, install clang-compatible Cocotron and then open CoreBreach.xcodeproj in Xcode 4.x, select the win32 target and hit the build button."
<dhess> gchristensen: or just in generally, really. You will need to update nix-daemon at the very least at some point. That should come from a "system" channel and not from one user
<gchristensen> well, one promising proposa was to by default treat the installing user as "the admin"
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<deltasquared> sphalerite: might have well just said "frack you too"
<deltasquared> the build instructions I mean
MP2E has joined #nixos
<LnL> dhess: gchristensen: yeah, that's how I've been treating the local user in nix-darwin
<dhess> gchristensen: anyway, in the meantime, is there a reason why nixpkgs-17.09-darwin (or whatever is the current stable release) shouldn't be the root channel?
<sphalerite> deltasquared: well I guess it's still marginally better (from windows users' perspective) than not supporting windows at all
<lexsome> thanks manveru. Yeah I know, we can\should make a package. It is just my sick binary mentality, and I wanted to test my ability to run gaems on new rig. So that's it, first game lauched on NixOs. I hope there will hundereds in the future. I like that distro want to stay in touch with desktop users.
<dhess> like, is there some functionality it is missing that the Darwin installer needs?
<deltasquared> sphalerite: bar most windows users not even getting the concept of software built from sources, I'd wager ;)
<deltasquared> you might as well have asked them to make blood sacrifices for all some users that I've encountered would care -_-
<deltasquared> "command prompt? omg hax!"
<gchristensen> deltasquared: this isn't constructive
<manveru> lexsome: i understand, i do similar stuff sometimes, was just wondering
Itkovian has joined #nixos
<deltasquared> gchristensen: ... right. sorry.
* deltasquared makes a note not to treat the place like #archlinux-offtopic
<Ankhers> How can I access the lists functions in the network.nix for nixops?
<gchristensen> Ankhers: you can jjust do an import of nixpkgs, or even <nixpkgs/lib>
imagio has quit [Remote host closed the connection]
michaelpj_ has joined #nixos
hiratara has quit [Ping timeout: 276 seconds]
Kingsquee has joined #nixos
<gchristensen> dhess: I think it is mostly because 17.09-darwin is a fairly new idea
nithor has joined #nixos
hiratara has joined #nixos
deltasquared has quit [Ping timeout: 256 seconds]
<gchristensen> also, all the Nix installes do nixpkgs-unstable, so we'd want to be careful before changing that
lopsided has joined #nixos
lopsided is now known as lopsided98
lopsided98 has quit [Client Quit]
lopsided98 has joined #nixos
alex has quit [Ping timeout: 255 seconds]
<dhess> gchristensen: regarding doing what other Nix installers do, it would be less drastic to switch the installed channel to be nixpkgs-17.09-darwin than it would be to remove it entirely and depend on the "admin user's" choice
<gchristensen> they're really two entirely unrelated questions
nithor has quit [Ping timeout: 255 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<dhess> perhaps I am not explaining my point well, but it's not particuarly important.
<gchristensen> the important question is what is the most reasonable, predictable thing to do for the Darwin platform
<dhess> I agree with that. Isn't the recommendation that most people should use nixpkgs-17.09-darwin?
<gchristensen> I've not heard that recommendation, but it could be :P my understanding is most people who use 17.09-darwin want it because they're colaborating with 17.09 Linux users
lopsided98 has quit [Client Quit]
lopsided98 has joined #nixos
<dhess> oh I see. OK, fair enough then.
<dhess> never mind my request in that case.
<gchristensen> I'm by no means The Darwin Expert
<gchristensen> I made the darwin installer multi-user because it seemed like a good improvement and would make it easier to support my coworkers who used it
<gchristensen> people have since mistaken me as a darwin expert :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xrvdg opened pull request #33838: Idris: fix "addEnvHooks: command not found" (#33820) (master...idris1.2.0) https://git.io/vNnwa
NixOS_GitHub has left #nixos [#nixos]
<wilornel> samueldr: Did that `packer build nixos-x86_64.json` command end up completing suffessfully for you?
<dhess> gchristensen: I asked you because you wrote the new installer, so figured you had also thought about the choice of the root user's nixpkgs channel
toppler has quit [Remote host closed the connection]
el_putin has joined #nixos
toppler has joined #nixos
<dhess> just FYI
<krey> how would I go about finding my programs.sqlite?
<krey> it's supposed to be in /nix/var/nix/profiles/per-user/root/channels/nixos/
<krey> but I don't have any channels
chpatrick has joined #nixos
<chpatrick> hey, I'm having some trouble with nixops with nixos containers
la_putin has quit [Read error: Connection reset by peer]
<chpatrick> if I try to destroy the deployment in the containers I get "error: Multiple exceptions: , ,"
<chpatrick> if I try to use nixos-container destroy I get "cannot destroy declarative container (remove it from your configuration.nix instead)"
<chpatrick> machinectl says they don't exist
<chpatrick> what do I do? :D
nithor has joined #nixos
<wilornel> ah, I need to increase the boot_wait time
<gchristensen> dhess: ah, I wrote it to as closely mimic nixos as possible, for goood or bad :/
<dhess> it was a good choice for a first release anyway :)
<gchristensen> :)
raynold has joined #nixos
<dhess> I was under the impression that the project recommended users to use the stable releases with Nix, so 17.09-darwin in the case of macOS, but if that's not the case then my argument for changing the default Darwin root channel to that doesn't apply.
Thra11 has quit [Ping timeout: 256 seconds]
Thra11 has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
goibhniu has joined #nixos
fyuuri has quit [Ping timeout: 260 seconds]
sigmundv_ has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #33839: gephi: 0.9.1 -> 0.9.2 (master...update/gephi-0.9.2) https://git.io/vNnri
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vNnr1
<NixOS_GitHub> nixpkgs/master 5c73ee1 Franz Pletz: youtubeDL: don't double wrap executable...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 5c76e6c Franz Pletz: youtubeDL: 2017.12.31 -> 2017.01.14
Thra11 has quit [Quit: IRC for Sailfish 0.9]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #33840: cytoscape: 3.5.1 -> 3.6.0 (master...update/cytoscape-3.6.0) https://git.io/vNnrF
NixOS_GitHub has left #nixos [#nixos]
<catern> checking again, is there a way to make a path valid, only using substitutes?
michaelpj_ has quit [Ping timeout: 255 seconds]
<catern> and therefore failing if there are no substitutes
<catern> I think ensurePath in the nix-store API does this, but I don't think it's surfaced through any command-line tools
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #33841: skypeforlinux: 8.11.0.4 -> 8.13.0.2 (master...skypeforlinux-8.13.0.2) https://git.io/vNnrN
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> nix-build -j0 should do that
<catern> I don't believe it does, at least on 1.11
nix-gsc-io`bot has joined #nixos
<catern> I have tried it before
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f81b927ed9d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
la_putin has joined #nixos
<catern> hmm, actually, is there even a mechanism for -j/--max-jobs to work when using a remote store? I don't see it in the store API
<catern> oh, yeah
el_putin has quit [Read error: Connection reset by peer]
hiratara has quit [Remote host closed the connection]
<catern> ugh, it's pretty hard to think of a way to minimally test this
alexteves has quit [Ping timeout: 256 seconds]
<catern> In my experience, nix-build -j0 will still build the derivation even if there's no substitute
<catern> oh, wait, that's easy to test :)
hiratara has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
guillaum3 has joined #nixos
guillaum3 has quit [Client Quit]
<catern> or, uhhh, maybe it's that -j0 won't even substitute it
lonokhov has quit [Remote host closed the connection]
<catern> ugh, now it works :) guess that's good
sigmundv_ has joined #nixos
CustosLimen has left #nixos ["Leaving"]
nithor has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
lexsome has quit [Ping timeout: 260 seconds]
<samueldr> wilornel: as you saw, yes, boot_wait, if there's anything missing here: https://nixos.wiki/wiki/Vagrant_Box please tell my I'll amend the wiki page (or do it if you feel like doing it ☺)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f81b927ed9d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
simendsjo has quit [Ping timeout: 276 seconds]
nithor has quit [Ping timeout: 256 seconds]
<catern> okay, no, -j0 does not work
<catern> at least it doesn't work for fixed-output derivations with a daemon? possibly there are other conditions causing it not to work?
<catern> it still tries to build the derivation even if there's no substitute
<catern> maybe it's the fixed-output-ness, let me see
<gchristensen> it sounds like "does not work" has a complicated definition here, can you specify what you mean by "does not work"?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #33842: resilio-sync: fixed typo knownHosts -> entry.knownHosts (master...fix/resilio-sync) https://git.io/vNnoj
NixOS_GitHub has left #nixos [#nixos]
<pbogdan> hmm, does anyone knows what tarballs.nixos.org is and how I can stop nix from trying to fetch sources from there (I want to re-validate upstream provided tarball)
<pbogdan> *know
<gchristensen> pbogdan: tarballs.nixos.org is a place where we store extra copies of archives of critical sources
<gchristensen> I don't know how to disable it, what does it mean to re-validate?
ambro718 has joined #nixos
<pbogdan> gchristensen: thanks, just wanted to check how it compares against upstream provides at the same revision
<bennofs[m]> fetchurl has a "preferHashMirros" variable
<catern> gchristensen: here's an example of it not working:
<catern> nix-build -j0 --expr '((import <nixpkgs>) {}).fetchurl { url = "notreal"; sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; }'
<gchristensen> they must, because tarballs.nixos.org is content-addressed, pbogdan
<catern> if you run that, you will observe that it still tries to build the derivation despite being passed -j0
<bennofs[m]> gchristensen: upstream might have changed though?
justan0theruser has joined #nixos
<gchristensen> I reckon so :(
fyuuri has joined #nixos
<catern> pbogdan: one easy way is to slightly change the hash that is in the Nix file. it will try and do the download and fail with a message that tells you what hash you got :)
spietz has quit [Ping timeout: 276 seconds]
justanotheruser has quit [Ping timeout: 276 seconds]
<catern> gchristensen: did you see the same behavior with that nix-build command? it still tries to build the derivation despite -j0?
<bennofs[m]> you should also be able to just set preferHashedMirrors in build-support/fetchulr/default.nix to false
<bennofs[m]> as it is a fixed-output derivation, I think that won't cause rebuilds
<gchristensen> bennofs[m]: I think you're right
reardencode has quit [Quit: leaving]
<gchristensen> catern: indeed!
<bennofs[m]> why do i get 500 internal server error when running a dev instance of hydra....
jb55 has quit [Ping timeout: 276 seconds]
wilornel has quit [Ping timeout: 260 seconds]
<bennofs[m]> is there any option i can set to get this perl webframework to spew out some more info?
nithor has joined #nixos
jb55 has joined #nixos
<bennofs[m]> oh, --debug, sometimes --help actually helps 😀
<lopsided98> I've been testing the recently merged cross compilation code, and I am able to build a number of packages, but I'm unsure how to actually use them on a real ARM system
rogue_koder has quit [Read error: Connection reset by peer]
rogue_koder has joined #nixos
<bennofs[m]> Is there anything I can do to get https://github.com/NixOS/hydra/pull/353 merged? If i would put work into it, any chance it would be evenutally merged? I don't see any activity from any hydra devs on that PR
<lopsided98> It seems like the cross compiled packages have different hashes from natively built ones, so they will never be used
<catern> gchristensen: ah, I think it's actually due to preferLocalBuild = true
cinimod has joined #nixos
<bennofs[m]> you can never get cross compiled derivations to be substited for natively ones, right
<catern> nix-build -j0 --expr 'derivation { system = builtins.currentSystem; name = "bad"; builder = "false"; preferLocalBuild = true; }'
<catern> has the same behavior of building despite -j0
<bennofs[m]> lopsided98: cross compiling is mainly intended as a way to bootstrap, afaict
<pbogdan> bennofs[m]: gchristensen: thank you; indeed upstream seems to mutate releases in place and I was getting confused and wanted to re-check using the origin (if that makes sense)
[0x4A6F] has quit [Quit: [0x4A6F]]
<gchristensen> ouch. what is it?
[0x4A6F] has joined #nixos
WilliButz has joined #nixos
<lopsided98> bennofs[m]: Bootstrap what? An installation image?
<bennofs[m]> yes, and the tools required for native building
lycium[m] has joined #nixos
deepfire has quit [Ping timeout: 256 seconds]
<bennofs[m]> although a full installation image cannot be fully cross compiled last I checked
alexteves has joined #nixos
<lopsided98> That doesn't seem nearly as useful as I thought. I thought cross compiling was used to avoid having to build natively on a slow machine.
<bennofs[m]> you can do that, but you explictly have to request the cross-compiled package on the slow machine in that case
<bennofs[m]> as it is a different one from the nativly-built package
el_putin has joined #nixos
<catern> filed a bug about it: https://github.com/NixOS/nix/issues/1798
<catern> so annoying :(
deepfire has joined #nixos
la_putin has quit [Read error: Connection reset by peer]
<lopsided98> So with the current cross compiling design (assuming everything worked), you would be able to corss build a system image, but if you were to install that image and then rebuild the system on the device, it would build an entire system from scratch natively, not using any packages from the installation image
nithor has quit [Ping timeout: 256 seconds]
danl1240 has joined #nixos
chessai has joined #nixos
chessai has quit [Remote host closed the connection]
<Ankhers> Do you have to run nixops from the same architecture? I am going through the tutorial on a mac and getting an error because I am not running x86_64-linux.
<infinisil> Ankhers: I'd guess it needs a way to build the target system, which would also be possible with remote builders
<Ankhers> infinisil: Do you know if there is a way to build on the machines I am trying to deploy to?
<catern> figured out the cause and posted it on https://github.com/NixOS/nix/issues/1798
<catern> can anyone explain the idea behind the comment that I quote there?
<infinisil> Ankhers: Can't look it up right now because internet sucks, but you can use /etc/nix/machines (or nix.buildMachines) to declare machines to be used for building
<infinisil> probably that's in the nix manual
nithor has joined #nixos
marusich has joined #nixos
zzamboni has quit [Quit: Leaving.]
<Ankhers> infinisil: Thanks. I'll take a look.
<lopsided98> My use case for cross compiling was to cross compile a few big packages (like the Linux kernel) on a powerful x86_64 machine, while still building others (that don't yet have cross compiling support) natively on ARM
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lopsided98> It looks like there isn't an easy way to do this though, as a cross compilied derivation is always going to have a different hash because it has a different stdenv
<infinisil> lopsided98: but i mean is that a problem? The result is going to work either way
marusich has quit [Ping timeout: 276 seconds]
<lopsided98> infinisil: Nix will never use the cross compiled derivation because it is expecting one with a different hash (even though the actual output of the two derivations are identical)
<lopsided98> For example, if I cross compiled a kernel and put it in my binary cache, and then went to rebuild the configuration on the device, nix would never try to substitute the cross compiled kernel, because it is looking for one with a different hash
<infinisil> lopsided98: i mean yeah when you just nix-build crosscompile something and then use nixos-rebuild which doesn't do cross-compilation automatically, sure. You'll probably have to override packages with their cross-compiled version for it to work
<infinisil> Ah i see
<infinisil> nix sadly works that way though, all for purity
justan0theruser has quit [Quit: WeeChat 1.9.1]
justanotheruser 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/87677d03901 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
goibhniu has quit [Ping timeout: 256 seconds]
<catern> ugh, I guess maybe I'll just write a C++ program against the Nix API
<lopsided98> I think you could override packages with their cross compiled versions, but it would get ugly quickly. I'm not sure how this would be done in practice, but I don't see why it wouldn't theoretically work. One problem is that if you override a package with a lot of dependencies, you would end up with a bunch of "duplicate" cross and native packages.
<catern> or maybe I should finally learn Perl?
<catern> no I guess Perl is on the way out anyway
ma27 has quit [Ping timeout: 256 seconds]
<bennofs[m]> is modern perl really so bad?
<catern> it's not, but I meant in Nix
<bennofs[m]> there's still Hydra
<catern> that doesn't change "on the way out" :)
<Unode> hi all. I'm trying to use stack with nix: enable and targetting lts-10.3 (ghc-8.2.2). Stack fails with: error: attribute ‘ghc822’ missing, at (string):1:59
oida has quit [Quit: WeeChat 1.6]
<Unode> this error message is clearly coming from nix... I tried grepping for 'ghc822' and I see a package definition in my channel. Is there something else missing for this to work?
<Unode> my channel = nixos-17.09