2017-10-26

<TweyII> jumblemuddle: That doesn't mean it didn't screw something up before it died — likewise Synergy
<TweyII> Why are people talking about ZFS so much lately? Did something new happen in ZFS development? Or has everyone just finally given up on ext4 and btrfs?
<c0bw3b> ok thanks infinisil that's something to start with
<ldlework> something about having to create some gcroot based folder, and some other folder...
<TweyII> What's a good way to do something in Nix based on a file inside the source distribution? src.out refers to the *packed* source, no? So if I want to readFile ${src}/path/to/file, it doesn't exist yet
<tanonym> I think I forgot something in configuration.nix to get GRUB to boot from the ZFS file system.
<drakonis> getting used to something, right...
<infinisil> I see no reason to use something like <pool>/root instead of <pool> for the root mountpoint tbh
<aminechikhaoui> ikwildrpepper: do you remember what's the purpose of systemd.services.fetch-ssh-keys in GCP ? is it just used during the boot or something ?
<tanonym> So I would name my partition something like zpool/nixos?
<tanonym> Because knowing me I will pooch something up at some point and not grok what the wiki and manual tell me :D
<tanonym> If not ZFS what is a good option for a portable USB stick install of NixOS for the file system? Since I'm dealing with 32GB here something that compresses would be advantageous.
<ArdaXi[m]> You'd want something like fetchurl that works locally, if you want to accomplish this, not sure if that exists
<Lisanna> A lot of my nix expressions refer directly to local source directories for building... I definitely don't want to be bundling all my source code along with my nix expressions, is there a good solution for something like this?
<pie___> im usuallt just trying stuff till something works /me ashamed
<Harekiet> and I'd just be happy to just have something working :)
<hyper_ch> and for modifying the initrd.... maybe with something as incron you can apply changes everytime the initrd changes
<Lisanna> The notes for runInLinuxVM says that: "Note that currently we expect the image to contain a filesystem, not a full disk image with a partition table etc." Is it possible to mount something like that anyways, e.g., by specifying an offset to the mount command? I'm trying that and I'm getting operation not permitted errors from mount.

2017-10-25

<judson> I can see how to do build inputs, but something in default.nix that delivers one of the packages as the expression output...
<rmrfroot> krita segfaults on nixos 17.09 with xmonad, something tells me it has to do with missing kde/qt stuff, anyone know if there are any standing issues regarding running kde/qt applications in non-kde environment? here's the last lines of gdb output: http://lpaste.net/4871722438246793216
<gchristensen> disasm: "wonder if we could do something that adds a tag needs documentation for new functionality without docs :)" want to try? I'll set you up with creds to receive events.
<MichaelRaskin> ghostyyy: I stopped using mainline NixOS precisely after the systemd update that had broken all my attempts to do something like startx.
<disasm> gchristensen: wonder if we could do something that adds a tag needs documentation for new functionality without docs :)
<Sonarpulse> bgamari: wanna post something there saying it is needed?
<ArdaXi[m]> So either actkbd is broken or something else is handling them
<ArdaXi[m]> If you don't get a KeyPress event something's already catching and handling that keypress
<ylwghst> there is something like
<gleber_> betaboon: yeah! As long as they do not have yet a reasonably working system already. People being accustomed to something often make them not invest into a superior tech if their tech is not too painful...
<jluttine> but is there something like that applyPatches ^
<jluttine> something like this would be great: source = applyPatches rec { src = fetchzip {src="..."; sha256="...";}; patches = [./foo.patch ./bar.patch ]; }
<betaboon> is there something like a zen of nix ? :P
<sphalerite__> saf_spa: yep that's exactly the feeling I get. I've been using nixos for a year now and get sad every time I have to use something else again...
<hodapp> I have this tendency to patch something in Nixpkgs that I ned, and then by the time I get around to doing a PR, I haven't needed for weeks
<saf_spa> sphalerite__: I am actually writing something very ugly, a wrapper script for most common commands in bash.
<Dezgeg> find something that looks like an usb host controller from the .dts, then grep for what driver supports that device listed in the node's "compatible" field
<sphalerite__> Dezgeg: ok I'm almost completely lost. Do you know of a guide that would be helpful or something?
<gchristensen> this is just in time to rewrite my terrible grahamcofborg implementation in something more reasonable
<tazjin> and then it will block forever, so I assume something else (tm) is reaping those processes
<tilpner> Couldn't you just python35Packages // { newPackage = something; }?
<TMVector> Hey :) I'm getting something weird where network replies are being sent on the wrong interface
<jluttine> avn: where is that syntax used? can't recall ever writing something like that
<joko> My guess is that I need something like l3lmprhcz5w1xp4nbj42lr8yjs9hc31g-nixos-system-hostname-blabla, how to tell which is the current one?
<cmcdragonkai> clever: and just use something simple inside there to make nix-env use /nix/nixpkgs
<clever> joko: you must have ran something else with js-beautify in it

