<mabel>
can I override the shell used by stdenv.mkDerivation?
itorres has quit [Ping timeout: 244 seconds]
Dedalo has joined #nixos
itorres has joined #nixos
kisonecat has joined #nixos
eadwu has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<siraben>
I see this folder at ~/.local/share/baloo taking up 15.5 gigabytes, what is it?
<vaibhavsagar>
I think it's an index
<Ankhers>
Does anyone have experience using lua rocks to package an application? Should I be using lua rocks, or should I just package the la modules I needto make it work?
<siraben>
15.5 GB of indexes?
<siraben>
damn
<vaibhavsagar>
could be
<vaibhavsagar>
I remember manually killing the process that updated them
<vaibhavsagar>
every time I restarted until I got rid of a few folders of saved emails
<siraben>
worldofpeace: thanks it was happening to me as well
eadwu has joined #nixos
silver has quit [Read error: Connection reset by peer]
georges has joined #nixos
astrofog has joined #nixos
<worldofpeace>
siraben: I can reproduce locally. Mind opening an issue with the build log etc? the problem is in txaio
sb0 has joined #nixos
sary has joined #nixos
<sb0>
hi. I want to apply a patch to the "bloaty" tool from nixpkgs. I checked out nixpkgs-unstable, and added the line "patches = [ ./debug-info-from-env.patch ];" to the bloaty default.nix
<simpson>
worldofpeace: It's completely recent. The issue appears to be that asyncio's test utilities are looking for some sort of test certificate file, and that file isn't present in the Nix store alongside the tests, or something like that.
pie_ has quit [Ping timeout: 268 seconds]
hexo_ has joined #nixos
<simpson>
I don't see how to trivially fix this other than disabling the tests, which is a permissible if annoyingly-common thing to do in the Python subtree.
<worldofpeace>
I'm seeing `txaio-18.7.1` on 18.09 and `txaio-18.8.1` on master
sary has joined #nixos
sary is now known as lot
<worldofpeace>
And yes disabling tests would for sure 'fix' it :D
freeman42x[nix] has quit [Remote host closed the connection]
<siraben>
What commit caused this?
srk has joined #nixos
<siraben>
It was working before
<worldofpeace>
There were the python updates for stable I think
<{^_^}>
fusion809: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
wedens has joined #nixos
kisonecat has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « clickhouse: build with llvmPackages_latest »: https://git.io/fhsJ4
<simpson>
siraben: I may have fixed the tests; however, I will need to build a new CPython 3.6 to see whether that's the case.
<simpson>
worldofpeace: The root cause: In CPython 3.x interpreters, we explicitly trash a bunch of stdlib test files. I think that this includes some .pem certificate test data.
ddellacosta has joined #nixos
<worldofpeace>
simpson: That sounds promising.
init_6 has quit []
init_6 has joined #nixos
<siraben>
simpson: sounds good
alex_giusi_tiri has quit [Read error: Connection reset by peer]
hedning has joined #nixos
jackdk_ has joined #nixos
sigmundv_ has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<{^_^}>
[nixpkgs] @marsam opened pull request #53476 → clair: init at 2.0.7 → https://git.io/fhsUt
<worldofpeace>
That reads nice, I've actually forgotten how it's displayed with a channel since I haven't used those in soo long
<infinisil>
lokado: Yeah that's pretty much up to date
<yl[m]>
worldofpeace: I have customized it a long time ago but now it looks pretty much how it did before the pinning to me. I think what's missing is the number of commits since the tag 18.09
<lokado>
infinisil: Are those issues still exists after 4 years? :P
<gchristensen>
lokado: I use ZFS as my root on a handful of systems ...zvol as swap is generally a bad idea. do set mountpoint to legacy. you're not likely to have to computers try to import the same drives unless you have a fancy SAN
<iqubic>
gchristensen: I use a zvol for swap. Why is that bad?
<clever>
iqubic: writing to a zvol requires allocating ram
<clever>
and if your low on ram, that causes swap to activate
<clever>
which causes swap to activate
<iqubic>
oh.
<iqubic>
what should I do?
<clever>
i always put my swap on a real partition
<clever>
`swapDevices.*.randomEncryption` if you want some more security
<clever>
it will use a new luks key every time it boots
jackdk_ has joined #nixos
init_6 has quit [Ping timeout: 246 seconds]
hl has joined #nixos
sigmundv_ has quit [Ping timeout: 252 seconds]
griff_ has quit [Quit: griff_]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @MostAwesomeDude opened pull request #53479 → cpython: Un-remove some test data → https://git.io/fhsTH
<simpson>
siraben: ^^ despite the unassuming name, this should fix magic-wormhole.
<siraben>
simpson: thank you, i'll check when I get home
jackdk_ has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 250 seconds]
jackdk_ has joined #nixos
babic has quit [Remote host closed the connection]
<elvishjerricco>
iqubic: Note that clever's randomEncryption solution will not allow hibernate. But also, I have *heard* several success stories of people using zvol for swap, but every time I try it, the whole system locks up. That makes it sound like clever is write, but it leaves the question: what about those people for whom it worked?
<gchristensen>
elvishjerricco: maybe they don't experience memory pressure
<elvishjerricco>
gchristensen: Well presumably it was a ZFS dev who added the blurb about zvol swap to their documentation, and I'd be surprised if the ZFS devs would let that through without testing it
<gchristensen>
I would be too
<elvishjerricco>
gchristensen: Maybe they all have different kernel params that they test with for unrelated reasons which happen to let it work?
<worldofpeace>
simpson: Then wouldn't txaio's tests fail on master too?
endformationage has quit [Quit: WeeChat 2.3]
<DigitalKiwi>
how do you do clevers thing
<wedens>
https://paste.ee/p/cXt0z am I doing something stupid in this overlay? it seems to be stuck in infinite recursion or something
<DigitalKiwi>
so i used by-uuid when i setup and it seems that won't let me use the encryptedswap so how do i change?
<pbb>
^ I'd really like some feedback about this module since it's the first full-featured module I've written
rprije has quit [Ping timeout: 272 seconds]
<pbb>
for example, what is the best practise for handling bind capabilities? Someone might want to bind the service to a port <1024. The service supports dropping capabilities after startup, but should I rely on that? Alternatively, I could give the systemd unit the necessary capabilities, or I could use a systemd socket.
<siraben>
How do people here do declarative firefox configurations?
palo1 has joined #nixos
tzemanovic has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanov_ has joined #nixos
griff_ has joined #nixos
tzemano__ has joined #nixos
orivej has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
tzemanov_ has quit [Ping timeout: 252 seconds]
jackdk_ has quit [Remote host closed the connection]
simukis has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
tzemano__ has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<wedens>
worldofpeace: thanks, but it didn't help :/ it outputs "using revision 16946a6f008afa13911805418217dbd92f1fedde of repo 'https://github.com/rycee/home-manager'" repeatedly. I use home-manager as a nixos module
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<wedens>
and it doesn't matter whther this derivation is used in home.packages or environment.systemPackages
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<wedens>
home-manager is added to imports in configuration.nix
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<wedens>
can it be something related to this overlays-compat trick?
zenhoth has joined #nixos
init_6 has joined #nixos
<zenhoth>
What is the best practice for injecting dev tools into your nix-shell? I have a default.nix, but adding extra packages to that with -p is unsupported, yet I would like to have access to ipython, for instance.
dmi3y has joined #nixos
<dmi3y>
Hi guys! I'm new to NixOS and just getting started. I wanted to play with nix-shell, but I'm getting 'error: getting status of '/home/dmi3y/default.nix': No such file or directory' when I'm trying to run it. How can I fix that?
<{^_^}>
[nixpkgs] @FRidh pushed 68 commits to staging-next: https://git.io/fhsta
FRidh has joined #nixos
sary has quit [Ping timeout: 250 seconds]
<zenhoth>
dmi3y: nix-shell takes as arguments either a .nix file, or (with -p) some package names. If neither are provided, it assumes default.nix
<zenhoth>
dmi3y: try nix-shell -p <packagename>
<dmi3y>
@zenhoth Got it, thanks a lot. I should have read the documentation first I guess.
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<dmi3y>
Another question if I may. How can I set environment variable `$LANG` in `configuration.nix`? I already have i18n.defaultLocale = "en_US.UTF_8" but 'echo $LANG' gives me a different locale
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
mabel has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
jackdk_ has quit [Remote host closed the connection]
<wedens>
dmi3y: did you reboot after setting that?
<wedens>
also, what's the content of /etc/locale.conf
<dmi3y>
@wedens I must have rebooted for sure. /etc/locale.conf has en_US.UTF_8. Maybe it's KDE messing it up.
tzemanovic has quit [Remote host closed the connection]
emacsomancer has quit [Read error: Connection reset by peer]
alex`` has joined #nixos
erictapen has quit [Ping timeout: 258 seconds]
erictapen has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
zarel has joined #nixos
<{^_^}>
[nixpkgs] @kirelagin opened pull request #53488 → lighttpd: Unbreak on darwin, enable tests → https://git.io/fhsmh
erictapen has quit [Ping timeout: 258 seconds]
mabel has quit [Ping timeout: 258 seconds]
erictapen has joined #nixos
<ivegotasthma>
I got this nix build env, but it still doesn't find the zlib headers, any idea what could be wrong? I copied this almost 1 to 1 from the manual and added my own deps. https://dpaste.de/yPhr/raw
<{^_^}>
[nixpkgs] @redfish64 opened pull request #53489 → efitools: init at v1.8.1 → https://git.io/fhsYJ
<wedens>
seems like overlays-compat indeed breaks some recursive usage
<typetetris>
wedens: thanks, that worked :)
<typetetris>
it looks like setting "services.bind .enable = true;" forces "nameserver 127.0.0.1" to be placed in /etc/resolv.conf. Can I get around that? I would like to use bind as an authorative dns server only, not a caching and recursing one.
Adluc has joined #nixos
<silver_hook>
Am I blind or are KDE Games (since Plasma 5 at least) missing?
<jonaswouters>
I was wondering. I have different projects that require different versions of node. I used nvm before, but I was wondering if I could solve it using nix. I can do a nix-shell -p node_v10 for example, but how would I make it available in X and my IDE?
<wedens>
jonaswouters: does your ide have support for direnv?
<jonaswouters>
wedens: seems like intellij has a plugin available for it
<jonaswouters>
and visual studio code as well
<jonaswouters>
not sure how well they will work
<philippD>
How do I configure fan control on NixOS?
<philippD>
All my fans are at full throttle as long as the displays are on
<wedens>
philippD: there are some related modules: thinkfan, mbpfan, thermald
<{^_^}>
#12132 (by heydojo, 3 years ago, closed): sddm : QtQuick is not installed
<siraben>
Let me try what they said
agander__ has joined #nixos
agander_ has joined #nixos
<{^_^}>
[nixpkgs] @markuskowa pushed commit from @lasandell to release-18.09 « wsjtx: 1.9.1 -> 2.0.0 »: https://git.io/fhs3r
owickstrom has joined #nixos
agander_ is now known as agander
<owickstrom>
I'm using callCabal2nix to define a Nix build for my Haskell project. The test suite depends on a few data files in test/data, but I can't get them included in the nix build. When doCheck runs the tests fail with NoSuchThing exceptions. Anyone knows how I can get them included? I've tried extra-source-files in Cabal.
<ivegotasthma>
I solved it by adding the python36Packages.pillow package to the dependencies
agander__ has quit [Ping timeout: 258 seconds]
jluttine has quit [Read error: Connection reset by peer]
<owickstrom>
wedens, thanks, I'll have a look. Also trying to see how other packages are solving this, like Pandoc, that probably have test data files.
orivej has quit [Ping timeout: 240 seconds]
<m15k>
I wonder why `nix-channel` is trying to mount /proc: `error: while setting up the build environment: mounting /proc: Operation not permitted`
<{^_^}>
[nixpkgs] @FRidh closed pull request #37527 → Experimenting with submodules in nixpkgs → https://git.io/vxcGi
<siraben>
ldlework: wedens fixed! Looks like I needed to use qtquickcontrols2 instead of qtquickcontrols https://ptpb.pw/VBzR/nix
tdeo has quit [Ping timeout: 250 seconds]
<duairc>
I'm trying to create a derivation for a few packages, and it's been going well so far, but one of them wants to put a bunch of stuff in /etc... what's the right way to handle this?
<duairc>
Like the Makefile or whatever has it hardcoded to /etc... do I just patch it to put it in ./etc relative to the root of the package? Will Nix then put symlinks in the right places if I install the package? But what happens when the package is installed locally by a user?
<wedens>
duairc: yeah. make it so that it outputs to $out/etc
<betaboon>
I'll try wedens suggestion, after that i have to leave for now
<LnL>
use the arrays if you're in bash and don't overwrite them, there might be important stuff in there already
<betaboon>
so building with wedens suggestion seems to work. will change to using the array when i get back. thanks for the hints :)
kisonecat has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « git-annex: patch to fix build with ghc 8.6.x »: https://git.io/fhsny
eadwu has joined #nixos
<{^_^}>
[nixpkgs] @LnL7 opened pull request #53501 → doc: don't overwrite makeFlagsArray in the example → https://git.io/fhsnb
<wedens>
is there some prior art to pinning emacs packages and doing batch update (bumping to latest revisions and changing hash accordingly)?
freeman42x[nix] has joined #nixos
rfold has joined #nixos
primeos has quit [Ping timeout: 250 seconds]
kisonecat has quit [Ping timeout: 250 seconds]
kisonecat has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
primeos has joined #nixos
kisonecat has quit [Ping timeout: 246 seconds]
Mateon3 has joined #nixos
<freeman42x[nix]>
helping someone set up NixOS, they are getting "Remaining space in your home folder: 0MiB" any ideas why?
Mateon1 has quit [Ping timeout: 258 seconds]
Mateon3 is now known as Mateon1
<freeman42x[nix]>
he just followed the instructions in the manual for partitioning etc.
shibboleth has joined #nixos
<edef>
i assume you've actually checked df -h?
simukis has joined #nixos
<inf>
hmmmmmmm, it looks like transmission on my nixos machine stops listening on webui port after a while (not even listed in netstat, but "peering" port is there just fine. i pretty much only only use S3 sleep) - i don't see any interesting logs in journald, except for tracker errors...
<inf>
restarting the service solves the problem, obviously.
shibboleth has quit [Remote host closed the connection]
<dmi3y>
The option `programs.vscode' defined in `/home/dmi3y/.config/nixpkgs/home.nix' does not exist.
<ctp>
Someone knows a way to populate gnome-keyring in a Nix expression? OwnCloud client requires the initial login and stores creds in gnome-keyring, I wonder how to prepopulate the pass store to automate this step.
<dmi3y>
@etu nope, it's not present there. That makes sense now. Is it safe to switch to master channel of home-manager while staying on release-18.09 for nixos?
agander has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
agander_ has joined #nixos
<etu>
dmi3y: If you're on the 18.09 channel of NixOS I'm not sure how well the master-channel of home-manager works. But you can always go back so well :)
<etu>
dmi3y: I'm on nixos-unstable myself and run master of home-manager
Makaveli7 has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
fusion809 has quit [Read error: Connection reset by peer]
ddellacosta has quit [Read error: Connection reset by peer]
slyfox has joined #nixos
ddellacosta has joined #nixos
fusion809 has joined #nixos
<srk>
m15k: libvirt, none and dumb (which is like none without key management)
<wedens>
how can I get derivation hash?
<m15k>
srk: And which backend for libvirt?
dmi3y has quit [Quit: Konversation terminated!]
<infinisil>
,tofu wedens
<{^_^}>
wedens: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
endformationage has joined #nixos
<m15k>
Currently I want to rebuild my server. Currently I'm using LXD to encapsulate my services.
<wedens>
infinisil: I mean by derivation name
<duairc>
So at some point I made my system unbootable, but I don't know how. 10 generations ago works, but more recent ones don't. I've tried everything I can think of, nothing works now. Is there a way to dump the running configuration into configuration.nix rather than me guessing what I might have changed?
<infinisil>
wedens: not sure what you mean
<LnL>
no, but nix-diff might help to figure out what's going on
<wedens>
infinisil: suppose I have a list of derivations `l = [ d1 d2];` and I want to map it with some function that'll give me `l0 = [ d1_hash d2_hash]'`
logzet has joined #nixos
dmi3y has joined #nixos
<wedens>
is parsing path in the store the only way to obtain it?
jmgai has joined #nixos
dmi3y has quit [Ping timeout: 250 seconds]
agander has quit [Ping timeout: 250 seconds]
Church_ has joined #nixos
<jmgai>
Hi, I've relatively new multi-user installation of nixpkgs on macOS. I've added the channel nixpkgs-18.09-darwin as nixpkgs with nix-channel --add to my user profile and prepended the same definition to my NIX_PATH. nix-store --gc --print-live shows me, that it would delete the nixpkgs-18.09-darwin from my store. Why is there no gc root for my ~/.nix-defexpr/channels/* ?
<LnL>
wedens: I don't think you can select just the hash, but something like this should work drv: builtins.elemAt (builtins.match "${builtins.storeDir}/([a-z0-9]{32})-.*.drv" drv.drvPath) 0
<jmgai>
And how can I add it by hand to the gc roots?
Guanin has joined #nixos
ma9e has joined #nixos
<wedens>
LnL: seems to work. thanks!
fusion809 has quit [Remote host closed the connection]
marsam has quit [Remote host closed the connection]
m15k has quit [Ping timeout: 256 seconds]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkins has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 258 seconds]
Lingjian has joined #nixos
eadwu has quit [Ping timeout: 252 seconds]
Guanin has quit [Ping timeout: 252 seconds]
zarel has quit [Ping timeout: 245 seconds]
<duairc>
When I try to build nix-diff I get this error: Setup: Encountered missing dependencies:
<duairc>
It doesn't seem to be cached so it's trying to build it from source
<wedens>
which channel?
<duairc>
nixos-unstable
<wedens>
hm. fetches from cache for 18.09 and fairly recent master
<duairc>
Cache or not though, it should be pretty simple to build? I mean containers is in the .cabal file, I presume the nix expression is derived automatically from that, why would it go missing somewhere?
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
mkoenig has quit [Remote host closed the connection]
mkoenig has joined #nixos
<ottidmes>
duairc: should it not be haskellPackages.nix-diff?
<wedens>
ottidmes: it's also available as executable
<duairc>
I actually just tried to build it with cabal, it seems the problem is actually just that it doesn't build with GHC 8.6.3, it wants containers < 0.6 but GHC comes with containers-0.6
<{^_^}>
[nixpkgs] @timokau pushed to master « python.pkgs.r2pipe: init at 1.2.0 (#53504) »: https://git.io/fhsRn
<duairc>
wedens: Cool. Still though, that upper bound is in the .cabal file, shouldn't nix just download an old containers (and an old GHC, if necessary)? It has that information
<duairc>
wedens: I'm not sure how hydra works or where it got that from, but is there any way I can install that derivation directly in my environment?
leungbk has joined #nixos
mkoenig_ has joined #nixos
<wedens>
you can build it locally. there is a link (under Actions menu) that hydra provides to build the same thing locally
mkoenig has quit [Ping timeout: 268 seconds]
<wedens>
for less ephemeral solution you can use specific version of nixpkgs with a new version of nix-diff
<leungbk>
@infinisil right now, i get nothing from that; i'm on a foreign distro. i have two channels, nixos and nixpkgs; i'm guessing i add those in my bash_profile?
<infinisil>
The default nix installation should add something to your profile that sets up NIX_PATH
Makaveli7 has quit [Quit: Leaving]
<leungbk>
the installation added `if [ -e /home/brian/.nix-profile/etc/profile.d/nix.sh ]; then . /home/brian/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
<leungbk>
` and nothing more to my bash_profile
<infinisil>
Hmm yeah. When you source this file manually do you have NIX_PATH set?
sary has quit [Read error: Connection reset by peer]
jmgai has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @joachifm opened pull request #53511 → linux: flag to indicate x32 abi support → https://git.io/fhsRF
jluttine has quit [Quit: WeeChat 2.3]
Dedalo has joined #nixos
Dedalo has quit [Client Quit]
periklis has joined #nixos
Dedalo has joined #nixos
jluttine has joined #nixos
mabel has joined #nixos
<Dedalo>
Guys, I'm trying to change the size of the Chromium cursor, I mean the X cursor in general. I have seen there is an option xsession.cursorPointer, but when I try to use it on the configuration.nix, it says that xsession doesn't exist. Any idea?
orivej has joined #nixos
<leungbk>
@infinisil i tried setting NIX_PATH just now but still get the same result. thanks for your help; i have to run
leungbk has quit [Remote host closed the connection]
<infinisil>
Don't let them catch you!
periklis has quit [Ping timeout: 260 seconds]
cyounkins has joined #nixos
nDuff has joined #nixos
<duairc>
So I'm trying to make nix derivations for ayatana indicators (https://github.com/ayatanaindicators). The problem is the indicator applets (e.g., ayatana-indicator-application ) want to install their files into the lib directory of libayatana-indicator package... which from Nix's point of view is a separate package whose store can't be overwritten by another
<duairc>
I guess I'm going to have to patch this fairly heavily
Izorkin has joined #nixos
jomik has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nDuff>
duairc, ...one approach is to initialize your $out directory with a bunch of symlinks into the upstream libayatana-indicator package.
<iqubic>
How hard is it to get a certain version of Unity installed on Linux?
mabel has quit [Ping timeout: 246 seconds]
<iqubic>
Specifically I want to install Unity 2017.1.op4
Dedalo has joined #nixos
<Dedalo>
Guys, I'm trying to change the size of the Chromium cursor, I mean the X cursor in general. I have seen there is an option xsession.cursorPointer, but when I try to use it on the configuration.nix, it says that xsession doesn't exist. Any idea?
<iqubic>
jomik: The version that I'm installing isn't the latest version of Unity. I can't use the latest version for my project.
<jomik>
I see. But if you package one that is still sort of up to date, that'd be fine for me too (and probably easily updateable)
<chrisaw>
Just a quick question for you fine folks - how can I skip the unpack phase of a package? I'm trying to download a .war file (java app) and so it doesn't need unpacking because it's not an archive. Just need to grab it and place it in a folder somewhere.
<chrisaw>
@jomik unpackPhase worked, unpackCmd didn't though strangely.
mmlb has joined #nixos
<fresheyeball>
any idea how to make it work on nixos?
Izorkin has quit [Client Quit]
<iqubic>
fresheyeball: If you get an answer to this, I'd love you to ping me, as I have waned this for the last 6 months.
<chrisaw>
jomik: Ahh. "unpacker appears to have produced no directories" - that makes sense. With the Cmd it expects output. With the phase it doesn't care.
<jomik>
Ooooooh!
<jomik>
nice. Learnt something new :D
jD91mZM2 has joined #nixos
<ivan>
I print things by opening them on my iPad and using AirPrint, hope that helps
<iqubic>
ivan: I don't own any Apple devices as a matter of principle.
m15k has joined #nixos
Izorkin has joined #nixos
mmlb has quit [Ping timeout: 258 seconds]
<iqubic>
so, is that unity install actually working?
<exarkun1>
Why is strings missing for cross compilation but not for native compilation?
<iqubic>
fresheyeball: I'm not at home right now. I won't be home for a while, but 'd love help on this.
<fresheyeball>
iqubic: you can reach me at fresheyeball@gmail.com for gchat (which will actually notify me. Or you can text me at 720 402 0211 when you get home
erictapen has quit [Ping timeout: 244 seconds]
<fresheyeball>
you may also just be able to find me here, but I don't get notifcations from IRC
<jD91mZM2>
Crazy idea: Can NixOS optionally mount a swap file? As in, mount it if it exist, don't if it doesn't?
sigmundv_ has quit [Ping timeout: 240 seconds]
<samueldr>
it kinda does the reverse already, creates the swap file if it doesn't exist, otherwise uses the existing one
<jD91mZM2>
swap partition*, my bad
<samueldr>
so obviously *as it is* it would be hard to know what to do
<samueldr>
ah
<jD91mZM2>
I kind of feel like making an external harddrive be a swap for the very rare cases that I run out of memory which is only because qemu reserves 2G
<m15k>
Can I pin a channel revision?
<jD91mZM2>
But that external harddrive isn't with me all the time
<jD91mZM2>
Maybe, if I actually go through with it, it would be better to automount/swap it, like a USB
Izorkin has joined #nixos
<samueldr>
jD91mZM2: maybe something with udev and swapon when it detects swap on an external device?
<clever>
but hot unplug is not possible with swap
<jD91mZM2>
clever: Oh? What happens if you do?
<clever>
any program that was swapped out will not survive
<clever>
and you have no control over which programs got swapped out
<jD91mZM2>
Ok so remember to run swapoff, got it
<jD91mZM2>
Yeah maybe automatically mounting isn't the best idea then
<Izorkin>
joachifm: after update hardened-config/profile not worked spl mudule. Error - spl: version magic '4.20.0 SMP mod_unload modversions RANDSTRUCT_PLUGIN_...
<clever>
Izorkin: when changing kernel related stuff, you must reboot to make it take effect
<WilliamHamilton[>
I nix-channel updated to the last unstable and this command gives a strange error:
<WilliamHamilton[>
clever: it is the `containers` part somehow
shibboleth has joined #nixos
<Izorkin>
clever: need ful config with nixops config?
<clever>
Izorkin: mostly, just the boot. area
<clever>
WilliamHamilton[: and if you eval haskellPackages.containers, inside `nix repl '<nixpkgs>'` what does it say?
orivej has quit [Ping timeout: 246 seconds]
tzemanovic has quit [Ping timeout: 250 seconds]
<WilliamHamilton[>
clever: if I don't include the bit regarding containers, I can build even more complicated expressions (I also renamed my override folder to ensure that's not the problem)
<clever>
WilliamHamilton[: but if you eval containers itself, what do you get?
<Izorkin>
clever: used only boot.kernelPackages = pkgs.linuxPackages_latest_hardened with nixops libvirt
<WilliamHamilton[>
clever: null!
<clever>
WilliamHamilton[: thats what i was expecting, containers is a boot package, so its in ghc itself
<clever>
WilliamHamilton[: so there is no point in ever listing containers in ghcWithPackages
<clever>
Izorkin: not sure then
<WilliamHamilton[>
clever: oh, so I have it automatically every time, perfect, thanks! Just to know, is there a list of boot packages somewhere?
<Izorkin>
if use boot.kernelPackages = pkgs.linuxPackages_4_20; - normal working
justanotheruser has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @jacereda opened pull request #53523 → Fix futhark build on Darwin → https://git.io/fhsV6
<Unode>
Trying to enable a scanner firmware (installFirmware = [ "gt68xx" ];), how can I enable this in such a way that it gets used with hardware.sane.enable = true; ?
<Unode>
more precisely, when launching xsane I get Couldn't open firmware file (`/nix/store/bfajxzn31d7f24v7m7hvspavf231ck8d-sane-backends-1.0.27/share/sane/gt68xx/PS1fw.usb
<Unode>
'): No such file or directory
ddellacosta has quit [Remote host closed the connection]
goibhniu has joined #nixos
eadwu has joined #nixos
owickstrom has quit [Remote host closed the connection]
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
<Judson>
Sigh. I still wish nix-shell had an option to make it's current output a GC root. I've tried several things, and my shells keep getting GC'd.
<detran>
it appears to be actually running the different profiles, though it's not creating the profile directory in ~/.mozilla
<ottidmes>
detran: how did you install firefox?
worldofpeace has joined #nixos
<ottidmes>
detran: I am using profiles and I have no problem with them
<detran>
environment.systemPackages = with pkgs; [... firefox ...]
<detran>
I may just be using firefox wrong, I'd like to add some custom userChrome.css, but I can't seem to put it in a place where firefox can actually find it
<detran>
the docs I've read indicate that it should be at ~/.mozilla/<profile_dir>/chrome/userChrome.css
<detran>
but I can't find the <profile_dir>
<ottidmes>
detran: that is how I have it installed too, hmm
<clever>
detran: what is in ~/.mozilla/ ?
<detran>
are you using userChrome.css?
<detran>
clever: extensions/, firefox/, and systemextensionsdev/
<clever>
detran: and in firefox?
<detran>
ah ah ah, there it is
<detran>
thanks clever :)
<ottidmes>
ah lol
<ottidmes>
I assumed you checked that, never assume ;)
<detran>
I shall make sure to poke around more next time
<clever>
you can also go into help->trouble shooting info->open profile directory
<clever>
and it will just open the current profile dir in a file browser
<clever>
even if its running from a non-standard profile
<detran>
thanks, that's a good one for the 'ol toolbelt
<clever>
you can also run `firefox -profile /mnt/profile3/` to use non-standard profile paths
<clever>
i use that trick when on hotels with captive portals
<clever>
because if i load the real profile, it resumes 200 tabs, which then redirects to 200 copies of the login page
<ottidmes>
yikes
<clever>
for chromium, its `chromium --user-data-dir=/path/to/profile`
<MichaelRaskin>
With my instance isolation I have forgotten that such a catch is possible…