leothrix has quit [Read error: Connection reset by peer]
leothrix has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CMCDragonkai1 has joined #nixos
CMCDragonkai has quit [Ping timeout: 260 seconds]
CMCDragonkai1 is now known as CMCDragonkai
marek_ has joined #nixos
schneid3306 has quit [Quit: ZZZzzz…]
chagra has joined #nixos
anybody using flakes for their configuration.nix with a public repo i can check for inspiration? currently trying to build off the one here https://github.com/nrdxp/nixflk but would like to see other examples
Ok, I got it built. Very strange that hand editing a bunch of local.mk files was required. I'm wondering what's strange in my env that I needed to do that. Generally configure handles that sort of thing.
ixxie has joined #nixos
lsix has joined #nixos
Palpares has quit [Quit: Palpares]
Tucky has joined #nixos
Synthetica has joined #nixos
can you use overrideAttrs to add a patch to patches when patches was not set in the original expression?
cfricke has quit [Quit: WeeChat 2.7]
chagra: I believe that should work, yes
You could do something like `(old.patches or ) ++ [ ./your.patch ]`
oof, ok, what would lead to nix-channel --update giving me this: "while setting up the build environment: executing '/bin/bash': No such file or directory"
I (attempted to) installed nix from source and followed the daemon instructions.
sb0 has joined #nixos
taikatytto has quit [Ping timeout: 260 seconds]
bahamas has joined #nixos
bahamas has joined #nixos
WinchellsM has quit [Remote host closed the connection]
knupfer has joined #nixos
ThatGuy has quit [Remote host closed the connection]
phreedom has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
phreedom has joined #nixos
chloekek has joined #nixos
gkmngrgn has joined #nixos
anyone using nixos with vagrant? if I stop the vm with vagrant halt, the machine is unreacheable when I run `vagrant up` again. I'm assuming the sshd service doesn't start anymore, but why?
Alright, time to sleep. Looks like the install from source instructions are missing a part about bootstrapping the store. install-multi-user.sh made a valiant attempt, but there's no .store directory in my built-from-source folder to source from.
undefined variable 'nix-env' at (string):277:1
error: attribute 'nixpkgs' in selection path 'nixpkgs.hello' not found
anyone here using chef still? considering just dropping the package since it's seriously outdated and would require quite a lot of patches to make work on nixos...
zupo has joined #nixos
cfricke has joined #nixos
manveru: I'm using it! :D
manveru: But I'm fine using it from stable/oldstable channels if it's dropped :p
it requires ruby 2.4, which we'll also drop in 20.03
Soo_Slow has quit [Quit: Soo_Slow]
Did someone fixed nvidia and kernel 5.5?
erictapen has joined #nixos
fendor_ has quit [Ping timeout: 260 seconds]
[nixpkgs] @curiousleo opened pull request #79261 → lorri: unstable-2020-01-09 -> 1.0 (backport to release-19.09) → https://git.io/JvGxe
linkrage has joined #nixos
Jackneill has quit [Ping timeout: 240 seconds]
Profpatsch, that command works for me but fwiw there's also `nix-env -f channel:nixos-18.09 ...`, and I think you have to use `pkgs` instead of `nixpkgs` with `-A` but I think neither is necessary here
gchristensen: Can you elaborate on this in the PR?
does fetchGit still not have submodule support?
AmandaC_ is now known as AmandaC
infinisil: not really worth it :P it is probably a good improvement
mojjoo has quit [Ping timeout: 260 seconds]
infinisil: but none of the layering filesystems are truly properly posix
probably an easier question: is it not enough to set sourceRoot in order to cd into a directory after the unpackPhase?
trying to set it to a relative path and it doesn't seem to be working (`sourceRoot = "development";)
gchristensen: What does "not truly properly posix" mean?
to clarify my problem: The main "source" directory of the project I'm pulling in is development. All I need to do is make sure I cd into there after unpack. Before, when this expression was referencing local sources, it used `src = ./development` to accomplish that
*thinks back to nix-shell debug environments* oh yeahhhhhhhh
infinisil's karma got increased to 205
infinisil: they just don't quite matc the spec :) let me find an example.
Ok, so mpv no longer works on darwin. I need a recent channel for pass to work. So I want to pin just mpv to january 1st or something but still hit the cache because my machine's too old to get it compiled in a reasonable time (30min was not enough). How do I do this? My attempts so far have been fruitless, evaluation has my system become unresponsive no matter the pin I try.
bah. now to wrangle the Makefiles so they don't try to use their own tmp dirs or blah
yeah if it's just lmodern.sty and the normal stuff, it might be easiest to just pick the right scheme package. Not totally familiar with configuring tex in nixos outside of defining which pkgs to pull in
[nixpkgs] @arnoldfarkas opened pull request #79273 → pythonPackages.redo: init at 2.0.3 → https://git.io/JvZeR
[nixpkgs] @arnoldfarkas opened pull request #79274 → pythonPackages.python-pam: init at 1.8.4 → https://git.io/JvZeu
okay, so project has a tmp dir that is used in the makefiles, and I need to move those directories somewhere so the project builds with nix. Traditionally, the project has a source directory, which has develpment (all source), runtime (where build files are output) and tmp (intermediate files)
[nixpkgs] @arnoldfarkas opened pull request #79275 → pythonPackages.python-irodsclient: init at 0.8.2 → https://git.io/JvZe2
gagbo has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
Trying to figure out what should go where to move this to a more proper nix build. Presently, we're just doing `src = ./development`. Is there a standard nix location for intermediate build files? Or is TMPDIR enough?
plutes has quit [Quit: See ya around!]
plutes has joined #nixos
Acilim has quit [Quit: Leaving]
[nixpkgs] @arnoldfarkas opened pull request #79276 → pythonPackages.pytest-memprof: init at 0.2.0 → https://git.io/JvZeo
I just want to add that patch into my fetchGit
derg_tested: It's fine as long as you're aware of it
evanjs: Strike the "just" out of that, because this isn't possible or very hard unless you only need that at runtime (which is probably not the case)
evanjs: Or if you want everybody that evaluates the expression to have that patch applied to their Nix version
mir100 has quit [Ping timeout: 260 seconds]
This is like a bootstrap problem, you can't use Nix to patch Nix itself without at least one level of indirection
infinisil: alright, wasn't sure if it was even practical for even an internal overlay. Guess I'll just hold off on fully nix-ifying the expression (source = ./. -> source = fetchGit ... ) for now. Thanks!
Stupid submodules lol
if someone really wants to, they can at worst try to match it with some leaked file and ehm... find my email? play some flash games?
clever: trying to test a system based on your raspberry pi config from the other day but can't figure how I'm supposed to do it with x86_64 :P panicking bc it can't find a rootfs
I know I'm missing something dumb lol
most of the example seems to focus on dtc and embedded boot stuffs so I wasn't sure how exactly I'd need to tweak it to get it working with qemu
johnw has joined #nixos
v88m has quit [Ping timeout: 265 seconds]
linkrage has joined #nixos
nohTo has joined #nixos
Hey guys, I'm getting started with using nix and I ran into something I don't understand
WinchellsM has joined #nixos
I'm using nix for haskell-development and I wanted to add some basic packages that I use a lot to my user-profile.
ixxie has quit [Ping timeout: 260 seconds]
So, for example, I added the safe package, but I can't see it from within ghci. What do I need to do?
I have compiled a nix expression that makes run-time calls to various executables. Is there a way to launch my nix-compiled program in such a way that it still has access to my system PATH, so that those executables can actually be called?
heatm1s3r has quit 
heatm1s3r has joined #nixos
WinchellsM: wrapProgram and prepend to PATH
so I want to be able to set logAdapterRev and logAdapterSha256
at will and I can't find proper help to do that
gagbo has quit [Quit: I'm out !]
right now I can run `nix-build package_name.nix` and it will build but with default values
ilya_g: --arg can set those params, --arg paramname nixexpr
sigmundv has quit [Ping timeout: 260 seconds]
mmlb has joined #nixos
it will parse the 2nd part as nix, so strings have to be quoted, and then quoted again to stop bash from parsing it, like --arg foo '"bar"', or use --argstr foo bar, to make nix treat it directly as a string
clever so I tried `nix-build --arg logAdapterRev 123456789abcd12345678 package_name.nix` and got : undefined variable 'package_name' at (string):1:1
not sure what I am doing wrong
boxscape has quit [Ping timeout: 252 seconds]
ilya_g: 123456789abcd12345678 is not a valid nix expression, you want --argstr there
what you did, is basically: let logAdapterRev = 123456789abcd12345678; in ...
when and how does nix query nix-cache-info? I have 2 caches, and I have raised the priority of one of the caches to `1` which is higher than the other’s (`41`). but it is still preferring the one with the lower priority
ThatGuy has joined #nixos
cosimone has joined #nixos
So I'm trying to create a sym link to a lib during the installPhase of my nix package and I keep getting permission denied. For example "ln -s $out/lib/mylib.so.0.1.0 $out/lib/mylib.so", is this a bug?
i can create other links just fine, just not a *.so
iqubic has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
make sure your `lib` is not a symlink to some other output
its not, its the actual binary
bennofs has quit [Remote host closed the connection]
i actually had the "mylib.so" as part of the source folder initially so "cp -R $src/mylib/lib $out" where it contained the mylib.so sym link and that doesnt get copied. But the sym link for mylib.so.0 does get copied
so it actually chooses which sym links are allowed
simukis_: IME it helps to nuke the daemons cache, so /root/.cache/nix/binary-cache-*.sqlite*
bennofs has joined #nixos
tilpner: thanks, that was it!
simukis_: Oh, and I think the cache priority might work the other way around, with lower numbers being higher priority. But I might misremember, so check
tilpner: right, I figured that out already, and accounted for.
[nixpkgs] @flyfloh opened pull request #79296 → Lexicon 3.3.17 and dependencies → https://git.io/JvZm1
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]