2017-10-24

<infinisil> I think nix packages should be able to specify a systemd config in their definitions, with passthru or something
<clever> sphalerite: i also had something fail on my hydra, let me see
<infinisil> I recommend compress=on, which uses the default, which is currently lz4, but might change in the future if something better is implemented
<Unode> Sounds interesting. I wouldn't mind seeing something less bulky than DLNA becoming a standard. DLNA is over-engineered from my point of view. Simpler alternatives would be great.
<tanonym> Okay, I am missing something: can't figure out how I'm supposed to format the drive to zfs after enabling the option in configuration.nix
<infinisil> Drakonis[m]: What do you mean? You working on something?
<infinisil> I'll keep it in mind if i ever need it though, or if i want to try out something new
<clever> Unode: i think i saw something similar happening 3 days ago, when i ran screen under tmux
<clever> Unode: i recently ran into a problem, something hydra built is using SSE4, and my laptop lacks it
<MichaelRaskin> Wow. Didn't think I can learn something new and bad about git.
<MichaelRaskin> Why do people even bother with something on top of wpa_supplicant?
<tanonym> Install GNOME, borked the system, reboot and select previous generation and it works again. Clean out the borked install and try something else. :D
<ma27> Unode: nice! Ping me if something else breaks your build now %)
<tanonym> Or even have a segregated approach like what the Amigas used to have where the OS lives on one ROM disk and applications are on a separate disk. Meaning if something infects your system you just reboot and since everything was run from volatile memory the compromise doesn't survive.
<tanonym> This way I can work off it rather than having to carry my laptop around (at least until I can get my hands on something like a chromebook or HP Stream)
<tanonym> Worth keeping in mind, but if I'm installing a system to a 4GB stick I'd rather something lighter on space than KDE Plasma (as pretty as it looks)
<tanonym> Okay, something to keep in mind.
<tnias> clever: I have them both in system now. wireshark works and wpa_gui does not. I will now clean up my user env and throw out unwanted stuff.. (i may ask something later)
<MichaelRaskin> Because QT_PLUGIN_PATH or something like that
<clever> tnias: so the problem is something else you have installed, and rebuilding wireshark wont fix it
<ma27> just to clarify: you mean module-list.nix or something else?
<clever> Harekiet: there is also something else i wrote recently that you might find useful: https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix
<clever> kiloreux_: you could do something like: preInstall = ''installFlags="$installFlags STACK=$out"'';
<infinisil> srhb: efx[m]: Um, did fpletz just fix that? something about webkitgtk
<betaboon> "nixops deploy" something gets stuck. any idea what to look for ?
<joko> I would like to do something like networking.hosts = { "127.0.0.1" = [ "mynixos" ]; } + buildins.readFile blabla;
<hyper_ch> so nixos does something different
<srhb> oleks: You might also try something like nix-env -qaP | grep canon
<oleks> srhb: so it should be something like services.printing.drivers = [ canon ]; ?
<srhb> Anarazael: I think you can just set up nix-serve and clone cache.nixos.org with nix copy or something
<goibhniu> Hi samueldr, I was asking ixxie recently if they might be able to prepare a layout for showing on the NixCon videos showing the speaker name(s) and talk title ... but I haven't seen them around in a while ... is that something you'd be interested in helping out with perhaps? (or is anyone else interested?)

