Skip to content

Commit

Permalink
build: update all packages, remove nix-gitignore
Browse files Browse the repository at this point in the history
Something is broken now with path handling and tbh I don’t even remember why I
have this lib in the first place.
  • Loading branch information
hraban committed Dec 31, 2023
1 parent 84abac6 commit c9c8895
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 34 deletions.
33 changes: 6 additions & 27 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@
description = "Migrate multiple repositories into a single monorepo";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
gitignore = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:hercules-ci/gitignore.nix";
};
};
outputs = {
self, nixpkgs, gitignore, flake-utils
self, nixpkgs, flake-utils
}:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
cleanSource = src: gitignore.lib.gitignoreSource (pkgs.lib.cleanSource src);
myemacs = with pkgs; ((emacsPackagesFor emacs).emacsWithPackages (e: [
e.dash
e.htmlize
Expand All @@ -25,7 +20,7 @@
default = pkgs.stdenv.mkDerivation {
pname = "tomono";
version = "2.0.0";
src = cleanSource ./.;
src = pkgs.lib.cleanSource ./.;
buildPhase = ''
# Remove the stale VCS copy
rm -f tomono
Expand Down

0 comments on commit c9c8895

Please sign in to comment.