about summary refs log tree commit diff
path: root/lib/misc.nix
blob: 484d0d544cc9129dd4be91df57a0abd60f3d6b66 (plain)
1
2
3
4
5
6
7
8
9
{ pkgs, ... }:

rec {
  # ifd3f/infra
  wrapFile = name: path:
    (pkgs.runCommand name { inherit path; } ''
      cp -r "$path" "$out"
    '');
}