Nixpkgs/Reviewing changes: Difference between revisions

imported>Artturin
No edit summary
imported>Artturin
add Pre-flakes local checkout for Packages
Line 4: Line 4:




=== Pre-flakes local checkout ===
<syntaxhighlight lang="nix">
  nixpkgs.overlays = let
    # Change this path to your local nixpkgs
    myPkgs = /home/artturin/nixgits/nixpkgs1;
  in [
    (self: super: {
      my = import myPkgs { overlays = []; config = super.config; };
      dcp9020cdwlpr = self.my.dcp9020cdwlpr;
      dcp9020cdw-cupswrapper = self.my.dcp9020cdw-cupswrapper;
    })
  ];
</syntaxhighlight>