<unlmtd[m]>
is it nix or cabal that's responsible for complaining about a license?
<unlmtd[m]>
or both?
athan has joined #nixos
<unlmtd[m]>
I thought license would only become a problem if an official-looking thug came knocking on my door with a lawyer thug. I never thought a tool would bother me with an illusory f*g "license"
<AtnNn>
unlmtd[m]: what is the complaint you're seeing?
<unlmtd[m]>
nix is complaining about unfree license cause cabal file had no license
<unlmtd[m]>
now im looking for a license, cant find one that actually expresses my feeling on 'infelefual frofrefy"
<unlmtd[m]>
the russians did it because the script was launched during the kremlin's lunch hours!
iyzsong has joined #nixos
<Rotaerk>
unlmtd[m], what about "${./some/path}"
agjacome has quit [(Read error: Connection reset by peer)]
<Rotaerk>
or "${someVariableHoldingAPath}"
agjacome has joined #nixos
<unlmtd[m]>
Im trying to make this all fit in the nixos config
<Rotaerk>
I'm unclear on what you're trying to accomplish
<unlmtd[m]>
so ill have to define that file with nix
<Rotaerk>
thought you were just asking how to not have a raw path-string in your '' ''
<unlmtd[m]>
creating a full colemak setug using nixos config
<unlmtd[m]>
setup
<Rotaerk>
how are you currently thinking of doing it?
<unlmtd[m]>
gonna make colemak usable for developers for the first time ever
<unlmtd[m]>
im loking
<unlmtd[m]>
im realizing how broken the whole keybinding system is
<unlmtd[m]>
imagine remapping an entire vim-like setup to colemak keyboard
<unlmtd[m]>
whats the usual way of writing a custom text file somewhere? environment.etc?
mizu_no_oto has quit [(Ping timeout: 245 seconds)]
qualiaqq has joined #nixos
athan has quit [(Remote host closed the connection)]
<unlmtd[m]>
I guess I could make a package that contains all the config files and use that
mkoenig has quit [(Remote host closed the connection)]
<unlmtd[m]>
sorry a derivation
<unlmtd[m]>
I get it, nixos is all about bouncing links everywhere
<unlmtd[m]>
has anyone tried to quantify the overhead it creates?
georges-duperon has quit [(Ping timeout: 252 seconds)]
<unlmtd[m]>
so everything is being moved in the manuals?
<qualiaqq>
Does the demo VirtualBox appliance for NixOS have networking setup already? I want to try NixOS, but cannot get it to connect to the Internet.
qualiaqq has quit [(Ping timeout: 258 seconds)]
qualiaqq has joined #nixos
<taktoa>
unlmtd[m]: I believe the overhead depends strongly on your filesystem. A smartly designed filesystem (e.g.: zfs, btrfs) will not have very much overhead for deep symlink/hardlink hierarchies, I think, but if you're running ext4 then I'm not sure.
<taktoa>
certainly you could write a custom (e.g.: FUSE) filesystem that essentially adds lazily initialized in-RAM metadata to every file in the journal, and this metadata specifies the resolved location on the underlying filesystem for that symlink
<taktoa>
but I find it quite likely that that data is already in the journal
<taktoa>
ah, looks like symlink caching is provided by linux itself
<Mic92>
unlmtd[m]: use environment.etc if you need fixed location in `/etc`. If you have a service it might be also possible to pass it directly to the application as a commandline parameter.
AllanEspinosa has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMw0P
<NixOS_GitHub>
nixpkgs/master d6ac334 Peter Hoeg: terragrunt: 0.8.0 -> 0.9.1
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
stepcut has quit [(Remote host closed the connection)]
cfricke has joined #nixos
rydnr has joined #nixos
<rydnr>
hi!
<dbe>
hello!
<rydnr>
I have an issue with texlive
<rydnr>
I've googled it and it was discussed already here, but I'm still stuck.
<srhb>
rydnr: What's the problem?
Mic92 has quit [(Ping timeout: 248 seconds)]
<rydnr>
The documentation recommends to user texlive.combine { inherit (texlive) ... } to define which specific parts of texlive you want to get installed
phanimahesh has quit [(Ping timeout: 240 seconds)]
<rydnr>
I just don't know how to do that.
<rydnr>
My environment.systemPackages = with pkgs; [ ... ] block doesn't allow texlive.combine, and outside that block it doesn't work either
iyzsong has quit [(Ping timeout: 252 seconds)]
<rydnr>
nox tells there's a texlive-combined-full-2016, which seems to be a synonym of texlive.combined.scheme-full
<rydnr>
that package gets installed correctly
<srhb>
rydnr: I have a project that uses a rather minimal texlive
<rydnr>
but it doesn't seem to include wrapfig.sty, which is needed by org, which is what I'm trying to setup ultimately.
<rydnr>
domenkozar, I'll stay tuned to studio, thanks.
<sphalerite>
"When a multiple-output derivation gets into a build input of another derivation, the dev output is added if it exists, otherwise the first output is added. In addition to that, propagatedBuildOutputs of that package which by default contain $outputBin and $outputLib are also added." how can I avoid this behaviour?
<sphalerite>
oh right, probably by manually specifying propagatedBuildInputs.
ambro718 has joined #nixos
ambro718 has quit [(Client Quit)]
thc202 has joined #nixos
jgertm has joined #nixos
Jackneill has joined #nixos
<srhb>
Hmm. I'm trying to package up a Haskell binary under my control with some static files for deployment. I wonder if the right approach is to override the binary derivation to include those static files (somehow) or if I should try and make a "wrapping" derivation.
<srhb>
has anyone done something similar?
<srhb>
(Specifically I'm trying to package up a server with its js, css, and some generated js from another Haskell derivation as well, for deployment remotely)
<sphalerite>
Aww, file won't cross-compile because it requires a native version of file >_>
<srhb>
I suppose I could also "cheat" and wrap the entire thing in a shell script that points the binary at the static files in the store.
<sphalerite>
srhb: I'd probably do the latter
<srhb>
sphalerite: The shell script thing?
<sphalerite>
yes, that way the same derivation of the binary can be reused with different static files.
<srhb>
Yes, this is true. That's a good idea. Do you know of any package that does something similar so I can rip it off? :-)
<sphalerite>
I don't know of one off the top of my head, but pkgs.lib.writeScriptBin will probably be helpful
<sphalerite>
There must be, how else would the imports mechanism for nixpkgs config work
<sphalerite>
LnL: perhaps mergeModules in lib/modules.nix
<sphalerite>
or something else in there
<LnL>
I basically want filterAttrs but for paths
roconnor has quit [(Ping timeout: 248 seconds)]
<LnL>
ah: foldl' recursiveUpdate {}
ilja_kuklic has joined #nixos
<pie_>
it would be cool if there was a very light version of nix for embedded devices or something
<pie_>
on the level of openwrt
<sphalerite>
Is there a way to determine in a package expression whether it's being built as natively or cross?
<pie_>
apparently LEDE is the new openwrt
<sphalerite>
pie_: I suppose it depends on how light you need it to be. The heaviest part of nix's closure (according to nix-store -qR /nix/store/k16f3vcl2qyg1i8rzq92z6v9hgw8gycr-nix-1.11.4/ | xargs du -hcd0 | sort -h ) is the perl runtime. I'm not sure how lightweight it's possible to make perl
<pie_>
on that note, i think people may have been trying to remove nix's perl dependency?
<pie_>
if thats what we're talking about
pi3r has joined #nixos
<srhb>
Does callPackage only pass arguments from nixpkgs automatically? I thought it was just the surrounding "scope"
<LnL>
pkgs.callPackage only know about everything in pkgs
<sphalerite>
pie_: also as a package manager nix has very variable space requirements, I find. In an embedded system where space is at a premium
<srhb>
LnL: I see. Hmm.
<sphalerite>
srhb: the surrounding scope of callPackage's definition, yet :)
<sphalerite>
yes*
<srhb>
sphalerite: Hm, right. So if I wanted to add a package to that, i'd have to override pkgs
<sphalerite>
pie_: What certainly makes sense and I believe people have been doing is building images for embedded systems using nix
<LnL>
srhb: if you want to create a callPackage with a different scope you can use callPackageWith <scope>
<pie_>
sphalerite, yeah i think ive heard some fo that
<pie_>
*of
<srhb>
LnL: What kind of argument is scope there?
<sphalerite>
a set presumably
<pie_>
sphalerite, though i suppose it would be very cool just to have the configuration side of things and possibly handle acquiring packages another way
<LnL>
srhb: an attirbute set
<srhb>
Okay.
<LnL>
whatever you want as scope :)
ali_ has joined #nixos
<srhb>
I'm confused because I have an argument to my derivation { ..., foo } that I assumed would just be magically passed onto the derivations it depends on which I callPackage. :-P
<LnL>
like: let callPackage = callPackageWith (pkgs // { foo = 42; )); in ...
<sphalerite>
pie_: yeah, but even for that the system running nix doesn't have to be the system that's being configured
<srhb>
I suppose I can just callPackage dep { foo = foo; };
<ali_>
Hi all, was wondering if nixos has a config option similar to /etc/crypttab? I'm trying to mount an external hdd *after* boot
<sphalerite>
ali_: I don't see a facility for it, but there is a special case of it (users.users.<name>.cryptHomeLuks)
<dramforever>
Question: looks jumbled together ------------------------------------->
<dramforever>
Oops sorry
<dramforever>
Question: When doing 'nixos-rebuild', it seems that multiple curl processes are fighting for the last line of my terminal
<dramforever>
Is that supposed to be like that? Can I get that 'fixed' so I see the progress properly?
gsora_ has joined #nixos
<manveru>
dramforever: that's because multiple curl processes run at the same time to speed things up
<manveru>
and no, there's no way i know of to make it use `curl -s` instead of puking all over the terminal :(
<manveru>
other than maybe patching nix, but i'm too lazy to maintain a fork for this
<dramforever>
It's speeding things up so much I can't see how much speed it has :(
<dramforever>
manveru: No worrys, just some random thoughts while 'My OS is compiling' :P
<manveru>
yeah
<Jackneill>
hey
<dramforever>
Nice, It took forever but I've got GNOME running
<Jackneill>
does linux have union dirs line plan9? it would mean less symlink indirections, faster appstart
<Jackneill>
"The separate process namespaces thus replace the notion of a search path in the shell. Where Unix shells have a list of directories to search for programs when given a command, the Plan 9 shell only looks in the directory /bin; adding commands is done by binding several directories together to appear as a single /bin.[18]"
<manveru>
Jackneill: well, in theory, yes, but you need specific filesystems for it
<manveru>
something like overlayfs
<hamishmack>
I have two haskell packages. The second one runs some tests, but needs access to the source files of the first package to run the tests. Is there a way I can make the source of the first package a dependency of the second?
<domenkozar>
gchristensen: just push or everything?
<gchristensen>
dramforever: what took so long?
<domenkozar>
well I'll configure just push
<gchristensen>
domenkozar: pull requests
<gchristensen>
domenkozar: I don't need push, just want the pull_request notifications
simendsjo has joined #nixos
<domenkozar>
new PR?
<gchristensen>
hrmm I thought pull_request meant all of them?
<gchristensen>
man it does, sorry for treating #nixos like google... networking.bonds
<Jackneill>
gchristensen, so your question was basically whether from the offical repos you can install that pkg? sorry new to nixos never created a nix pkg
<LnL>
gchristensen: was just going to mention that I've seen a module for it
mudri has joined #nixos
<gchristensen>
Jackneill: no, sorry, this is asking a question about configuring the system not building a package. just like configuring your system to have a static IP
<gchristensen>
LnL: do I dare try and configure it on my working system, and risk mucking it up? :)
<pierron>
Sonarpulse: What do you think of the following idea: using recursiveUpdate in the extend functions of Nixpkgs?
<pierron>
Sonarpulse: The reason I think this might be interesting is for getting rid of all the language/package set sub-attributes within Nixpkgs, and making them extensible wit overlays.
<pierron>
Sonarpulse: ^ getting rid of the self or whatever attributes they give them-self.
<Jackneill>
Example 2.2. NixOS Configuration what is nixos config and why is it needed?
alx741 has joined #nixos
<gchristensen>
well presumably my computer should be different from your computer
alx741 has quit [(Client Quit)]
<Jackneill>
well sure, but eg. boot.loader.grub.device = "/dev/sda"; why does nix config manage this?
alx741 has joined #nixos
<Jackneill>
nix pkg should just install the template/defults to edit to make mine different
<Jackneill>
why do i have to manage this through nix config?
<Jackneill>
logically the pkg manager has nothing to do with grub, hence im asking
<gchristensen>
anyone around who can explain this better than I can? :)
<Jackneill>
*and its not unix-y* :)
<NixOS_GitHub>
[nixpkgs] fadenb opened pull request #21907: Couchpotato: init at 3.0.1 + couchpotato module (master...couchpotato) https://git.io/vMw9I
<Jackneill>
do 1 thing and do it right, it seems to me nix pkg manager aims to do everything
jgertm has joined #nixos
<gchristensen>
have you ever used configuration management, Jackneill?
<Jackneill>
gchristensen, you mean on nix?
<Jackneill>
i've never used nixos
<gchristensen>
I mean like Puppet or Chef or Ansible
<Jackneill>
no i havent
<gchristensen>
I see
<Jackneill>
i get the idea, if you have a lot of apps with lot of configs, its tremendous to manage them separately every time
<Jackneill>
so abstracting it away helps
<gchristensen>
have you ever tried getting something to work on linux and tried a dozen different things, and then eventually you get it to work? or conversely: edit your xorg config and then break it, and can't remember exactly what you changed to undo it?
<Jackneill>
gchristensen, never had to fiddle with xorg, just worked for me. :) but please continue
<Jackneill>
does nixos make it possible to have eg. a grub.cfg for different versions of grub?
<Jackneill>
if a pkg changes it makes sense that its config format might be too
<gchristensen>
totally
<Jackneill>
so to make it your job to port every time, nixos abstracts it away?
<gchristensen>
with nixos, and managing the config with nixos, every change can be rolled back and undone, and if it is really broken you can reboot and select in your boot loader what version you use
<Jackneill>
i see
<Jackneill>
thanks
<gchristensen>
and if you take your configuration.nix to a new computer and run `nixos-rebuild switch` you will have _exactly_ the same software and configuration as you did before
<Jackneill>
though, still its really ununixy, and least it feels like it :)
<Jackneill>
thats cool
<gchristensen>
and with the example of "getting something to work on linux and tried a dozen different things, and then eventually you get it to work?" every time you follow a forum thread you're implicitly changing the state of your system, and the person who wrote the thread or how-to has some implicit state _they_ have, and if your starting state isn't the same, the ending state won't be the same, that is why you could
<gchristensen>
try 5 different how-to's on how to do a thing and end up with it not working
<Jackneill>
altough im in favour of the ~/.config , in other words keep every config in ~/.config, so you need to backup only the list of installed pkgs and the ~/.config and you have the same configuration.
<gchristensen>
when I installed nixos on my macbookpro I copied someone's configuration.nix and immediately had a highly functional computer with no tweaking required.
<Jackneill>
i see
<gchristensen>
do you keep literally every config in your ~/.config? or do you maybe have some that you don't version? because those matter too
<Jackneill>
well it should be like POSIX, a protocol for every pkg to keep its configs, the files that you can tweak that makes the softwae deviate from its default working in ~/.config.
<Jackneill>
gchristensen, well in non-nixos systems you dont version the config files
<Jackneill>
im on archlinux now
<Jackneill>
fortunately more and more people use the ~/.config
<gchristensen>
what about /etc?
<gchristensen>
I'd recommend trying nixos in a vm and see how you like it, I think it is an incredibly powerful paradigm
<gchristensen>
we use ~/.config too for user applications
<Jackneill>
gchristensen, well etc should be a fallback if its not in ~/.config
<Jackneill>
in my opinion
<gchristensen>
so grub looks in ~/.config for how to install grub?
<pierron>
Jackneill: Nixpkgs contains the source of the distribution NixOS. The distribtion handles the bootloader, but this is not necessary for using Nix on any other computer.
<Jackneill>
no you install grub, then its looking into ~/.config on how to do things. or you run grub-config or whatever that you installed that creates the config automatically
<Jackneill>
thats how arch does it, alotugh grub keeps its things on /boot/*
<Jackneill>
its configs also
<pierron>
grub is installed with the configuration files produced by NixOS. It does not look inside ~/.nixpkgs/config.nix (what would it even mean to look in ~/ ?)
<gchristensen>
pierron: can you take over? :) my hands are hurting from typing today.
<pierron>
gchristensen: I will.
<gchristensen>
thank you
<Jackneill>
on other systems after you install grub, you need to run grub-install /dev/sdx to make the configs
<pierron>
Jackneill: this is what the line you quoted before is used for. boot.loader.grub.device = "/dev/sda";
<Jackneill>
can i have different configs for different versions of pkgs?
<Jackneill>
configuration.nix seems like it provides the same config for different versions but not more
<Jackneill>
pierron, yeah
<pierron>
Jackneill: yes, every time you rebuild NixOS, it is added in the /boot, as a new entry.
<Jackneill>
pierron, not in its /nixpkgs/hash/.../boot ?
<Jackneill>
and symlink that ?
<pierron>
Jackneill: both actually, and it is copyied if the /boot is on another filesystem.
<Jackneill>
i guess in 2017 its basic that i can have many /nixpkg store on many drives
<Jackneill>
:)
<pierron>
Jackneill: I am not sure to understand your remark.
<Jackneill>
gchristensen, pierron thanks, i guess im understanding everything now, 1 last question:
<Jackneill>
i meant like /bin, /usr/bin and /usr/local/bin can reside on any drives, this was the purpose the create them.
<pierron>
Jackneill: one example, my system is installed in /nix/store/hvzdsv4b6rrmjyxa6cqnckxvy5ib3p6x-nixos-system-winvm-17.03pre98008.59dbcef, and this directory contains the init and kernel files used for booting.
<Jackneill>
and i can have more store dirs?
<gchristensen>
no, it has to be /nix/store
<Jackneill>
but if i want to have more pkgs that fit into my hdd?
<Jackneill>
sda will be full i want to keep things in sdb
<Jackneill>
like installin games on a separate path
<pierron>
Jackneill: you can concatenate physical drive, within a virtual drive.
<pierron>
Jackneill: lvm is quite good at doing that, and I think btrfs is capable as well.
<Jackneill>
so i cant have the stre in separate paths? like /nix/store for everything except games, than /nix/games for games?
<pierron>
Jackneill: separate path, or separate hard drive?
<Jackneill>
pierron, both actually
<Jackneill>
/nix/games would be on another hdd
<pierron>
Jackneill: separate path is implicit as each package is stored in its own path.
<pierron>
Jackneill: separate hard-drive would require you to create a new nix store on the other hard-drive.
<Jackneill>
pierron, sorry i didnt unserstand this, you mean /nix/store/pkg/ ?
<pierron>
Jackneill: yes, that's what I meant.
<Jackneill>
so i can have as many nix stores as i want?
<NixOS_GitHub>
[nixpkgs] peti pushed 5 new commits to master: https://git.io/vMwH3
<NixOS_GitHub>
nixpkgs/master 2608ade Peter Simons: LTS Haskell 7.15
<NixOS_GitHub>
nixpkgs/master a37e086 Peter Simons: Hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub>
nixpkgs/master bdad3a6 Peter Simons: jailbreak-cabal: fix reference in ghc-HEAD overrides
<pierron>
Jackneill: creatign another nix-store on the root of another hard-drive is possible, but not efficient as all the dependencies of the games would have to be copied over.
<Jackneill>
well yeah
<maurer>
Jackneill: Are there a lot of packages you need on the other drive, or just a few?
<pierron>
Jackneill: Yes, but this is not recommended.
<Jackneill>
maurer, i was just asking theorotically
<maurer>
If only a few, you could do something like
<maurer>
pierron: Ah, so for this package, most of the data is not in the package itself
<pierron>
maurer: that might in fact be a common case.
alx741_ has joined #nixos
<pierron>
maurer: what you suggested will not work after upgrades, and I do not think the system allow you to remove a directory on which you have a mount point.
alx741_ has quit [(Client Quit)]
alx741 has quit [(Ping timeout: 260 seconds)]
alx741 has joined #nixos
mguentner2 is now known as mguentner
SovereignBleak has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMwQ4
<NixOS_GitHub>
nixpkgs/master 6e079bd Franz Pletz: gitlab: 8.13.5 -> 8.15.4
c0bw3b has joined #nixos
athaller has quit [(Remote host closed the connection)]
cfricke has quit [(Quit: WeeChat 1.6)]
athaller has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vMwQr
<loskutov>
Hi everyone! Is gnome-shell supporting wayland in current nixpkgs? Looks so (there's xwayland running), but all the apps launched seem to be using xwayland. If I try to force wayland via GDK_BACKEND and QT_QPA_PLATFORM, they fail to start. Why is that happening?
<loskutov>
(by "current nixpkgs" I mean unstable -- f673243)
lsix has joined #nixos
lsix has quit [(Quit: Konversation terminated!)]
<NixOS_GitHub>
[nixpkgs] abbradar pushed 5 new commits to master: https://git.io/vMw71
<NixOS_GitHub>
nixpkgs/master 1158eda Nikolay Amiantov: dhcpd service: add DHCPv6 support
<NixOS_GitHub>
nixpkgs/master cb41831 Nikolay Amiantov: radvd: 2.13 -> 2.15
yegods has quit [(Remote host closed the connection)]
yegods has joined #nixos
michaelpj has quit [(Ping timeout: 256 seconds)]
jmeredith has quit [(Quit: Connection closed for inactivity)]
<loskutov>
Looks like CI is broken in last PRs
<loskutov>
error: anonymous function at /home/travis/build/NixOS/nixpkgs/pkgs/development/node-packages/node-env.nix:3:1 called with unexpected argument ‘python’, at /home/travis/build/NixOS/nixpkgs/pkgs/development/node-packages/composition-v6.nix:8:13
reinzelmann has joined #nixos
shd has joined #nixos
<shd>
when using nixops, does uploaded nix-store schema version depend on local nix package version, or $NIXPKGS built?
jgertm has joined #nixos
feepo has joined #nixos
<mguentner>
loskutov: 986dba716f8244304e5e9afb92924eb543fc5596 broke it
<mguentner>
can someone with push access please revert that ^?
agjacome has quit [(Quit: leaving)]
<stepcut>
If my app 'foo' requires the gnupg executable at runtime -- where do I specify that in the derivation?
<loskutov>
buildInputs?
<bennofs>
stepcut: does your app rely on $PATH to find gnupg?
<stepcut>
bennofs: I'm going to say yes
<bennofs>
stepcut: then you can use makeWrapper to wrap your app to explictly set $PATH such that it contains the absolute path of gnupg's bin dir
<bennofs>
stepcut: or alternatively, make your app directly call gnupg with an absolute path
bennofs is now known as bennofs_away
<stepcut>
thanks. I look into the makeWrapper solution.
<sphalerite>
loskutov: is it not just possible to run them under weston because of xwayland?
<loskutov>
no, i can run them even if I force wayland
<sphalerite>
Oh ok
<sphalerite>
neat
jmeredith has joined #nixos
<sphalerite>
Does anyone know a good way of making the git revision of a source directory available in the build environment without pulling in all of .git?
abrar has joined #nixos
<gchristensen>
sphalerite: you can use filterSource
<sphalerite>
gchristensen: but if I filter out all of .git I can't get the current git revision
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vMwN5
<manveru>
anyone know a good tool to get the text out of a postscript file?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout- has joined #nixos
niles250 has joined #nixos
<BlessJah>
is it possible to share nix store across several instances (i.e. via nfs)?
niles250 has left #nixos []
<gchristensen>
clever: ^
mizu_no_oto has joined #nixos
<LnL>
BlessJah: yes with remote stores
Itkovian has joined #nixos
<BlessJah>
I know where to look now, thanks
<LnL>
BlessJah: the daemon uses NIX_OTHER_STORES = "/run/nix/remote-stores/*/nix" by default
<NixOS_GitHub>
[nixpkgs] mguentner opened pull request #21910: vim plugins: added vim-speeddating (master...vim-speeddating) https://git.io/vMwxT
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
<pikajude>
hi
<pikajude>
i'm using wine64 on my nixos
<pikajude>
but it can't launch anything
<shd>
i updated mine nix.package to different version, any ideas how to trace why old nix version is still used?
<pikajude>
when i strace the process, "wine64 file.exe" tries to execute "/full-path-to-wine/bin/wine file.exe"
<pikajude>
but the wine executable doesn't exist
<pikajude>
so why is it trying to do that
<mguentner>
zimbatm: thx
<zimbatm>
np :)
<katyucha>
shd : a rebuild switch with --upgrade ?
<shd>
katyucha: yeah... it seems like i'm the only one using nixops :)
<Profpatsch>
peti: I’m still looking for a way to say „all dependencies of a haskell package“
jgertm has quit [(Ping timeout: 240 seconds)]
<shd>
Profpatsch: i've been struggling withh the same thing for different package, but couldn't find anything better than nix-store which wasn't satisfying
<BlessJah>
LnL: how does GC cope with multiple nodes writing to the store?
<LnL>
those remote stores are readonly IIRC
<Profpatsch>
shd: For a haskell package?
aph has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<shd>
Profpatsch: no, i just assume if you'll find any file that's provided by the haskell package it might still give "some" results
<Profpatsch>
I can kind of approximate it with depsOf = hpkg: hpkg.propagatedNativeBuildInputs;
<Profpatsch>
But that’s very specific for haskell packages, and it probably only works by chance.
<aph>
How do I escape the `.` in `nixos-16.09` so that I can select an attribute from it? (Trying to `nix-env -iA nixos-16.09.coreutils`)
<aph>
Should I just rename it to remove the `.`?
<Profpatsch>
shd: Of course my requirement is to get the dependencies in the nix expression.
<shd>
Profpatsch: sorry i missunderstood you
loskutov has quit [(Ping timeout: 245 seconds)]
mizu_no_oto has joined #nixos
tokyo_jesus has joined #nixos
<clever>
BlessJah: NIX_OTHER_STORES is mainly to allow one nix instance to copy things out of another nix install, so you save on download time, but not disk usage
xj9[m] has joined #nixos
<clever>
BlessJah: getting multiple systems to share a single /nix/store is a lot more difficult, because of concurrent modifications and garbage collection
tokyo_jesus has quit [(Quit: Leaving.)]
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #21911: release-cross: Expose sub-jobs of linux cross stdenv (master...release-cross) https://git.io/vMwp1
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vMwpM
<NixOS_GitHub>
nixpkgs/master a62ee8d John Ericson: release-cross: Expose sub-jobs of linux cross stdenv
<NixOS_GitHub>
nixpkgs/master cef5131 John Ericson: Merge pull request #21911 from Ericson2314/release-cross...
ixxie has joined #nixos
<ambro718>
After an upgrade within 16.09 (from ~3 months ago), my mini PC with ATI graphics no logner shows a desktop, just black screen (but VT switch works). No errors in X startup.
pi3r has joined #nixos
<ambro718>
monitor is connected via displayport and HDMI adapter
mrkgnao has quit [(Ping timeout: 240 seconds)]
<BlessJah>
clever: for multiple VMs to save disk space, doable/worth it?
Mic92 has joined #nixos
<clever>
BlessJah: in the case of VM's, i would use dedup on the host, like ZFS
<clever>
that would reduce the memory usage by dedup
* BlessJah
wanted some long-living machines to be small
<NixOS_GitHub>
[nixpkgs] gnidorah opened pull request #21912: nano: add nix syntax hightlight, nano module: provide default (master...nano) https://git.io/vMwhV
reinzelmann has quit [(Quit: Leaving)]
justanotheruser has joined #nixos
wak-work has quit [(Ping timeout: 255 seconds)]
justan0theruser has quit [(Ping timeout: 260 seconds)]
mudri has joined #nixos
<hodapp>
woot, declarative management of containers is pretty nice to have
<hodapp>
which is good, because I really should be using containers more when I am using things like servers
<hodapp>
though, I'll have to look and see if it can do Docker competently because I have a couple servers that thus far just want to run as Docker images
coub has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
simendsjo has quit [(Remote host closed the connection)]
<pikajude>
so, does wine64 just not work at all on nixos?
<coub>
Hi, i'd like to install nixos on openvz, there is a wiki how to do it, here: https://nixos.org/wiki/Install_NixOS_as_OpenVZ_guest , but the minimal install archive it's referencing is indicating 404 when I try to download. The archive is a bit dated, too, from 2017. Is there a way, how to create the archive from the .iso?
jmiven has quit [(Quit: co'o)]
jmiven has joined #nixos
yegods has quit [(Remote host closed the connection)]
yegods has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vMre2
<NixOS_GitHub>
nixpkgs/master 99d0e1d Rodney Lorrimar: haskellPackages.lentil: override dep versions
<NixOS_GitHub>
nixpkgs/master 5b05266 Peter Simons: Merge pull request #21878 from rvl/master...
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vMreo
<NixOS_GitHub>
nixpkgs/master a798850 Shea Levy: ghc with-packages-wrapper: Add support for cross-compiling
<NixOS_GitHub>
nixpkgs/master c85a8f0 Peter Simons: Merge pull request #21876 from shlevy/ghcWithPackages-cross...
mexisme has joined #nixos
yegods has quit [()]
Fare has joined #nixos
mudri has joined #nixos
obadz has joined #nixos
<katyucha>
Someone use jenkins on nixos ? Some shell command are not found... :/ like whereis or sbt ... any ideas ?
<gchristensen>
katyucha: add things to services.jenkins.packages
mizu_no_oto has joined #nixos
zarel has quit [(Quit: Leaving)]
Fare has quit [(Ping timeout: 240 seconds)]
<ixxie>
I have a weird idea: maybe the Nix Expression Language could be coopted for use in legal document templating
justin_ has quit [(Ping timeout: 260 seconds)]
Fare has joined #nixos
<clever>
ixxie: yeah, the rpi2 is armv7, and the rpi3 is backwards compat with v7
ttuegel has joined #nixos
Lowl3v3l has quit [(Read error: Connection reset by peer)]
<ttuegel>
Is anyone here using ati_unfree drivers? When I follow the instructions in the NixOS manual online, Xorg just segfaults at startup. Is there an updated manual somewhere?
Lowl3v3l has joined #nixos
<philipp[m]>
ttuegel: I've also always had trouble with ati_unfree. If you have a newer card, you should seriously consider using one of the mesa drivers.
<ambro718>
each driver for AMD cards seems to suck in at least one way
<simpson>
Sorry. Drivers are hard.
<ambro718>
Some update just update broke my system, black screen instead of desktop. I'll have to try forcing an older kernel, probably the issue is in some kernel change of the radeon driver between 4.4.31 and 4.4.41. Actualy I'm currently trying the amdgpu driver (for which I need to force some kernel config option otherwise it doesn't work with my card), but I already know what the result will be.
ublubu has quit [(Ping timeout: 245 seconds)]
<ambro718>
the funny thing is that the amdgpu and radeon drivers seem to be pretty matched bug-wise, every thing they fix/break in both drivers ;)
ublubu has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<katyucha>
gchristensen: hmm ok... I will loot at that , thx
Wizek_ has joined #nixos
mizu_no_oto has joined #nixos
<jeaye>
Any of you folks have working nextcloud configs to share?
<jeaye>
I don't see much in terms of NixOS-specific documentation for setting up nextcloud, or even owncloud.
coub has quit [(Ping timeout: 260 seconds)]
ixxie has quit [(Remote host closed the connection)]
danharaj has joined #nixos
Itkovian has joined #nixos
tg has joined #nixos
loskutov has joined #nixos
JagaJaga has quit [(Quit: WeeChat 1.6)]
JagaJaga has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
AmiableCitizen has joined #nixos
<ttuegel>
philipp[m]: I am using a Cape Verde card, which is right at the awkward transition from DRI to AMDGPU... I'm trying to get experimental support in Linux 4.9 working ATM...
<ttuegel>
For anyone reading these IRC logs later, the Catalyst driver does work, but only with LightDM as your display manager. (Huh?)
bennofs_away has quit [(Quit: WeeChat 1.6)]
bennofs has joined #nixos
bennofs has quit [(Client Quit)]
bennofs has joined #nixos
bennofs has quit [(Quit: WeeChat 1.6)]
justin_ has joined #nixos
c0bw3b has left #nixos []
ttuegel has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Lowl3v3l has quit [(Ping timeout: 240 seconds)]
Lowl3v3l has joined #nixos
k2s has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
wak-work has joined #nixos
justin_ has quit [(Ping timeout: 252 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
rydnr has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
hiratara has quit [(Ping timeout: 245 seconds)]
hiratara has joined #nixos
k2s has quit [(Quit: Leaving)]
georges-duperon has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vMrke
<NixOS_GitHub>
nixpkgs/master 4c803b9 Bjørn Forsman: nixos/clamav: set "clamav" user's primary group to "clamav"...
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to release-16.09: https://git.io/vMrkB
<NixOS_GitHub>
nixpkgs/release-16.09 30bb4aa Bjørn Forsman: nixos/clamav: set "clamav" user's primary group to "clamav"...
<makefu>
hi, anyone has experience with nixos+avahi? i am trying to publish a custom service file by writing it to /etc/avahi/service/derp.service but it seems the daemon only uses the ones which are defined in the avahi package itself?
<NixOS_GitHub>
[nixpkgs] ttuegel opened pull request #21914: linux_4_9: enable support for amdgpu on older chipsets (master...amdgpu-verde) https://git.io/vMrL4
thc202 has quit [(Ping timeout: 240 seconds)]
JagaJaga_ has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vMrLX
<NixOS_GitHub>
nixpkgs/master 04d1163 Thomas Tuegel: linux_4_9: enable support for amdgpu on older chipsets...
<NixOS_GitHub>
nixpkgs/master 7c8d3aa Tim Steinbach: Merge pull request #21914 from ttuegel/amdgpu-verde...
<ToxicFrog>
Using nixops -- is there a way to do the build on the machines I'm deploying to, rather than on the machine I'm running nixops from?
<simpson>
ToxicFrog: Yes, but I don't know the details. ISTR that gchristensen has done stuff along that route.
<ToxicFrog>
LnL: that's...not really what I'm looking for, since it looks like it'll treat the targets as a build farm, run the builds on them, copy the results to the nixops controller, and then copy them back with nix-copy-closure during 'nixops deploy'
<ToxicFrog>
Whereas what I'm after is not have them building or taking up space on the controller,
<ToxicFrog>
Since I'm going to be building stuff like KDE that's (a) huge and (b) pointless on a server.
<pikajude>
anyone know of a good way to debug actkbd?
pie_ has quit [(Ping timeout: 240 seconds)]
<pikajude>
i'm not sure it does anything
<pikajude>
nor do I know of a way to make it do something
johnsonav has quit [(Remote host closed the connection)]
johnsonav has joined #nixos
Fare has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
alx741_ has joined #nixos
ronny has quit [(Ping timeout: 240 seconds)]
alx741 has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #21915: Slightly saner cross-compiling through bootstrapping (master...cross-tepid) https://git.io/vMrqK
jgertm has quit [(Ping timeout: 240 seconds)]
<makefu>
just for the record, i managed to add a service to avahi by adding the file in the postFixup phase via overrideDerivation. but this is kind of sub-optimal as this requires the rebuild of all packages which require avahi as input ...
<NixOS_GitHub>
[nixpkgs] Profpatsch opened pull request #21916: haskell: add doc outputs to with-packages-wrapper.nix (master...ghcWithPackages-docs) https://git.io/vMrqj
indi_ has joined #nixos
FrozenCow has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 260 seconds)]
MoreTea has joined #nixos
<MoreTea>
'night
kampfschlaefer has quit [(Ping timeout: 256 seconds)]