Skip to content

Commit

Permalink
Merge pull request #170 from Minion3665/main
Browse files Browse the repository at this point in the history
Prevent the nix flake using sudo
  • Loading branch information
MrGlockenspiel committed Jan 24, 2023
2 parents 7043231 + 4ac43fb commit eed9220
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@
gawk
pkg-config
] ++ (import ./deps.nix {inherit pkgs;});

installPhase = ''
runHook preInstall
mkdir -p $out/bin
mkdir -p $out/share/man/man1
cp activate-linux $out/bin
cp activate-linux.1 $out/share/man/man1
runHook postInstall
'';
};

packages.default = self.packages.${system}.activate-linux;
Expand Down

0 comments on commit eed9220

Please sign in to comment.