Browse Source

more nix improvements

master
Lucian Pricop 1 year ago
parent
commit
d01fc073e4
  1. 9
      default.nix
  2. 2
      pkgs/generate channel file.txt
  3. BIN
      pkgs/nixexprs.tar.xz

9
default.nix

@ -1,9 +0,0 @@
{ system ? builtins.currentSystem }:
let
pkgs = import <nixpkgs> { inherit system; };
#self = in self
in rec {
search-and-displace = pkgs.callPackage ./pkgs/sandd.nix {
inherit pkgs;
};
}

2
pkgs/generate channel file.txt

@ -1,5 +1,5 @@
# run this after any update of sandd.nix
tar -cJf nixexprs.tar.xz ./pkgs/sandd.nix \
tar -cJf nixexprs.tar.xz ./pkgs/*.nix \
--transform "s,^,${PWD##*/}/," \
--owner=0 --group=0 --mtime="1970-01-01 00:00:00 UTC"

BIN
pkgs/nixexprs.tar.xz

Loading…
Cancel
Save