<gchristensen> shadow
<gchristensen> ... I think
<Lisanna> oh, it's just called su
<Lisanna> shadow-4.5, attrname = su
<Lisanna> but is taht the /right/ su? since which su returns a nixos wrapper, not a regular user bin
<slack1256> I guess that is done on the derivation itself. It is common to provide setuid wrappers
yorick_ is now known as yorick
Neo-- has quit [(Ping timeout: 255 seconds)]
dan_b has joined #nixos
wajsel has quit [(Ping timeout: 248 seconds)]
<slack1256> is it disrespectful to ask a mantainer if he could update his code?
ylwghst has quit [(Quit: Lost terminal)]
<gchristensen> seems that is the job of the maintainer :) feel free to open a ticket and cc the maintainer
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbesL
<NixOS_GitHub> nixpkgs/master a160fef Orivej Desh: otfcc: enable darwin
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbess
<NixOS_GitHub> nixpkgs/master 167a7c2 Dominik Xaver Hörl: oneko: set correct meta.platforms
<NixOS_GitHub> nixpkgs/master 94713c6 Orivej Desh: Merge pull request #32090 from xaverdh/master...
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
erictapen has joined #nixos
asymmetric2 has quit [(Ping timeout: 240 seconds)]
fragamus has joined #nixos
bfrog has quit [(Ping timeout: 250 seconds)]
steshaw has joined #nixos
steshaw has left #nixos []
markus1189 has joined #nixos
truh has quit [(Ping timeout: 258 seconds)]
markus1199 has quit [(Ping timeout: 268 seconds)]
MP2E has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbeGr
<NixOS_GitHub> nixpkgs/master 7adc867 Orivej Desh: ttfautohint: 1.6 -> 1.7, Qt 4 -> Qt 5, support darwin
<NixOS_GitHub> nixpkgs/master 37056c3 Orivej Desh: iosevka: enable parallel building
NixOS_GitHub has left #nixos []
dan_b has quit [(Ping timeout: 240 seconds)]
jb55 has joined #nixos
MarcWebe1 has quit [(Quit: leaving)]
MarcWeber has joined #nixos
acarrico has joined #nixos
andymandias has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
jb55 has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] samdroid-apps opened pull request #32092: eolie: init at 0.9.13 (master...add-eolie) https://git.io/vbeZP
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
_ris has quit [(Ping timeout: 240 seconds)]
asuryawanshi has quit [(Ping timeout: 260 seconds)]
oida has quit [(Ping timeout: 248 seconds)]
jb55 has joined #nixos
oida has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
<samueldr> hmmmmmmmmmmmmmmm
ditadi has joined #nixos
<samueldr> wondering how sandboxed nix with qemu-user could wreak havok in the store; emptying binaries that otherwise work not sandboxed
<samueldr> but basically, as soon as I try to go sandboxed, the (arm) bash binary becomes a zero byte file
jb55 has joined #nixos
<clever> samueldr: is the qemu-user in the sandbox?
<samueldr> added to the sanboxPaths array using `(toString pkgs.qemu-user-arm)`
<samueldr> still, if it wasn't there, how/why would it empty the arm bash?
<clever> yeah, that doesnt sound right at all
ditadi has quit [(Client Quit)]
* samueldr is trying without the qemu-arm in the sandbox paths
<gchristensen> in the sandbox or on the host?
<samueldr> from the arm board, I'm nixos-rebuild ... --build-host duffman.local
<samueldr> duffman.local is the x86_64 host
<samueldr> assuming that the bash worked before nixos-rebuild, if I rebuild with sandboxed build on duffman, it stops with "Exec format error"
jb55 has quit [(Ping timeout: 240 seconds)]
<samueldr> which I traced to the binary in the store path, on the x86 host being an empty file
<samueldr> I am able to reproduce at will
WilliButz has quit [(Quit: WeeChat 1.9.1)]
WilliButz has joined #nixos
WilliButz has quit [(Client Quit)]
WilliButz has joined #nixos
WilliButz has quit [(Client Quit)]
WilliButz has joined #nixos
justanotheruser has joined #nixos
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 240 seconds)]
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
<samueldr> hmmm, I have it tracked down I think
<samueldr> I don't know how to really do a standalone test case
<samueldr> the bash that gets emptied-out only gets emptied out on sandbox build if I put it in the sandbox paths
<samueldr> with or without qemu-user-arm...
<samueldr> though, in the end, I don't need it there, only qemu-user-arm.
nuncanada has quit [(Quit: Leaving)]
hariel has quit [(Remote host closed the connection)]
hariel has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
slack1256 has quit [(Remote host closed the connection)]
mbrgm has joined #nixos
andymandias has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<vaibhavsagar> hi, how do I get this merged? https://github.com/NixOS/nixpkgs/pull/31395
<vaibhavsagar> my usual approach of pinging occasionally doesn't seem to be workign
mizu_no_oto has joined #nixos
tempeh has quit [(Ping timeout: 268 seconds)]
srdqty has joined #nixos
tempeh has joined #nixos
srdqty has quit [(Client Quit)]
hamishmack has quit [(Quit: hamishmack)]
<adisbladis> vaibhavsagar: I CCed the appropriate people
<vaibhavsagar> thanks adisbladis :)
hamishmack has joined #nixos
<infinisil> Stack on nix kinda sucks
<infinisil> I guess I should try to use nix's package set instead, but then a lot of benefits of stack are void
<vaibhavsagar> infinisil: stack on nix is the worst of both worlds
<vaibhavsagar> you have stack's policy of building everything from source, and you have nix's way of breaking if you miss a system dependency
<infinisil> heh yeah
<infinisil> Also I sometimes need to remove ~/.stack (which contains everything stack downloads), for some goddamn reason
<infinisil> otherwise i get a weird error
asuryawanshi has joined #nixos
<infinisil> A neat way to try out haskell packages: nix-shell -p 'haskellPackages.ghcWithPackages (p: with p; [ aeson ... ])' --run ghci
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<fearlessKim[m]> where is the code that imports a local folder to the nix-store ? I have a derivation with src=/home/teto/mptcp over which I try to run my fetchgitLocal PR but it still fails on the cp part https://github.com/NixOS/nixpkgs/pull/31937/files#diff-c7bec12494f11831828500ff286831d8R17 "cp: cannot stat '/home/teto/mptcp/.git': Permission denied"
orivej has quit [(Ping timeout: 248 seconds)]
<infinisil> Are you serious, I needed to delete ~/.ghc-mod to make ghc-mod work ----.----
<samueldr> in case anyone else than ylwghst needed cursors in lightdm-gtk-greeter: https://github.com/NixOS/nixpkgs/issues/22652#issuecomment-347072104
<clever> fearlessKim[m]: this forcibly stops nix from importing things as your current user, and just passes the string directly to the builder
<clever> fearlessKim[m]: and the job runs as nixbld1, so it just lacks permission to read the files
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3c93a197d1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/37056c3724 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<fearlessKim[m]> clever I get that there is a permission error, I just don't know how to work around that. Folders in /nix/store are owned by root so some parts of the nix process must be run as root (and the others as nixbuild),, I dont know which though. I would like to be able to do the "cp" call without changing my folders permission
Sonarpulse has joined #nixos
<clever> fearlessKim[m]: do you even need fetchgitlocal?, could you just use that directory directly?
drakonis has quit [(Read error: Connection reset by peer)]
<fearlessKim[m]> clever: well that's another concern, it's the kernel I develop on via a nix-shell. As such it has the patches applied and so when I try to nix-build it the config fails to apply the patches and the build process fails. I want to use fetchgitlocal so that unstaged changes (aka the patches) get ditched and that the folder can build easily.
<fearlessKim[m]> I have been trying to change the kernel derivations to be more flexible, aka build the config along the way but it's a huge undertaking
MP2E has quit [(Remote host closed the connection)]
MP2E has joined #nixos
<samueldr> fearlessKim[m]: can you `namei -nom /home/teto/mptcp/.git` and gist/pastebin the output?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] elitak opened pull request #32094: stm32flash: 1.0 -> 0.5 (master...stm32flash) https://git.io/vbe4S
NixOS_GitHub has left #nixos []
<fearlessKim[m]> (I can compile it from the nix-shell via $buildPhase but then I also need to nix-build at the same time so that nixops can launch my custom kernel)
<samueldr> (obviously, man namei beforehand if you don't know what it does)
<fearlessKim[m]> clever: http://nixpaste.lbr.uno/yTz7sjXh?nix
<samueldr> if you chmod o+x /home/teto, and try again fearlessKim[m]
<petersjt014[m]> are there any quirks/ specific things I should look out for with video drivers?
<petersjt014[m]> right now I have no control over my screen brightness. it just kinda changes when it feels like it
<petersjt014[m]> I can post my config file if that helps
<samueldr> petersjt014[m]: please do can't hurt, and especially, the hardware you're using
<samueldr> screen brightness, I'm assuming it's a laptop
<samueldr> intel gpu? nvidia, amd?
<fearlessKim[m]> samueldr: that fixes it, but I would rather have nix copy (even if it s temporary) it into the store as root so that I don't have to change my HOME permissions. How can I do that ?
<samueldr> I don't know
<samueldr> see this SO answer for the meaning of +x on a directory: https://unix.stackexchange.com/a/21252
<petersjt014[m]> it looks like a rebuild I started earlier is still going. I'm gonna have to give it a minute or five.
tempeh has quit [(Ping timeout: 255 seconds)]
tempeh has joined #nixos
fakenullie has quit [(Remote host closed the connection)]
<ldlework> https://nixos.org/nixos/manual/index.html#sec-modularity "Note that both configuration.nix and kde.nix define the option environment.systemPackages. When multiple modules define an option, NixOS will try to merge the definitions. In the case of environment.systemPackages, that’s easy: the lists of packages can simply be concatenated."
<ldlework> Actually, the example code shown does not define environment.systemPackages
<ldlework> error in docs?
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
<ldlework> great
<samueldr> you found a documentation bug! \o/
<samueldr> harder bugs to find, it needs people that reads the documentation
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<petersjt014[m]> that's my config
<petersjt014[m]> messy and full of funtime screen glitches but otherwise pretty okayish
<ldlework> samueldr, In the section about "Abstractions", "What if you need more than one argument, for instance, if we want to use a different documentRoot for each virtual host? Then we can make makeVirtualHost a function that takes a set as its argument, like this:" It seems weird to describe the function with multiple arguments as taking a "set". The syntax for passing multiple arguments just looks like set syntax. In reality, when the function had
<ldlework> one arugment, you could pass a set to it.
acarrico has quit [(Ping timeout: 248 seconds)]
<ldlework> probably a nitpick though
hariel has quit [(Remote host closed the connection)]
Stammon has joined #nixos
Maxdaman1us is now known as Maxdamantus
moet has joined #nixos
<Stammon> Hi There. I've got some questions related to my nixos and homemanager configuration.
<Stammon> First of all, I've got 3 screens which I want to be put in the right order and one of them rotated. I expect this can be configured in the nixos configuration. I'm missing the correct option to tell the xserver my settings though.
<moet> is there something like ghcWithHoogle for the current cabal2nix generated expression?
johnw has joined #nixos
reinzelmann has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
aw has quit [(Quit: Quitting.)]
spacefrogg has quit [(Remote host closed the connection)]
aw has joined #nixos
spacefrogg has joined #nixos
alhariel has joined #nixos
<fearlessKim[m]> Stammon: you can add in home-manager xsession.initExtra to run xrandr commands
scode has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
babyflakes has joined #nixos
<fearlessKim[m]> Iam trying to use the kernel config buildPhase https://github.com/NixOS/nixpkgs/blob/0d9f2f0bb497020af31c93706cdf970a3db4bdfc/pkgs/os-specific/linux/kernel/generic.nix#L112 from another derivation (i.e. "buildPhase = ... + kernelConfig.buildPhase"), the "$generateConfig" (generateConfig = ./generate-config.pl;) doesn't seem substituted as the others (when run with set -x, bash displays "perl -w" instead of "perl -w
<fearlessKim[m]> STHG/generate-config.pl). any idea how to work around that ?
ma27 has joined #nixos
ma27 has quit [(Client Quit)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
orivej has joined #nixos
pie_ has quit [(Ping timeout: 276 seconds)]
moet has quit [(Quit: leaving)]
<etu> Sigh... Linux 4.14 requires 5.2.1 of vbox which requires vagrant 2.0.1... which breaks for me and I don't have the time to debug it... Will try to make time for that soon
<Stammon> fearlessKim: Thats what I'm currently doing. Isn't there a way where I can write my configuration in nix instead of using a xrandr command
MP2E has quit [(Remote host closed the connection)]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #32094: stm32flash: 1.0 -> 0.5 (master...stm32flash) https://git.io/vbe4S
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
reinzelmann has joined #nixos
<fearlessKim[m]> had to hack a bit but ${generateConfig} does the trick
ma27 has quit [(Ping timeout: 276 seconds)]
thc202 has joined #nixos
Harpalus has joined #nixos
ssmike has joined #nixos
ssmike1 has joined #nixos
ssmike has quit [(Ping timeout: 264 seconds)]
ssmike1 is now known as ssmike
<petersjt014[m]> Anyone know how to change the backlight kind? Mine is acpi0 when I'm pretty sure it shout just be 'intel'
Harpalus has quit [(Quit: Leaving)]
<petersjt014[m]> Should i rerun the hardware scan or something?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #32098: treewide: Use `binPrefix` instead of `prefix` for platform name prefixes (master...binPrefix) https://git.io/vbe2K
NixOS_GitHub has left #nixos []
MP2E has joined #nixos
ivan has joined #nixos
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #32099: restic: 0.7.1 -> 0.8.0 (master...upgrade-restic) https://git.io/vbeaZ
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
wajsel has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 276 seconds)]
Tucky has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
<MichaelRaskin> petersjt014: what is in /sys/class/backlight ?
asuryawanshi has joined #nixos
<MichaelRaskin> I just write scripts to write into the level file there, then run them using sudo or an equivalent mechanism.
<petersjt014[m]> aMichaelRaskin a symlink to '../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0'
<fearlessKim[m]> "nix-instantiate --eval --expr 'with (import <nixpkgs>) {}; clang.default_cxx_stdlib_compile'" returns gcc paths :s "/nix/store/dpza5shcrnf4m8rjsbxb34hf1vnppbbp-gcc-6.4.0/bin/gcc" :s
<MichaelRaskin> What is inside the symlinked directory?
<Ralith> nix's default clang uses the gcc stdlib impl, libstdc++
<Ralith> wouldn't be binary compatible with g++-built stuff otherwise
<petersjt014[m]> lemme see if this copies nicely
* petersjt014[m] sent a long message: petersjt014[m]_2017-11-27_08:18:54.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/czIIycNbaGRdWmjFYAzjcJKH>
<MichaelRaskin> Right.
civodul has joined #nixos
<petersjt014[m]> actual_brightness is wrong, and nothing sofar is able to change the actual screen
jensens has joined #nixos
<MichaelRaskin> Hm. normally, if I load all the feasible modules, echoing 1 and the contents of max_brightness to brightness gives different outcomes in at least one such directory.
FRidh has joined #nixos
<petersjt014[m]> somewhere in the config files for the graphical installer is an option that enables the correct intel driver or whatever it is
rosa has joined #nixos
<rosa> I need help
<MichaelRaskin> Do you have this options to load all the drivers enabled?
<MichaelRaskin> Should be something about udev, don't remember what exactly.
vincent_vdk has quit [(Ping timeout: 240 seconds)]
<rosa> how does nix os patch the zle .so modual loading as zsh seems to make no syscall to load/access it
<petersjt014[m]> I think trying all of the drivers is the default
<petersjt014[m]> yeah looks like it
* petersjt014[m] sent a long message: petersjt014[m]_2017-11-27_08:24:46.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/qFrXnYiAUAshMyUcNLYugdzo>
<MichaelRaskin> Hm. Strange you don't have intel_backlight
<MichaelRaskin> Well, I would also try playing with xorg.xbacklight as a last resort
<petersjt014[m]> I have
<petersjt014[m]> I get "No outputs have backlight property"
<MichaelRaskin> Hm.
<MichaelRaskin> About loading all drivers: I meant the kernel modules with drivers, not the videoDrivers.
<petersjt014[m]> boot.initrd.availableKernelModules?
<MichaelRaskin> boot.hardwareScan
<MichaelRaskin> Hm, default is true.
joelpet has quit [(Ping timeout: 240 seconds)]
<petersjt014[m]> I'm the 'usually' in the description
<petersjt014[m]> one sec while I try something
<MichaelRaskin> Apparently, no: not finding anything to regulate the backlight…
sigmundv has joined #nixos
rosa has quit [(Read error: Connection reset by peer)]
<petersjt014[m]> There is probably going to be something in the graphicall installer
<petersjt014[m]> gotta be a reason it works perfectly there
<MichaelRaskin> Ah, it does work in the graphical installer?
<MichaelRaskin> Interesting.
davidak has quit [(Quit: Leaving.)]
<petersjt014[m]> yup. intel driver instead of acpi0
<MichaelRaskin> Hm.
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to staging: https://git.io/vbew2
<NixOS_GitHub> nixpkgs/staging caa3599 John Ericson: binutils-wrapper: Remove stray file left over from old revert...
<NixOS_GitHub> nixpkgs/staging 43e00f7 John Ericson: cc-wrapper: Fix stray binPrefix -> targetPrefix...
<NixOS_GitHub> nixpkgs/staging c634647 John Ericson: Merge branch 'ericson2314-cross-base' into staging...
NixOS_GitHub has left #nixos []
<petersjt014[m]> I wanted to see if i can refactor the cd iso's nixfile to pull in all the imports
<petersjt014[m]> so I can trawl thru it
<petersjt014[m]> I'm guessing there's some repl magic that can do that
<petersjt014[m]> or to see the end result of an evaluation
zzamboni has quit [(Ping timeout: 240 seconds)]
vincent_vdk has joined #nixos
rogue_koder has quit [(Quit: Konversation terminated!)]
zzamboni has joined #nixos
<petersjt014[m]> If im in the repl how can I load& eval my config? rn i get:
<petersjt014[m]> :l /etc/nixos/configuration.nix
<petersjt014[m]> error: cannot auto-call a function that has an argument without a default value (‘config’)
<petersjt014[m]> I don't know what to feed it
bennofs has joined #nixos
<MichaelRaskin> I am not sure you can load this, it is supposed to be loaded by <nixos> via a complicated fixpoint mechanics
goibhniu has joined #nixos
* petersjt014[m] sent a long message: petersjt014[m]_2017-11-27_08:46:12.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/bKjAGrZjGlmJICackzDBNZej>
<petersjt014[m]> copied that from somewhere
<jluttine> i'm writing a derivation for python application (salmon-mail) and then a salmon service based on that. i want users to be able to specify python packages that the salmon can find. how should i do that? override salmon build inputs in the service config?
<makefu> jluttine: you could extend the pythonpath in the systemd service
<makefu> or you could create a python environment
asuryawanshi has quit [(Remote host closed the connection)]
<makefu> i have for devpi + devpi web: pkgs.python3.buildEnv.override { extraLibs = [ devpi-web devpi-server ]; }
<jluttine> hmm.. is either one more preferred way? or what's the difference
asuryawanshi has joined #nixos
<jluttine> makefu: doesn't your example modify the build env of all python packages?
davidak has joined #nixos
<makefu> no, it creates a new buildEnv based on the python3 buildEnv
<fearlessKim[m]> thanks Ralith
<jluttine> makefu: ah! ok, thanks! i'll try that
<Ralith> fearlessKim: if you want libc++, there's llvmPackages.libcxxClang and libcxxStdenv, fwiw, but beware binary compat issues
pie_ has quit [(Ping timeout: 248 seconds)]
ertes-w has joined #nixos
<Ralith> (you can always override everything you want to use libcxxStdenv of course, if you don't mind lots of compiling; Nix is convenient like that)
joelpet has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
MP2E has quit [(Remote host closed the connection)]
townsend has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<fearlessKim[m]> could the mix of compiler header generate a "posix_spawn failed: Permission denied" ?
phreedom has quit [(Ping timeout: 240 seconds)]
townsend has quit [(Client Quit)]
<fearlessKim[m]> my bad the program expects path to binary and not folder
townsend has joined #nixos
pie_ has joined #nixos
<makefu> jluttine: there is https://nixos.org/nixpkgs/manual/#building-packages-and-applications for a reference. it seems there is a new interface which is called python.withPackages, maybe you also want to check this out
phreedom has joined #nixos
rosa has joined #nixos
<rosa> Welp redirecting openat() to ./ did not work
<rosa> what does a return code of -2 in openat mean
rosa has quit [(Quit: rosa)]
<Shados> Can you make firefox wrapper use the dev edition somehow...?
sigmundv has quit [(Ping timeout: 248 seconds)]
hotfuzz_ has quit [(Read error: Connection reset by peer)]
Mic92 has joined #nixos
hotfuzz_ has joined #nixos
<tilpner> Shados - Have you seen firefox-devedition-bin?
<makefu> Shados: alternatively there is https://github.com/mozilla/nixpkgs-mozilla
<Shados> tilpner: That's literally what I'm using, and looking at it now it is wrapped. But either flash doesn't work with firefox-58 or the wrapper is somehow working differently... although looking at it, it shouldn't be, I think?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #32101: exim: Fix for CVE-2017-16943 RCE vuln (master...exim-CVE-2017-16943) https://git.io/vbeK4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to release-17.09: https://git.io/vbe6f
<NixOS_GitHub> nixpkgs/release-17.09 814f3a6 adisbladis: exim: Fix for CVE-2017-16943 RCE vuln...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbe6n
<NixOS_GitHub> nixpkgs/master cd3bdc9 Joerg Thalheim: cheat: 2.2.1 -> 2.2.2
<NixOS_GitHub> nixpkgs/master d0f3035 Joerg Thalheim: iozone: 3.434 -> 3.471
NixOS_GitHub has left #nixos []
Capprentice has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vbe6Q
<NixOS_GitHub> nixpkgs/master 9216f5f Izorkin: zsh-command-time: init at 2017-05-09 (#32083)
NixOS_GitHub has left #nixos []
Lisanna3 has joined #nixos
<hyper_ch> Hmmm, I have a kvm guest that I setup with virt-manager, now I'd like to assign a usb device to it. It seems to work fine with virt-manager, but when I try to boot it, I get errors
civodul has joined #nixos
FRidh has quit [(Remote host closed the connection)]
vcunat has joined #nixos
<Isorkin> Mic92: Hi. Need to change in PR https://github.com/NixOS/nixpkgs/pull/32075 rev to date release?
<Mic92> Isorkin: yes
<Isorkin> ok
FRidh has joined #nixos
Arcaelyx_ has quit [(Ping timeout: 258 seconds)]
bennofs has quit [(Ping timeout: 255 seconds)]
ssmike1 has joined #nixos
Arcaelyx has joined #nixos
<Mic92> Isorkin: you can skip the date if you use a released version
ssmike has quit [(Ping timeout: 255 seconds)]
ssmike1 is now known as ssmike
<Isorkin> Mic92: this not released, beta
<Mic92> Isorkin: what about the rc canidate? https://github.com/SpiderLabs/ModSecurity/tags
<Isorkin> no, 2017-11-17 date
<Isorkin> commit update
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 3 new commits to master: https://git.io/vbePN
<NixOS_GitHub> nixpkgs/master 9fc1bf7 Tuomas Tynkkynen: hubstaff: Fix quoting for older Nix versions...
<NixOS_GitHub> nixpkgs/master cb008da Tuomas Tynkkynen: owncloud: Don't build during evaluation...
<NixOS_GitHub> nixpkgs/master dc5cd78 Tuomas Tynkkynen: tests/initrd-network-ssh: Don't build during evaluation...
NixOS_GitHub has left #nixos []
townsend has quit [(Ping timeout: 248 seconds)]
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
bennofs has quit [(Ping timeout: 260 seconds)]
townsend has joined #nixos
h30 has quit [(Remote host closed the connection)]
bennofs has joined #nixos
h30 has joined #nixos
h30 has quit [(Remote host closed the connection)]
mrkgnao has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #29401: nixos/xserver: fix X.org session script logging (master...logx) https://git.io/v5Q3t
NixOS_GitHub has left #nixos []
wajsel has quit [(Quit: Leaving)]
bennofs has quit [(Ping timeout: 268 seconds)]
astronavt has quit [(Remote host closed the connection)]
townsend has quit [(Ping timeout: 248 seconds)]
astronavt has joined #nixos
akapav has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
townsend has joined #nixos
akapav has joined #nixos
asuryawanshi has quit [(Ping timeout: 250 seconds)]
astronavt has quit [(Remote host closed the connection)]
astronavt has joined #nixos
sigmundv has joined #nixos
astronavt has quit [(Client Quit)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #32104: fish: 2.6.0 -> 2.7.0 (master...fish-2_7_0) https://git.io/vbeM6
NixOS_GitHub has left #nixos []
<aminechikhaoui> Hi, is there a command that will allow me to do something like nix-store --delete <path> where path is in an s3 store ?
<aminechikhaoui> seems like nix 1.12 don't have a subcommand for that
<aminechikhaoui> and not sure if nix-store can allow that somehow
<aminechikhaoui> I would hate to delete s3 objects manually as I consider that a bit risky
<LnL> might work with the new sore uris
akapav has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<aminechikhaoui> LnL: how is that ?
ylwghst 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/80c5cf80f2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
akapav has joined #nixos
<vcunat> aminechikhaoui: you can override the store location to operate on - to various kinds of stuff
<aminechikhaoui> vcunat: you mean like this ?
<vcunat> but I haven't really used that yet
<aminechikhaoui> nix-store --delete /nix/store/zvh012siic1nhhnwz7d5797nn3iadq89-zlib-1.2.11-static --store "s3://amine-testing?profile=lb-dev"
<aminechikhaoui> 0 store paths deleted, 0.00 MiB freed
<aminechikhaoui> error: requested operation is not supported by store 's3://amine-testing'
<vcunat> yes, apparently not implemented for S3 yet :-)
<LnL> yeah, like that or NIX_REMOTE=s3://bucket
orivej has quit [(Ping timeout: 240 seconds)]
<LnL> don't remember what the uri is supposed to look like
<vcunat> BTW, do you know what are URIs to S3 on our binary cache?
<vcunat> I know our cloudfront URLs.
ylwghst has quit [(Client Quit)]
<vcunat> (cache.nixos.org/nar/**)
<vcunat> but S3 is supposed to support ?torrent
<vcunat> and that doesn't seem to work on the cloudfront ones
<vcunat> (My knowledge of the Amazon services is very poor.)
<LnL> think the bucket is nix-cache
<aminechikhaoui> yeah but I would guess that the point is to not use the bucket
<fpletz> LnL: yeah, looks like it :)
<vcunat> whose point?
<LnL> cloudfront caches stuff to reduce bandwidth costs
<vcunat> well I only want the ?torrent query, so that would be super-small
flyx has quit [(Excess Flood)]
flyx has joined #nixos
<vcunat> (and the long-term point of that is to reduce usage of cloudfront and S3)
ertes-w has quit [(Ping timeout: 255 seconds)]
<LnL> sure, aminechikhaoui's point was just that people shouldn't use s3 directly
ertes-w has joined #nixos
<aminechikhaoui> yeah
<LnL> except for the ec2 hydra builders because it's free within the network
Isorkin has quit [(Ping timeout: 248 seconds)]
hamishmack has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vbeST
<NixOS_GitHub> nixpkgs/staging 1f79b94 Jan Tojnar: glib: recognize NIX_GSETTINGS_OVERRIDES_DIR variable...
<NixOS_GitHub> nixpkgs/staging 510737c Jan Tojnar: nixos/gnome3: override schemas using env variable...
<NixOS_GitHub> nixpkgs/staging 337e900 Vladimír Čunát: Merge #31683: glib: Add variable for overriding schemas
NixOS_GitHub has left #nixos []
truh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vbeSN
<NixOS_GitHub> nixpkgs/staging 1dba3c0 Jan Tojnar: meson: pass library install paths to g-ir-scanner...
<NixOS_GitHub> nixpkgs/staging 6589519 Vladimír Čunát: Merge #31453: meson: library install paths for g-ir-scanner
NixOS_GitHub has left #nixos []
<sphalerite> I'm having some trouble with the DPMS options on the console. `TERM=linux setterm --blank force </dev/tty1` worked once, now it's not working, and I don't really get why. Any ideas?
Isorkin has joined #nixos
mumux has joined #nixos
ma27 has joined #nixos
simukis has joined #nixos
alexteves has joined #nixos
<alexteves> I'm about to buy a custom pc and plan to install nixos on it. How can I tell if which wifi network adapters will work with nixos?
<tommyangelo> Is any one else having trouble with purescript-0.11.7 ? It fails to compile with a type mismatch error.
Guest52155 has joined #nixos
mumux has quit [(Quit: Leaving)]
mumux has joined #nixos
hamishmack has joined #nixos
fendor has joined #nixos
<hyper_ch> hmm, did someone get USB assigning to VMs working with qemu/kvm (virt-manager)?
townsend has quit [(Ping timeout: 255 seconds)]
bennofs has joined #nixos
ma27 has quit [(Ping timeout: 276 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/814f3a6116 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
ma27 has joined #nixos
townsend has joined #nixos
bennofs has quit [(Ping timeout: 248 seconds)]
ma27 has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
bgamari has quit [(Ping timeout: 246 seconds)]
scode has quit [(Read error: Connection reset by peer)]
wavewave has quit [(Read error: Connection reset by peer)]
adelbertc has quit [(Read error: Connection reset by peer)]
georgew has quit [(Read error: Connection reset by peer)]
teozkr has quit [(Read error: Connection reset by peer)]
scode has joined #nixos
cstrahan has quit [(Ping timeout: 250 seconds)]
sdemos has quit [(Ping timeout: 250 seconds)]
wavewave has joined #nixos
sa1 has quit [(Ping timeout: 264 seconds)]
adelbertc has joined #nixos
teej has quit [(Ping timeout: 240 seconds)]
georgew has joined #nixos
gleber_ has quit [(Ping timeout: 240 seconds)]
yurrriq has joined #nixos
philips has quit [(Ping timeout: 264 seconds)]
teozkr has joined #nixos
mpickering has joined #nixos
sdemos has joined #nixos
sa1 has joined #nixos
luto has joined #nixos
philips has joined #nixos
cstrahan has joined #nixos
teej has joined #nixos
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vbe7d
<NixOS_GitHub> nixpkgs/staging 14a754f Lancelot SIX: nettle: 3.3 -> 3.4...
<NixOS_GitHub> nixpkgs/staging 40a2973 Vladimír Čunát: Merge #31853: nettle: 3.3 -> 3.4
<NixOS_GitHub> nixpkgs/staging 529c5c5 Vladimír Čunát: gnutls: 3.5.15 -> 3.6.1...
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 276 seconds)]
asuryawanshi has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
orivej has joined #nixos
erictapen has quit [(Ping timeout: 276 seconds)]
ma27 has quit [(Ping timeout: 276 seconds)]
ma27 has joined #nixos
iyzsong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbeFx
<NixOS_GitHub> nixpkgs/master ee933bd adisbladis: fish: 2.6.0 -> 2.7.0
<NixOS_GitHub> nixpkgs/master 75e0ef8 Jörg Thalheim: Merge pull request #32104 from adisbladis/fish-2_7_0...
NixOS_GitHub has left #nixos []
townsend has quit [(Ping timeout: 240 seconds)]
phreedom has quit [(Ping timeout: 240 seconds)]
townsend has joined #nixos
phreedom has joined #nixos
aloiscochard has joined #nixos
erictapen has joined #nixos
tomster has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc force-pushed unstable-aarch64 from 0ea9e57 to bc9e48d: https://git.io/vSSlm
<NixOS_GitHub> nixpkgs/unstable-aarch64 bc9e48d Graham Christensen: Netboot: Add aarch64
NixOS_GitHub has left #nixos []
<tomster> when running nix-shell against a default.nix - will it install packages from the user's nix-channel settings or use the global ones (as defined in /etc/nixos/configuration.nix)? i'm asking because i've set my personal nix-channel to follow unstable but i seem to be getting old versions of the packages when i run nix-shell
<gchristensen> tomster: /etc/nixos/configuration.nix can't define channels, but: run `nix-info` please?
<tomster> gchristensen: nix-info 13:28
<tomster> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-17.09.2182.7f6f0c49f0", channels(tomster): "nixpkgs-18.03pre121255.45a85eaceb", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
Neo-- has joined #nixos
<tomster> ah, if i interpret that correctly, the nix-shell should be getting things from unstable, right?
<gchristensen> if your default.nix imports <nixpkgs>, it'll import /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<tomster> gchristensen: how can i make it import from unstable?
zetok has quit [(Ping timeout: 240 seconds)]
<tomster> basically i want to try this project with newer versions of its dependencies
<gchristensen> as your user, run nix-channel --list
<tomster> nix-channel --list 13:29
<gchristensen> hm that is annoying isn't it
Neo--- has joined #nixos
<hedning[m]> tomster `nix-shell -I nixpkgs=path/to/repo -p package`
Neo-- has quit [(Remote host closed the connection)]
<gchristensen> echo $NIX_PATH ?
<tomster> hedning[m]: yes, that's what i've gathered so far, i'm just not sure what to use for path/to/repo :-)
<tomster> i found https://www.johbo.com/2016/build-a-nix-derivation-against-a-specific-channel.html but that uses only pinned channels in its example
<tomster> my understanding is, that the url has to point to an actual .tgz
<tomster> and i found no way to see what nixpgs are available
Neo---- has joined #nixos
<gchristensen> it doesn't need to be a .tgz
<gchristensen> do you have this directory: /nix/var/nix/profiles/per-user/tomster/channels/nixpkgs ?
<tomster> gchristensen: i tried this: nix-shell -I nixpkgs=https://nixos.org/channels/nixpkgs-unstable --command fish
<tomster> downloading ‘https://nixos.org/channels/nixpkgs-unstable’... [0/0 KiB, 0.0 KiB/s]
<tomster> unpacking ‘https://nixos.org/channels/nixpkgs-unstable’...
<tomster> tar: This does not look like a tar archive
<gchristensen> that's right
<gchristensen> if you point it to a URL, it must be a tar. but do you have that directory I asked about?
<tomster> yes, i do
<gchristensen> try nix-shell -I nixpkgs=/nix/var/nix/profiles/per-user/tomster/channels/nixpkgs --command fish
acarrico has joined #nixos
zetok has joined #nixos
<tomster> gchristensen: the fog is beginning to lift, thanks!
<tomster> it's now downloading a shit ton of new stuff :)
<gchristensen> great :)
Neo--- has quit [(Ping timeout: 276 seconds)]
erictapen has quit [(Ping timeout: 276 seconds)]
<tomster> btw do i need to exit a nix-shell before running it again?
<gchristensen> probably should
<tomster> what's the best way to update a nix-shell after updating default.nix?
<gchristensen> can you do me a favor and open an issue on github about this, describing what you were trying to do, how you tried to do it (with a user channel), that it didn't work, and this workaround?
<gchristensen> (please include the value of the $NIX_PATH env var)
<tomster> gchristensen: i'm not sure it's an issue, it worked immediately after you told me what to try
<gchristensen> I gave you a workaround, but I'm pretty sure it is a bug that a user can't override the nixpkgs channel without the workaround
<tomster> gchristensen: you mean pointing it explicitly to my personal nix profile should normally be redundant?
<gchristensen> yeah
<tomster> because implicit?
<tomster> hm
<tomster> how can i tell whether i'm currently inside a nix-shell?
<gchristensen> $IN_NIX_SHELL
<tomster> i often end up quitting the terminal because i hit ctrl-d once too many...
<tomster> is there a safer way to end a nix-shell other than hitting ctrl-d?
<tomster> something like the deactivate command from python's virtualenv for example?
<hedning[m]> exit
<tomster> hedning[m]: that's just the same as ctrl-d no?
<hedning[m]> ah, yeah
<gchristensen> there is no safety issue
<tomster> if i exit one time too much i lose my window
<adisbladis> tomster: I added a little snowflake to my prompt so I know when Im in a nix-shell
<gchristensen> oh I see
<tomster> can i update a nix-shell from the inside?
<tomster> or can i tell *which* nix-shell i'm in? i often move between projects and then try to run project B's tools using project As shell... doh!
ssmike1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #32106: iosevka-bin: init at 1.13.3 (master...iosevka/bin) https://git.io/vbepe
NixOS_GitHub has left #nixos []
<gchristensen> I use shellHook in a shell.nix help me
Wizek_ has joined #nixos
<adisbladis> tomster: You could add some stuff to shellHook to set some environment variables
<gchristensen> things like PS1="(fooproj) $PS1"
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<gchristensen> you could do function leave() { exit }
fendor has quit [(Ping timeout: 248 seconds)]
<tomster> adisbladis but that would be per project then, right?
ssmike has quit [(Ping timeout: 260 seconds)]
ssmike1 is now known as ssmike
<adisbladis> tomster: Yes it would
<gchristensen> this is my favorite: HISTFILE = "${src}/.bash_hist";
<tomster> ah, i thought the reason for default.nix would be that it could be shared as-is between developers
<tomster> i don't want to fill it with stuff that is my personal preference
<adisbladis> This one is my favourite: ${python3Packages.pygments}/bin/pygmentize ./README.md
<adisbladis> Super nice way to communicate changes in a team
ylwghst has joined #nixos
periklis has joined #nixos
<tomster> ah, sort of like a welcome message/ "previously, in this nix shell...."
<gchristensen> adisbladis: you could have it source another file in the directory which isn't in git, then people can customize that
<adisbladis> tomster: ^
phreedom has joined #nixos
<tomster> yup, that sounds sensible
<gchristensen> oops, thanks adisbladis :) also we should probably make a "cool nix-shell things" wiki page
<tomster> oh yes, that would be cool!
<makefu> gchristensen: wasn't "HISTFILE=${builtins.toString ./.}/histfile" the killer move as it always hits the correct directory?
<makefu> ah :D
<tomster> unfortunately, all of this was for naught in this case because the versions inside unstable are still too old (i.e. don't contain the bugfix i'm after)...
<tomster> i'm using chef/kitchen which is written in ruby, is there a way to install newer versions of ruby gems that haven;t been nixified yet?
<makefu> this hint could become part of an "Developing with nix-shell" article (which does not exist yet)
<gchristensen> yeah, makefu
<gchristensen> tomster: what exactly are you getting from nix? the gem? or chef? or kitchen?
<tomster> btw if i do `nix-env -i foo` inside a nix-shell will that install it into my profile or into the project?
<tomster> gchristensen: i install chefdk and vagrant in the default.nix
<gchristensen> it'll install in to your project
<tomster> nice!
<gchristensen> no
<gchristensen> I didn't mean to say that
<gchristensen> it'll install in to your _profile_
<tomster> damn
<gchristensen> fwiw I never use nix-env, I exclusively use nix-shell and nixos' systemPackages
<tomster> i want something like a sandbox where i can nix-env install stuff until i have the right stuff and then put that into my default.nix
<tomster> it's cumbersome to edit the default.nix, exit the shell, re-enter the shell etc.
<gchristensen> aye, the good news is you only have to do that every so often
<tomster> currently it's *all* that i'm doing...
<tomster> i need to get a newer version of test-kitchen otherwise i can't continue to work on this particular problem...
<gchristensen> yeah but once your shell is good you can stop for a while
<tomster> true
<tomster> when i run nix-env -q inside a shell, how can i tell where the package is from?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vbehN
<NixOS_GitHub> nix/master 6567ab9 aszlig: build-remote: Fix missing log output...
<NixOS_GitHub> nix/master 3c470c9 Eelco Dolstra: Merge pull request #1699 from aszlig/fix-remote-build-log...
NixOS_GitHub has left #nixos []
<gchristensen> nix-env is ignorant of nix-shell, it is always from your profile
<tomster> i.e. i can see chefdk in there but i'm not sure if i a have a global version installed in my profile or if it's coming from my default.nix
<tomster> gchristensen: ah, ok
<tomster> i think i still have a throrough misunderstanding of what nix-shell does or should do
<tomster> does entering a shell that provide buildInputs cause those buildinputs to be added to my currently active profile?
<tomster> or does it create a new one based on that?
<gchristensen> no, it just adds the programs to your PATH
<tomster> and installs them if they don't exist yet, right?
<gchristensen> right, but it doesn't install them to your profile or any profile
<tomster> oh shit
fragamus has joined #nixos
<tomster> so now i polluted my profile with dozens of packages thinking all the while i was safe inside a nix-shell
<gchristensen> nix shells are essentially my secret weapon
<tomster> but if i add them to my default profile why use nix-shell at all?
<gchristensen> let's reverse that question, if you can use a nix-shell why use your default profile at all?
phdoerfler has joined #nixos
<tomster> i.e. what's the difference between running nix-env -i chefdk and entering a nix-shell that has chefdk as part of its buildInputs?
<tomster> gchristensen: well, that's actually what i have been doing so far, i didn't install anything into my profile
<tomster> my plan was to have global stuff in my /etc/nixos/configuration and everything else project specific inside the project's default.nix
<gchristensen> that is what I do, I don't use nix-env for anything
<tomster> but after entering a few of such shells won't my profile be full of the sum of all of those packages?
<gchristensen> I think you misread me :)
<tomster> i was actually quite surprised, even shocked to find chefdk inside the output of nix-env -q (run inside another, fresh terminal)
<gchristensen> "it doesn't install them to your profile or any profile"
<gchristensen> nix-shell won't touch your profile
<tomster> phew!
<tomster> yes i just double checked
<gchristensen> but if you ran nix-env, nix-env will, even if you're inside a nix-shell
<tomster> i think what happened was that at some point in nix-env installed chefdk
<tomster> i now uninstalled it, entered the shell and nix-env -q no longer showed chefdk in its output!
<tomster> but the kitchen command is available and working inside the shell (and only there)
<tomster> how can i tell what's made available via nix-shell once i've entered it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbejx
<NixOS_GitHub> nixpkgs/master 299e322 Chris Martin: nodePackages.html-minifier: init at 3.5.7
<NixOS_GitHub> nixpkgs/master 0811622 Jörg Thalheim: Merge pull request #32102 from chris-martin/pr/html-minifier...
NixOS_GitHub has left #nixos []
<srhb> tomster: You can't really, short of inspecting PATH or something.
ylwghst has quit [(Ping timeout: 240 seconds)]
<phdoerfler> Hi, quick question: Is this the established way of mounting a CIFS share from NixOS? fileSystems."/mnt/scratch" = { device = "//server/sharename"; fsType = "cifs"; options = [ "credentials=/root/cifs.credentials" "uid=philipp" "gid="users" "x-systemd.automount" "noauto" ]; };
ottidmes has joined #nixos
<gchristensen> I just assume "it has everything I need for this project" and any time that assumption is violated, I add it to the shell.nix
<tomster> gchristensen: ok, thanks
<joepie91> tomster: srhb: you can access the `buildInputs` env var from within a nix-shell
<tomster> gchristensen: is it better to use shell.nix or default.nix?
<joepie91> that shows you which packages are provided by it
tmaekawa has joined #nixos
<joepie91> you can derive available things from that
<gchristensen> tomster: I use shell.nix
<joepie91> esp in combination wiht PATH
<joepie91> wwith*
<joepie91> with***
<ottidmes> Has anybody used sedutils on NixOS? I am trying to leverage the builtin encryption of my new SSD for which I apparently have to use sedutils instead of LUKS
<tomster> hm. echo $buildInputs shows nothing
<tomster> but that's probably a fish-shell issue
mizu_no_oto has joined #nixos
<joepie91> no idea about fish, but it works for me :P
tmaekawa has quit [(Client Quit)]
oida has quit [(Ping timeout: 240 seconds)]
<tomster> ah, it does work
<tomster> i wasn't inside the shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vbvvo
<NixOS_GitHub> nixpkgs/master 2b74650 Tim Steinbach: hipchat: 4.30.0.1663 -> 4.30.2.1665
NixOS_GitHub has left #nixos []
<joepie91> heh
<tomster> ok, so how can i add an particular package in a newer version than available on the default channel?
<gchristensen> is this re chefdk?
<tomster> IOW i really, really need chefdk 1.3.43 for this project but untstable and stable only list 1.3.40 as latest
<tomster> gchristensen: you guessed it :)
<gchristensen> yeah hold tight a minute, I'm seeing about upgrading chefdk
oida has joined #nixos
<tomster> on my macbook i would simply do 'gem install --update chefdk' but i no longer bring my macbook to work ever since i switched to nixos two weeks ago :)
<gchristensen> would chef-dk (2.3.4) work?
<tomster> i have to say that besides such hiccups like this here i'm super, super happy with nixos
<tomster> gchristensen: hm, the latest release is 1.3.43
<tomster> never heard of 2.3.4
phdoerfler has quit [(Quit: Page closed)]
<gchristensen> uhh...
ylwghst has joined #nixos
<tomster> gchristensen: oh my!
<tomster> i just checked the project page...
<gchristensen> would 2.3.4 work? :)
<tomster> we are soooo way behind with 1.3.40 :)
<tomster> gchristensen: i'm sure it would!
<tomster> no wonder i'm being bitten by this super old bug...
<tomster> and it explains why my colleagues are not...
ylwghst has quit [(Client Quit)]
<tomster> because they are on macos and brew has a much newer version of chefdk...
ylwghst has joined #nixos
<tomster> oh, gee this explains a lot, actually
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 8 new commits to staging: https://git.io/vbvJc
<NixOS_GitHub> nixpkgs/staging f374434 Vladimír Čunát: libdrm: 2.4.84 -> 2.4.88
<NixOS_GitHub> nixpkgs/staging 6a71852 Vladimír Čunát: mesa: maintenance 17.2.4 -> 17.2.6
<NixOS_GitHub> nixpkgs/staging 734c21a Vladimír Čunát: xf86-input-libinput: 0.25.0 -> 0.26.0
NixOS_GitHub has left #nixos []
<tomster> gchristensen: am i understanding you correctly? are you actually upgrading chefdk for nixpkgs now?
<gchristensen> I'm looking in to it
<tomster> gchristensen: where would i find the definition of this package on github?
<tomster> the master branch pertains to unstable?
<gchristensen> yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #32107: chefdk: 1.3.40 -> 2.3.4 (master...chefdk-bump) https://git.io/vbvJP
NixOS_GitHub has left #nixos []
<tomster> ah and there is no 'stable' per se, just actual releases?
periklis has quit [(Ping timeout: 240 seconds)]
<gchristensen> release-17.09 tracks our current stable release
<tomster> gchristensen: and you are grahamc? :)
<gchristensen> tomster: can you run nix-shell -I nixpkgs=https://github.com/grahamc/nixpkgs/archive/8962b293c5421e53472486995822280a65643010.tar.gz --command fish
<gchristensen> and see if that chefdk works for you
<tomster> most certainly!
<gchristensen> I am grahamc on github :)
fendor has joined #nixos
<tomster> so my super deductive powers tell me you name is graham christensen?@? :-D
<gchristensen> :)
<tomster> your secret identity has been revealed!
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
ckauhaus has joined #nixos
<gchristensen> :)
<tomster> gchristensen: seriously, if this works, i would simply add custom package definitions to my projects in the future?
<gchristensen> well you can do that, sure
<tomster> and then reference those locally
<makefu> *throws ninja smoke bomb on the ground and disappears into the darkness*
<gchristensen> but it'd be better to get the patches upstream
<tomster> sure, that would be the next step
<tomster> first i need to test them locally
<ma27> tomster: you could've seen him face2face here: https://twitter.com/tpflug/status/924656148858441728
<tomster> unfortunately chef 2.3.4 doesn't work inside that shell
<gchristensen> what happens?
<tomster> https://3u.ro/paste/db7bRNfh#il0HxFQiJdXDE7Isz-+oS8PYQk3+OB8BvBxe9mZprQO
<tomster> this might be a ruby versions issue
<gchristensen> ouch
ma27 has quit [(Quit: WeeChat 1.9.1)]
<tomster> but i have no idea about ruby... i just use chef because that's what we use here where i work
ma27 has joined #nixos
webchat310 has joined #nixos
ma27 has quit [(Client Quit)]
ma27 has joined #nixos
<gchristensen> ah one moment
miko__ has joined #nixos
<gchristensen> tomster: can you run nix-shell -I nixpkgs=https://github.com/grahamc/nixpkgs/archive/3d8d5f5a0d51a0d1d57baa576680deac7addd966.tar.gz --command fish
<tomster> on it
<webchat310> Hi I got a startup question.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbvUN
<NixOS_GitHub> nixpkgs/master ba3a792 Orivej Desh: fish: enable parallel building
NixOS_GitHub has left #nixos []
<goibhniu> Hi webchat310, what's up?
<webchat310> I choose a different generation than default when booting (from the boot menu) in this case #13 but when I logged in and list generations it says 51, which is my latest. How can this be? What have I missed?
<tomster> gchristensen: false flag, i got the same error when running chef --version in the old version, too
<tomster> the command itself is working now!
<gchristensen> woot
<webchat310> a difference between 13 and 51 is what kernel is running. uname -a does agree with my choise on boot
<gchristensen> webchat310: how are you listing generations?
bennofs has quit [(Ping timeout: 255 seconds)]
<webchat310> sudo nix-env -p /nix/var/nix/profiles/system --list-generations
<webchat310> which gives me a list and points out current
<webchat310> I also did ls -l on the profile directory
<webchat310> ls -l /nix/var/nix/profiles/system
<webchat310> which points to 51
<gchristensen> hmm maybe current should say latest
<webchat310> My original problem is something else but I got hung up on this because it looked a bit strange and I think I got a missmatch between kernel and the profile I'm running
<webchat310> my original problem is that in X no windows are popping up, which I believe is after an --upgrade which bumped the kernel version. so I tried to load something old and work my way to the problem.
ma27 has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
ma27 has quit [(Client Quit)]
<gchristensen> yikes :/
<gchristensen> tomster: can you comment as such on the issue?
<tomster> gchristensen: ok, it's working now!
<gchristensen> tomster: also please do open that issue about channels and the workaround
<tomster> gchristensen: i still have an error but it's a different one :)
<tomster> i'm moving forward
<tomster> i would like to wrap this up and do a quick recap with you, if you don;t mind
<hyper_ch> my internet is down :(
<gchristensen> sure
ylwghst has quit [(Ping timeout: 252 seconds)]
<tomster> a) i will re-create the issue about the channels (i.e. start with a fresh project)
<tomster> b) using nix-shell doesn't actually populate the profile that was active when entering the shell, correct?
ma27 has joined #nixos
<tomster> c) but it does (or at least should) use the channel of that profile to install any missing packages?
<tomster> so the same shell.nix will produce different results depending on the channel configuration of the user entering the shell?
<gchristensen> a) thank you, b) correct, it doesn't touch the profile, it only manipulates environment variables, c) basically yes, but a bit more nuance to it
bgamari has joined #nixos
ylwghst has joined #nixos
<gchristensen> a) the only thing you need to do to recreate the issue is run nix-shell without `-I`
<tomster> gchristensen: re: a) doing that now
<tomster> how can i verify whether it did the right thing or not?
drakonis has joined #nixos
<gchristensen> ehh sorry it is hard for me to get in to now, as I've started my work day
<tomster> gchristensen: no worries, thanks for taking the time to help me! much appreciated!
gleber_ has joined #nixos
<tomster> have a good (work) day :)
<gchristensen> you're welcome! :) please do comment on PR #32107 that it works for you
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yuriaisaka opened pull request #32108: libskk: init at 1.0.2 (master...pr-libskk-init) https://git.io/vbvIJ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #31991: gnome3.gsettings_desktop_schemas: do not depend on gnome-backgrounds (staging...eschew-backrounds) https://git.io/vFxyX
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #32109: xf86-input-libinput: 0.25.0 -> 0.26.0 (master...xf86-input-libinput/0.26.0) https://git.io/vbvLq
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #32109: xf86-input-libinput: 0.25.0 -> 0.26.0 (master...xf86-input-libinput/0.26.0) https://git.io/vbvLq
NixOS_GitHub has left #nixos []
ylwghst has quit [(Quit: Lost terminal)]
leat has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
<vcunat> gchristensen: stamps of your public pushes are watched at work? :-) I think it won't hurt if the PR is open for half a day. Maybe some other reviewer from the community will catch up.
Capprentice has joined #nixos
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
pie_ has quit [(Quit: Leaving)]
pie_ has joined #nixos
<disasm> Is it possible to use a nixos-container on kubernetes? I'm guessing not since it isn't really an isolated container, requiring usage of nix store of host system.
ylwghst has quit [(Client Quit)]
<disasm> mainly my goal is to use nixos module system and have systemd running in the container.
<gchristensen> systemd can't run in docker IIRC
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ylwghst has joined #nixos
ylwghst_ has joined #nixos
bgamari has quit [(Ping timeout: 276 seconds)]
civodul has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
bgamari has joined #nixos
periklis has joined #nixos
JosW has joined #nixos
leat has joined #nixos
<mpickering> If I have a derivation I want to add to my local nixpkgs, where is the right place to add it? Is this what overlays are for?
erictapen has joined #nixos
iyzsong has quit [(Ping timeout: 260 seconds)]
<disasm> gchristensen: that's not quite true, it can even have privileges dropped: https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container/ but I also know that kubernetes supports container runtimes other than docker as well and was hoping someone might have done something a little less hacky.
<gchristensen> right on
<gchristensen> oh
<gchristensen> s/oh//
<gchristensen> disasm: how complicated of a systemd service are you looking to use?
Slabity35 has joined #nixos
ylwghst_ has quit [(Quit: Lost terminal)]
<disasm> gchristensen: php/nginx and want to log to graylog, might need telegraf for some time series data as well.
<gchristensen> so typically the k8s way would be to have different containers for each of those things
<disasm> I've never had much luck separating nginx from php-fpm :)
<gchristensen> yes, but what about telegraf?
<disasm> yeah, I could probably just volume mount the php socket file into the telegraf container, I'll give that a try
<disasm> I just like nixos containers, preference would be blow away the whole cluster, install nix on the nodes and use nixops :)
<disasm> but that ain't happening with this client, lol
ylwghst has quit [(Ping timeout: 276 seconds)]
Neo---- has quit [(Remote host closed the connection)]
Neo---- has joined #nixos
ma27 has quit [(Ping timeout: 276 seconds)]
ssmike1 has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ssmike has quit [(Ping timeout: 264 seconds)]
ssmike1 is now known as ssmike
<gchristensen> it seems people do typically split fpm and nginx: https://stackoverflow.com/questions/45677293/docker-for-nginx-and-php-fpm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbvsp
<NixOS_GitHub> nixpkgs/master 676b2ef Orivej Desh: dict: disable parallel building
NixOS_GitHub has left #nixos []
tempeh has quit [(Quit: WeeChat 1.9.1)]
Neo---- has quit [(Ping timeout: 240 seconds)]
m0rphism has quit [(Ping timeout: 268 seconds)]
fragamus has joined #nixos
ma27 has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
ahane has joined #nixos
<ahane> hi
<ahane> I'm very new to nix and am trying to use nix for building development environments via nix-shell on ubuntu.
<ahane> i followed a basic example and have this default.nix:
<ahane> { }:
<ahane> let
<ahane> pkgs = import <nixpkgs> { };
<ahane> in
<ahane> pkgs.stdenv.mkDerivation {
<ahane> name = "foo";
<ahane> buildInputs = [
<ahane> pkgs.php
<ahane> pkgs.php71Packages.composer
<ahane> pkgs.nginx
<ahane> pkgs.mysql57
<ahane> ];
<ahane> }
hotfuzz has joined #nixos
ylwghst has joined #nixos
<disasm> ahane: use gist or nixpaste
<ahane> sry maybe pastebin is better for code samples?
<ahane> ok
zzamboni has quit [(Quit: Leaving.)]
<disasm> ahane: so what you need is some form of process management. Doing that will put nginx, mysql, composer, php in the path, but you need some sort of script to start those services.
mizu_no__ has joined #nixos
hotfuzz_ has quit [(Ping timeout: 276 seconds)]
zzamboni has joined #nixos
<ahane> well right now i was happy with starting them manually but nginx tries to log to /nix/store/
<disasm> ahane: yeah, you need to create a nginx config file and pass -c nginx.conf
<disasm> ahane: exactly, that's using the nixos module system, so it creates the config file for you and changes logging to stdout/stderr for journald to pickup.
<ahane> okay wouldn't it be more consistent to configure nginx in the default.nix file?
<disasm> ahane: yeah, in that case you would do a writeText 'nginx-conf
<disasm> ahane: yeah, in that case you would do a writeText "nginx-conf" ''your config on multiple line''
<disasm> that would put the nginx config file in the store
<disasm> and then you'd run nginx -c /nix/store/<hash>-nginx-conf
<ahane> okay but im a bit confused with the semantics of the nix file, where would i place that command?
<disasm> but there's no automated way to handle any of that on non-nixos
<ahane> i wanted to do somehting like this
<ahane> ok
rogue_koder has joined #nixos
<disasm> ahane: in the let you'd create a variable with that writeText (see how the module does it)
zzamboni has quit [(Ping timeout: 240 seconds)]
<disasm> and then you'd need to do something with that in the derivation
<disasm> in the case of nixos, it uses to create a systemd unit file
<disasm> in this case, you could probably add it to buildInputs
<disasm> *I think* completely untested
<ahane> okay thank you
<ahane> its a bit hard in the docs so figure out what should work on nix-sans-os :)
<disasm> ahane: any time, glad to help! yeah, nixos is a game changer :)
<disasm> nix without nixos is just packages, you gotta manage everything else yourself.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #32110: python-carbon: disable on Python 3 (master...fix/carbon) https://git.io/vbvZw
NixOS_GitHub has left #nixos []
<ahane> so the whole "config" thing is just for nixos?
<disasm> ahane: yup
<disasm> ahane: a package can provide a systemd unit file that you could potentially link to /etc/systemd/system if there's no config file needed
<disasm> but not all packages do that and most services require some sort of configuration.
<disasm> you could also writeText a systemd unit file and a config file like we did above, and then symlink that to /etc/systemd/system
m0rphism has joined #nixos
<ahane> okay great :)
<disasm> ahane: don't worry, you'll be trying nixos in no time and be in the same position most of us are trying to convince others they should use it :)
ylwghst has quit [(Ping timeout: 248 seconds)]
alhariel has quit [(Remote host closed the connection)]
bennofs has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
alhariel has joined #nixos
townsend has quit [(Ping timeout: 264 seconds)]
adulteratedjedi has left #nixos []
phreedom has joined #nixos
dan_b has joined #nixos
ssmike1 has joined #nixos
ssmike has quit [(Ping timeout: 240 seconds)]
ssmike1 is now known as ssmike
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
townsend has joined #nixos
__red__ has joined #nixos
<jluttine> what is the default place for pid files in nixos?
<__red__> Question: When dealing with an application which is arguably made up of multiple other apps (I'm thinking about mastodon) - is there a recommended approach?
<__red__> I've not fully taken the application apart yet, but expect it's tightly coupled like all applications should(n't) be ;-)
zzamboni has joined #nixos
<ottidmes> I am confused about sourceRoot, if I do `ls linux/CLI` within the unpacked source archive within the nix store, it exists, but if I set sourceRoot to this, I get 'linux/CLI': No such file or directory. Does anyone know what I am doing wrong?
ixxie has joined #nixos
<disasm> jluttine: /run most of the time but I can't say with certainty all modules obey that
<gchristensen> and with many tools using systemd, many don't use pidfiles anymore
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<clever> ottidmes: sourceRoot must include the name of whatever it made
<clever> ottidmes: you usually want to append to sourceRoot in the right hook
<ottidmes> clever: Thanks, I was just about to try that last approach, and seems to work: postUnpack = "sourceRoot=\${sourceRoot}/linux/CLI/";
<ertes-w> apparently MS has just cut the support for the nixpkgs version of skype… does anyone know details about this? is it likely that there will be an update in the near future? can i do something to speed it up? unfortunately i'm bound to using skype for work
<clever> ertes-w: there is a new skype4linux in nixpkgs already
<ertes-w> ah, thanks… it doesn't seem to be in unstable yet, so i'll just install it from master
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 4 new commits to master: https://git.io/vbv0z
<NixOS_GitHub> nixpkgs/master 6c8763e Orivej Desh: ftgl: enable darwin
<NixOS_GitHub> nixpkgs/master 4a8cadd Orivej Desh: SDL2_image: support darwin
<NixOS_GitHub> nixpkgs/master 78af593 Orivej Desh: glew: fix darwin install name
NixOS_GitHub has left #nixos []
<clever> ertes-w: i'm using it on unstable
goibhniu has quit [(Ping timeout: 276 seconds)]
<ertes-w> clever: and you're online? i'm currently getting this message: "Sorry, this version of Skype is not supported anymore."
<clever> ertes-w: you also have to run skype4linux, not skype
<clever> correction: skypeforlinux
<ertes-w> i'm doing that
<ertes-w> 5.5.0.1 is the version i have from unstable
<ertes-w> and now i'm installing a new 5.5.0.1 from master
<clever> lrwxrwxrwx 1 root root 83 Dec 31 1969 /home/clever/.nix-profile/bin/skypeforlinux -> /nix/store/pa7cswj4rm0x02nrfar9sqj570pd3fm9-skypeforlinux-5.5.0.1/bin/skypeforlinux
<ertes-w> my hash is different
<ertes-w> m8ycanbq3wijgi6m1saqq30ld4filib7
<clever> same version though
<clever> oh
<clever> it doesnt work anymore
<clever> they borked the "new" version
<clever> thats why i moved to slack
<ertes-w> i wish i could move to something else
<clever> ertes-w: https://web.skype.com/
<ertes-w> ah, that works for now
<ertes-w> thanks
forgetful has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
erasmas has joined #nixos
<hyper_ch> how to attach usb devices to a kvm with virt-manager? I always get access denied
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
goibhniu has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
chessai has joined #nixos
<orivej> ertes-w: I'm going to update skype in https://github.com/NixOS/nixpkgs/pull/31466
zzamboni has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<infinisil> hyper_ch: You still using zfs encryption? Have you had any problems with the latest version in nixpkgs?
<hyper_ch> infinisil: yes and yes
<hyper_ch> still issues with zfs send
<hyper_ch> but tcaputi is working on it
<hyper_ch> it seems I'm the only one affected by it for some reason
<infinisil> oh damn, znapzend doesn't work, right
<hyper_ch> well, the problem isn't so much in the sending part but the receiving one
digitalmentat has joined #nixos
<hyper_ch> yes, zanpzend doesn't work
<infinisil> i remember that
<hyper_ch> wrote a little script myself though
<digitalmentat> I finally got luksSuspend / luksResume to work on NixOS (for those that saw the discussion over the weekend)
<infinisil> hyper_ch: Which does?
fragamus has joined #nixos
<hyper_ch> create snapshots and sends them
<digitalmentat> blogpost and a PR will be coming :)
<hyper_ch> but as said, problem for me is the -R flag
<hyper_ch> hence also neither incremental are working
<hyper_ch> infinisil: https://github.com/sjau/bash-stuff/blob/master/encZFSSend feel free to test it
<infinisil> Well damn, I'll have to test this myself then. I wanted to switch to zfs encryption today, but if i can't use znapzend this means no backups
zzamboni has quit [(Read error: Connection reset by peer)]
<hyper_ch> infinisil: look at my script... it's quite simple actually
tempeh has joined #nixos
<infinisil> hyper_ch: Oh, this is a different problem now, i thought you meant the older one about -R not working at all
<hyper_ch> -R works
<infinisil> Well it seems like a hardware problem
<hyper_ch> but causes for me spl panic on receiving
<hyper_ch> not a hardware problem
<hyper_ch> I ended up sending it to a file
<hyper_ch> (of course with raw flag)
<hyper_ch> spin up a kvm and give tcaputi access
<hyper_ch> he also gets the issue when trying to import it and he's working on a fix
<ertes-w> orivej: great, thanks
<tempeh> is there somewhere I can see all of the default values for mkDerivation? Like the default buildPhase?
<infinisil> hyper_ch: the zfsUnstable version in nixpkgs is like a month old lol
<hyper_ch> infinisil: so?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbv2z
<NixOS_GitHub> nixpkgs/master f7ac076 Raymond Gauthier: skypeforlinux: 5.5.0.1 -> 8.11.0.4
<NixOS_GitHub> nixpkgs/master 6158563 Orivej Desh: Merge pull request #31466 from jraygauthier/jrg/skypeforlinux_was_broken_update_to_latest...
NixOS_GitHub has left #nixos []
<hyper_ch> actually not, it's from nov. 16 IIRC
<infinisil> oh wait no
<infinisil> yeah, i must've misread
digitalmentat has quit [(Quit: Leaving)]
<hyper_ch> infinisil: "I downloaded the file (and made a backup). I am now able to reproduce the problems. I should be able to get them fixed tomorrow at the latest now. Thanks a lot for all the help." -> from last tuesday ;)
<hyper_ch> I guess thanks giving, black friday and the weekend intervened
<hyper_ch> but the important thing is, he can reproduce the issue
<hyper_ch> so, still sending 4x 150GB of data across the net a day for backup$
<hyper_ch> infinisil: had a look at my backup script?
<infinisil> hyper_ch: A quick look yeah
<infinisil> Well I'll just try with znapzend and see if it works for me
<hyper_ch> I doubt it will
<infinisil> Ohh you know what
<infinisil> I'll just not turn on encryption for now
<hyper_ch> :)
<hyper_ch> why?
<infinisil> maybe even use zfsStable, until encryption is more stable
<hyper_ch> encryption is only in unstable
periklis has quit [(Ping timeout: 276 seconds)]
<infinisil> yeah, but I don't /need/ encryption really
<hyper_ch> also don't forget: https://github.com/zfsonlinux/zfs/pull/6864
<infinisil> And I want to switch from luks -> ZFS to just ZFS
<hyper_ch> but you said you turn it on for now
<infinisil> then when encryption is more stable i can just enable it
<hyper_ch> and everyone needs encryption
<ottidmes> infinisil: I am planning to use sedutil to use the encryption on my SSD itself and have ZFS as well as my file sytem
<infinisil> i really just need to redo my filesystem asap, and I don't want to keep using luks over zfs
<hyper_ch> there's always native zfs encryption ;)
<ottidmes> infinisil: What is so bad about LUKS over ZFS? I am planning to do that on my NAS drives, since they do not have encryption support builtin?
<hyper_ch> infinisil: btw, you do I assign a usb device to a kvm? I just get "spice-client-error-quark could not redirect access denied"
<infinisil> ottidmes: We're currently in a discussion about the upcoming native ZFS encryption :)
<hyper_ch> ottidmes: nothing is bad about it
<hyper_ch> luks is well tested, stable and reliable
<infinisil> hyper_ch: Not doing that no
<ottidmes> hyper_ch: Ah, thanks, that is a relieve to hear
<hyper_ch> luks/dm-crypt I mean
<hyper_ch> native zfs encryption is rather new and needs testing
orivej has quit [(Ping timeout: 260 seconds)]
erictapen has joined #nixos
<ertes-w> nix-env seems not properly serialised… if i run two installations concurrently, only the one that finishes last wins… is this expected?
<hyper_ch> ottidmes: the thing that draws me to native zfs encryption is that before I had a setup like: 3-disk mdadm raid 1 --> luks/dm-crypt --> ext4 with debian+proxmox
<ertes-w> or is this a bug?
<hyper_ch> ottidmes: now it's encrypted root zfs -> nixos
<hyper_ch> and it's also remotely rebootable
<cransom> i'd love for the trim patches to finally land on zfsonlinux
<hyper_ch> actually, I do write a lot and delete a lot on my ssd
<hyper_ch> constaly somewhere between 60-160 GB free space on a 1TB samsung
<hyper_ch> and I haven't noticed any impacts yet
<hyper_ch> it was totally different with btrfs that needed constant rebalancing etc
<ottidmes> hyper_ch: remote rebootable, you mean you can enter the password for the encryption remotely? If so, I just always use something like dropbear to do so with LUKS
<hyper_ch> ottidmes: yes, pretty much the same way
<hyper_ch> because it can do that, that's why I set my office server with native zfs encryption as well
<hyper_ch> without being able to do that, I'd probably have chosen luks/dm-crypt
<ottidmes> hyper_ch: Right, very similiar. It indeed is a must have feature for servers, some of my VPS'es did have a VNC connection that I could use to enter my password, but SSH is preferable
<hyper_ch> ottidmes: it's really simple to get it to rung with nixos :)
ahane has quit [(Remote host closed the connection)]
sigmundv has quit [(Quit: Leaving)]
<pcarrier> is there a rosetta stone for the nixUnstable nix CLI? :)
<hyper_ch> no idea what a rosetta stone is
<pcarrier> hyper_ch: what Champollion used to decode Egyptian hieroglyphs. it was a stone with the same text in 3 languages.
<ottidmes> hyper_ch: I probably will patch my 17.09 install to have that change made in 18.03 that allows you to add udev rules to the initramfs, because that was one of the problems I have on some of my servers, it not being able to properly setup the network without the necessary udev rules
fendor has quit [(Ping timeout: 252 seconds)]
<hyper_ch> pcarrier: it's been several decades since I had history classes at school
<pcarrier> https://nixos.wiki/wiki/Cheatsheet would be rosetta stone between apt/dpkg and nix
pie_ has quit [(Ping timeout: 248 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pcarrier> it shows you "equivalent" commands for basic operatiosn
<hyper_ch> since I'm an honest person, I don't use cheatsheets ;)
ma27 has quit [(Ping timeout: 252 seconds)]
<hyper_ch> infinisil: so you don't know about usb devices and kvm?
<infinisil> Wait, are devices in linux infinitely long or something? I'm doing `dd if=/dev/urandom of=/dev/sda2` and it says it copies 200MB/s and keeps going for while. /dev/sda2 is only 3MB big
ma27 has joined #nixos
Tucky has quit [(Quit: WeeChat 1.9.1)]
<infinisil> hyper_ch: I do not
<hyper_ch> infinisil: well, if you'd use /dev/zero and had compression enabled it would make sense
<infinisil> /dev/sda2 is just a partition
Wizek_ has quit [(Quit: Leaving)]
<clever> infinisil: some character devices have no end, but the block devices usually have a size
<Dezgeg> you sure you didn't create a regular file of the same name?
<clever> Dezgeg: good idea
<infinisil> Dezgeg: Oh, checking
<clever> infinisil: ls -lh /dev/sda2
<infinisil> brw-rw---- 1 root disk 8, 2 Nov 27 18:01 /dev/sda2
<hyper_ch> oh, clever is back... maybe he's also clever about usb devices in kvm on nixos
<clever> hyper_ch: you need permission to the usb device under /dev/bus/usb/
fragamus has joined #nixos
<clever> infinisil: can you gist the full output of the dd command, just everything in the terminal
<hyper_ch> clever: so that needs to be chowned to my user?
<hyper_ch> or how do I get permission?
jensens has quit [(Ping timeout: 240 seconds)]
<hyper_ch> I found that as only thing related: https://github.com/NixOS/nixpkgs/issues/27199
<clever> hyper_ch: chown or chmod
<hyper_ch> will that survive reboot?
<hyper_ch> or can I do that in configuration.nix?
erictapen has quit [(Ping timeout: 268 seconds)]
<manveru> looks like nix-sandbox with flycheck in yaml files is broken due to the arg escaping
<infinisil> I am kinda worried about having overridden something important
<clever> infinisil: ls -ltrh /dev/
<hyper_ch> infinisil: that's what backups are for :)
<infinisil> clever: https://git.io/vbviH
<clever> infinisil: that is strange
<infinisil> I actually just changed the partitioning of my disk
<infinisil> Hold on, I feel like this error i got just for a second might be relevant
pie_ has joined #nixos
<hyper_ch> clever: so, chmodded to 0777 and it works..... but sure there's a better way to do that?
<clever> hyper_ch: write a udev rule to chmod it automatically
<hyper_ch> I just chmodded the whole usb tree
<hyper_ch> one more thing, is there a way in lib-virt to mark devices as "optional" .... so there's no error if they are not present?
<hyper_ch> because at home and office I have different usb stuff I want to attach to the vm
taaperotassu has joined #nixos
<infinisil> clever: Just after changing partitioning with fdisk i got this (Line 20-22): https://git.io/vbvPR
taaperotassu has quit [(Client Quit)]
taaperotassu has joined #nixos
<clever> infinisil: ls -l /proc/*/fd/* | grep sda
<clever> and also "mount" and "cat /proc/swaps"
szicari has joined #nixos
<clever> infinisil: also, what is sda2 supposed to be?
<infinisil> Previously: /dev/sda1: 8GB swap, /dev/sda2: rest. Changed it to /dev/sda1: 1GB EFI, /dev/sda2: 3MB key, /dev/sda3: 7GB swap, /dev/sda4: rest (unchanged)
<clever> Failed to remove partition 2 from system: Device or resource busy
dan_b has quit [(Ping timeout: 246 seconds)]
<clever> sda2 is still pointing to the rest of the disk
<clever> you need to close the programs using the partitions, or reboot
<toogley> i've done nixos-rebuild switch --upgrade . however, nix-env -qa firefox still shows no version 57, although https://github.com/NixOS/nixpkgs/pull/31663 was already merged 13 days ago
<clever> toogley: what branch are you on?
<infinisil> clever: Oh I see, soooo, did I overwrite something on the rest with the dd? Because that's all of my ZFS, but my computer still runs, sooo
<clever> infinisil: it was overwriting whatever sda2 previously pointed to
<infinisil> Heh, I'll keep the backup read then
<clever> in the asciinema, it overwrote the first 1gig of that
<infinisil> Oh, and since everything is loaded in RAM, it wouldn't have an effect.. until reboot
kosta has joined #nixos
<toogley> clever: or did you mean sth different?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vbv1f
<NixOS_GitHub> nixpkgs/master c0c503c adisbladis: mupdf: Fix for CVE-2017-15369
NixOS_GitHub has left #nixos []
<clever> toogley: yeah, that is a channel
<clever> toogley: let me look at it...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis reopened pull request #32113: strongswan: 5.6.0 -> 5.6.1 (master...strongswan-5.6.1) https://git.io/vbvwo
NixOS_GitHub has left #nixos []
<clever> toogley: what about "nix-channel --list" as both root and your user?
<clever> toogley: the latest thing on 17.09 is a revert of the firefox upgrade
<toogley> clever: aah, okay
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to release-17.09: https://git.io/vbv1z
<NixOS_GitHub> nixpkgs/release-17.09 7bafbc0 adisbladis: mupdf: Fix for CVE-2017-15369...
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
* infinisil is quickly creating a nixos usb stick before rebooting
<szicari> Howdy, all. Is there a viable replacement for myEnvFun? I’m creating a derivation using a default.nix, which I use by dropping into a nix-shell. Is there a way to “install” this as an env? I’ve been hearing that myEnvFun isn’t really preferred anymore.
<szicari> Here is my derivation: http://dpaste.com/1WR0E3W
Neo-- 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/0ecc0184e9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
JosW has quit [(Quit: Konversation terminated!)]
<kosta> What is the correct invocation? nix-instantiate tells me “error: cannot auto-call a function that has an argument without a default value (‘stdenv’)”
ThatDocsLady has quit [(Ping timeout: 276 seconds)]
mrkgnao has quit [(Ping timeout: 246 seconds)]
<kosta> how do I tell nix-instantiate to use the <nixpkgs>?
<kosta> and then instantiate the derivation from the file?
<infinisil> kosta: nix-build/nix-instantiate -E '(import <nixpkgs>{}).callPackage path/to/default.nix {}'
<goibhniu> szicari: have you tried calling nix-shell on that already?
<kosta> ok ill try that
<kosta> yes same issue
<szicari> goibhniu: Yes, and it works. Is that all I need to do in order to use and _preserve_ the libs my env needs?
<goibhniu> szicari: do you want them to be persistent, rather than reinstalling them every time you enter the shell?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #32116: Powerdns multiple CVE's (master...powerdns) https://git.io/vbvD0
NixOS_GitHub has left #nixos []
<kosta> infinisil: thanks that seems to work :)
<szicari> goibhniu: Yes, if possible.
<hyper_ch> ok, figured out how to make usb devices optional :)
<szicari> Is that even necessary? Seems like it is.
<kosta> maybe that should be documented as an example in nix-instantiate (or did i not see it?)
<infinisil> kosta: it's probably /somewhere/
kosta has quit [(Quit: kosta)]
vcunat has quit [(Ping timeout: 258 seconds)]
kosta has joined #nixos
<kosta> hehe yeah you need to document it where I can see it ;)
<goibhniu> szicari: you can use `nix-instantiate . --indirect --add-root $PWD/shell.drv` and then `nix-shell $PWD/shell.drv` to enter it (via https://beyermatthias.de/blog/2015/11/10/the-world-in-a-shell/)
<goibhniu> szicari: that will prevent it from getting garbage collected
<szicari> goibhniu: Reading the blog post.
<szicari> goibhniu: Genius, thanks! This is exactly what I was looking for.
<goibhniu> awesome! glad to help!
ambro718 has joined #nixos
<szicari> goibhniu: Oddly though - nix-collect-garbage -d still seems to remove the packages I’m using. If I run that and then re-enter nix-shell, it re-installs the packages.
<szicari> Maybe I’m doing something wrong.
<goibhniu> oh!
<szicari> I see the shell.drv in the local dir that is symlinked into the nix-store.
<szicari> So that part seems to be working.
<szicari> I notice the example in the blog post has a src attribute defined.
<szicari> I don’t have that.
<goibhniu> I thought --add-root would prevent that
<szicari> I’m on macOS. That might have something to do with it.
<szicari> I’ve noticed things that work in nix on *nix don’t always work on macOS.
<clever> the shell.drv doesnt act as a root for every input it has
<clever> it only roots the other .drv files it references
<szicari> clever: Is there an additional step I need to take?
<clever> gc-keep-derivations = true
<clever> gc-keep-outputs = true
<clever> szicari: i think you want these 2 options in /etc/nix/nix.conf
<szicari> clever: Will this have wide-reaching implications for what is garbage-collected?
<clever> szicari: i think it will only have an impact realted to .drv roots youve made
phreedom has joined #nixos
<szicari> clever: I’ll give it a try, thank you.
<szicari> Also thank you, goibhniu. Great to know there is ample support for nix. :)
<szicari> My favorite package manager and configuration tool.
<szicari> (and everything else that nix is)
<clever> :D
<goibhniu> \o/
cacatoes has quit [(Quit: WeeChat 1.6)]
davidak has quit [(Ping timeout: 250 seconds)]
<neonfuz> what's the best way to 'pin' a package at a certain version
<neonfuz> override it's version or something?
<clever> neonfuz: overriding version will almost never have an effect
<clever> neonfuz: you want to override the src
<neonfuz> alright yeah
<neonfuz> and that would have to be recompiled then on my machine right
<neonfuz> assuming the nix expression points to sources
<clever> yeah
<neonfuz> sweet
<infinisil> Confirmed: I prett much wiped my root filesystem
kosta has quit [(Ping timeout: 260 seconds)]
<infinisil> Currently restoring from a backup
<neonfuz> what is .config/nixpkgs/config.nix? can I put overrides in there?
davidak has joined #nixos
<neonfuz> can I manually edit .nix-channels or should I use nix-channel
<thoughtpolice> Has cross compilation been busted up/changed recently? I'm getting pretty obvious build failures in `master` in a lot of places I feel should be well tested, like zlib and ncurses? e.g. `nix-build --arg crossSystem '(import <nixpkgs/lib>).systems.examples.armv7l-hf-multiplatform -A zlib' fails immediately at configurePhase because 'cc' cannot be found...
<thoughtpolice> I'm sort of fixing my way through this, thing-by-thing, but I'm not sure if this is known or not, or if I'm wrong. And obviously for things like zlib/ncurses I'm not going to push to master, to avoid a large-scale rebuild, so for my own work I'll have something working, I hope...
mizu_no__ has joined #nixos
forgetful has quit [(Remote host closed the connection)]
<clever> neonfuz: just use nix-channel, and read its man page
forgetful has joined #nixos
zzamboni has joined #nixos
digitalmentat has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<thoughtpolice> The strange thing to me is that a lot of stuff actually works that's clearly either had the expression written in mind for crossSystem builds, or it uses something 'automagical' like autoconf which is standardized -- but how could zlib and ncurses not build? They seem nearly unavoidable for any non-trivial closure...
<tempeh> I'm working on adding drip, which is a wrapper around the "java" command. Where should that go in the package heirarchy?
nix-gsc-io`bot has joined #nixos
bennofs has quit [(Ping timeout: 246 seconds)]
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6158563b452 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
digitalmentat has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Quit: Leaving.)]
<neonfuz> any resource explaining how to override things like version?
<neonfuz> I'm just not sure where to put the override, I just know which variables I need to change
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
jmeredith has joined #nixos
hotfuzz_ has joined #nixos
tomster has quit [(Ping timeout: 255 seconds)]
zzamboni has joined #nixos
hotfuzz has quit [(Ping timeout: 248 seconds)]
townsend has quit [(Ping timeout: 276 seconds)]
greglearns has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<greglearns> Where do I report a problem with building Rust 1.20.0 and 1.21.0 on MacOSX 10.12.6 using nix-env version 1.11.15 ?
thc202 has quit [(Ping timeout: 260 seconds)]
thc202 has joined #nixos
ottidmes has quit [(Quit: WeeChat 1.9.1)]
fragamus has joined #nixos
averell has quit [(Quit: .)]
greymalkin has joined #nixos
<gchristensen> here, issue tracker, or ##nix-darwin are all good places
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
jensens has joined #nixos
jsgrant has joined #nixos
bennofs has joined #nixos
<LnL> greglearns: what's the issue?
<thoughtpolice> Sonarpulse: ping
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7bafbc0a7f5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rybern opened pull request #32121: drake-factual: init at 1.0.3 (master...add-drake-factual) https://git.io/vbvNs
NixOS_GitHub has left #nixos []
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
vcunat has joined #nixos
cement has joined #nixos
zetok has quit [(Ping timeout: 276 seconds)]
ylwghst has joined #nixos
zetok has joined #nixos
Guest52155 has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
ckauhaus has quit [(Quit: Leaving.)]
jensens has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #32122: efl: 1.20.5 -> 1.20.6, enlightenment: 0.22.0 -> 0.22.1 (master...upd.enlightenment) https://git.io/vbvAx
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kosta opened pull request #32123: brotli: 0.6.0 -> 1.0.1; brotli unstable 20160112 -> 20171117 (latest … (master...master) https://git.io/vbvxt
NixOS_GitHub has left #nixos []
<benley> It should work fine to use file:/// urls as arguments to binary-caches / extra-binary-caches / trusted-binary-caches in nix.conf, right?
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
zzamboni has quit [(Client Quit)]
mizu_no__ has joined #nixos
jb55 has quit [(Ping timeout: 240 seconds)]
truh has quit [(Ping timeout: 250 seconds)]
zzamboni has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
jb55 has joined #nixos
ssmike has quit [(Remote host closed the connection)]
forgetful has quit [(Quit: Leaving)]
ssmike has joined #nixos
ylwghst has joined #nixos
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
zzamboni has quit [(Client Quit)]
taktoa has quit [(Remote host closed the connection)]
orivej has joined #nixos
<infinisil> Nooo i forgot to mount boot :/
fragamus has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
<infinisil> A disadvantage of using nixops to build your local machine is that you can't use it to install it with a chroot
sigmundv__ has joined #nixos
<infinisil> Since I'm reinstalling everything now, I'll have to create a simple normal config, then boot into it, then use nixops to actually build my system
tempeh has quit [(Quit: WeeChat 1.9.1)]
<infinisil> Damnit i still can't boot
<schoppenhauer> hi. is anyone using android studio under nixos?
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<schoppenhauer> with working AVD?
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #32124: rambox: remove comment with email address (master...patch-11) https://git.io/vbvjU
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vbvju
<NixOS_GitHub> nixpkgs/master d341d28 Vaibhav Sagar: ihaskell/wrapper.nix: unify ihaskellEnv and ihaskell...
<NixOS_GitHub> nixpkgs/master e7f4979 Peter Simons: Merge pull request #31395 from vaibhavsagar/cleanup-ihaskell-wrapper...
NixOS_GitHub has left #nixos []
ylwghst has quit [(Remote host closed the connection)]
ilja_kuklic has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
_ris has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 7 new commits to staging: https://git.io/vbfeu
<NixOS_GitHub> nixpkgs/staging c66656a Dmitry Kalinkin: gnome-doc-utils: fix build for stores containing '+' character
<NixOS_GitHub> nixpkgs/staging 0124cbd Jan Tojnar: gtk-doc: clean up XML_CATALOG_FILES patch...
<NixOS_GitHub> nixpkgs/staging 6705f30 Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #32037: gtk-doc: clean up XML_CATALOG_FILES patch (staging...gtk-doc-cleanup) https://git.io/vFjfy
NixOS_GitHub has left #nixos []
davidak has quit [(Ping timeout: 240 seconds)]
<vcunat> I really hate these self-mentions sometimes.
<gchristensen> what do you mean self-mentions?
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
<greglearns> LnL: ok, problem solved re: Rust by using this instead: https://github.com/NixOS/nixpkgs/archive/7dfa97969a3d8ca0bce2c0d19bafbacd0f4b9c3e.tar.gz ? . Hydra was reporting failing builds for Rust on the
<greglearns> pinned version of nixpkgs that I was using.
<LnL> is that newer or older?
<vcunat> gchristensen: commits I do generate mentions from the bot
<vcunat> (causing notifications from the IRC client)
<gchristensen> oh I see
agjacome has joined #nixos
<gchristensen> I could adopt that functionality in to nix-gsc-io`bot
<gchristensen> and s/vcunat/vcu\nat/
zzamboni has quit [(Quit: Leaving.)]
<neonfuz> Any way to just install one package from nixos-17.09 but have the rest of my env using nixos-unstable?
<vcunat> gchristensen: hmm, yes, simple idea. I don't expect anyone wants to get the mentions.
<neonfuz> I tried adding nixos-17.09 named nixos-stable, and installing with nix-env -iA nixos-stable.theprogram
<gchristensen> I already get all the events, this wouldn't be a big project
<gchristensen> vcunat: of course, I'd have to make nix-gsc-io`bot more resilient than https://github.com/grahamc/network/blob/master/zoidberg/nix-channel-monitor/changes.sh#L148-L162
zzamboni has joined #nixos
<vcunat> :-)
<vcunat> neonfuz: that doesn't work?
<vcunat> (I think it should work, unless I missed some typo, etc.)
michaelpj has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
michaelpj has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<greglearns> LnL: 7dfa97969a3d8ca0bce2c0d19bafbacd0f4b9c3e.tar.gz works. 64413dec3e20029229a208d400b19c1776a0c925.tar.gz failed from yesterday, I believe. nixpkgs/archive/daf53c9a102e695d9ca0c2b48b231e8f2517264b.tar.gz was one I was using before for rust 1.20.0, which used to work on nix-env 1.11.13, but then started failing -- I don't know why.
<LnL> hmm, I'll take a look if I find some time
ssmike1 has joined #nixos
jensens has joined #nixos
ssmike has quit [(Ping timeout: 264 seconds)]
ssmike1 is now known as ssmike
sigmundv__ has quit [(Ping timeout: 276 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
notthemessiah has quit [(Quit: WeeChat 1.9.1)]
asuryawanshi has joined #nixos
webchat310 has quit [(Ping timeout: 260 seconds)]
_ris has quit [(Remote host closed the connection)]
_ris has joined #nixos
MP2E has joined #nixos
mbrgm has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mbrgm has joined #nixos
greglearns has quit [(Ping timeout: 260 seconds)]
orivej has quit [(Ping timeout: 260 seconds)]
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
dan_b has joined #nixos
<michaelpj> anyone used node2nix to package something with a custom npm script that needs to get run during packaging?
zzamboni has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
sigmundv has joined #nixos
zzamboni has joined #nixos
<dash> experiencing a curious breakage for awesome in unstable: https://bpaste.net/show/8581dd1762db
<dash> somehow there's a quoting problem going on, and I don't immediately see any commits that busted it
fragamus has joined #nixos
<pcarrier> so given buildFHSEnv is probably not the answer I'm trying to fully understand how it works
<pcarrier> it seems rather convoluted :)
zzamboni has quit [(Quit: Leaving.)]
jensens has quit [(Ping timeout: 276 seconds)]
<neonfuz> alright I'm figuring out things
jmc_fr`` has joined #nixos
<neonfuz> so I just used overrideAttrs to override the version (qbittorrent for reference) and it just worked
zzamboni has joined #nixos
<neonfuz> shouldn't I have to change the checksum? or is that just done for me?
LexLeoGryfon has joined #nixos
<neonfuz> oh lmao
<neonfuz> I just installed the new qbittorrent with the name of the old version... lmao
greglearns has joined #nixos
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<neonfuz> now I'm getting 'undefined variable ‘fetchurl’', should I not include the fetchurl part in my override?
infinisil has joined #nixos
Slabity35 has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vbfqp
<NixOS_GitHub> nixpkgs/master bfc0959 Vincent Laporte: ocamlPackages.cstruct: 2.3.2 -> 3.0.2
NixOS_GitHub has left #nixos []
<viric> I got mad two days because my cable ethernet wasn't working, none of my two NICs
<LexLeoGryfon> Why during boot OS doesn't ask for password for plain dm-crypt root partiotion? In my configuration.nix following string enables encryptmodboot.initrd.availableKernelModules = [ "keyboard" "keymap" "encrypt"];ule
<viric> today I noticed they switched eth0/eth1.
Turion has joined #nixos
<viric> and YET I prefer these names over those more fixed.
<Turion> How do I properly use texhash (or whatever) to find newly created LaTeX .sty files in my home directory?
<MichaelRaskin> Well, in my experience the theoretically-fixed names have _more_ options how to change than just changing places.
zzamboni has quit [(Quit: Leaving.)]
<Turion> Back on Gentoo I'd just run texhash or sudo texhash, but now this doesn't do anything, it seems
truh has joined #nixos
<neonfuz> awesome it worked
hariel has joined #nixos
<LexLeoGryfon> how to force plain dm-crypt to ask for password after booting initrd? (no LUKS)
alhariel has quit [(Ping timeout: 240 seconds)]
dieggsy has joined #nixos
truh has quit [(Ping timeout: 240 seconds)]
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
hiratara has quit [(Ping timeout: 276 seconds)]
davidak has joined #nixos
dieggsy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vbf3q
<NixOS_GitHub> nixpkgs/master 77cd7d7 José Romildo Malaquias: efl: 1.20.5 -> 1.20.6
<NixOS_GitHub> nixpkgs/master 3654c7e José Romildo Malaquias: enlightenment: 0.22.0 -> 0.22.1
<NixOS_GitHub> nixpkgs/master 7a87f16 Joachim F: Merge pull request #32122 from romildo/upd.enlightenment...
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 248 seconds)]
hiratara has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
hamishmack has joined #nixos
Turion has left #nixos []
jmc_fr`` has quit [(Ping timeout: 264 seconds)]
vcunat has quit [(Quit: Leaving.)]
Guest42105 has joined #nixos
bennofs has quit [(Ping timeout: 276 seconds)]
Neo-- has quit [(Remote host closed the connection)]
<cheshircat> has anyone managed to install matlab?
Neo-- has joined #nixos
<Guest42105> Hi all, I'm troubleshooting the build of the Beignet OpenCL derivation, probably a noob issue. In short, when I `nix-shell '<nixpkgs>' -A beignet`, the configure and build phases don't seem to do anything (I am running them from withing the Beignet source after unpackPhase).
asuryawanshi has quit [(Ping timeout: 268 seconds)]
<Guest42105> The derivation uses sdtenv, so I would expect the build to be orchestrated by the Nix build phases, but maybe CMake-based packages work differently?
<LnL> does it override the default phases?
rtjure has quit [(Ping timeout: 276 seconds)]
<Guest42105> No. There is a child package for tests that has an installPhase, but that's it.
<LexLeoGryfon> child... that's ILLEGAL to test on child
<LnL> ah yes, cmake probably has a setup hook that configures some extra stuff
<LnL> running genericBuild will run everything
<Guest42105> Sweet! Building :D
<LnL> if you want to execute stuff separately, it looks like cmakeConfigurePhase is added as an extra phase
truh has joined #nixos
<Guest42105> Got it. I should probably read over the cmake derivation, if I'm going to dig into a cmake project. Thanks again for the pointer.
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #32125: jenkins: 2.91 -> 2.92 (master...jenkins-2.92) https://git.io/vbfZc
NixOS_GitHub has left #nixos []
truh has quit [(Remote host closed the connection)]
agjacome has quit [(Ping timeout: 258 seconds)]
dieggsy has joined #nixos
miko__ has quit [(Ping timeout: 276 seconds)]
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
zzamboni has joined #nixos
szicari has quit [(Quit: szicari)]
adomas has joined #nixos
simukis has quit [(Ping timeout: 268 seconds)]
<Lisanna> So, I think I already know the answer to this... but Nix doesn't have a way to have a conditional on whether or not some expression successfully evaluates / builds or not, does it?
hiratara has quit [(Remote host closed the connection)]
<MichaelRaskin> builtins.tryEval for evaluation, but there are caveats.
<MichaelRaskin> Build-time is after evaluation-time, so no conditioning on build failures.
<Lisanna> oh, dang
ma27 has quit [(Ping timeout: 264 seconds)]
<Rovanion> Does anyone know how to set coolbits for a nvidia card?
<MichaelRaskin> builtins.tryEval _might_ be dropped when there is a good idea how to implement eval-release test without it and without full hydra.
<Lisanna> what do you mean?
greglearns has quit [(Ping timeout: 260 seconds)]
<Lisanna> what's it needed for currently?
hiratara has joined #nixos
<Lisanna> is it specifically for eval-release-test of nix programs?
<Lisanna> like lib?
<MichaelRaskin> It is used to allow contributors to check that traversing Nixpkgs to instantiate everything the meta.maintainers and meta.platforms containing the current system doesn't fail in a more interesting way than allowed.
<catern> hey #nixos
<catern> can you advise me on how to do something in the most Nix-y way possible?
<MichaelRaskin> Not sure if Hydra has something completely independent
<Rovanion> Or stated more generally, is it possible to attach a string 'Option "Coolbits" "4"' to the nvidia device section of xorg.conf?
<thoughtpolice> I fixed the ncurses crossSystem build apparently, but I have no idea how it ever worked. Is anyone actively maintaining this, or should I just bisect and write a ticket?
<MichaelRaskin> Rovanion: I think you can set deviceSection in X config
<catern> I have a default.nix for some Python software I am developing. I want to express a dependency from this Python software on a .json file in another package. Specifically this other package is coming from another proprietary package system. And I guess I am both 1. not sure how to idiomatically depend on a .json file from Python and 2. depend on a .json file that is inside a package in a proprietary package system
<catern> I can (and have) write the adapter for the proprietary package system so the package is represented as a derivation, but then I'm not sure what to do...
<Rovanion> MichaelRaskin: Ah, so I would define my own whole section. Could work. Thank youĸ
<Lisanna> So, for build-time stuff, I'll definitely have to move that outside of Nix, into something that calls into Nix to test if some build works or not. I guess this is what Hydra does with sources. Is there a more straightforward command-line way to pass build parameters into a nix-build or something?
<MichaelRaskin> Rovanion: no, it will _add_ to Section Device.
<MichaelRaskin> Rovanion: NixOS modules system is complicated
dieggsy has quit [(Remote host closed the connection)]
<thoughtpolice> Lisanna: Yes, you can just pass '--arg foo "some nix expression"' to nix-build, and if the default.nix is some function like `{ foo ? null }: ...`, then `foo` will have the result of the nix expression you pass in, or be null otherwise
<Lisanna> oh, cool
<Rovanion> MichaelRaskin: Well, that should reasonably, without testing, result in multiple device sections for the same nvidia card assuming there already is one automatically generated. Where is the final xorg.conf outputted,? It's not in /etc/X11/xorg.conf.
dieggsy has joined #nixos
<thoughtpolice> e.g. sometimes I use `nix-build --arg nixpkgs 'import <nixpkgs> {}'`, and I give my expression a 'nixpkgs' parameter, which otherwise defaults to some bootstrap method. But allowing the argument means I can override it pretty easily.
Guest42105 has quit [(Quit: leaving)]
<MichaelRaskin> Rovanion: No, it will add the deviceSection from config into each deviceSection
<Rovanion> Do you have an example I could look atŋ
Arcaelyx has quit [(Read error: Connection reset by peer)]
<MichaelRaskin> Not anything comprehensible (I don't use mainline NixOS, and when I cherrypick parts of NixOS the result is more complicated that you would want)
<MichaelRaskin> Just set services.xserver.deviceSection to the single line you want to add and see if it works.
<Rovanion> Right, will try!
<MichaelRaskin> exportConfiguration=true; will help debugging: it creates xorg.conf in /etc/
Arcaelyx has joined #nixos
phreedom has quit [(Ping timeout: 276 seconds)]
erictapen has joined #nixos
<Lisanna> okay, and --arg only works for functions that take a single pattern-matched attrset?
miko__ has joined #nixos
<Lisanna> (I haven't seen functions which take arguments like a: b: c and functions which take arguments like {a, b, c} disambiguated well, do they have different names or something?)
<LexLeoGryfon> guys, during boot my zfs pool is imported before it has been decrypted by dm-crypt. That's an issue. cuz pool encrypted - import fails. and dm-crypt doesn't ask for password. where I can check an boot order for dm-crypt prompt?
pmade has joined #nixos
<Lisanna> LexLeoGryfon: boot.initrd.luks.devices.<name?>.preLVM = true
<Lisanna> that might help you
<pmade> I have a problem with NixOps and a derivation containing shell scripts. On the deployment host the package is built and the fixup phase updates the shebang to the local bash. Then NixOps copies the derivation to an EC2 host. But the EC2 host doesn't get the same bash so the nix store paths in the script's shebang are wrong. How do I force bash to get copied too?
<LexLeoGryfon> I'm using plan dm-crypt, no LUKS\LVM
<LexLeoGryfon> and boot.initrd.luks.devices.<name?>.preLVM doesn't accept 'offset' as parameter
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Rovanion> Does anyone know how I could add my own xorg keyboard layout file? The equivalent of sudo cp ~/.config/xkb/symbols/qq /usr/share/X11/xkb/symbols/
fragamus has joined #nixos
sigmundv__ has joined #nixos
sigmundv__ has quit [(Client Quit)]
<hodapp> hrmph. tensorflowWithCuda still seemed borked on nixpkgs master
fragamus has quit [(Ping timeout: 240 seconds)]
gm152 has joined #nixos
miko__ has quit [(Ping timeout: 276 seconds)]
adomas has quit [(Quit: Konversation terminated!)]
phreedom has joined #nixos
chessai has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] puffnfresh opened pull request #32127: peek: init at 1.2.0 (master...package/peek) https://git.io/vbf4d
NixOS_GitHub has left #nixos []
ambro718 has quit [(Ping timeout: 258 seconds)]
<catern> hey #nixos, isn't there some program which patches all the RPATHs in a Nix store to be $ORIGIN
<catern> relative?
rosa has joined #nixos
<sphalerite> Can anyone recommend VPN software? I've been using tinc quite happily, but would like to set up another network with PKI or LDAP-based auth
jb55 has quit [(Ping timeout: 260 seconds)]
zzamboni has quit [(Quit: Leaving.)]
<andi-> Anyone able to push a fix for `cstruct` to master? Breaks due to a missing `homepage` attribute since https://github.com/NixOS/nixpkgs/commit/bfc0959511519af01c9f04ff171fd188f81d731d
<ivan> sphalerite: wireguard
<ivan> no PKI or LDAP there, though
<sphalerite> ivan: if I didn't need one of those I'd be using tinc :p
<cransom> nor crossplatform
<sphalerite> Cross platform isn't an issue, linux-only is fine for my use case (even nixos-only would be, but I'm not sure that's a thing xD)
rosa has quit [(Quit: rosa)]
<sphalerite> I could go back to the venerable openvpn, I've used that before... But I found it to be quite a hassle
jb55 has joined #nixos
<sphalerite> Then again, using PKI or LDAP is asking for a hassle x)
Stammon has quit [(Ping timeout: 240 seconds)]
<cransom> you could go back to ipsec :)
rosa has joined #nixos
LexLeoGryfon has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
fendor has joined #nixos
<sphalerite> cransom: Never used ipsec. How does it compare to openvpn?
<andi-> complexity
<catern> argh!
<catern> I swear there's something that makes Nix (or maybe Guix) use $ORIGIN
Neo-- has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu closed pull request #32093: libao: 1.2.0 -> 1.2.2 (master...u/libao) https://git.io/vbe8w
NixOS_GitHub has left #nixos []
Neo-- has joined #nixos
<catern> in other questions... I am wondering if it makes sense to write my own Python importer which allows one to import Nix packages, hmm...
<cransom> sphalerite: far more cumbersome than openvpn, but if you ever wanted to interface with a hardware network vendor, thats where you go.
<catern> what I ultimately want to do is run binaries (and load a little bit of data) in other Nix packages
<sphalerite> OK, not a concern. Openvpn it is!
<catern> I'm fine with depending on Nix itself, I just want to do it both Pythonically and Nix-ically
<pie_> bless whoever packaged opentyrian
<catern> does that sound crazy? should I really be thinking of writig something that would let me write "import nixpkgs.coreutils" as Python code??
<catern> hmm, I suppose it could encode mappings from package names to package paths in a file which is looked up relative to __file__ when I do "import nixpkgs.coreutils", so the paths would be absolute and nicely persisted
rosa has quit [(Quit: rosa)]
rosa has joined #nixos