2017-10-23

<michaelpj> tazjin: oh hm, possibly that only works if you're using it as the input to something else. I'm not sure what you do if you want it also to be installed when you install the derivation
<sphalerite> random idea of the day: some fuse magic or something to allow lazy evaluation of store paths, i.e. you can start building something before its dependencies have been built and it will just block once it tries to access the store path of an unfinished dep
<taktoa> sphalerite: I think dtzWill is working on something involving Nix and building packages to LLVM bitcode for his PhD
<clever> sphalerite: something like nix copy --to local?root=/mnt
<sphalerite> What's the right way to get something from one store to another, when both stores are on the same machine but the source is in, say, /mnt/nix rather than /nix?
<kuznero> are there any special guidelines on how to keep files in /nix/store/qweqwewe-packge? having ./lib ./bin seems to be one thing... Or can it be something completely different? e.g. executables in the root of its folder, etc.?
<infinisil> kuznero: Use something like this: https://git.io/vdpqy
<infinisil> kuznero: Do you want to package something that gets distributed as a tarball?
<MagneticDuck> gchristensen: I'm trying to point requireFile to something that I've already added to the store.
<infinisil> Well that's kind of the most fundamental file to nix, if you don't have that something's wrong
<MichaelRaskin> And you still use Java plugin and actually use it for something not compatible with iced_tea?
<Phillemann> Hm, maybe I can pass it explicitly to qmake or something.
<dieggsy> infinisil: should i be adding packages i want to a file and running something on that instead
<dieggsy> infinisil: run some script that goes "nix-env -q[something]" and then inserts the output to my-packages.nix, deletes the version number
<dieggsy> infinisil: or could i list all packages from the point of view of nixpkgs or something like that to get that "long name" automatically
<infinisil> Ah I see, so qemu doesn't see the tty{1..6} as text because they're under X or something
<sphalerite> delYsid: I think something like nofb should do it
<betaboon> infinisil: this time something works, that shouldnt: i have a nixpkgs-overlay setup like in that gist on my local machine. in this overlay there is a package defined (eg 'superfun123'). now i have a seperate nixpkgs-overlay (like defined in that gist), and use nix-shell (Which loads the shell.nix in gist) with "-p superfun123" -> here is the problem, i would expect superfun123 to not be found (as it is defined
<Phlogistique> the rationale is something like
<tanonym> Ubuntu did something odd to it and just bypasses the NixOS GRUB file.
<joko> So I was thinking maybe it's corrupted or something
<clever> sphalerite: and after the 2nd failure, something else snuck into the queue long enough to keep the logs alove, ENOSPC
<clever> yeah, that sounds more likely to do something
<clever> sphalerite: there is also something in stage-2 that can record the boot progress to that file
<sphalerite> ah ok so I'd have to do something like boot.kernelPackages = linuxPackagesFor (linux_4_9.override (stuff))?
<olejorgenb[m]> is there a trick to use docker on nixos? I couldn't find any service (other than dockerRegistery which I presume is something else). Running docker commands complain about missing docker daemon
<infinisil> something like mkdir home && HOME=$PWD/home
<kuznero> infinisil: thanks, is that an ok practice to change it with something like: `tmp=$(mktemp -d) && HOME=$tmp ./build.sh` ?
<drp> okay cool so wayland in nixOS is experimental, I am not missing something
<sphalerite> Wasn't there a built-in for getting the location where something is defined?
<DIzFer[m]> try adding `log_level verbose`to your mpd config and trying again, maybe then it'll log something useful :/
<dhess> clever: he was working on something in the snabblab repos that auto-updated from a Hydra build
<samueldr> it's probably something with how it works under debian
<ghostyyy> i just want to run a line of bash code afterwards to clean up something
<ghostyyy> is there something like boot.initrd.preLVMCommands, but after LVM?

2017-10-22

<Unode> Overriding NIX_PATH with 2 paths with different names, and then checking if the 2nd is picked up. sphalerite something along these lines?
<Unode> is there something special about the name nixpkgs?
<Unode> is "nixpkgs" the name of the channel ? or something else?
<Unode> ylwghst: I get the same error. There's something off with 'nixpkgs'. When I do "nix-env -iA nixpkgs...." what is nixpkgs? what does it refer to?
<dhess> right I think I saw something on the tracker about that.
<Unode> ghostyyy: try something heavy instead.
<ghostyyy> on debian i get like 50,000 or something
<Unode> sphalerite: that give a very odd error message. I'm probably doing something wrong.
<Unode> error: attempt to call something which is not a function but a set, at undefined position
<Alling> How can I get access to beautifulsoup4 in mitmproxy? It seems like SUCH a small change, just adding it to propagatedBuildInputs or something. How do I do this?
<MichaelRaskin> GTK doesn't sound like something eady to fix without understanding how Nix works…
<ldlework> I added --no-create to something else because I saw homebrew doing that
<ghostyyy> but when i do (to debug something else) it doesnt work
<ldlework> I believe that has something to do with the X11 system?
<ghostyyy> and some numeric identifiers for something else
<sphalerite> kuznero: sounds like something that should be done by patching the rpath instead if possible
<infinisil> I thought it would be something like that
<ldlework> I think something with libgnomecups?
<sphalerite_> there's probably something in sysfs that'll be more accurate
<Dezgeg> something like this I'd try: nix-store -vvvvvvv -r /nix/store/m5pq3pi5m3yhaqn8fa86nf69jfg6cpw0-stdenv
<sphalerite> I've put `binary-caches = https://nixos-arm.dezgeg.me/channel` in my /etc/nix/nix.conf but nix doesn't seem to be using it. Am I missing something?
<clever> Neo--: this is something i have used before
<LnL> knupfer: you would have to rebootstrap ghc and all of it's dependencies everytime something in the stdenv changes
<clever> aristid: there is something in the nix build process that runs shellcheck over a few things
<clever> iqubic: did you add something starting with config?
<ghostyyy> hi, can someone help me do something? i have an encrypted root with a detached header and /boot on a thumb drive, but i cant seem to get the bootloader to find my header even though it is on the thumb drive
<ldlework> Something tells me it has to do with the thing we want to override being in the meta key
<ldlework> And so the structure of the package definition is different than we expect or something?
<ldlework> There must be something about overriding meta maybe?
<jtojnar> dotnetPackages seem to accept overrides argument. can you try something like https://gist.github.com/jtojnar/8d4a65a841a4f277fd36473d9ccf9a67

2017-10-21

<marantz> I'm trying to follow the install instructions for python3.6-ledger-autosync-0.2.3 but get an error saying error: beautifulsoup-3.2.1 not supported for interpreter python3.6m I believe if I try to install the python27 version of the package it doesn't have this trouble. Is this a bad package or something I haven't done? my system have very little software install on it, not even python
<xelxebar> Apparently setting security.setuidPrograms = [...] in configuration.nix works, but I don't have that config. Is there something similar for .config/nixpkgs/config.nix?
<michaelpj> no, same version, it's just something with how this `allowedReferences` thing works
<hoverbear> michaelpj: I see these dotfiles: https://github.com/lheckemann/dotfiles how do I define something like that for my user?
<c74d> It seems that every time I build something with Nix after my nightly automatic GC run, Nix downloads `paxctl`, even though PaX is no longer supported — why?
<catern> it might be a fairly recent feature or something
<catern> didn't they stop shipping a runtime or something?
<hoverbear> Ralith: I gather there is some magic file `env.nix` or something that lets me create a dev shell per git repo or something?
<Twey> I need to do something about that some day
<srhb> Am I missing something obvious? :-P
<Svarog> hmm i thought i saw some tool called something like nixcrate
<Svarog> sphalerite, the snippet tilpner posted the other day had something about overriding the rust compiler with a specific nightly snapshot - did that not work or are you after something else?
<infinisil> or is this something different
<Yaniel> or something like that
<Yaniel> so systemd tries to name them based on their position on hte motherboard or something like that
<srhb> No, you'll have to do something like nix-env -qaP | grep ...
<srhb> I'm seeing something different if I run the java command manually.
<adamt> The maple installer really should be logging something about the updates being fetched. Zzz.
<clever> CcxWrk: something within nixpkgs would have to be changed, to replace libc with musl
<clever> CcxWrk: something like this will have to be ran, with the absolute path to your qemu-user-arm binary
<clever> CcxWrk: after nix is done building nix, you can do something like: ./result/bin/nix-build '<nixpkgs>' -A hello --argstr system armv7l-linux
<clever> jluttine: and that nextcloud derivation is the root for something in nginx

2017-10-20

<infinisil> I think it would be much nicer to have something like a home.manageConfig and home.manageOverlays option which you can enable though
<Leo`> Is there something cleaner?
<Leo`> I'm trying to create an env with various Django packages but I want to use Django 1.8 exactly. The thing is that when I do something like python.withPackages (ps: [ ps.django_1_8 ps.djangorestframework ]), then djangorestframe starts pulling another version of Django and I have a conflict...
<michaelpj> that would be pretty glorious. It feels like you ought to be able to do something sensible for most packages which fetch from tags in a git repo if you specify a tag pattern that matches release tags
<michaelpj> looks like something like https://github.com/repology/repology/issues/308 would be pretty handy
<adamt> michaelpj, it should be pretty easy to make something that warns on new tags or branches matching a specific pattern (like vX.Y), as long as you got a pointer to the vcs of the package :-)
<MichaelRaskin> Also, if you submit a package, everyone gets nice Hydra builds and saves five minutes of build time per update or something; for a service the balance is different.
<adamt> Am I missing something, or does the kea package lack systemd-unit and any form of configuration options?
<jeaye> Hm, ok. I don't know of anyone who's tried that yet and I'm not sure if those machines will have specific network interface set ups or something.
<ldlework> You can in the bash wrap all the git stuff in something that will never fail.
<ldlework> If there's something of import that I'm missing, I genuinely want to understand it. I'm just stating the case as I understand it.
<ldlework> Anything else is something you're adding ontop
<disasm> digitalmentat: I got a better idea... why not have a postBuild that executes anytime it's ran and then the logic in your postbuild script can detect the case where you want it to do something or noop
<MichaelRaskin> Nix doesn't tell if there was something to be done.
<MichaelRaskin> Sorry? You have to have stateful something to do pushes only once per non-trivial build
<ldlework> And that seems like just abusing systemd for what is really something related to buildtime
<infinisil> If you want actions to run after a rebuild, you do that with something like alias rebuild="home-manager switch && git push"
<infinisil> Well if the user just wants to build something he shouldn't use home-manager for that
<ldlework> So maybe I use map to produce a list of attrsets with key-value, then I use that once function that converts that to an attrset, then I merge it against something in config
<infinisil> it doesn't make sense to evaluate something if the result is throws away
<infinisil> ldlework: Yeah that's phases = [ "buildPhase" "installPhase" ] or something like that
<ldlework> or something right
<ldlework> octe sure just do something like `rm target_file.ext; ln -s ${./local_file.ext} target_file.ext`
<infinisil> ldlework: Something like this: https://git.io/vdFS4
<ldlework> Are all let variables evaluated or something?
<infinisil> Huh? Maybe I understood something wrong them, but I'm pretty sure normal derivations can't fetch stuff from the web
<infinisil> guillaum2: Or, hold on, testing something better
<infinisil> vandenoever: Ah yeah that could be it, something like that
<infinisil> There is nix-store --delete --ignore-liveness which ignores whether something is still being referenced, but I doubt you used that
<joepie91> that is, something either breaks for everybody or for nobody (modulo hardware differences)
<adamt_> joepie91, yeah, i didn't really look much into how the current zabbix module works, but something like the postgres way of selecting a version would be neat i suppose.
<boomshroom> no such file or directory /run/system/kernel...something (radeon pushed it out too fast.)
<kuznero> I am trying something like this now: --replace "LDCONFIG_COMMAND=\"/sbin/ldconfig\"" "LDCONFIG_COMMAND=\"${stdenv.cc.libc}/sbin/ldconfig\""
<nixngo> I think there is another problem: HPelitebook laptops have something like a hardcoded efi boot path
<joko> I am packaging some py files and I would like to change their interpreter, should I use substituteInPlace or is there something more automated?
<infinisil> hyper_ch: They don't provide nixos droplets, so you need to use something else to boostrap
<jophish> Do you know if something like this still exists?
<clever> tazjin: at a glance, it looks like it will only do something if there is a reference to system.build.toplevel-docker
<infinisil> Something with zfs.target
<clever> andrewrk: once something in the store has been built, its read-only and can never be modified
<yurrriq> I do something like this IIRC: git —no-pager diff branch >foo.patch
<ldlework> if I have an Option like this, https://gist.github.com/dustinlacewell/2c06287a587f33a3a8a7459343f1816d which produces an attrset of source-filename -> target-filename, how can I in the config then do something with each attribute such as running a line like this for each? home.file."the output file".source = build { source="the input file"; };

