brewery
notashelf /
54892c3121d4fd98ef6b96dacdbe015923bc4394

nixir

public

Import-resolving Nix IR plugin

Star0tarball
clone
ssh://git@git.notashelf.dev:33/notashelf/nixir.git
tests/path_concat.nixNix13 lines207 B
1
# Test path concatenation
2
let
3
  # Path + string = path
4
  p1 = ./foo + "/bar";
5
6
  # String + path = path
7
  p2 = "/prefix" + ./suffix;
8
9
  # Path + path = path
10
  p3 = ./dir + ./file;
11
in {
12
  inherit p1 p2 p3;
13
}