darlan has joined #nixos
mellowmaroon has joined #nixos
mellowmaroon has quit [(Client Quit)]
darlan has quit [(Client Quit)]
bennofs1 has quit [(Ping timeout: 268 seconds)]
tywkeene has quit [(Quit: leaving)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mudri has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Read error: Connection reset by peer)]
phreedom has quit [(Ping timeout: 258 seconds)]
rnhmjoj has quit [(Quit: WeeChat 1.8)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] risicle opened pull request #26166: python: django-compat & django-hijack tests (also bump django-hijack) (master...django-compat-hijack-tests) https://git.io/vHcfw
NixOS_GitHub has left #nixos []
ambro718 has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
<ToxicFrog> Hmm.
<ToxicFrog> I'm trying to add an override for dosbox to build it in HEAVY_DEBUG mode
<ToxicFrog> so I do:
<ToxicFrog> configureFlags = ["--enable-debug=heavy"];
<ToxicFrog> buildInputs = oldAttrs.buildInputs ++ [ pkgs.ncurses ];
<ToxicFrog> And when configuring, -lncurses finds libncurses, but #include <curses.h> doesn't find curses.h, so it fails.
betaboon has quit [(Quit: This computer has gone to sleep)]
justanotheruser has quit [(Ping timeout: 246 seconds)]
<clever> ToxicFrog: did you use overrideAttrs?
<ToxicFrog> I'm using overrideDerivation, is that the wrong thing?
<clever> overrideDerivation happens after stdenv does messy things like renaming buildInputs to nativeBuildInputs
<clever> which is why the above didnt work
<clever> overrideAttrs was recently added to simplify things
<clever> that applies the overrides before all the renaming happens
<ToxicFrog> Specifically I have nixpkgs.config.packageOverrides = pkgs: { ... dosbox = overrideDerivation pkgs.dosbox (oldAttrs: ...); }
<ToxicFrog> Aah
<clever> it works the same way
<ToxicFrog> I will try that then, thanks!
<ToxicFrog> Still goes in packageOverrides?
<clever> yeah
<clever> nixpkgs.config.packageOverrides = pkgs: { dosbox = pkgs.dosbox.overrideAttrs (oldAttrs: ...); }
ris has quit [(Ping timeout: 240 seconds)]
equalunique_ has quit [(Ping timeout: 260 seconds)]
<ToxicFrog> It's aliiiive!
<ToxicFrog> Thank you!
<clever> yep
justanotheruser has joined #nixos
s33se has joined #nixos
s33se_ has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
lambdamu_ has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
lambdamu has quit [(Ping timeout: 240 seconds)]
jsgrant_ has quit [(Ping timeout: 260 seconds)]
jsgrant__ has joined #nixos
acarrico has quit [(Read error: Connection reset by peer)]
dejanr has joined #nixos
acarrico has joined #nixos
dejanr has quit [(Ping timeout: 245 seconds)]
yegods has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 245 seconds)]
mbrgm has joined #nixos
spinus has quit [(Ping timeout: 260 seconds)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
thc202 has quit [(Ping timeout: 268 seconds)]
Raimondi has quit [(Read error: Connection reset by peer)]
Raimondi has joined #nixos
derjohn_mob has joined #nixos
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
mizu_no_oto has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello!
<boomshroom> I'm wondering; is it possible to make a nixfile that generates a derivation and prepares its source?
<dash> boomshroom: .... sure?
<dash> tell us more :)
<boomshroom> I'm trying to write a script to download rust crates directly from crates.io without going to the project's github.
<dash> using fetchFromGithub?
<boomshroom> The problem is that downloading a crate via the crate.io api doesn't include Cargo.lock, which buildRustPackage depends on for reproducible builds.
simukis has quit [(Quit: simukis)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
<boomshroom> Basically, I want to emulate cargo install as a nix derivation.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Gabriel439 opened pull request #26168: kati: init at 2dde61 (master...gabriel/kati) https://git.io/vHcI4
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 245 seconds)]
<boomshroom> An unrelated question that I've been wondering about is if it's possible to create a user profile with all packages on unstable, but still be able to switch back and forth to a stable profile.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] samueldr opened pull request #26169: ibus-m17n: fix homepage URL. (master...fix_m17n_homepage) https://git.io/vHcIz
NixOS_GitHub has left #nixos []
<dash> boomshroom: sure
hexagoxel has joined #nixos
<boomshroom> Aside from that, I got my macbook back to normal and am now attempting to install nix on it.
<clever> boomshroom: nix does a good deal to ensure all builds are pure, so a normal nix build cant get network access to query things and make the cargo.lock
<clever> boomshroom: though if you flag it as fixed-output, you can get network, but youll need to run that generate step twice
drakonis has joined #nixos
justanotheruser has joined #nixos
<clever> boomshroom: any derivation that defines these 3 attributes is fixed-output, it will get network access, and the hash of $out must match what it declared
<clever> boomshroom: so your free to do pretty much whatever you want in there, as long as its reproducable, and you declare the final hash (nix-build will tell you the right one)
darlan has joined #nixos
<boomshroom> Does anyone know if crates.io provides checksums for crates?
<clever> and nix uses a slightly different algo for hashing $out, so you cant reuse hashes upstream gives
<boomshroom> So everything has to be done manually? :(
<clever> boomshroom: what is the command you run to generate a cargo.lock?
<boomshroom> cargo generate-lockfile
<boomshroom> can nix-files generate other nix-files that could be shared? I'd guess probably not.
<clever> ah wait, what i was thinking wont work right
<clever> i was thinking a fixed-output derivation can generate the cargo.lock
<clever> but once upstream changs things, generate-lockfile will make something differnt, and fetch just fails
<boomshroom> I could always write a script in another language to generate the nix-file. Then I'd have to maintain a repository of Cargo.lock files for each crate I install.
<clever> about all i can think of is to run "cargo generate-lockfile" inside a nix-shell against a copy of $src
<boomshroom> The idea is to not write a brand new script for each crate.
<clever> yeah, i would keep a git repo with nix+cargo.lock pairs, you could just overwrite them, and let git history keep the history
<clever> ive run into similiar problems when trying to package gradle stuff in nix
dmzet has joined #nixos
rcschm has quit [(Remote host closed the connection)]
ertesx has joined #nixos
<boomshroom> Is it possible to bundle a file directly with a nix-file? Pretty sure I can't given that it's a text file
ertes has quit [(Ping timeout: 246 seconds)]
ertesx is now known as ertes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26169: ibus-m17n: fix homepage URL. (master...fix_m17n_homepage) https://git.io/vHcIz
NixOS_GitHub has left #nixos []
rcschm has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
Bradyn2000 has joined #nixos
rcschm has quit [(Ping timeout: 240 seconds)]
sellout- has quit [(Ping timeout: 240 seconds)]
<boomshroom> How do I specify multiple source files to a derivation?
sellout-1 has joined #nixos
<boomshroom> I haven't seen MultiMC in years. :O
<dmzet> guys, i added jdk and logstash on contents for dockerfile but it doesnt build the image.
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<dmzet> getting this error. "cp: cannot overwrite non-directory 'layer/bin' with directory '/nix/store/nvylp8ss2jhvwn0x94zbmgx5d2n6s1kg-logstash-2.3.4/bin' "
<boomshroom> What's the best way to access a local file given that I haven't setup a git repository for lockfiles yet
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Ping timeout: 268 seconds)]
akaWolf has joined #nixos
akaWolf has quit [(Read error: Connection reset by peer)]
akaWolf has joined #nixos
<boomshroom> These flipping semicolons. D:<
rcschm has joined #nixos
justanotheruser has quit [(Ping timeout: 260 seconds)]
<boomshroom> I just enabled sshd in my configuration.nix, but when I remote in, my PATH is limited to /nix/store/...sshd.../bin
rcschm has quit [(Ping timeout: 246 seconds)]
<boomshroom> How do I make remote clients see the same path as when logged in normally?
<clever> boomshroom: can you gist the configuration.nix?
<boomshroom> Oops, my real name is in there.
<clever> line 80 is wrong
<clever> that needs to be "${pkgs.fish}/bin/fish";
<clever> 38 might also be a problem
<boomshroom> the shell has worked fine and /run/current-system/sw/bin/fish is in /etc/shells
fifo23 has joined #nixos
<clever> check passwd though, you should see that the shell in there isnt set right
<clever> which is from line 80
mizu_no_oto has joined #nixos
<boomshroom> When logging in remotely, fish starts up and immediately complains that it can't find tmux or hostname.
justanotheruser has joined #nixos
<boomshroom> the website provides "[ pkgs.bashInteractive pkgs.zsh ]" as the example for environment.shells
<clever> ah, then shells is probably fine
<clever> try fixing just line 80
mizu_no_oto has quit [(Ping timeout: 245 seconds)]
<boomshroom> the website also gives pkgs.nologin and pkgs.bashInteractive as values for the user shell, so it's the same format.
<clever> what does /etc/passwd say the shell is?
<boomshroom> clever: /run/current-system/sw/bin/fish
<clever> oh, does your .fishrc or similiar do things like mess with $PATH?
<boomshroom> my config.fish doesn't touch the path, but is supposed to launch tmux if not already in tmux.
<clever> ah, try commenting that out, then ssh in and try tmux
<clever> ive got an idea as to whats going on
<boomshroom> Now it's just complaining about hostname. PATH hasn't changed though.
<clever> try it without the config.fish temporarily
<boomshroom> no change from last time.
rcschm has joined #nixos
<clever> cant think of anything else to check
<clever> it normally just works
mbrock has joined #nixos
<mbrock> Is there a defined precedence for the Nix channel list? Like, the one you added latest with `nix-channel --add' is the one that's preferred?
<clever> when using nix-env -iA, you directly give it a channel name
<clever> for nix-build/nix-shell it will obey $NIX_PATH
<clever> so you can just read $NIX_PATH to see the priority
<mbrock> My custom channel is a Nixpkgs fork, so I don't think nix-env -iA would specify it uniquely? I distribute a software package and will recommend users to install Nix and add my custom channel, and I'm wondering what exact instructions to give them regarding channels.
<clever> mbrock: if the channel is named "foo" in nix-channel --list, then you can just nix-env -iA foo.firefox
<mbrock> Ahh, OK, cool!
<mbrock> That's perfect, thanks.
<boomshroom> nix-env -iA ${pkg} -f ${path_to_repo}
<clever> that also works, but requires them to know the path
<boomshroom> can nix add shells when not in nixos?
<nixy> Is it possible to have nix-env query just one channel?
<nixy> boomshroom: What do you mean by add shells? Like install bash and fish?
<boomshroom> Tto /etc/shells, yes, on Mac OSX.
<nixy> They won't be added to /etc/shells, but you can do it
<nixy> I use nix's version of bash as my login shell on os x
<clever> you would need to manualy add /Users/foo/.nix-profile/bin/bash to /etc/shells
<boomshroom> my shell on Mac OSX is now /nix/var/nix/profiles/default/bin/fish
<boomshroom> Is there a way for my Macbook to automatically fetch packages from my desktop if they're available? Or do I have to manually tell it to fetch via ssh.
<clever> boomshroom: you can run nix-serve on the desktop, and then set it up as a binary cache in nix.conf
<clever> you will also need to generate a keypair (the nix-store manpage explains that), give nix-serve the secret, and put the public in nix.conf
<boomshroom> thanks
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<boomshroom> um... I can't find nix.conf on my mac. It's not in /etc/nix
<clever> on a mac, it wont exist by default
<clever> so youll need to create your own in /etc/nix/nix.conf
<clever> you can use the one on nixos as an example
<clever> only the 2 involving binary-cache are needed for what you wanted
<boomshroom> thank you
<boomshroom> The http port for serving nix packages was generated the same way as my ssh port: smacking the keypad.
<clever> heh
orivej_ has quit [(Ping timeout: 255 seconds)]
jgertm has joined #nixos
<boomshroom> There probably won't be much overlap in binary packages due to one system being a mac and the other being NixOS, but it could still be useful, especially if I install NixOS on my mac.
<clever> you can also do `nix-build '<nixpkgs>' -A hello --argstr system x86_64-linux`
<clever> which will force nix-build to do a linux build, even on a mac
<clever> so it will check the binary caches for a linux version
<boomshroom> There might be a firewall somewhere in the network as a can access the http server on my desktop (that's hosting it) but not on my laptop.
krills has joined #nixos
<clever> nixos has a firewall enabled by default
<clever> networking.firewall.allowedTCPPorts = [ 1234 ];
henri has joined #nixos
<clever> oh, you can also do this
<clever> networking.firewall.allowedTCPPorts = [ config.services.nix-serve.port ];
<clever> now it will read the config from the other service, and always be right
<boomshroom> doh! That does seem a little silly though.
FRidh has joined #nixos
henri has quit [(Quit: Ex-Chat)]
<boomshroom> But it did connect through ssh despite using a non-standard port as well.
<clever> the ssh service automaticaly opens the port you set it to
<clever> its the only service that does that
<boomshroom> ah!
<boomshroom> Rebuilt my desktop system and my laptop instantly responded.
takle has joined #nixos
iyzsong has joined #nixos
leat has quit [(Ping timeout: 268 seconds)]
takle has quit [(Remote host closed the connection)]
Bradyn2000_ has joined #nixos
Bradyn2000 has quit [(Ping timeout: 268 seconds)]
katyucha has joined #nixos
krills has quit [(Ping timeout: 268 seconds)]
Bradyn2000_ has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
takle has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
<LnL> clever: --argstr system stopped working for me :/
pie_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vHcY9
<NixOS_GitHub> nixpkgs/master b27a266 Frederik Rietdijk: python.pkgs.hypothesis fixup
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
<clever> LnL: are you using your own default.nix or the nixpkgs/default.nix?
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kirelagin opened pull request #26170: wirelessInterfaces: Add a missing parameter (master...wlan-fix) https://git.io/vHcYF
NixOS_GitHub has left #nixos []
<LnL> nixpkgs
<clever> and you dont have any import <nixpkgs>{}'s anywhere in your expresions?
katyucha has quit [(Ping timeout: 240 seconds)]
<boomshroom> Why are out of tree builds so difficult? I just want to install small script with nix. (because I don't have a user accessible bin folder in my path)
takle has quit [(Ping timeout: 245 seconds)]
drakonis has quit [(Read error: Connection reset by peer)]
<boomshroom> It would be nice to test a short nix file without cloning the whole repository.
<LnL> clever: nix-build '<nixpkgs>' -A hello --argstr system x86_64-darwin
<LnL> clever: if I run that on my hydra master it fails, even tho it can build darwin stuff
<clever> what error does it fail with?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26164: Silence lndir output in symlinkJoin (master...lndir-silent) https://git.io/vHnFN
NixOS_GitHub has left #nixos []
hellrazor has joined #nixos
<LnL> just the can't build x86_64-linux stuff
vaibhavsagar has joined #nixos
<LnL> I should test with a couple of older nix versions
boomshroom has quit [(Quit: Page closed)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
freusque2 has joined #nixos
jacob_ has joined #nixos
jacob_ is now known as Guest37132
jgertm has quit [(Ping timeout: 255 seconds)]
hellrazor has quit [(Ping timeout: 245 seconds)]
Bradyn2000 has joined #nixos
hellrazor has joined #nixos
mudri has joined #nixos
<freusque2> hello, calls to nixos-rebuild cause network calls. if my connexion is disabled, this means a prolungated rebuild time. is there a way to disable this when rebuilding?
jgertm has joined #nixos
<clever> freusque2: --option binary-caches ""
ilyaigpetrov has joined #nixos
<freusque2> Thank you very much clever!
<LnL> clever: not sure what happened, I rebooted and now it works
<clever> strange
<clever> it might be that some env variables like NIX_BUILD_HOOK had been cleared accidentaly
<clever> oh, and i often delete the /etc/nix/machines symlink to temporarily turn remote builds off
<clever> it will always come back at boot or switch
* clever heads to bed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vHcsU
<NixOS_GitHub> nixpkgs/master d0f2361 Frederik Rietdijk: python.pkgs.simplejson: 3.8.1 -> 3.10.0
NixOS_GitHub has left #nixos []
fifo23 has quit [(Remote host closed the connection)]
fifo23 has joined #nixos
ambro718 has joined #nixos
fifo23 has quit [(Ping timeout: 245 seconds)]
Itkovian has joined #nixos
faffolter has quit [(Ping timeout: 240 seconds)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jgertm has quit [(Ping timeout: 245 seconds)]
q6AA4FD has joined #nixos
rcschm has quit [(Remote host closed the connection)]
rcschm has joined #nixos
oever has joined #nixos
thc202 has joined #nixos
<FRidh> hydra is stuck: DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR: deadlock detected
dmzet has quit [(Ping timeout: 245 seconds)]
freusque2 has quit [(Ping timeout: 240 seconds)]
oever is now known as vandenoever
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vHcGy
<NixOS_GitHub> nixpkgs/staging 1f407a4 Vladimír Čunát: mesa: feature update 17.0.6 -> 17.1.1...
NixOS_GitHub has left #nixos []
mbrock has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
RayNbow` has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
RayNbow`TU has quit [(Ping timeout: 240 seconds)]
<sphalerite> Should a channel update on a stable version ever break the system configuration?
filterfish has joined #nixos
<FRidh> I hope not
betaboon has joined #nixos
dejanr has joined #nixos
<LnL> only case that should happen is when a package gets marked as insecure
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
dejanr has quit [(Ping timeout: 245 seconds)]
mpcsh has joined #nixos
<sphalerite> So linux 4.10 shouldn't have been removed from 17.03, and instead not been included in the first place (because its EOL is within 17.03's lifetime)?
Filystyn has joined #nixos
<Filystyn> did your kde broke ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Zimmi48 opened pull request #26173: nixpkgs doc: version convention for pre-releases (master...patch-1) https://git.io/vHcno
NixOS_GitHub has left #nixos []
<sphalerite> no, my configuration broke because it used 4.10
yegods has joined #nixos
<Mic92> sphalerite: 4.10 was removed in 17.03?
<sphalerite> Mic92: yes
<sphalerite> aaa743eca07fce5aa02a5002ed619359c6865154
<Mic92> sphalerite: probably we do not have the man power to maintain the kernel ourself. Can you upgrade to 4.11?
<sphalerite> Mic92: I did, it's just annoying that it broke my config
<Mic92> I think 4.11 was not ready, when 17.03 was released
<Mic92> and people with new hardware probably need newer kernels.
<sphalerite> Then maybe the option's docs should say that the config shouldn't explicitly refer to newer versions by number, instead using linuxPackages_latest?
<Mic92> sphalerite: do you want to do that?
<sphalerite> ah yes, I see 4.11 was added after the release
<sphalerite> Sure, I'm just not sure if that is actually the preferred option
<Filystyn> can i have 2 DE in nix?
<Filystyn> or only one can be set in config file
<sphalerite> yes, just enable both of them
<sphalerite> There are sometimes issues with them interfering with each other though
<joachifm> sphalerite: the simplest thing (for us) is to limit the stable contract to the stable kernel at the time of release and always make sure that has longer eol than us
<Filystyn> where is the list of nix DE ?
<Filystyn> i remember seeing it somewhere but can't find it
<sphalerite> joachifm: But then newer kernels (which people need as Mic92 mentioned) can't be included
<sphalerite> Filystyn: https://nixos.org/nixos/options.html#xserver+desktopmanager%20enable
<joachifm> sphalerite: yes they can, there's just no implied guarantee that your config won't break
<sphalerite> joachifm: oh right
<joachifm> sphalerite: I'm talking easiest for us given our resources, not best for all users :)
<sphalerite> Sure, but supporting a specific linux version can be infeasible like in the case of 4.10/4.11
<sphalerite> And isn't us ≈ all users? :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to release-17.03: https://git.io/vHccI
<NixOS_GitHub> nixpkgs/release-17.03 f98e0bb Jörg Thalheim: kernelPackages.splUnstable: 0.7.0-rc3 -> 0.7.0-rc4...
<NixOS_GitHub> nixpkgs/release-17.03 d32788f Jörg Thalheim: kernelPackages.zfsUnstable: 0.7.0-rc3 -> 0.7.0-rc4...
<NixOS_GitHub> nixpkgs/release-17.03 36550fc evujumenuk: zfs: Bump incompatibleKernelVersion to "4.11"...
NixOS_GitHub has left #nixos []
slyfox has quit [(Ping timeout: 240 seconds)]
<Mic92> well not every user maintain nixos
<Mic92> or contribute
slyfox has joined #nixos
<joachifm> sphalerite: another cheap solution is to be better about documenting potentially breaking changes; knowing about it ahead of time takes some of the edge off, imo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar opened pull request #26174: gcc7: init at 7.1.0 (master...gcc7) https://git.io/vHccw
NixOS_GitHub has left #nixos []
faffolter has quit [(Ping timeout: 240 seconds)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
bennofs1 has joined #nixos
hellrazor has quit [(Ping timeout: 255 seconds)]
<steveeJ> garbas_, pierron: PTAL at https://github.com/mozilla/nixpkgs-mozilla/pull/38 since it fixes nightly builds
hellrazor has joined #nixos
pbogdan has joined #nixos
<evangeline> hi, can anybody lend a help in order to package the https://github.com/vagrant-libvirt/vagrant-libvirt into nixos;
<evangeline> I'm trying to package it myself, but haven't played around with ruby packages in nixos yet, so I'm unsuccessful at what I'm currently doinw.
<evangeline> s/doinw/doing
mrein has joined #nixos
<manveru> evangeline: what do you need it for? it seems like it doesn't have any executables
<manveru> oh... okk
<manveru> vagrant is always tricky :(
<manveru> they decided to make their own package manager basically...
<evangeline> manveru: yeah, but I'm trying to package it with nixos, so their package manager will not be used.
<manveru> yes, the questions is just where vagrant looks for its plugins
<qknight_> if i type 'nix-shell' what variable holds the path where the user was in when he typed nix-shell?
<qknight_> can i just assume `pwd` to be correct?
<manveru> qknight_: that works for me
<steveeJ> qknight_: if the shellHook doesn't do anything to change the path, yes
<qknight_> ok, thanks
<manveru> evangeline: https://www.vagrantup.com/docs/plugins/packaging.html this plus bundix should work
bennofs1 has quit [(Ping timeout: 240 seconds)]
<evangeline> This is what I have so far: https://pastebin.com/raw/gXVWeeUi ; I've copied the Gemfile from https://github.com/vagrant-libvirt/vagrant-libvirt and I'm following this guide: http://blog.arkency.com/2016/04/packaging-ruby-programs-in-nixos/ ...
<mrein> If I want to change other locale variables (LC_MONETARY or LC_PAPER), is there a more elegant solution than hand-editing /etc/locale.conf?
<mrein> (other locale variables than LANG, that is. see https://github.com/NixOS/nixos/blob/master/modules/config/i18n.nix )
simukis has joined #nixos
<manveru> mrein: environment.sessionVariables
<mrein> thank you very much
<manveru> evangeline: seems good
<avn> evangeline: you need package vagrant+all plugins in single package then
Bradyn2000 has quit [(Ping timeout: 246 seconds)]
cpennington has joined #nixos
ris has joined #nixos
ignat has joined #nixos
simukis has quit [(Quit: simukis)]
marsel has joined #nixos
ragge has quit [(Quit: Connection closed for inactivity)]
<ignat> Hi everyone! I'm trying to create a patch for a project that has a nix derivation. In order to build it locally, I want to modify the existing derivation to use the local sources instead of git revision but I haven't found a way to do it. Is there any?
faffolter has quit [(Ping timeout: 240 seconds)]
<manveru> ignat: you can usually just replace the `src = fetchgit { ... }` with `src = /path/to/the/repo`
mrein has quit [(Quit: Page closed)]
<ignat> can i also ignore checksums?
<manveru> yes
spinus has joined #nixos
<ris> does anyone have any plans to sort out travis at any point? so many PRs fail with "log length exceeded" that it's effectively like having no CI anymore
<ris> surely just adding a less verbose mode will help?
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<sphalerite> ris: it's not like having no CI. We have hydra as the primary CI
<ris> Mmmmmm I guess
<ris> but no pre-merge CI
<ris> which makes the critical difference that Broken Shit tends not to get "broadcast"
<sphalerite> I believe there is a way to get hydra to build PRs now, it just needs to be triggered by a maintainer
<sphalerite> Not sure on that one though
<ris> iiiiiiiinteresting
ben_____ has joined #nixos
ben has quit [(Quit: Reconnecting)]
ben_____ is now known as ben
georges-duperon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight opened pull request #26176: go-modules/generic: add missing PATHs to GOPATH when using nix-shell (master...go-nix-shell-fix-master) https://git.io/vHcWp
NixOS_GitHub has left #nixos []
iyzsong has joined #nixos
faffolter has quit [(Ping timeout: 240 seconds)]
dmzet has joined #nixos
Bradyn2000 has joined #nixos
georges-duperon has quit [(Ping timeout: 246 seconds)]
dmzet has quit [(Quit: Leaving)]
leat has quit [(Read error: Connection reset by peer)]
iyzsong has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 245 seconds)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
phreedom has joined #nixos
pbogdan has joined #nixos
leat has joined #nixos
georges-duperon has joined #nixos
vaibhavsagar has quit [(Ping timeout: 246 seconds)]
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
bennofs1 has joined #nixos
iyzsong has joined #nixos
cpennington has quit [(Remote host closed the connection)]
aanderse has quit [(Remote host closed the connection)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
jensens has joined #nixos
pbogdan has joined #nixos
krills has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] pyrtsa opened pull request #1393: Fix variable name typo in derivations doc (master...patch-1) https://git.io/vHc4t
NixOS_GitHub has left #nixos []
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<ToxicFrog> So, here's a question
<ToxicFrog> Can I use overrides to create a new package derivation rather than replacing an existing one?
<dash> ToxicFrog: of course
<dash> ToxicFrog: overrides don't modify existing derivations
<LnL> sure, just use a different attribute name
<ToxicFrog> Awesome.
dejanr has joined #nixos
ignat has quit [(Ping timeout: 260 seconds)]
seequ_ has left #nixos ["User left"]
<ToxicFrog> ...so, having done that, how do I then install it? Because something like this:
<ToxicFrog> nixpkgs.config.packageOverrides = pkgs: { dosbox_debug = pkgs.dosbox.overrideAttrs (...); }
<ToxicFrog> Does not make `dosbox_debug` available in pkgs.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #26179: cernlib: init at 2006 (master...cernlib) https://git.io/vHc46
NixOS_GitHub has left #nixos []
darlan has joined #nixos
jensens has joined #nixos
<dash> ToxicFrog: if all you want is to install it with nix-env, you don't have to modify configuration.nix at all
<ToxicFrog> dash: I want it in systemPackages, but I figured it out
orivej has joined #nixos
krills has quit [(Ping timeout: 246 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
romildo has joined #nixos
alx741_ has joined #nixos
<romildo> What is the best way of finding the group ID or name of a file in a nix expression?
mudri has joined #nixos
alx741 has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Zimmi48 opened pull request #26180: New coq head (master...new-coq-head) https://git.io/vHcB9
NixOS_GitHub has left #nixos []
michiel_l has joined #nixos
dejanr has quit [(Ping timeout: 245 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #26181: mod_auth_mellon: 0.12.0 -> 0.13.1 (master...bump/mod_auth_mellon-0.13.1) https://git.io/vHcRv
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to release-17.03: https://git.io/vHcRJ
<NixOS_GitHub> nixpkgs/release-17.03 2412cec Thomas Tuegel: Revert "plasma5: 5.8.6 -> 5.8.7"...
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
leat has quit [(Read error: Connection reset by peer)]
mizu_no_oto has joined #nixos
phreedom has quit [(Ping timeout: 245 seconds)]
dejanr has joined #nixos
<sphalerite> Anyone here know a good way for scripts to access IP information? Parsing the output of ip from iproute2 seems complicated
cpennington has quit [(Remote host closed the connection)]
Raimondii has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
leat has joined #nixos
faffolter has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
<bennofs1> sphalerite: there's a python lib for that i believe
ris has quit [(Ping timeout: 246 seconds)]
darlan has quit [(Read error: Connection reset by peer)]
jonte_ has joined #nixos
dejanr has quit [(Ping timeout: 260 seconds)]
simendsjo has joined #nixos
ryantrinkle has joined #nixos
<ryantrinkle> Hey guys, anyone have advice on how to get a NixOS image in AWS US GovCloud?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
pbogdan has joined #nixos
<gchristensen> ryantrinkle: hmm you could edit the ami creation script to upload directly to govcloud
<gchristensen> I wonder if we're able to copy to gov-cloud ourselves, without being in it+
mami has left #nixos []
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #26182: xonotic: fix audio (master...xonotic-audio) https://git.io/vHcE6
NixOS_GitHub has left #nixos []
<ryantrinkle> gchristensen: only U.S. persons can have govcloud accounts, so there are some issues there
<ryantrinkle> however, you don't have to actually be associated with the government
betaboon has joined #nixos
<gchristensen> hmm ok
RayNbow` has quit [(Ping timeout: 260 seconds)]
<gchristensen> that said, there is no real difference between nixos.org making the AMI and you making the AMI
<ryantrinkle> gchristensen: cool, i'll try that out
<gchristensen> cool, LMK if you need help -- the script is a teensy bit annoying to read :P
betaboon has quit [(Quit: This computer has gone to sleep)]
plchldr has joined #nixos
Filystyn has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
dejanr has joined #nixos
thblt has joined #nixos
mizu_no_oto has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #26183: pick: 1.4.0 -> 1.6.1 (master...bump/pick-1.6.1) https://git.io/vHcuD
NixOS_GitHub has left #nixos []
Ivanych has quit [(Ping timeout: 260 seconds)]
dejanr has quit [(Ping timeout: 260 seconds)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
ertes has quit [(Ping timeout: 245 seconds)]
ericsagnes has quit [(Ping timeout: 260 seconds)]
<ryantrinkle> gchristensen: do you have a sample command line for running this create-amis thing?
jonte_ has quit [(Ping timeout: 240 seconds)]
<thblt> How do you manage sharing a NixOS configuration with git? Specifically, the host-specific parts? I was thinking of creating a machines/ folder with each machine's specific config, include "./this-machine.nix" in the main config and just symlink the correct machine file to this name.
<thblt> Is this sane/idiomatic?
<thblt> Thanks :)
<bennofs1> thblt: i don't there is One True Way (tm) but that sounds reasonable
<thblt> bennofs1: Thank you!
Ivanych has joined #nixos
dejanr has joined #nixos
Bradyn2000 has quit [(Ping timeout: 268 seconds)]
<avn> thblt: yep, I use host/$hostname/default.nix for host specific as well. But i used generated configuration.nix, which included proper hosts/default.nix, also tried define nixos-config=/path/to/hosts/default.nix and it also works in some cases
Bradyn2000 has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
Bradyn2000 has quit [(Ping timeout: 240 seconds)]
<thblt> avn: I'm not sure I understand what you mean by "generated configuration.nix, which included proper
<thblt> hosts/default.nix"?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #26185: Galaxis: init at 1.9 (master...galaxis) https://git.io/vHcgB
NixOS_GitHub has left #nixos []
<avn> thblt: contain only one expression -- imports = [ ./hosts/name/default.nix ];
<thblt> avn: I see, thanks. But you don't mean the configuration.nix as generated by nixos-generate-config, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vHcgK
<NixOS_GitHub> nixpkgs/master 157b5bd Joachim Fasting: cppcheck: 1.78 -> 1.79...
NixOS_GitHub has left #nixos []
<avn> thblt: no, and I always try to "process" hardware-configuration.nix by reviewing/integrate most statements from it
vaibhavsagar has quit [(Remote host closed the connection)]
ericsagnes has joined #nixos
marsel has quit [(Ping timeout: 255 seconds)]
<thblt> avn: Thank you!
<thblt> Another question on a similar topic: it wouldn't be "rude" (or unidiomatic, or suboptimal) to have includes to define the configuration bits shared by some machines, but not all of them? Eg, all the laptops would include a "shared/laptop.nix"?
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<Acou_Bass> thblt: i dont think theres anything wrong with that i have a similar thing setup hehe
<plchldr> Hi, is there an easy way to override the startup command of openvpn? I'd like to prepend "ip netns exec vpn " and pass username+password. Using "systemd.services.openvpn-{serverName}.serviceConfig.ExecStart = lib.mkForce .." produces the error that ExecStart is missing.
<Acou_Bass> folks, im having some trouble with plasma... not sure if its nix-specific, but the 'task manager' plasmoid on my bar isnt working, its showing a duff icon and when i right click it it gives me an error... anyone hitting this?
<thblt> Acou_Bass: thanks :)
<avn> thblt: I use roles/* and class/* for different stuff, trying to figure most idiomatic layout
<Acou_Bass> this error heres what im getting - notice the white square thats sitting there, thats where the 'task manager' plasmoid is, instead of, as expected, a list of tasks
<Acou_Bass> weirdly i get the same problem with all window manager/task manager-related plasmoids so im basically stuck without any task switcher
<Acou_Bass> XD
<thblt> avn: What's the difference between a role and a class, in your setup? Are classes made of roles?
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
<thblt> Acou_Bass: Looks a lot like this bug: https://bugs.mageia.org/show_bug.cgi?id=20888
<Acou_Bass> so plasma bug not nixos/packaging bug, thanks :D
<avn> thblt: roles is a host' function, which it used for (usually is set of softwares), where class/ is hardware types (laptop/desktop/kvm-guest) and sometimes datacenter related commons.
<avn> As you can see -- difference is enough weak ans sophisticated
<avn> I try different approaches myself on different sets of configs, want figure out most universal and convinient
<sphalerite> I'm messing around with creating my own installation ISO. Attempting to mount the iso is failing with "Invalid argument" — how can I see what causes this? dmesg is not enlightening me, /var/log does not exist, and journalctl doesn't either.
<sphalerite> Attempting to mount it while booting it that is
<sphalerite> which is causing the boot to fail
<thblt> avn: So basically a host's configuration includes a bunch of roles and classes, and adds the bits specific to that host?
pbogdan has joined #nixos
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<avn> thblt: yes
Gravious has joined #nixos
rcschm has quit [()]
dejanr has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
<thblt> How should I bring mu's share/lisp/emacs folder in Emacs' load-path? I installed mu with nixpkgs, but the Emacs part doesn't seem to get linked anywhere.
<thblt> And IIUC, the store path is constant only for this very version, right?
katyucha has joined #nixos
dejanr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] montag451 opened pull request #26188: git-annex-remote-rclone: 0.4 -> 0.5 (master...git-annex-remote-rclone) https://git.io/vHcVm
NixOS_GitHub has left #nixos []
bennofs has joined #nixos
<katyucha> Hi
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
endformationage has joined #nixos
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<aristid> interesting, jupyter in nix-shell works fine
<aristid> but not when installing with nix-env -iA
pbogdan has joined #nixos
<FRidh> aristid: you can't install individual python pkgs
<aristid> FRidh: so i need to make a myEnvFun to permanently install?
<aristid> FRidh: but what magic does nix-shell do to make it "installed" temporarily?
<aristid> i mean such that you can actually use it
<FRidh> aristid: no, you can use python.buildEnv or python.withPackages, those functions create permanent envs
<FRidh> nix-shell just sets up PYTHONPATH because that's needed during build-time
<FRidh> check the nixpgks manual
peacememories has joined #nixos
<jack[m]1> Anyone have recommendations on a fs to put a nix store on emmc with?
<aristid> FRidh: withPackages (yes i did look at the manual now :P) seems to work reasonably well, although i don't like the heavy emphasis on nix-shell in the manual
<aristid> jack[m]1: no idea, so just curious: what device do you have that uses emmc as primary storage?
<FRidh> aristid: I suppose I wrote most of that before we had `withPackages`
<jack[m]1> ext3? f2fs? squashfs? I was worried about checksumming, but the nix store already does that?
<aristid> FRidh: are you frederik rietdijk?
<FRidh> aristid: yes
<aristid> FRidh: i assume this is obsoleted by the nixpkgs manual, then? https://media.readthedocs.org/pdf/python-on-nix/latest/python-on-nix.pdf
<FRidh> aristid: yes, I merged it into the manual eventually. I deleted the project from readthedocs but they still seem to cache it.
<FRidh> the date...interesting
<aristid> FRidh: given your dutch name... are you in NL? :D
<FRidh> aristid: ha, I am indeed Dutch, but no, I don't live in NL but in Sweden.
<jack[m]1> aristid: a qnap NAS box
<aristid> FRidh: meanwhile i'm not dutch but i am in NL :P
<ToxicFrog> makeDesktopItem doesn't seem to be documented :/
<aristid> jack[m]1: i see :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #26189: cfssl: init at 20170527 (master...cfssl) https://git.io/vHcro
NixOS_GitHub has left #nixos []
<aristid> jack[m]1: how much storage do you have on the emmc?
<aristid> jack[m]1: because the nix store can easily take up quite a lot of space if you're not careful :D
<jack[m]1> aristid; 512MiB. The other option is to just use it to store an initrd and the use a zfs root off the hdds. It *is* a NAS after all.
<nixos-users-wiki> "Python libraries" edited by makefu https://git.io/vHcrP
<aristid> jack[m]1: 512 MB is ... very tight for a nix store
<bennofs> Anyone have some idea how to debug https://github.com/NixOS/nixpkgs/issues/21954 ?
<aristid> jack[m]1: i guess you could also get one of these USB-SSDs and use that as root
<jack[m]1> Maybe just a recovery image and an initrd on the eMMC and then boot to a zfs root. Hrmm.
<aristid> if it's just a initrd, i guess it doesn't matter so much what the FS is
<katyucha> My PR was validated by Travis .. I make some changes and now, the PR is not validated ... So ok, I rollback to the commit which was good good ... and BAM, Travis don't want this PR .. but it works before :( Anyone can help me ? https://github.com/NixOS/nixpkgs/pull/26130
<FRidh> katyucha: you can ignore travis
<katyucha> FRidh: yes, but reviewers ignore travis?
<jack[m]1> aristid: yeah, I have a few 1.6TiB stores that hit the dentry limit on ext3.
<FRidh> katyucha: yes, we mostly do. I only trust it when its a trivial change and it shows up green, otherwise I ignore it.
<jack[m]1> but this thing is going to be headless NAS box that I could just reimage..
darlan has joined #nixos
darlan has quit [(Client Quit)]
dejanr has quit [(Ping timeout: 268 seconds)]
bennofs has quit [(Quit: WeeChat 1.7)]
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
thblt has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
thblt has joined #nixos
<ekleog> hmm, anyone here familiar with the perl infrastructure in nixpkgs?
* ekleog having issues with what happens when calling a .pl executable with PERL5LIB not set
<ekleog> (I'm writing the package, right now, wonder if there's already a perlWrapper or similar)
ambro718 has quit [(Ping timeout: 240 seconds)]
vandenoever has quit [(Read error: Connection reset by peer)]
vandenoever has joined #nixos
<thblt> Am I doing something wrong, or does LightDM ignore ~/.xsessionrc ?
<thblt> It correctly sources ~/.xsession, though
oever has joined #nixos
vandenoever has quit [(Ping timeout: 240 seconds)]
hiberno has quit [(Ping timeout: 272 seconds)]
isHavvy has joined #nixos
Havvy has quit [(Ping timeout: 246 seconds)]
dejanr has joined #nixos
jensens has joined #nixos
oever is now known as vandenoever
pbogdan has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] pyrtsa opened pull request #1394: Remove stray `>` in builtins doc (master...patch-2) https://git.io/vHcKb
NixOS_GitHub has left #nixos []
<katyucha> FRidh: Ok, thanks for your answer !
Gravious has quit [(Remote host closed the connection)]
<katyucha> FRidh: i've tested all the possible configuration to find a problem ...
takle_ has joined #nixos
Guest37132 has quit [(Quit: Lost terminal)]
takle_ has quit [(Ping timeout: 245 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pbogdan has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vHc6E
<NixOS_GitHub> nixpkgs/master aee5fa2 Pascal Wittmann: moreutils: 0.59 -> 0.61
NixOS_GitHub has left #nixos []
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
Filystyn has quit [(Remote host closed the connection)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
takle has joined #nixos
Gravious has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #26188: git-annex-remote-rclone: 0.4 -> 0.5 (master...git-annex-remote-rclone) https://git.io/vHcVm
NixOS_GitHub has left #nixos []
romildo has quit [(Quit: Leaving)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
taeradan has quit [(Ping timeout: 246 seconds)]
<thblt> With nix-shell, how do you make sure a dynamic library is made available in the build environment?
<thblt> Context: I have xorg.libXinerama in buildInputs
<thblt> but the build process requires the dynamic library to be on path (because I use TemplateHaskell, so a part of the program must be run during the build phase, I guess)
takle has quit [(Ping timeout: 245 seconds)]
<thblt> And currently, it complains that Xinerama.so/.dll is missing
<simpson> thblt: You are likely the first person to ever attempt Xinerama on NixOS.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] izuk opened pull request #26190: steam: Added extraEmulators option to chroot env. (master...steam) https://git.io/vHciO
NixOS_GitHub has left #nixos []
<thblt> simpson: Why? XMonad integrates it natively, I think it's even a hard dependency.
vandenoever has quit [(Ping timeout: 240 seconds)]
<simpson> thblt: It's super-rare. It was super-rare a decade ago when I last hacked on Xorg.
takle has joined #nixos
pbogdan has joined #nixos
<thblt> simpson: I don't think you can get multi monitor support on XMonad without Xinerama, and XMonad is not the most common WM, but still... There may be two or three NixOS+XMonad users with multiple monitors out there :)
mudri has quit [(Ping timeout: 245 seconds)]
<bennofs1> thblt: I think there already is a xmonad package for Nixos?
<thblt> bennofs1: There is, but my XMonad is built directly with stack. So I can't really use the standard package.
<simpson> thblt: I don't do XMonad myself, but I hope that it supports xrandr, like all the other modern window managers.
<bennofs1> thblt: do you really need to build it with stack? a much easier solution on NixOS is to simply not build it with stack
<bennofs1> thblt: there is even https://nixos.org/nixos/options.html#xmonad windowManager.xmonad.extraPackages if your xmonad requires additional packages
<thblt> bennofs1: I don't really need to, I started doing it this way because the Debian package wasn't updated as fast as I'd have liked. Right now I'm just trying to get my usual environment working in NixOS.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHcio
<NixOS_GitHub> nixpkgs/master 6ecb92a Marius Bergmann: cfssl: init at 20170527
<NixOS_GitHub> nixpkgs/master ce61c20 Jörg Thalheim: Merge pull request #26189 from mbrgm/cfssl...
NixOS_GitHub has left #nixos []
<bennofs1> thblt: easiest way then is to just do windowManager.xmonad.enable = true and windowManager.xmonad.enableContribAndExtras = true (if you use xmonad-contrib) and then everything should work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #26183: pick: 1.4.0 -> 1.6.1 (master...bump/pick-1.6.1) https://git.io/vHcuD
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26191: locate: fix creation of parent dir of database (master...fix.mlocate) https://git.io/vHciD
NixOS_GitHub has left #nixos []
<thblt> bennofs1: thanks for the link!
vandenoever has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vHci7
<NixOS_GitHub> nixpkgs/master 2262f89 Joachim Fasting: tor-browser-bundle-bin: additional download urls...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vHcib
<NixOS_GitHub> nixpkgs/master 636ce2d Johannes Barthelmes: factorio: 0.15.1 -> 0.15.16
<NixOS_GitHub> nixpkgs/master 60ba38f Pascal Wittmann: Merge pull request #26163 from jbarthelmes/factorio-0.15.16...
NixOS_GitHub has left #nixos []
<thblt> Yet, is there a way to do it that way? Exposing the runtime libraries to Stack, so TemplateHaskell can do its job? I don't mind changing my XMonad config, but this may have a lot of other uses.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 4 new commits to staging: https://git.io/vHcij
<NixOS_GitHub> nixpkgs/staging 9aa3548 Will Dietz: llvm-4/clang-4: Build and install man pages
<NixOS_GitHub> nixpkgs/staging 3d1c1c5 Will Dietz: llvm-4/*: indicate which build inputs are nativeBuildInputs.
<NixOS_GitHub> nixpkgs/staging 1e23b49 Daiderd Jordan: darwin-stdenv: allow clang-unwrapped.man
NixOS_GitHub has left #nixos []
<bennofs1> thblt: no idea, i don't use stack myself on nixos. perhaps someone else knows :)
<thblt> bennofs1: thanks :)
pSub has quit [(Remote host closed the connection)]
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #26092: clang: fix libclang on darwin (staging...darwin-libclang) https://git.io/vH3j2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan pushed 1 new commit to master: https://git.io/vHcPC
<NixOS_GitHub> nixpkgs/master 132b503 Charles Strahan: GHCJS packages: avoid inode explosion...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #26091: CoreFounation: 10.9 -> 10.10 (staging...darwin-cf-10.10) https://git.io/vH3xj
NixOS_GitHub has left #nixos []
vandenoever has quit [(Ping timeout: 245 seconds)]
marsel has joined #nixos
vandenoever has joined #nixos
Filystyn has quit [(Remote host closed the connection)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
takle has quit [(Remote host closed the connection)]
mudri has joined #nixos
takle_ has joined #nixos
Itkovian has joined #nixos
bennofs1 has quit [(Quit: WeeChat 1.8)]
takle_ has quit [(Ping timeout: 245 seconds)]
[0x4A6F] has joined #nixos
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHcXO
<NixOS_GitHub> nixpkgs/master 815ad7c Anderson Torres: Galaxis: init at 1.9 (#26185)...
NixOS_GitHub has left #nixos []
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26181: mod_auth_mellon: 0.12.0 -> 0.13.1 (master...bump/mod_auth_mellon-0.13.1) https://git.io/vHcRv
NixOS_GitHub has left #nixos []
kmicu has quit [(Read error: Connection reset by peer)]
kmicu has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
sigmundv has joined #nixos
<pbogdan> thbit: does adding the libraries to your stack.yml as per here not work - https://docs.haskellstack.org/en/stable/nix_integration/#additions-to-your-stackyaml
sigmundv has quit [(Read error: Connection reset by peer)]
sigmundv has joined #nixos
takle has joined #nixos
dejanr has quit [(Ping timeout: 255 seconds)]
<pbogdan> thbit: https://pastebin.com/q4jZPjub that's what I used to use to build xmonad with stack / nix
takle has quit [(Ping timeout: 260 seconds)]
<thblt> pbogdan: I use nix: shell: from stack. Only adding libraries fail during the build of X11.
phinxy has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
bennofs has joined #nixos
takle has joined #nixos
plchldr has quit [(Quit: Page closed)]
takle has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
simukis has joined #nixos
krills has joined #nixos
dejanr has joined #nixos
<pbogdan> thblt: you mean nix: shell: in stack.yaml? not seeing that in the docs.. are you able to post your stack.yaml / any .nix files, and build commands you are using?
dejanr has quit [(Client Quit)]
dejanr has joined #nixos
dejanr has quit [(Client Quit)]
<pbogdan> thblt: or are you using nix: shell-file: your-shell-file.nix: and specifying buildInputs there?
oever has joined #nixos
<thblt> pbogdan: Sure. Everything's here: https://github.com/thblt/dotfiles/tree/master/.xmonad
ircuser5678 has joined #nixos
vandenoever has quit [(Ping timeout: 246 seconds)]
civodul has joined #nixos
<ircuser5678> hello. may I ask how to define i3 as the default window manager in nixos (so that it starts automatically on bootup)?
<ben> i think it's gonna involve https://nixos.org/nixos/options.html#i3
takle has joined #nixos
<thblt> pbogdan: Sorry for having been a bit slow, I broke Xorg, just fixed it. Yes, I'm using nix: shell-file: nixpkgs.nix in stack.yaml
dejanr has joined #nixos
krills has quit [(Ping timeout: 255 seconds)]
jonte_ has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
krills- has joined #nixos
<ircuser5678> thanks ben, didn't know that I can search for possible options...
pbogdan` has joined #nixos
pbogdan has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 246 seconds)]
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
krills- has left #nixos ["Quit"]
Filystyn has quit [(Quit: Konversation terminated!)]
takle has joined #nixos
<clever> ircuser5678: you can also 'man configuration.nix'
simendsjo has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 260 seconds)]
oever is now known as vandenoever
ircuser5678_ has joined #nixos
ris has joined #nixos
ircuser5678 has quit [(Ping timeout: 255 seconds)]
ircuser5678_ is now known as ircuser5678
obadz- has joined #nixos
obadz has quit [(Ping timeout: 260 seconds)]
obadz- is now known as obadz
takle has joined #nixos
<pbogdan`> thblt: https://pastebin.com/YfSaNN22 works as far as building the xmonad binary (I haven't tested the binary itself)
flyx has quit [(Quit: ZNC - http://znc.in)]
flyx has joined #nixos
flyx has quit [(Client Quit)]
flyx has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
flyx has quit [(Client Quit)]
ris has quit [(Read error: Connection reset by peer)]
flyx has joined #nixos
ris has joined #nixos
ris has quit [(Read error: Connection reset by peer)]
_ris has joined #nixos
flyx has quit [(Client Quit)]
flyx has joined #nixos
dfranke_ has joined #nixos
dfranke_ has quit [(Client Quit)]
dfranke has quit [(Remote host closed the connection)]
dfranke has joined #nixos
_ris has quit [(Read error: Connection reset by peer)]
_ris has joined #nixos
<pbogdan`> thbit: not sure why LD_LIBRARY_PATH had to be spelled out explicitly but would be curious to know if anyone knows :)
jonte_ has quit [(Remote host closed the connection)]
<clever> pbogdan`: are those things in the buildInputs already?
<thblt> pbogdan`: Who, thanks!
<pbogdan`> clever: they are
<clever> not sure then
jgertm has joined #nixos
<thblt> Maybe I should file a bug?
<johnw> filing a bug makes me think of a really smooth bug
ris has joined #nixos
_ris has quit [(Ping timeout: 260 seconds)]
<thblt> johnw: sorry? :)
<johnw> I was picturing you holding him, and filing away at the rough edges
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26195: cmdliner: 0.9.8 -> 1.0.0, ocp-indent: 1.5.2 -> 1.6.0 (master...upd.ocp-indent) https://git.io/vHcyp
NixOS_GitHub has left #nixos []
<thblt> ho, *that* filing :) Poor bug!
dejanr_ has joined #nixos
Gravious_ has joined #nixos
ambro718 has joined #nixos
Gravious has quit [(Ping timeout: 240 seconds)]
ircuser5678 has quit [(Quit: Going offline, see ya! (www.adiirc.com))]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
faffolter has quit [(Ping timeout: 245 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
simukis has quit [(Ping timeout: 255 seconds)]
hellrazor has joined #nixos
hellrazo1 has quit [(Ping timeout: 246 seconds)]
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
sigmundv has quit [(Quit: Leaving)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
FRidh has quit [(Quit: Konversation terminated!)]
dejanr_ has quit [(Ping timeout: 245 seconds)]
mizu_no_oto has joined #nixos
sigmundv has joined #nixos
thc202 has quit [(Ping timeout: 245 seconds)]
sigmundv has quit [(Remote host closed the connection)]
takle has joined #nixos
yegods has quit [(Remote host closed the connection)]
hiratara has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 245 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
hiratara has joined #nixos
<viric> does anyone know how to use cdemu?
pbogdan` has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
ertes has joined #nixos
<Profpatsch> musicmatze: query :)
yegods has joined #nixos
takle has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
ertes has quit [(Quit: Bye!)]
ertes has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
thblt has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<sphalerite> gchristensen: do you have some issues with the audio on your XPS15 as well? If I plug my headphones in properly, I don't get any sound into them — but if I only plug them most of the way in it works
<gchristensen> what...! weird
<dash> sphalerite: have you tried with mor ethan one set of headphones?
<sphalerite> no, I don't have any others around right now
ambro718 has quit [(Ping timeout: 240 seconds)]
<sphalerite> but these do work fine with my phone
<dash> (or rather, have you verified these work with another audio source)
<dash> ok
<dash> my experience is that this is usually because of a short in the headphones, but sounds like it's the jack :(
<sphalerite> :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHc7v
<NixOS_GitHub> nixpkgs/master 4a0c7d1 Léo Gaspard: dkimproxy: init at 1.4.1 (#26147)...
NixOS_GitHub has left #nixos []
georges-duperon has quit [(Ping timeout: 255 seconds)]
Gravious_ has quit [(Ping timeout: 246 seconds)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
Gravious has joined #nixos
<clever> sphalerite: double-check pavucontrol while plugging it in
<clever> dash: headphone jacks in modern hardware have a switch to detect the presence and switch over actively
hiratara has joined #nixos
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26195: cmdliner: 0.9.8 -> 1.0.0, ocp-indent: 1.5.2 -> 1.6.0 (master...upd.ocp-indent) https://git.io/vHcyp
NixOS_GitHub has left #nixos []
<clever> and in some of my systems, pulseaudio must actively initiate the switch, and it doesnt work if the headphones are plugged in while pulse is off
<clever> but replugging it resends the state change and fixes it
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
georges-duperon has joined #nixos
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 260 seconds)]
<hydraz> What attributes of the gcc derivation do I need to override to make it build a cross compiler?
<joepie91> sphalerite: there's a good chance that the jack is designed for those single-plug headsets instead of just headphones
<joepie91> sphalerite: in which case, depending on the length of your plug, it may not always connect as expected
<joepie91> (for some reason, 3.5mm plug sizes are not actually standard, it seems)
ertes has quit [(Ping timeout: 245 seconds)]
<joepie91> sphalerite: if this is the case, the easiest fix is to get an adapter from TRRS to TRS
<gchristensen> I have problems too
<gchristensen> but a `systemctl hibernate` seems to fix it
<gchristensen> using a TRS headphone
<joepie91> hm, that's odd
<joepie91> if it's purely a hardware issue then a hibernate shouldn't matter
<joepie91> clever's suggestion seems more appropriate then
indi_ has joined #nixos
fifo23 has joined #nixos
JagaJaga has joined #nixos
ertes has joined #nixos
Gravious has quit [(Remote host closed the connection)]
<hydraz> also, what's the reason for glib not building when a clang stdenv is in place?
<dtz> dunno there are numerous aggressive asserts in there, probably ensuring the wrong thing isn't happening in a darwin stdenv or something, or defensively marking it as "here be dragons" :)
<hydraz> heh
<dtz> it might be marking a requirement for glibc's iconv, anyway clang w/gcc bits should work I think
spinus has quit [(Read error: No route to host)]
<dtz> (I build it with little modification using clang+musl, so not /pure/ speculation only a little :))
<hydraz> hm
MP2E has joined #nixos
<dtz> not working? :)
<hydraz> dunno, i think i'm going to solve my more immediate problem first
<hydraz> namely convincing nix to build me a cross compiler
spinus has joined #nixos
<clever> hydraz: if you import <nixpkgs> and set crossSystem correctly, it will enable the use of cross-compilers
<hydraz> i huh?
<clever> https://gist.github.com/cleverca22/9f35e7ae8f5030bfec332efd178eb1ef an arm example i made ~8 months ago
<clever> not sure where i put the other more recent examples
<hydraz> i'll give it a shot, thanks
marsel has quit [(Ping timeout: 240 seconds)]
markus1209 has joined #nixos
markus1219 has joined #nixos
markus1189 has quit [(Ping timeout: 240 seconds)]
markus1199 has quit [(Ping timeout: 260 seconds)]
vandenoever has quit [(Ping timeout: 245 seconds)]
yegods has quit [(Remote host closed the connection)]
Flechette has joined #nixos
yegods has joined #nixos
ContessaTP has quit [(Read error: Connection reset by peer)]
isHavvy has quit [(Read error: Connection reset by peer)]
isHavvy has joined #nixos