2017-10-19

<Leo`> Ah there's something like python.buildEnv or python.withPackages.
<guest1230> hi, is there a way to concat something with a potentially unset list (e.g. to add a patch to derivation)?
<ylwghst> disasm: something is messed here https://gist.github.com/dc2da5303851b9fee9ec48d3861e0c11
<MichaelRaskin> Erm, downloading and unzipping usually gives pretty strong evidence if something is a zip archive.
<kragniz> gchristensen: was thinking something more like https://sr.ht/-RcD.png
<ylwghst> disasm: thx im gonna try something ill be back in minute
<srhb> I imagine that one day nixUnstable lands in master as the default or something.
<srhb> It's all kinds of fun when you end up rebuilding your system on a wrong branch and go to get coffee or something.
<infinisil> Well that's something, why is the encoding messed up though
<__k__> but sometimes it would be nice to have a quick fallback to something I know works
<__k__> so you're basically run it like a regular package manager and if something breaks you start to "pin"?
<__k__> does this mean, "inputs" aren't the stuff I write in my default.nix, but something different?
<infinisil> Yeah that's how you get to the derivations, these attribute names are something like packages = { packageA = derivation { name = "A"; ... }; packageB = derivation { name = "B"; ... }; }
<__k__> so the "attribute name" in the package list on the nixos website are attributes of something?
<Guanin> is there a way to change the permissions and the group of /etc/shadow? I asked yesterday but had instable network, so I did not bother with it anymore. I am trying to setup gogs (something like gitlab) to use PAM authentication. Sadly, I can not login if /etc/shadow is not readable by the gogs user. The SETUID helper bin drops user privileges in that scenario, so I'd guess I can fix it with the SETGID bit
<infinisil> and that something else is your nixops config?
<infinisil> so the overlay imported some other nix file that referenced something else?
<andrewrk> guillaum1, is this a fundamental problem? or does this have something to do with nixos?
<moredhel1> ixxie, people are working on kubernetes/nix stuff. I think something is being worked on for NixCon
<infinisil> joehh: I can think of doing something like `activate-configuration; if [ ! curl google.com ]; then rollback`
<sphalerite> well that seems like a stateful thing to do, so something that shouldn't be encoded in the nixos config
<joehh> something like no more 1 change every 5-10 minutes
<infinisil> Ohh, hmmm, I guess I can't do something like nixos-rebuild test with nixops
<joehh> I could have a script/service running and checking connectivity on each route then rewrite something in /etc/nixos/ and nixos-rebuild switch each time I want to change
<gchristensen> hmm not familiar with anything in particular, you might need to go dig through the history and either report a bug or fix something :)
<betaboon> let me put up something on gist
<adisbladis> infinisil: I guess. I think you are on to something. =)
<Svarog> how does something like this get resolved? why does building a rust package create a git branch (the message immediately before the failure is that some gir branch is being created)?
<ldlework> Could I do something like
<clever> simpson: sounds like something is incorrectly looking in /run/current-system/sw/lib/
<clever> ison111: something must have unset the variable

2017-10-18

<LnL> ldlework: I would split up the files and do something like this https://gist.github.com/LnL7/602f3f3e51819e4433fcdd594ac58389
<kuznero> LnL: I don't think that will help. I am packaging something that in turn tries to download intermediate bits itself. What I am trying to do basically now is to merge 2 sources of sources ;) into one and then substituteInPlace --replace to avoid trying to download already downloaded/merged packages.
<eacameron> clever: I see. So I should be looking for something specfici.
<infinisil> Can I somehow enable a non-root user to access usb devices? Specifically it tries to access something like /dev/bus/usb/003/006
<tnks> clever: when you say "nix copy" it sounds like something new, not "nix-copy-closure".
<LnL> srhb: since 1.11.7 or something it's been forward compatible with nixUnstable, but that might change ofcorse
<tnks> I do something kind of similar with /etc/nix/nix.conf: build-extra-sandbox-paths = /srv/nix
<taaperotassu> I suppose used it earlier on something else
<taaperotassu> Strange that it fails to build.. something about defined multiple times
<taaperotassu> https://nixos.org/nixos/options.html#xmodmap didnt find any.. but I think there is something similar.
<argo> I don't know if something is wrong with my configuration (nixos 17.09), or if it is a packaging problem or upstream error
<sphalerite> TweyII: so you want something that will take a boolean and return [true] if it's true and [] if it's false…?
<jluttine> ixxie fearlessKim[m]: yep, thanks. that's what i tried but i get "error: attribute ‘stdenv’ missing, at /etc/nixpkgs/lib/modules.nix:163:28". guess i'm doing something wrong elsewhere or something, gotta study
<Unode> http://xiki.org/ is something I was looking for yesterday. Seems like one heck of an interesting shell.
<hyper_ch> hmmm, whats the best way to run a script before shutdown on nixos? with writscriptbin it's easy to create the script and make it available, but how to run it before shutdown? Do I need to created a systemd unit file or something?
<sphalerite> Lisanna: I also hacked something together a while back to get EFI-compatible and writable USB images from it. See https://github.com/lheckemann/boot2barony/blob/master/barony-sd.nix and https://github.com/lheckemann/boot2barony/blob/master/make-disk-image.nix if that's relevant to what you're doing
<Lisanna> Anyone here familiar with the vmTools? Wondering if it's possible to use them to generate image files from the result of running something in e.g. runInLinuxVM
<srhb> something like mkdir src; cd src; tar xf $src
<disasm> iqubic: yeah, just take a tarball of /boot in your home dir or something
<ben-coman> cool. At least its something to try. btw, renderingBackend=OpenGL2.0, but I see 3.1 and Xrender as options.
<samueldr> I believe I previously used xrender, or something like that
<samueldr> ben-coman: I think, one or two years ago when I used kwin, that I saw something similar due to its compositing settings
<samueldr> give me a minute or two to check something on my laptop
<ben-coman> my next step will be to switch to something else, but first I wanted see if there was any useful details I can report on to you guys.
<dhess> ok you two, that's very useful and should give me something to play with. Thanks!
<Dezgeg> can't recall if there's something else than https://github.com/NixOS/nixpkgs/pull/25240
<dhess> oh right clever had something for this
<clever> gchristensen: something i recently threw together: https://github.com/cleverca22/nixos-configs/blob/master/netboot_server.nix

2017-10-17

<elvishjerricco> Well yea, but what are the other rules? Like, it can't have functions for example, something like that.
<LnL> rycee: pretty sure man was aliased to something else on darwin quite some time ago
<dhess> something weird is going on where I can't "dontCheck" some Haskell packages, but other stuff seems to work great.
<infinisil> iqubic: I'd just set it to something like 999999 then
<infinisil> Ahhh, nix-info, I was confusing it with something else
<dhess> (I tried something similar with nixpkgs.config.packageOverides and NixOps thought I was definining a host named nixpkgs)
<infinisil> If you need something more complex you can use multiple systemd unit with dependency on each other
<sphalerite> lejonet: I think a preStart or something for the systemd service would be the right approach. Not sure htough
<sphalerite> for quick hacks where I just want the source to check something, and don't need a clone of the whole thing
<joepie91> 1) wrapProgram now explicitly checks that the thing being wrapped is an executable; which means something like `makeWrapper strace foo --add-flags -f --add-flags $out/bin/foo` doesn't work anymore (which it probably shouldn't have in the first place, but it's a break nevertheless)
* infinisil tries really hard to find something to map to "na"
<infinisil> Should've done something like that a long time ago
<infinisil> something like that
<gchristensen> check the repo named something like channel-scripts or something (use github's search on the org page)
<disasm> romildo: someone saw something similar on 17.09 yesterday
<clever> catern: you can also read the dwm expression to see if something better has been setup
<srhb> jluttine: loaAttrs or something like that
<Unode> Ok, that's quite deep down the rabit hole, is there something I can try before going for a full fledged test?
<srhb> But surprises are always nasty. I didn't even consider that it'd be 'config' -- I just figured it had to be something in pkgs.
<srhb> And suddenly you need it because something is named settings
<ToxicFrog> joepie91: yeah, fair. Right now that information is just in the license: line but it wouldn't be hard to make them show up in a different colour or something.
<joepie91> Unode: (having to add --with-unfree or something to every invocation is a massive UX trap)
<ToxicFrog> Like, that's my "ideal end goal", not something I think would be practical to implement right now
<joepie91> (I'm actually even stricter than that in how I interpret 'open-source'; I don't consider something open-source unless it's actually open-source in spirit, ie. no shitty hacks like "well this core thing is open-source but you need this auxiliary proprietary thing to actually make it useful")
<ToxicFrog> Unode: note that this includes stuff where source code is available but you can't distributed modified version, which is not always something people consider "closed source"
<joepie91> but perhaps there's something I'm missing
<infinisil> Lol, I always thought the `singleton` function would be some kind of genious function to only have something once, kind of disappointed now that I looked it up (singleton = x: [ x ])
<joepie91> samueldr: so I don't think there's a problem with using an icon to mark unfree software - so long as it's an icon that clearly communicates 'unfree', not something promotional-seeming like a star or whatever
<joepie91> samueldr: suggestion: add an identifier in the 'short view' of each unfree package; something like an icon or color difference or something that indicates that it's an unfree package
<Unode> disasm: I might have something for you later if you can check. otherwise a pull request.
<Unode> disasm: oh sorry that was something else
<Unode> disasm: I need something like this for the burp thing. It allows repeated lines on the config.
<gchristensen> that sounds like something I'd say